:root[data-service='shop'] {
  --background: #faf4e5;
  --foreground: #342b1d;
  --muted: #6b5841;
  --surface: #fffaf0;
  --border: #ddccaa;
  --accent: #805b16;
  --strip: #f2e3bb;
  --button-background: #ebc65c;
  --button-text: #30240d;
}

:root[data-service='shop'][data-theme='dark'] {
  --background: #211e18;
  --foreground: #faf2df;
  --muted: #d0c0a0;
  --surface: #2d281e;
  --border: #564a34;
  --accent: #f1cd70;
  --strip: #39301f;
  --button-background: #ebc65c;
  --button-text: #30240d;
}

.header-inner { gap: 20px; }
.header-inner nav { gap: 20px; font-size: 13px; }
.header-inner .service-nav-prefix { display: none; }
.mobile-services { display: none; }
.service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.service-heading h3 { font-size: clamp(24px,2.5vw,34px); line-height: 1.15; }
.service-copy { padding: 28px; }
.service-card .service-art { height: 260px; }
.service-card .service-art .studio-illustration { transform: scale(.8); transform-origin: center; }
.service-card.webshop { background: #e7c779; color: #342b1d; --foreground:#342b1d; --muted:#58472c; --accent:#72500f; --border:#b18e47; }
.service-card.webshop .service-art { background: #e2bd61; }
.shop-brand-art { display: grid; place-items: center; height: 100%; position: relative; }
.shop-art-bag { width: 130px; height: 135px; background: #fff0c6; border: 3px solid #72500f; border-radius: 6px 6px 20px 20px; transform: rotate(-8deg); }
.shop-art-bag::before { content: ''; position: absolute; width: 52px; height: 38px; border: 3px solid #72500f; border-bottom: 0; border-radius: 30px 30px 0 0; top: -40px; left: 36px; }
.shop-brand-art .feather { position: absolute; z-index: 1; width: 60px; height: 60px; }
.shop-preview-bar { background: var(--strip); border-bottom: 1px solid var(--border); font-size: 12px; }
.shop-preview-bar > div { display: flex; justify-content: space-between; gap: 18px; padding-block: 14px; }
.shop-preview-bar a { white-space: nowrap; text-decoration: underline; text-underline-offset: 4px; }
.shop-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding-block: 64px 72px; }
.shop-hero h1 { font-size: clamp(42px,4.6vw,66px); line-height: 1.05; letter-spacing: -2.5px; margin-block: 24px; }
.shop-lead { max-width: 760px; margin-block: 20px 30px; }
.shop-hero-art { background: #e8c570; border-radius: 160px 160px 18px 18px; height: 460px; position: relative; overflow: hidden; color: #493616; }
.sun-disc { position: absolute; width: 290px; height: 290px; border-radius: 50%; background: #f9df92; top: 48px; right: -42px; }
.hero-art-label { position: absolute; left: 40px; top: 48px; font-size: 24px; letter-spacing: -1px; display: flex; align-items: center; gap: 14px; }
.hero-art-label .feather { --accent:#705018; }
.hero-bucket { position: absolute; width: 95%; left: -10%; top: 70px; transform: rotate(-7deg); }
.hero-brush { position: absolute; width: 54%; right: -7%; top: 125px; transform: rotate(12deg); }
.hero-cloth { position: absolute; width: 65%; right: -4%; bottom: -12px; }
.hero-caption { position: absolute; left: 30px; bottom: 28px; text-transform: uppercase; letter-spacing: 4px; font-size: 12px; }
.shop-section { padding-block: 40px 48px; }
.shop-section h1 { font-size: clamp(34px,4.5vw,56px); line-height: 1.12; letter-spacing: -1.7px; margin-top: 18px; }
.shop-section h2, .shop-story h2 { font-size: clamp(24px,3vw,36px); letter-spacing: -1px; }
.shop-section .section-heading { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 26px; }
.shop-categories { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.shop-categories a { display: grid; grid-template-columns: 1fr auto; padding: 16px 22px 24px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.shop-categories .product-art { grid-column: 1/-1; height: 120px; background: none; }
.product-art { background: var(--art-bg); color: #55442c; --art-color:#c5ab79; --art-light:#f2e4c2; --art-bg:#f0e7d4; }
.tone-blue { --art-color:#7fa2b3; --art-light:#d2e0e4; --art-bg:#e4edf0; color:#314e5c; }
.tone-sage { --art-color:#9eae8a; --art-light:#e2e8cc; --art-bg:#e8ecdd; color:#46583a; }
.tone-sun { --art-color:#d8b653; --art-light:#f7e5a8; --art-bg:#f3e7c3; color:#72541f; }
.product-art svg { display: block; width: 100%; height: 100%; }
.shop-hero-art .product-art { background: transparent; }
.product-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px; }
.product-card { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--surface); display: flex; flex-direction: column; }
.product-visual { display: block; position: relative; }
.product-visual .product-art { height: 215px; transition: filter .2s ease; }
.product-visual:hover .product-art { filter: brightness(1.04); }
.sample-tag { position: absolute; top: 14px; left: 14px; padding: 6px 9px; border-radius: 5px; background: #fffaf0; color: #594628; font-size: 10px; letter-spacing: .2px; }
.product-card-copy { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.pack-label { font-size: 12px; margin-bottom: 10px; }
.product-card h3 { font-size: 20px; line-height: 1.25; min-height: 50px; margin-bottom: 18px; }
.product-card h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.product-price-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.product-price-row > strong { font-size: 22px; white-space: nowrap; }
.product-arrow { font-size: 11px; display: flex; gap: 6px; align-items: center; }
.price-note { font-size: 11px; margin-block: 9px 18px; line-height: 1.6; }
.product-add { width: 100%; justify-content: space-between; font-size: 12px; padding: 14px; margin-top: auto; }
.shop-story { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-block: 40px 80px; padding: 40px; border-radius: 18px; background: var(--strip); }
.shop-story h2 { margin-top: 20px; }
.shop-story .text-link { display: inline-block; margin-top: 24px; }
.shop-filters { display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 18px; padding: 24px; background: var(--strip); border-radius: 14px; align-items: end; margin-block: 30px; }
.shop-filters label, .product-buy label, .cart-quantity { display: grid; gap: 10px; font-size: 13px; }
.shop-filters input, .shop-filters select, .product-buy input, .cart-quantity input { width: 100%; min-width: 0; padding: 13px; background: var(--surface); color: var(--foreground); border: 1px solid var(--border); border-radius: 6px; font: inherit; }
.shop-filters input:focus-visible, .shop-filters select:focus-visible, .product-buy input:focus-visible, .cart-quantity input:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.shop-filters button { padding: 13px 0; }
.shop-section button.text-link { border: 0; background: none; color: var(--foreground); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.result-count { font-size: 13px; margin-bottom: 20px; }
.shop-empty { padding: 60px 24px; text-align: center; border: 1px dashed var(--border); border-radius: 14px; }
.shop-empty p { margin: 20px 0 28px; }
.shop-empty .feather { width: 70px; height: 70px; margin-bottom: 25px; }
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 35px; }
.product-detail-art { position: relative; }
.product-detail-art .product-art { border-radius: 18px; height: 480px; }
.detail-price { font-size: 32px; color: var(--foreground); }
.product-facts { margin: 24px 0; }
.product-facts > div { display: flex; gap: 20px; justify-content: space-between; padding-block: 14px; border-top: 1px solid var(--border); font-size: 13px; }
.product-facts dd { margin: 0; text-align: right; color: var(--muted); }
.product-buy { display: flex; align-items: end; gap: 16px; }
.product-buy label { width: 80px; }
.product-buy .button { flex: 1; justify-content: center; }
.shop-notice { font-size: 12px; line-height: 1.8; padding: 18px; background: var(--strip); border-radius: 8px; margin-block: 24px; }
.product-description { margin-top: 48px; padding-top: 30px; border-top: 1px solid var(--border); max-width: 800px; }
.product-description p { margin-top: 22px; }
.related-products { grid-template-columns: repeat(3,minmax(0,1fr)); }
.cart-layout { display: grid; grid-template-columns: minmax(0,1.8fr) minmax(260px,1fr); gap: 40px; margin-top: 36px; align-items: start; }
.cart-item { display: grid; grid-template-columns: minmax(0,1fr) 80px 100px; gap: 22px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--border); }
.cart-item-name { font-size: 20px; display: inline-block; margin-bottom: 8px; }
.cart-item-name:hover { text-decoration: underline; }
.cart-item p { font-size: 12px; }
.cart-item-totals { display: grid; gap: 20px; text-align: right; }
.cart-item-totals button { padding: 0; font-size: 12px; text-align: right; }
.cart-summary { padding: 28px; background: var(--strip); border: 1px solid var(--border); border-radius: 14px; }
.cart-summary h2 { margin-bottom: 24px; }
.cart-summary > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-bottom: 20px; font-size: 13px; }
.cart-summary .button { width: 100%; justify-content: center; text-align: center; margin-top: 12px; }
.cart-summary button:disabled, .product-add:disabled { opacity: .65; cursor: not-allowed; }
.cart-summary .shop-notice { margin-bottom: 0; padding-inline: 0; }
.clear-cart { margin-top: 24px; }
.cart-bottom-links { display: flex; flex-wrap: wrap; gap: 24px; margin-block: 36px; }
.shop-help { max-width: 900px; }
.shop-faqs { margin-block: 36px; }
.shop-faqs details { padding: 24px 0; border-bottom: 1px solid var(--border); }
.shop-faqs summary { cursor: pointer; font-size: 19px; line-height: 1.5; }
.shop-faqs p { margin-top: 20px; }
.shop-toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); width: min(640px,calc(100% - 32px)); z-index: 50; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding: 20px 24px; background: var(--button-background); color: var(--button-text); border: 1px solid var(--accent); border-radius: 12px; box-shadow: 0 10px 40px #0003; font-size: 14px; }
.shop-toast a { text-decoration: underline; text-underline-offset: 4px; }
.shop-storage-warning { padding: 24px; border: 1px solid var(--border); }

@media (max-width: 1100px) {
  .header-inner nav { gap: 14px; font-size: 12px; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { display: grid; grid-template-columns: 1fr 1.2fr; }
  .service-card .service-art { height: 100%; min-height: 300px; }
  .shop-filters { grid-template-columns: 1fr 1fr; }
  .shop-hero { gap: 30px; }
}

@media (max-width: 800px) {
  .header-inner > nav { display: none; }
  .mobile-services { display: block; position: relative; justify-self: start; }
  .mobile-services summary { cursor: pointer; font-size: 13px; padding: 10px 0; }
  .mobile-services > div { position: absolute; top: 100%; left: -45px; width: min(300px,80vw); display: grid; gap: 6px; padding: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; z-index: 40; box-shadow: 0 12px 35px #0003; }
  .mobile-services a { padding: 12px; font-size: 14px; line-height: 1.5; }
  .shop-hero, .product-detail, .shop-story, .cart-layout { grid-template-columns: 1fr; }
  .shop-hero-art { height: 390px; max-width: 550px; width: 100%; margin-inline: auto; }
  .shop-hero-copy { max-width: 650px; }
  .shop-categories { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .shop-story { gap: 25px; padding: 28px; }
  .product-detail { gap: 32px; }
  .product-detail-art .product-art { height: 350px; }
}

@media (max-width: 550px) {
  .service-card { display: flex; }
  .service-card .service-art { height: 250px; min-height: 250px; }
  .shop-hero { padding-block: 36px; }
  .shop-hero h1 { font-size: 42px; letter-spacing: -1.6px; }
  .shop-hero-art { height: 335px; border-radius: 110px 110px 14px 14px; }
  .hero-art-label { left: 30px; top: 30px; }
  .hero-bucket { top: 60px; }
  .hero-brush { top: 90px; }
  .hero-cloth { bottom: -5px; }
  .shop-preview-bar > div { flex-direction: column; gap: 8px; }
  .shop-preview-bar { font-size: 11px; }
  .shop-section { padding-block: 28px 36px; }
  .shop-section .section-heading { align-items: start; flex-direction: column; }
  .product-grid { gap: 14px; }
  .product-visual .product-art { height: 150px; }
  .product-card-copy { padding: 14px; }
  .product-card h3 { font-size: 17px; min-height: 44px; }
  .product-price-row { align-items: start; flex-direction: column; }
  .product-price-row > strong { font-size: 21px; }
  .sample-tag { left: 9px; top: 9px; font-size: 9px; padding: 5px; }
  .product-add { font-size: 11px; padding: 12px 8px; gap: 5px; }
  .shop-filters { grid-template-columns: 1fr; padding: 20px; }
  .shop-categories a { padding: 10px 14px 20px; font-size: 13px; }
  .shop-categories .product-art { height: 100px; }
  .cart-item { grid-template-columns: minmax(0,1fr) 90px; gap: 16px; }
  .cart-item-description { grid-column: 1/-1; }
  .cart-item-name { font-size: 19px; }
  .product-buy { flex-wrap: wrap; }
  .product-buy .button { font-size: 13px; }
  .product-detail h1 { font-size: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  .product-visual .product-art { transition: none; }
}

