/* V139 — unified professional redesign of primary content areas.
   Deliberately excludes global header, footer, and their navigation controls. */
:root{--v139-ink:#211f22;--v139-muted:#70696d;--v139-rose:#b9817b;--v139-rose-deep:#865650;--v139-rose-wash:#f8efed;--v139-line:#e8dddb;--v139-card:#fff;--v139-shadow:0 14px 40px rgba(44,31,33,.07);--v139-shadow-hover:0 22px 52px rgba(44,31,33,.12)}
:where(main,.content,.account-extra,.personal-page,.auth-body) :where(h1,h2,h3){color:var(--v139-ink);text-wrap:balance;letter-spacing:-.035em}
:where(main,.content,.account-extra,.personal-page) :where(p,.lead,.description){color:var(--v139-muted);line-height:1.72}
:where(main,.content,.account-extra,.personal-page) :where(.card,.panel,.support-card,.product-card,.service-card,.extra-card,.personal-card,.store-checkout-card,.store-cart-items,.store-compare-content){border:1px solid var(--v139-line);border-radius:22px;background:linear-gradient(155deg,#fff 0%,#fffaf9 100%);box-shadow:var(--v139-shadow);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
:where(main,.content,.account-extra,.personal-page) :where(.card,.panel,.support-card,.product-card,.service-card,.extra-card,.personal-card,.store-checkout-card,.store-cart-items,.store-compare-content):hover{border-color:#d8b4af;box-shadow:var(--v139-shadow-hover);transform:translateY(-2px)}
:where(main,.content,.account-extra,.personal-page) :where(button,.btn,.button,[type=submit],a.store-primary,a.shop-button){border-radius:13px;font-weight:750;transition:transform .18s ease,box-shadow .18s ease,filter .18s ease}
:where(main,.content,.account-extra,.personal-page) :where(button,.btn,.button,[type=submit]):active{transform:translateY(1px)}
:where(main,.content,.account-extra,.personal-page) :where(input,select,textarea){min-height:45px;border:1px solid #e4d8d6;border-radius:12px;background:#fff;color:var(--v139-ink);padding:11px 13px}
:where(main,.content,.account-extra,.personal-page) :where(input,select,textarea):focus{outline:0;border-color:var(--v139-rose);box-shadow:0 0 0 4px rgba(185,129,123,.14)}
/* Homepage: refined search, category filters, cards and service feature */
.shop-home{max-width:1400px;margin-inline:auto;padding:clamp(20px,3vw,38px) clamp(14px,3.5vw,42px) clamp(40px,6vw,76px)}
.shop-home .home-store-search{max-width:900px;margin:0 auto clamp(22px,3vw,34px)}
.shop-home .home-search-box{min-height:58px;border:1px solid var(--v139-line);border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(40,25,28,.045)}
.shop-home .home-category-chips{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 22px}
.shop-home .home-category-chips button{padding:10px 17px;border:1px solid var(--v139-line);border-radius:999px;background:#fff;color:#51494c}
.shop-home .home-category-chips button.active{border-color:var(--v139-rose);background:var(--v139-rose-wash);color:var(--v139-rose-deep)}
.shop-home .shop-product-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(13px,1.8vw,22px)}
.shop-home .product-card{padding:17px;overflow:hidden}
.shop-home .product-art{min-height:clamp(180px,20vw,250px);border-radius:17px;background:radial-gradient(ellipse at 50% 35%,#fff 0%,#faf5f4 70%,#f1e7e5 100%)}
.shop-home .product-card img{object-fit:contain;transition:transform .3s ease}
.shop-home .product-card:hover .product-art img{transform:scale(1.035)}
.shop-home .shop-service-banner{margin:clamp(30px,5vw,58px) 0 0;border:1px solid #e5d1ce;border-radius:28px;background:radial-gradient(ellipse at 88% 18%,rgba(191,137,130,.22),transparent 38%),linear-gradient(135deg,#fffaf9,#f2e4e2);box-shadow:var(--v139-shadow)}
/* Catalog */
.store-v95{max-width:1400px;margin-inline:auto;padding:clamp(22px,3.5vw,44px) clamp(14px,3.5vw,42px) clamp(45px,6vw,78px)}
.store-v95 .store-intro{border:1px solid #e7d5d2;border-radius:28px;background:radial-gradient(ellipse at 85% 20%,rgba(191,137,130,.18),transparent 34%),linear-gradient(135deg,#fff 0%,#fff8f6 58%,#f3e6e4 100%);box-shadow:var(--v139-shadow);padding:clamp(25px,4vw,48px)}
.store-v95 .store-intro h1{font-size:clamp(34px,5vw,58px);line-height:1.04}
.store-v95 .store-intro h1 em{color:var(--v139-rose-deep);font-style:normal}
.store-v95 .store-toolbar{gap:13px;margin:24px 0;padding:16px;border:1px solid var(--v139-line);border-radius:20px;background:#fff;box-shadow:0 8px 25px rgba(44,31,33,.045)}
.store-v95 .store-layout{gap:clamp(18px,2.5vw,30px)}
.store-v95 .store-sidebar{border:1px solid var(--v139-line);border-radius:21px;background:#fff;padding:21px;box-shadow:var(--v139-shadow)}
.store-v95 .store-category-list a,.store-v95 .store-category-list button{border-radius:11px;transition:background .18s,color .18s}
.store-v95 .store-category-list :is(a,button):hover,.store-v95 .store-category-list .active{background:var(--v139-rose-wash);color:var(--v139-rose-deep)}
.store-v95 .store-results-head{align-items:end;margin-bottom:18px}
.store-v95 .store-product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.store-v95 .store-product-grid .product-card{padding:16px;border-radius:20px}
.store-v95 .store-product-grid .product-art{min-height:210px;border-radius:16px;background:radial-gradient(ellipse at center,#fff,#f8f1f0)}
.store-v95 .store-product-grid img{object-fit:contain}
.store-v95 .store-cart-shortcut{border:1px solid #e4d4d2;border-radius:12px;background:#fff;color:var(--v139-rose-deep);padding:11px 14px;font-weight:750;text-decoration:none}
.store-v95 .store-cart-shortcut:hover{background:var(--v139-rose-wash)}
/* Product detail, basket, checkout, comparison */
.store-detail-page .store-detail-grid{gap:clamp(20px,4vw,48px)}
.store-detail-page .store-detail-gallery{border-radius:27px;background:radial-gradient(ellipse at center,#fff 0%,#fff8f6 60%,#f1e4e2 100%);box-shadow:var(--v139-shadow)}
.store-detail-page .store-detail-info{padding:clamp(6px,1vw,12px)}
.store-detail-page .store-detail-price{color:var(--v139-rose-deep);letter-spacing:-.03em}
.store-detail-page .store-specifications{border:1px solid var(--v139-line);border-radius:20px;background:#fff;box-shadow:0 8px 25px rgba(44,31,33,.04)}
.store-cart-page .store-cart-heading,.store-compare-page .store-cart-heading{border:1px solid var(--v139-line);border-radius:24px;background:linear-gradient(135deg,#fff,#fff7f5);box-shadow:var(--v139-shadow)}
.store-cart-page .store-cart-layout{gap:22px}
.store-cart-page .store-checkout-card{position:sticky;top:18px;border:1px solid #e4d3d1;border-radius:22px;background:linear-gradient(155deg,#fff,#fff8f6);box-shadow:var(--v139-shadow)}
.store-v95 .store-empty{border:1px dashed #d9bfbc;border-radius:20px;background:#fffaf9;padding:30px;text-align:center}
/* Profile, account, auth and standalone info pages */
.profile-page .profile-wrap{max-width:1240px}
.profile-page .profile-layout{gap:22px}
.profile-page .profile-identity{background:radial-gradient(ellipse at 90% 0%,rgba(190,137,131,.14),transparent 34%),linear-gradient(150deg,#fff,#fff8f6)}
.profile-page .profile-sidebar{background:#fff}
.profile-page .sidebar-link.active{background:var(--v139-rose-wash);color:var(--v139-rose-deep);border:1px solid #ead2cf}
.account-extra,.personal-page,.content{max-width:1240px}
.auth-body{background:radial-gradient(ellipse at 12% 0%,rgba(190,137,131,.16),transparent 35%),linear-gradient(145deg,#fffaf9,#f4e9e7 52%,#fff)}
.auth-body :where(.login-reference-card,.register-reference-card){border:1px solid #e5d3d1;border-radius:27px;background:rgba(255,255,255,.96);box-shadow:0 24px 70px rgba(43,30,32,.13)}
.auth-body .auth-submit{background:linear-gradient(135deg,#c28d87,#98635e);box-shadow:0 10px 25px rgba(152,99,94,.2)}
.content .support-cards,.content .support-grid{gap:clamp(14px,2vw,22px)}
.content .support-card{padding:clamp(20px,3vw,30px)}
.content .support-card h3{font-size:clamp(18px,2vw,23px)}
/* Responsive behavior: keep mobile controls readable and cards compact */
@media(max-width:1050px){.shop-home .shop-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.store-v95 .store-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.shop-home{padding:18px 13px 38px}.shop-home .shop-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.shop-home .product-card{padding:12px;border-radius:17px}.shop-home .product-art{min-height:155px}.store-v95{padding:18px 12px 40px}.store-v95 .store-intro{padding:24px 18px;border-radius:22px}.store-v95 .store-toolbar{padding:12px;border-radius:16px}.store-v95 .store-layout{grid-template-columns:1fr}.store-v95 .store-sidebar{padding:15px}.store-v95 .store-product-grid{gap:12px}.store-v95 .store-product-grid .product-card{padding:12px;border-radius:17px}.store-v95 .store-product-grid .product-art{min-height:155px}.store-cart-page .store-checkout-card{position:static}.content{padding:28px 14px 42px}.content .support-cards,.content .support-grid{grid-template-columns:1fr}.content .support-card{border-radius:18px}.store-detail-page .store-detail-gallery{min-height:260px;padding:15px;border-radius:20px}.store-detail-page .store-detail-info{padding:0}.store-cart-page .store-cart-heading,.store-compare-page .store-cart-heading{padding:20px 16px;border-radius:20px}}
@media(max-width:390px){.shop-home .shop-product-grid,.store-v95 .store-product-grid{grid-template-columns:1fr}.shop-home .product-art,.store-v95 .store-product-grid .product-art{min-height:200px}}
@media(prefers-reduced-motion:reduce){:where(main,.content,.account-extra,.personal-page) *{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
