/* Ayna Home — storefront theme */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');
:root{
  --ink:#282928;
  --ink-2:#3e3e3e;
  --muted:#5F5F5F;
  --line:#e5e5e5;
  --soft:#f7f7f7;
  --beige:#e8e3dd;
  --accent:#F69E4E;
  --accent-hover:#e08a3a;
  --red:#e30613;
  --wa:#25D366;
  --container:1440px;
  --gutter:20px;
  --header-h:72px;
  --radius:8px;
  --shadow:0 8px 30px rgba(0,0,0,.08);
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;font-family:"Outfit",sans-serif;font-size:14px;color:var(--ink);background:#fff;line-height:1.45}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
button,input,select,textarea{font-family:inherit}
.container{max-width:var(--container);margin:0 auto;padding:0 var(--gutter)}
.hidden{display:none!important}
.d-only{display:block}.m-only{display:none}
@media(max-width:991px){.d-only{display:none!important}.m-only{display:block!important}}

/* ===== TOP BAR (dark) ===== */
.th-top{background:var(--ink);color:#fff;font-size:11px;letter-spacing:.3px;display:block}
.th-top-inner{display:flex;align-items:center;justify-content:space-between;min-height:36px;gap:16px}
.th-top-links{display:flex;gap:22px;list-style:none;margin:0;padding:0}
.th-top-links a{color:#fff;opacity:.92;font-weight:500}
.th-top-links a:hover{opacity:1;color:var(--accent)}
.th-top-right{display:flex;align-items:center;gap:20px;margin-left:auto}
.th-top-right a{color:#fff;display:inline-flex;align-items:center;gap:6px;font-weight:500}
.th-top-right img{width:16px;height:16px}
@media(max-width:991px){.th-top{display:none}}

/* ===== HEADER ===== */
#header{position:sticky;top:0;z-index:100;background:#fff;border-bottom:1px solid var(--line)}
.th-mast{background:#fff}
.th-mast-inner{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;min-height:var(--header-h);gap:16px}
.th-mast-left{display:flex;align-items:center;gap:14px}
.th-mast-right{display:flex;align-items:center;justify-content:flex-end;gap:18px}
.th-logo{display:flex;align-items:center;justify-content:center}
.th-logo img,.th-logo svg{height:36px;width:auto;max-width:220px}
.th-icon{background:none;border:0;padding:6px;color:var(--muted);display:inline-flex;position:relative;cursor:pointer}
.th-icon svg{width:22px;height:22px}
.th-icon:hover{color:var(--ink)}
.cart-count{position:absolute;right:-4px;bottom:-4px;min-width:16px;height:16px;border-radius:50%;background:var(--ink);color:#fff;font-size:9px;font-weight:700;display:flex;align-items:center;justify-content:center;padding:0 3px}
.th-search{position:relative;width:min(340px,100%)}
.th-search input{width:100%;height:42px;border:1px solid var(--line);border-radius:999px;padding:0 44px 0 16px;font-size:13px;outline:none;background:var(--soft)}
.th-search input:focus{border-color:var(--ink);background:#fff}
.th-search button{position:absolute;right:4px;top:4px;width:34px;height:34px;border:0;border-radius:50%;background:transparent;color:var(--muted);display:flex;align-items:center;justify-content:center}
.menu-btn{display:none;background:none;border:0;padding:6px;color:var(--muted)}
@media(max-width:991px){
  .th-mast-inner{grid-template-columns:auto 1fr auto}
  .th-search{display:none}
  .menu-btn{display:inline-flex}
  .th-logo img,.th-logo svg{height:28px}
}

/* ===== DESKTOP NAV ===== */
.th-nav{border-top:1px solid var(--line);background:#fff;display:block}
.th-nav-ul{display:flex;justify-content:center;gap:8px;list-style:none;margin:0;padding:0;flex-wrap:wrap}
.th-nav-ul>li{position:relative}
.th-nav-ul>li>a{display:flex;align-items:center;gap:6px;padding:14px 18px;font-size:14px;font-weight:500;color:var(--ink);letter-spacing:.2px}
.th-nav-ul>li>a:hover,.th-nav-ul>li:hover>a{color:var(--accent)}
.th-nav-ul>li .dd{display:none;position:absolute;left:50%;transform:translateX(-50%);top:100%;min-width:240px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);padding:10px 0;z-index:80;border-radius:0 0 8px 8px}
.th-nav-ul>li:hover .dd{display:block}
.th-nav-ul .dd a{display:block;padding:10px 18px;font-size:13px;color:var(--ink-2)}
.th-nav-ul .dd a:hover{background:var(--soft);color:var(--accent)}
@media(max-width:991px){.th-nav{display:none}}

/* ===== BUTTONS ===== */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 22px;border-radius:999px;border:1px solid transparent;font-weight:600;font-size:13px;letter-spacing:.4px;cursor:pointer;transition:.2s}
.btn-primary{background:var(--ink);color:#fff}
.btn-primary:hover{background:#000}
.btn-accent{background:var(--accent);color:#fff}
.btn-accent:hover{background:var(--accent-hover)}
.btn-outline{background:transparent;border-color:var(--ink);color:var(--ink)}
.btn-outline:hover{background:var(--ink);color:#fff}
.btn-block{width:100%}
.btn-sm{padding:8px 14px;font-size:12px}

/* ===== HOME HERO ===== */
.th-hero{position:relative;background:#f3f1ee}
.th-hero-track{display:flex;overflow:hidden;scroll-snap-type:x mandatory}
.th-hero-slide{min-width:100%;scroll-snap-align:start;position:relative}
.th-hero-slide img{width:100%;height:min(68vh,620px);object-fit:cover}
.th-hero-caption{position:absolute;inset:0;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;padding:48px 6vw;background:linear-gradient(180deg,transparent 40%,rgba(0,0,0,.45));color:#fff}
.th-hero-caption h2{margin:0 0 14px;font-size:clamp(22px,3.2vw,40px);font-weight:500;max-width:14ch;line-height:1.15}
.th-hero-dots{position:absolute;left:50%;bottom:16px;transform:translateX(-50%);display:flex;gap:8px}
.th-hero-dots button{width:8px;height:8px;border-radius:50%;border:0;background:rgba(255,255,255,.45);padding:0}
.th-hero-dots button.on{background:#fff}
@media(max-width:991px){.th-hero-slide img{height:52vh}.th-hero-caption{padding:28px 20px}}

/* ===== INTRO ===== */
.th-intro{text-align:center;padding:56px 20px 24px;max-width:820px;margin:0 auto}
.th-intro h1{margin:0 0 12px;font-size:clamp(22px,3vw,34px);font-weight:500;line-height:1.25;color:var(--ink)}
.th-intro p{margin:0 0 22px;color:var(--muted);font-size:15px}
.th-intro .btn{min-width:180px}

/* ===== CATEGORY BANNERS ===== */
.th-cats{padding:10px 0 40px}
.th-cats-track{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}
.th-cat{position:relative;overflow:hidden;border-radius:10px;background:#eee;aspect-ratio:3/4}
.th-cat img{width:100%;height:100%;object-fit:cover;transition:transform .45s}
.th-cat:hover img{transform:scale(1.05)}
.th-cat span{position:absolute;left:0;right:0;bottom:0;padding:16px 12px;background:linear-gradient(180deg,transparent,rgba(0,0,0,.55));color:#fff;font-weight:500;font-size:14px;text-align:center}
@media(max-width:1100px){.th-cats-track{grid-template-columns:repeat(3,1fr)}}
@media(max-width:640px){.th-cats-track{grid-template-columns:repeat(2,1fr);gap:10px}}

/* ===== TRUST / FEATURES ===== */
.th-trust{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;padding:10px 0 40px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:10px 0 30px}
.th-trust-item{display:flex;gap:12px;align-items:flex-start;padding:18px 8px}
.th-trust-ico{width:42px;height:42px;border-radius:50%;background:var(--soft);display:flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--ink)}
.th-trust-item strong{display:block;font-size:13px;font-weight:600;margin-bottom:2px}
.th-trust-item small{color:var(--muted);font-size:12px}
@media(max-width:900px){.th-trust{grid-template-columns:1fr 1fr}.th-trust-item{padding:12px 4px}}
@media(max-width:520px){.th-trust{grid-template-columns:1fr}}

/* ===== SECTIONS / TABS ===== */
.section-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:8px 0 18px}
.section-header span,.section-header h2{font-size:clamp(20px,2.2vw,28px);font-weight:500;margin:0}
.th-tabs{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin:0 0 22px}
.th-tabs button{border:1px solid var(--line);background:#fff;border-radius:999px;padding:8px 16px;font-size:13px;color:var(--muted);cursor:pointer}
.th-tabs button.on,.th-tabs button:hover{background:var(--ink);color:#fff;border-color:var(--ink)}
.carousel{position:relative}
.carousel-track{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 2px 16px;scrollbar-width:none}
.carousel-track::-webkit-scrollbar{display:none}
.carousel-track .productItem,.carousel-track .p-card{min-width:calc(25% - 12px);scroll-snap-align:start}
@media(max-width:1100px){.carousel-track .productItem,.carousel-track .p-card{min-width:calc(33.33% - 12px)}}
@media(max-width:760px){.carousel-track .productItem,.carousel-track .p-card{min-width:calc(50% - 8px)}}
.car-arrow{position:absolute;top:40%;transform:translateY(-50%);width:40px;height:40px;border-radius:50%;border:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:center;z-index:2;box-shadow:var(--shadow);color:var(--ink)}
.car-arrow.prev{left:-8px}.car-arrow.next{right:-8px}
.car-arrow:hover{background:var(--beige)}
@media(max-width:991px){.car-arrow{display:none}}
.home-section{padding:20px 0 36px}
.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
@media(max-width:1100px){.product-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.product-grid{grid-template-columns:repeat(2,1fr);gap:12px}}

/* ===== PRODUCT CARD (product card) ===== */
.productItem,.p-card{background:#fff;position:relative}
.productItem .productImage,.p-card .productImage{position:relative;overflow:hidden;background:#f4f4f4;aspect-ratio:3/4}
.productItem .productImage img,.p-card .productImage img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.productItem:hover .productImage img,.p-card:hover .productImage img{transform:scale(1.03)}
.productItem .productDetail,.p-card .productDetail{padding:12px 4px 8px;text-align:center}
.productItem .productName a,.p-card .productName a{font-size:14px;font-weight:500;color:var(--ink);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.6em}
.productItem .productPrice,.p-card .productPrice{margin-top:8px}
.discountPriceSpan{display:block;font-size:16px;font-weight:600;color:var(--ink)}
.discountKdv,.regularKdv{display:block;font-size:11px;color:var(--muted);font-weight:400}
.regularPriceSpan{display:block;font-size:13px;color:#999;text-decoration:line-through;margin-top:2px}
.productItem .productIcon,.p-card .productIcon{position:absolute;top:10px;right:10px;display:flex;flex-direction:column;gap:8px;opacity:0;transition:.2s}
.productItem:hover .productIcon,.p-card:hover .productIcon{opacity:1}
.productItem .productIcon>div,.p-card .productIcon>div{width:36px;height:36px;border-radius:50%;background:#fff;box-shadow:0 2px 10px rgba(0,0,0,.12);display:flex;align-items:center;justify-content:center}
.productItem .productIcon button,.productItem .productIcon a,.p-card .productIcon button,.p-card .productIcon a{border:0;background:none;padding:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:var(--ink);font-size:0;cursor:pointer}
.productItem .productIcon svg,.p-card .productIcon svg{width:16px;height:16px}
.badge-disc{position:absolute;left:10px;top:10px;background:var(--ink);color:#fff;font-size:11px;font-weight:600;padding:5px 8px;border-radius:4px;z-index:1}
.badge-ship{position:absolute;left:10px;bottom:10px;background:#fff;color:var(--ink);font-size:10px;font-weight:600;padding:4px 8px;border-radius:4px;box-shadow:0 2px 8px rgba(0,0,0,.08);z-index:1}
@media(max-width:991px){.productItem .productIcon,.p-card .productIcon{opacity:1}}

/* ===== CATEGORY PAGE ===== */
.cat-head{padding:28px 0 10px;text-align:center}
.cat-head h1{margin:0 0 6px;font-size:28px;font-weight:500}
.cat-head .crumb{color:var(--muted);font-size:12px}
.cat-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0 18px;border-bottom:1px solid var(--line);margin-bottom:18px;flex-wrap:wrap}
.cat-toolbar select{height:38px;border:1px solid var(--line);border-radius:6px;padding:0 12px;background:#fff}

/* ===== PRODUCT DETAIL ===== */
.p-wrap{display:grid;grid-template-columns:1.05fr .95fr;gap:36px;padding:28px 0 48px}
.p-gallery{display:grid;gap:12px}
.p-gallery .main{background:#f4f4f4;aspect-ratio:3/4;overflow:hidden}
.p-gallery .main img{width:100%;height:100%;object-fit:cover}
.p-thumbs{display:flex;gap:8px;overflow-x:auto}
.p-thumbs button{border:1px solid var(--line);padding:0;background:#fff;width:72px;height:96px;overflow:hidden;flex-shrink:0;cursor:pointer}
.p-thumbs button.on{border-color:var(--ink)}
.p-thumbs img{width:100%;height:100%;object-fit:cover}
.p-info h1{margin:0 0 10px;font-size:clamp(22px,2.4vw,30px);font-weight:500}
.p-price{display:flex;align-items:baseline;gap:12px;margin:14px 0}
.p-price .now{font-size:26px;font-weight:600}
.p-price .old{font-size:16px;color:#999;text-decoration:line-through}
.p-kdv{font-size:12px;color:var(--muted);margin-top:-8px;margin-bottom:16px}
.p-actions{display:flex;gap:10px;align-items:center;margin:18px 0}
.p-actions input[type=number]{width:70px;height:48px;border:1px solid var(--line);border-radius:8px;text-align:center;font-size:15px}
.p-actions .btn{height:48px;padding:0 28px}
.p-meta{font-size:13px;color:var(--muted);margin:16px 0}
.p-desc{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}
.p-desc ul{padding-left:18px;margin:0}
.p-desc li{margin:8px 0}
.p-options{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.p-options button{border:1px solid var(--line);background:#fff;padding:8px 12px;border-radius:6px;cursor:pointer}
.p-options button.on{border-color:var(--ink);background:var(--ink);color:#fff}
.shake{animation:shake .4s}.shake{animation:shake .45s}@keyframes shake{10%,90%{transform:translateX(-2px)}20%,80%{transform:translateX(3px)}30%,50%,70%{transform:translateX(-4px)}40%,60%{transform:translateX(4px)}}
@media(max-width:900px){.p-wrap{grid-template-columns:1fr;gap:18px}}

/* ===== DRAWERS / CART ===== */
.overlay{position:fixed;inset:0;background:rgba(0,0,0,.4);opacity:0;pointer-events:none;transition:.2s;z-index:200}
.overlay.show{opacity:1;pointer-events:auto}
.drawer{position:fixed;top:0;bottom:0;width:min(400px,92vw);background:#fff;z-index:210;transform:translateX(0);transition:transform .28s;display:flex;flex-direction:column;box-shadow:var(--shadow)}
.drawer.left{left:0;transform:translateX(-105%)}
.drawer.right{right:0;transform:translateX(105%)}
.drawer.open{transform:translateX(0)}
.drawer-head{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-bottom:1px solid var(--line);font-weight:600}
.drawer-head button{border:0;background:none;font-size:24px;line-height:1;cursor:pointer}
.drawer-body{flex:1;overflow:auto;padding:16px 18px}
.drawer-logo{height:28px}
.nav-list{list-style:none;margin:0;padding:0}
.nav-list>li>a,.nav-row a{display:block;padding:12px 0;border-bottom:1px solid var(--line);font-weight:500}
.nav-row{display:flex;align-items:center;justify-content:space-between}
.sub-toggle{border:0;background:none;font-size:18px;padding:8px}
.nav-sub{display:none;list-style:none;padding:0 0 8px 12px;margin:0}
.has-sub.open .nav-sub{display:block}
.nav-sub a{display:block;padding:8px 0;color:var(--muted);font-size:13px}
.cart-items{list-style:none;margin:0;padding:0}
.cart-item{display:grid;grid-template-columns:72px 1fr auto;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);align-items:start}
.cart-item img{width:72px;height:96px;object-fit:cover;background:#f4f4f4}
.cart-item .t{font-size:13px;font-weight:500}
.cart-item .p{font-size:14px;font-weight:600;margin:4px 0}
.cart-item .q{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:6px;padding:2px 6px}
.cart-item .q button{border:0;background:none;width:24px;height:24px}
.cart-item .rm{border:0;background:none;font-size:20px;cursor:pointer;color:var(--muted)}
.cart-foot{padding:16px 18px;border-top:1px solid var(--line)}
.cart-total{display:flex;justify-content:space-between;font-weight:600;margin:10px 0 14px;font-size:15px}
.ship-note{font-size:12px;color:var(--muted);background:var(--soft);padding:10px;border-radius:6px}
.pay-hint{text-align:center;font-size:11px;color:var(--muted);margin-top:8px}
.empty{padding:40px 10px;text-align:center;color:var(--muted)}
.form-control{width:100%;height:42px;border:1px solid var(--line);border-radius:6px;padding:0 12px;margin:0 0 10px}
.drawer-title{font-weight:600;margin-bottom:4px}.drawer-sub{color:var(--muted);font-size:13px;margin-bottom:12px}
.drawer-section{padding:8px 0}

/* ===== FOOTER ===== */
.th-footer{margin-top:40px;border-top:1px solid var(--line)}
.th-news{background:#E3E3E3;border-radius:8px;padding:28px 36px;display:flex;align-items:center;justify-content:space-between;gap:20px;margin:28px 0}
.th-news h3{margin:0;font-size:clamp(20px,2.4vw,32px);font-weight:400;color:var(--ink)}
.th-news-form{display:flex;gap:10px;flex:1;justify-content:flex-end;max-width:520px}
.th-news-form input{flex:1;height:48px;border:0;border-radius:6px;padding:0 14px}
.th-news-form button{height:48px;border:0;border-radius:6px;background:var(--ink);color:#fff;padding:0 22px;font-weight:600;cursor:pointer}
@media(max-width:800px){.th-news{flex-direction:column;align-items:stretch;padding:22px}.th-news-form{max-width:none}}
.th-foot-grid{display:grid;grid-template-columns:1.2fr 2fr;gap:30px;padding:10px 0 30px}
.th-foot-brand p,.th-foot-brand a{font-size:13px;color:var(--muted);margin:6px 0}
.th-foot-brand .th-logo{justify-content:flex-start;margin-bottom:12px}
.th-foot-menus{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.footer-menu-title{font-weight:600;margin-bottom:10px;display:flex;justify-content:space-between;align-items:center}
.footer-menu ul{list-style:none;margin:0;padding:0}
.footer-menu a{display:block;padding:5px 0;font-size:13px;color:var(--muted)}
.footer-menu a:hover{color:var(--ink)}
.th-foot-bottom{border-top:1px solid var(--line);padding:16px 0;display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap;font-size:12px;color:var(--muted)}
@media(max-width:800px){
  .th-foot-grid{grid-template-columns:1fr}
  .th-foot-menus{grid-template-columns:1fr}
  .footer-menu ul{display:none}
  .footer-menu.open ul{display:block}
}

/* ===== MOBILE BOTTOM NAV + WA ===== */
.fixed-bottom-navigation{display:none;position:fixed;left:0;right:0;bottom:0;background:#fff;border-top:1px solid var(--line);z-index:90;padding:6px 0 calc(6px + env(safe-area-inset-bottom))}
.fixed-bottom-navigation a{flex:1;display:flex;flex-direction:column;align-items:center;gap:2px;font-size:10px;color:var(--muted);padding:4px}
.fixed-bottom-navigation svg{width:20px;height:20px}
@media(max-width:991px){
  .fixed-bottom-navigation{display:flex}
  body{padding-bottom:64px}
}
.fixed-whatsapp{position:fixed;right:18px;bottom:84px;width:54px;height:54px;border-radius:50%;background:var(--wa);color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 20px rgba(37,211,102,.35);z-index:95}
.fixed-whatsapp svg{width:28px;height:28px}
@media(min-width:992px){.fixed-whatsapp{bottom:24px}}

/* ===== CHECKOUT / PAGES (keep functional, restyle) ===== */
.checkout{display:grid;grid-template-columns:1.2fr .8fr;gap:24px;padding:24px 0 48px}
@media(max-width:900px){.checkout{grid-template-columns:1fr}}
.co-steps{display:flex;gap:8px;margin-bottom:18px}
.co-steps .s{flex:1;text-align:center;padding:10px;border-bottom:2px solid var(--line);font-size:13px;color:var(--muted)}
.co-steps .s.on{border-color:var(--ink);color:var(--ink);font-weight:600}
.co-steps .s.done{border-color:var(--accent);color:var(--accent)}
.co-box{border:1px solid var(--line);border-radius:10px;padding:18px;background:#fff}
.co-box h3{margin:0 0 14px;font-size:16px;font-weight:600}
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
@media(max-width:600px){.grid-2{grid-template-columns:1fr}}
label.field{display:block;font-size:12px;color:var(--muted);margin:0 0 4px}
.page-content{padding:28px 0 48px;max-width:860px}
.page-content h1{font-size:28px;font-weight:500;margin:0 0 16px}
.toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);background:var(--ink);color:#fff;padding:12px 18px;border-radius:999px;font-size:13px;z-index:300;opacity:0;pointer-events:none;transition:.25s}
.toast.show{opacity:1}
.placeholder{background:#fff7d6;padding:8px 10px;border-radius:6px}
#main{min-height:50vh}
.breadcrumb{font-size:12px;color:var(--muted);padding:14px 0 0}
.breadcrumb a:hover{color:var(--accent)}

/* payment logos etc */
.footer-ssl img{max-height:28px}

/* keep legacy class aliases used by checkout JS */
.top-bar{display:none} /* replaced by th-top */
.header-top,.header-row{display:contents}
.showcase-cart-area{display:none}
.add-cart{cursor:pointer}

/* category grid alias */
.cat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
@media(max-width:1100px){.cat-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.cat-grid{grid-template-columns:repeat(2,1fr);gap:12px}}
.pager{display:flex;gap:8px;justify-content:center;padding:24px 0}
.pager button{border:1px solid var(--line);background:#fff;min-width:36px;height:36px;border-radius:6px;cursor:pointer}
.pager button.on{background:var(--ink);color:#fff;border-color:var(--ink)}
#lfbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.chip{border:1px solid var(--line);border-radius:999px;padding:6px 12px;font-size:12px;background:#fff}

.p-opt.active,.p-opt.on{border-color:var(--ink);background:var(--ink);color:#fff}

.th-icon.d-only,.th-search.d-only{display:inline-flex}
@media(max-width:991px){.th-icon.d-only,.th-search.d-only{display:none!important}}
.th-icon.m-only{display:none}
@media(max-width:991px){.th-icon.m-only{display:inline-flex!important}}


/* Renk / ahşap swatch seçenekleri */
.p-opt-chart{font-size:12px;font-weight:500;margin-left:8px;color:var(--accent,#F69E4E);text-decoration:underline}
.p-options--swatch{gap:10px}
.p-opt--swatch{display:inline-flex;align-items:center;gap:8px;padding:6px 10px 6px 6px;border-radius:999px;background:#fff;border:1px solid var(--line,#e5e5e5)}
.p-opt--swatch .p-opt-swatch{width:28px;height:28px;border-radius:50%;background-size:cover;background-position:center;border:1px solid rgba(0,0,0,.12);flex:0 0 auto}
.p-opt--swatch .p-opt-label{font-size:12px;line-height:1.2;max-width:110px;text-align:left}
.p-opt--swatch.active,.p-opt--swatch.on{background:#fff;color:inherit;border-color:var(--ink,#282928);box-shadow:0 0 0 2px var(--ink,#282928)}
.p-opt--swatch.active .p-opt-label,.p-opt--swatch.on .p-opt-label{font-weight:600}
.p-opt-selected{margin-top:6px;font-size:13px}

/* Renk Kartelası sayfası */
.kartela-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:16px;margin:16px 0 28px}
.kartela-card{background:#fff;border:1px solid var(--line,#e5e5e5);border-radius:10px;padding:10px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:8px}
.kartela-card img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:8px}
.kartela-card b{font-size:12px;letter-spacing:.02em}
.kartela-chip{width:22px;height:22px;border-radius:50%;border:1px solid rgba(0,0,0,.15)}
.kartela-pages{display:grid;gap:20px;margin:16px 0 32px}
.kartela-pages figure{margin:0;background:#fff;border:1px solid var(--line,#e5e5e5);border-radius:10px;overflow:hidden}
.kartela-pages img{display:block;width:100%;height:auto}
.kartela-pages figcaption{padding:10px 14px;font-size:13px;color:var(--muted,#666)}

/* checkout / order styles ported from the base storefront (SPA pages) */
:root{--brand:#282928;--text:#282928}
.ship-note{font-size:12px;background:#f6f0f6;color:var(--brand);padding:8px 10px;border-radius:4px;margin-bottom:10px;line-height:1.5}
.pay-hint{font-size:11px;color:var(--muted);text-align:center;margin-top:8px}
.co-title{font-size:22px;margin:10px 0 18px}
.checkout{display:grid;grid-template-columns:1.6fr 1fr;gap:24px;align-items:start;margin-bottom:40px}
.co-box{border:1px solid var(--line);border-radius:6px;padding:20px;margin-bottom:18px;background:#fff}
.co-box.sticky{position:sticky;top:110px}
.co-h{font-weight:700;font-size:15px;margin-bottom:14px;display:flex;justify-content:space-between;align-items:center}
.co-h .st{font-weight:500;color:var(--brand);font-size:12px}
.co-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.pay-opt{display:flex;gap:8px;align-items:center;border:2px solid var(--brand);border-radius:6px;padding:12px;font-size:14px;margin-bottom:14px}
.pay-opt small{color:var(--muted)}
.bank-box{background:#faf7fa;border:1px dashed var(--brand);border-radius:6px;padding:16px;margin:12px 0}
.bank-title{font-weight:700;color:var(--brand);margin-bottom:10px}
.bank-row{display:grid;grid-template-columns:90px 1fr auto;gap:8px;align-items:center;padding:7px 0;border-bottom:1px solid #eee3ee;font-size:13px}
.bank-row span:first-child{color:var(--muted)}
.bank-row .iban{font-family:ui-monospace,Menlo,Consolas,monospace;letter-spacing:.5px}
.bank-note{font-size:12px;line-height:1.6;margin:10px 0 0}
.co-items{list-style:none;margin:0 0 12px;padding:0}
.co-items li{display:grid;grid-template-columns:56px 1fr auto;gap:10px;align-items:center;padding:8px 0;border-bottom:1px solid var(--line);font-size:12px}
.co-items img{width:56px;height:56px;object-fit:cover;border-radius:4px}
.co-items .t{font-weight:600;font-size:13px}
.co-items small{display:block;color:var(--muted)}
.co-sum>div{display:flex;justify-content:space-between;padding:6px 0;font-size:13px}
.co-sum .grand{border-top:2px solid var(--text);margin-top:6px;padding-top:10px;font-size:17px;font-weight:700}
.co-sum .free{color:#1a8a3a}
.agree{display:flex;gap:8px;font-size:12px;line-height:1.5;margin:14px 0}
.agree a{color:var(--brand);font-weight:600}
.co-err{color:#c00;font-size:13px;margin-bottom:8px;min-height:1px}
.order-ok{max-width:760px;margin:20px auto 50px;text-align:center}
.order-ok .ok-ic{width:70px;height:70px;border-radius:50%;background:#1a8a3a;color:#fff;font-size:38px;display:flex;align-items:center;justify-content:center;margin:0 auto 14px}
.order-ok h1{font-size:24px;margin:0 0 12px}
.order-ok p{font-size:14px;line-height:1.7}
.order-ok .order-no{font-size:18px;color:var(--brand);letter-spacing:1px}
.order-ok .bank-box,.order-ok .co-box{text-align:left}
.order-ok .addr{font-size:13px;margin-top:10px}
.order-ok .help a{color:var(--brand);font-weight:700}
/* v6: çok adımlı ödeme + dekont */
.co-steps{list-style:none;display:flex;gap:0;padding:0;margin:0 0 22px;counter-reset:s}
.co-steps li{flex:1;display:flex;align-items:center;gap:10px;position:relative;padding:12px 14px;background:#f4f1f4;color:#9a8f9a;font-size:13px;font-weight:600;cursor:default}
.co-steps li:first-child{border-radius:6px 0 0 6px}
.co-steps li:last-child{border-radius:0 6px 6px 0}
.co-steps li+li{margin-left:2px}
.co-steps .n{width:28px;height:28px;flex:0 0 28px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#fff;border:2px solid #d9cfd9;font-weight:700;font-size:13px}
.co-steps li.active{background:var(--brand);color:#fff}
.co-steps li.active .n{border-color:#fff;color:var(--brand)}
.co-steps li.done{background:#efe6ef;color:var(--brand);cursor:pointer}
.co-steps li.done .n{background:#1a8a3a;border-color:#1a8a3a;color:#fff}
.co-steps li.reach{cursor:pointer;color:#6d626d}
.co-nav{display:flex;justify-content:space-between;gap:12px;margin-bottom:24px}
.co-nav .btn{min-width:200px;justify-content:center;text-align:center}
.co-nav .btn:only-child{margin-left:auto}
.co-recap{border:1px solid var(--line);border-radius:6px;margin-bottom:14px}
.co-recap>div{display:grid;grid-template-columns:80px 1fr auto;gap:10px;padding:10px 12px;font-size:13px;align-items:start}
.co-recap>div+div{border-top:1px solid var(--line)}
.co-recap b{color:var(--muted);font-weight:600}
.pay-howto{margin:0 0 6px;padding-left:20px;font-size:13px;line-height:1.8}
.agree{display:flex;flex-wrap:wrap;gap:8px;font-size:12px;margin:16px 0 6px;align-items:flex-start}
.agree a{color:var(--brand);font-weight:700}
.agree .fld-err{flex-basis:100%}
.co-secure{font-size:11.5px;color:var(--muted);margin-top:10px}
.track-box p{font-size:13px}
.track-box a,.track-wrap a{color:var(--brand);font-weight:700}
.track-wrap{max-width:640px;margin:10px auto 50px}
.track-wrap p{font-size:13.5px;line-height:1.6}
.track-wrap .btn{margin-top:8px}
.co-grid>.full{grid-column:1/-1}
.bill .co-grid{grid-template-columns:1fr 1fr}
.alert{padding:10px 14px;border-radius:10px;font-size:14px;line-height:1.45}
.alert.warn{background:#fff6e5;border:1px solid #f3d9a2;color:#6b4a00}
.alert.err{background:#fdecec;border:1px solid #f1bcbc;color:#8a1f1f}
.copy-btn{cursor:pointer;font:inherit;font-size:12px;font-weight:600;line-height:1;padding:7px 12px;border:1px solid #1a1a1a;border-radius:999px;background:#fff;color:#1a1a1a;transition:.15s}
.copy-btn:hover{background:#1a1a1a;color:#fff}
.copy-btn.ok,.copy-btn:active{background:#1a7f37;border-color:#1a7f37;color:#fff}
