/*
Theme Name: Qay Store
Theme URI: https://qois.web.id/
Author: Qay Store
Description: Tema toko sepatu & apparel untuk WooCommerce self-hosted. Hero slider 3 slide, banner, serta pilihan warna dan ukuran (swatch) di halaman produk. Semua teks, gambar, dan tautan hero/banner diatur dari Appearance > Customize > Qay Store.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: qay-store
WC requires at least: 8.0
*/
:root{--green:#25382b;--green-2:#344a3a;--orange:#dc7c42;--orange-2:#c96a31;--cream:#fffefa;--sand:#f4efe4;--ink:#1c261f;--muted:#68766c;--line:#e7e1d3;--radius:20px;--shadow:0 10px 30px rgba(37,56,43,.10);--font:"Inter","Segoe UI",system-ui,-apple-system,Roboto,Arial,sans-serif}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--cream);color:var(--ink);font-family:var(--font);font-size:16px;line-height:1.55;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
button{font:inherit;cursor:pointer}
h1,h2,h3,h4{line-height:1.12;margin:0;letter-spacing:-.02em;color:var(--green)}
h1 em,h2 em{font-style:normal;color:var(--orange)}
:focus-visible{outline:3px solid var(--orange);outline-offset:2px}
.container{width:min(1200px,100% - 40px);margin-inline:auto}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.eyebrow{display:inline-block;font-size:13px;font-weight:700;color:var(--orange-2);margin-bottom:12px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:13px 22px;border-radius:999px;border:2px solid var(--green);background:var(--cream);color:var(--green);font-weight:700;transition:.2s}
.btn:hover{transform:translateY(-2px)}
.btn-primary{background:var(--green);color:var(--cream)}
.btn-primary:hover{background:var(--green-2)}
.btn-light{background:transparent}
/* announcement + header */
.announcement{background:var(--green);color:var(--cream);font-size:13px;text-align:center;padding:8px 14px}
.announcement strong{color:#f3c59f;margin-left:6px}
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,254,250,.94);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.admin-bar .site-header{top:32px}
.header-inner{display:flex;align-items:center;gap:22px;min-height:72px}
.menu-toggle{display:none}
.brand{display:flex;align-items:center;gap:11px}
.brand-mark svg{width:44px;height:44px}
.brand-name{display:flex;flex-direction:column;font-weight:900;font-size:20px;color:var(--green);line-height:1}
.brand-name em{font-style:normal;color:var(--orange)}
.brand-name small{font-size:11px;font-weight:500;color:var(--muted);margin-top:4px}
.desktop-nav{display:flex;gap:4px;margin-left:8px}
.desktop-nav a{padding:8px 13px;border-radius:999px;font-weight:600;font-size:15px}
.desktop-nav a:hover,.desktop-nav .current-menu-item>a{background:var(--sand)}
.desktop-nav ul{display:flex;gap:4px;list-style:none;margin:0;padding:0}
.header-search{display:flex;align-items:center;gap:8px;margin-left:auto;background:var(--sand);border-radius:999px;padding:0 16px;max-width:280px;flex:1}
.header-search input{border:0;background:none;padding:11px 0;width:100%;font:inherit;outline:0}
.header-actions{display:flex;gap:8px}
.icon-btn{position:relative;width:44px;height:44px;border-radius:50%;border:1px solid var(--line);background:var(--cream);display:grid;place-items:center;font-size:19px;color:var(--green)}
.icon-btn .count{position:absolute;top:-4px;right:-4px;min-width:20px;height:20px;border-radius:99px;background:var(--orange);color:#fff;font-size:11px;font-weight:700;display:grid;place-items:center;padding:0 5px}
/* hero slider */
.hero-wrap{padding:28px 0 12px}
.hero-slider{position:relative}
.hero-slides{display:grid}
.hero-slide{grid-area:1/1;display:grid;grid-template-columns:1.05fr .95fr;gap:36px;align-items:center;background:var(--sand);border-radius:32px;padding:clamp(24px,4vw,56px);opacity:0;visibility:hidden;transition:opacity .6s,visibility .6s}
.hero-slide.is-active{opacity:1;visibility:visible}
.hero-copy h1{font-size:clamp(34px,5vw,62px);margin-bottom:16px}
.hero-copy p{font-size:18px;color:var(--muted);max-width:30em;margin:0 0 26px}
.hero-buttons{display:flex;flex-wrap:wrap;gap:12px}
.hero-art{position:relative;min-height:380px}
.hero-photo{position:absolute;inset:0;border-radius:28px;background:var(--green) var(--hero-img) center/cover no-repeat;box-shadow:var(--shadow)}
.hero-sticker{position:absolute;top:-14px;right:-8px;width:104px;height:104px;border-radius:50%;background:var(--orange);color:#fff;display:grid;place-content:center;text-align:center;transform:rotate(10deg);font-size:12px;line-height:1.2}
.hero-sticker b{font-size:20px}
.floating-product{position:absolute;left:-22px;bottom:22px;display:flex;gap:12px;align-items:center;background:var(--cream);border-radius:18px;padding:10px 16px 10px 10px;box-shadow:var(--shadow);max-width:290px}
.floating-product img{width:62px;height:62px;border-radius:12px;object-fit:cover}
.floating-product small{display:block;color:var(--orange-2);font-weight:700;font-size:11px}
.floating-product b{display:block;font-size:13px;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.floating-product span{font-size:13px;color:var(--muted)}
.hero-controls{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:16px}
.hero-arrow{width:40px;height:40px;border-radius:50%;border:1px solid var(--line);background:var(--cream);font-size:18px;color:var(--green)}
.hero-arrow:hover{background:var(--green);color:var(--cream)}
.hero-dots{display:flex;gap:8px}
.hero-dot{width:10px;height:10px;border-radius:99px;border:0;padding:0;background:#cfc8b6;transition:.25s}
.hero-dot.is-active{width:30px;background:var(--orange)}
.trust-row{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:18px}
.trust-item{display:flex;gap:12px;align-items:center;padding:14px 16px;border:1px solid var(--line);border-radius:16px}
.trust-icon{width:38px;height:38px;border-radius:12px;background:var(--green);color:var(--cream);display:grid;place-items:center}
.trust-item small{display:block;color:var(--muted);font-size:12px}
/* sections */
.section{padding:56px 0}.section.tight{padding:34px 0}
.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:26px}
.section-head h2{font-size:clamp(26px,3.4vw,38px)}
.section-head p{margin:8px 0 0;color:var(--muted)}
.text-link{font-weight:700;color:var(--green);white-space:nowrap}
.category-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:16px}
.category-card{display:flex;flex-direction:column;gap:2px;padding:12px;border:1px solid var(--line);border-radius:var(--radius);transition:.2s}
.category-card:hover{border-color:var(--green);transform:translateY(-3px)}
.category-image{aspect-ratio:1;border-radius:14px;overflow:hidden;background:var(--sand);margin-bottom:10px;display:block}
.category-image img{width:100%;height:100%;object-fit:cover}
.category-card small{color:var(--muted)}
/* banner */
.qay-banner{padding:20px 0}
.banner-link{position:relative;display:flex;align-items:center;min-height:220px;border-radius:28px;overflow:hidden;background:var(--green) var(--banner-img) center/cover no-repeat;color:var(--cream)}
.banner-link::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(37,56,43,.88),rgba(37,56,43,.15))}
.banner-copy{position:relative;padding:clamp(24px,4vw,52px);max-width:560px}
.banner-copy h2{color:var(--cream);font-size:clamp(24px,3.4vw,40px);margin-bottom:8px}
.banner-copy p{margin:0 0 16px;opacity:.9}
.banner-copy .btn{background:var(--orange);border-color:var(--orange);color:#fff}
/* catalog */
.catalog-toolbar{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-bottom:22px}
.filter-pills{display:flex;flex-wrap:wrap;gap:8px}
.filter-pill{padding:9px 16px;border-radius:999px;border:1px solid var(--line);background:var(--cream);font-weight:600}
.filter-pill.active{background:var(--green);color:var(--cream);border-color:var(--green)}
.sort-select{margin-left:auto;padding:10px 14px;border-radius:999px;border:1px solid var(--line);background:var(--cream);font:inherit}
.results-label{color:var(--muted);font-size:14px}
ul.products,.product-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none}
.product-card{position:relative;background:var(--cream);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;transition:.2s;width:auto!important;margin:0!important;float:none!important}
.product-card:hover{box-shadow:var(--shadow);transform:translateY(-3px)}
.product-media{position:relative;display:block;aspect-ratio:1;background:var(--sand)}
.product-media img{width:100%;height:100%;object-fit:cover}
.product-badge{position:absolute;top:12px;left:12px;background:var(--orange);color:#fff;font-size:12px;font-weight:700;padding:4px 10px;border-radius:99px}
.wish-btn{position:absolute;top:10px;right:10px;width:38px;height:38px;border-radius:50%;border:0;background:var(--cream);font-size:18px;color:var(--green);box-shadow:0 2px 8px rgba(0,0,0,.12)}
.wish-btn.is-on{background:var(--orange);color:#fff}
.product-info{padding:14px 16px 16px;display:flex;flex-direction:column;gap:6px;flex:1}
.product-category{font-size:12px;color:var(--muted);font-weight:600}
.product-title{font-size:15px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.6em}
.price-row .price{display:flex;flex-wrap:wrap;gap:2px 8px;align-items:baseline;font-weight:800;color:var(--green)}
.price del{color:var(--muted);font-weight:500;font-size:13px}.price ins{text-decoration:none}
.card-options{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;min-height:22px}
.mini-colors{display:flex;gap:4px}
.mini-colors i{width:14px;height:14px;border-radius:50%;border:1px solid rgba(0,0,0,.18);display:block}
.mini-sizes{font-size:12px;color:var(--muted)}
.product-actions{display:flex;gap:8px;margin-top:auto;padding-top:8px}
.add-btn{flex:1;text-align:center;padding:10px 12px;border-radius:999px;background:var(--green);color:var(--cream)!important;font-weight:700;font-size:14px;border:0}
.add-btn:hover{background:var(--green-2)}
.quick-btn{width:42px;height:42px;border-radius:50%;border:1px solid var(--line);display:grid;place-items:center}
.empty-state{text-align:center;padding:40px 0;display:grid;gap:8px}
/* promo + collection */
.promo-panel{display:grid;grid-template-columns:1fr 1fr;background:var(--green);color:var(--cream);border-radius:32px;overflow:hidden}
.promo-copy{padding:clamp(28px,5vw,64px)}
.promo-copy h2{color:var(--cream);font-size:clamp(26px,3.6vw,42px);margin-bottom:12px}
.promo-copy p{opacity:.85;margin:0 0 22px}
.promo-copy .eyebrow{color:#f3c59f}
.promo-photo{min-height:300px;background:var(--green-2) var(--promo-img) center/cover no-repeat}
.collection-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.collection-card{position:relative;border-radius:var(--radius);overflow:hidden;min-height:320px;background:var(--green)}
.collection-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.collection-card::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(37,56,43,.85),transparent 60%)}
.collection-copy{position:absolute;z-index:1;left:20px;right:20px;bottom:20px;color:var(--cream)}
.collection-copy h3{color:var(--cream);margin:4px 0 8px;font-size:24px}
.collection-copy small{color:#f3c59f;font-weight:700}
.newsletter{padding:20px 0 60px}
.newsletter-inner{display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:center;background:var(--sand);border-radius:28px;padding:clamp(24px,4vw,48px)}
.newsletter h2{font-size:clamp(24px,3vw,34px)}.newsletter p{color:var(--muted);margin:8px 0 0}
.newsletter-form{display:flex;gap:8px}
.newsletter-form input[type=email]{flex:1;min-width:0;padding:14px 18px;border-radius:999px;border:1px solid var(--line);font:inherit}
.newsletter-form button{padding:0 22px;border:0;border-radius:999px;background:var(--orange);color:#fff;font-weight:700}
/* footer */
.site-footer{background:var(--green);color:#dfe7e0;padding:48px 0 26px}
.site-footer .brand-name,.site-footer h3{color:var(--cream)}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:30px}
.footer-heading{font-size:16px;margin-bottom:12px}
.footer-links{display:grid;gap:8px}.footer-links a:hover,.footer-contact a{color:#f3c59f}
.footer-brand p{margin:14px 0 0;max-width:30em;font-size:14px}
.footer-bottom{margin-top:30px;padding-top:18px;border-top:1px solid rgba(255,255,255,.14);font-size:13px}
/* floating */
.wa-float{position:fixed;right:18px;bottom:18px;z-index:60;display:flex;align-items:center;gap:10px;background:#25d366;color:#fff;border-radius:999px;padding:10px 16px 10px 10px;box-shadow:0 8px 24px rgba(0,0,0,.25);font-weight:700;font-size:14px}
.wa-float-icon{width:34px;height:34px;display:grid;place-items:center}.wa-float-icon svg{width:30px;height:30px}
.mobile-nav{display:none}
.overlay{position:fixed;inset:0;background:rgba(0,0,0,.45);opacity:0;visibility:hidden;transition:.25s;z-index:80}
.overlay.is-open{opacity:1;visibility:visible}
.drawer{position:fixed;top:0;right:0;bottom:0;width:min(400px,92vw);background:var(--cream);z-index:90;transform:translateX(105%);transition:transform .3s;display:flex;flex-direction:column}
.drawer.is-open{transform:none}
#mobileDrawer{right:auto;left:0;transform:translateX(-105%)}#mobileDrawer.is-open{transform:none}
.drawer-head,.drawer-foot{padding:16px 20px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}
.drawer-foot{border:0;border-top:1px solid var(--line)}
.drawer-body{padding:18px 20px;overflow:auto;flex:1}
.close-btn{width:38px;height:38px;border-radius:50%;border:1px solid var(--line);background:none;font-size:22px}
.wish-item{display:flex;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid var(--line)}
.wish-item img{width:60px;height:60px;border-radius:12px;object-fit:cover}
.wish-item a{font-weight:600;font-size:14px}
.toast{position:fixed;left:50%;bottom:90px;transform:translate(-50%,20px);background:var(--green);color:#fff;padding:11px 20px;border-radius:99px;opacity:0;pointer-events:none;transition:.3s;z-index:100}
.toast.show{opacity:1;transform:translate(-50%,0)}
/* pages / woocommerce */
.page-wrap{padding:40px 0 70px}
.page-wrap h1.entry-title,.woocommerce-products-header__title{font-size:clamp(28px,4vw,42px);margin-bottom:22px}
.woocommerce div.product{display:grid;grid-template-columns:1fr 1fr;gap:40px}
.woocommerce div.product div.images,.woocommerce div.product div.summary{float:none;width:auto}
.woocommerce div.product .woocommerce-tabs,.woocommerce div.product .related,.woocommerce div.product .up-sells{grid-column:1/-1}
.woocommerce div.product div.images img{border-radius:var(--radius)}
.woocommerce div.product .product_title{font-size:clamp(24px,3vw,34px)}
.woocommerce div.product p.price,.woocommerce div.product span.price{font-size:24px;font-weight:800;color:var(--green)}
.woocommerce div.product p.price ins{text-decoration:none}
.woocommerce .button,.woocommerce button.button,.woocommerce a.button,.woocommerce input.button,.woocommerce #respond input#submit{background:var(--green);color:var(--cream);border-radius:999px;font-weight:700;padding:13px 24px}
.woocommerce .button:hover{background:var(--green-2);color:var(--cream)}
.woocommerce button.button.alt,.woocommerce a.button.alt{background:var(--orange)}
.woocommerce button.button.alt:hover{background:var(--orange-2)}
.woocommerce .quantity .qty{padding:11px 8px;border-radius:12px;border:1px solid var(--line);width:72px}
.woocommerce table.shop_table{border-radius:var(--radius);border-color:var(--line)}
.woocommerce-message,.woocommerce-info{border-top-color:var(--orange)}
.woocommerce-message::before,.woocommerce-info::before{color:var(--orange)}
.woocommerce-ordering select{padding:9px 14px;border-radius:999px;border:1px solid var(--line)}
/* swatches warna & ukuran */
table.variations{border:0;margin-bottom:12px}
table.variations th,table.variations td{display:block;padding:0;border:0;text-align:left}
table.variations th.label{margin:14px 0 8px;font-weight:700;color:var(--green)}
.qay-selected{font-weight:500;color:var(--muted);margin-left:6px}
.qay-swatches{display:flex;flex-wrap:wrap;gap:10px}
select.qay-hidden{position:absolute;opacity:0;pointer-events:none;width:1px;height:1px}
.qay-swatch{position:relative;border:2px solid var(--line);background:var(--cream);color:var(--ink);cursor:pointer;transition:.15s;font-weight:700}
.qay-swatch.is-color{width:40px;height:40px;border-radius:50%;padding:0}
.qay-swatch.is-color span{position:absolute;inset:4px;border-radius:50%;background:var(--sw);border:1px solid rgba(0,0,0,.15)}
.qay-swatch.is-size{min-width:50px;height:44px;padding:0 14px;border-radius:12px}
.qay-swatch:hover{border-color:var(--green-2)}
.qay-swatch.is-active{border-color:var(--orange);box-shadow:0 0 0 3px rgba(220,124,66,.25)}
.qay-swatch.is-size.is-active{background:var(--green);color:var(--cream);border-color:var(--green)}
.qay-swatch.is-disabled{opacity:.35;cursor:not-allowed}
.qay-swatch.is-disabled::after{content:"";position:absolute;inset:0;background:linear-gradient(to top right,transparent calc(50% - 1px),#999 50%,transparent calc(50% + 1px));border-radius:inherit}
.reset_variations{font-size:13px;color:var(--orange-2);display:inline-block;margin-top:8px}
@media(max-width:1024px){ul.products,.product-grid{grid-template-columns:repeat(3,1fr)}.footer-grid{grid-template-columns:1fr 1fr}.desktop-nav{display:none}.menu-toggle{display:grid}}
@media(max-width:782px){.admin-bar .site-header{top:46px}.hero-slide{grid-template-columns:1fr}.hero-art{min-height:280px}.floating-product{left:10px}.trust-row{grid-template-columns:1fr 1fr}.promo-panel,.newsletter-inner,.woocommerce div.product{grid-template-columns:1fr}.collection-grid{grid-template-columns:1fr}.header-search{display:none}.header-actions{margin-left:auto}.wa-float-copy,.wa-float-arrow{display:none}.wa-float{padding:10px;bottom:76px}
.mobile-nav{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;left:0;right:0;bottom:0;z-index:55;background:var(--cream);border-top:1px solid var(--line);padding:6px 0}
.mobile-nav a{display:flex;flex-direction:column;align-items:center;font-size:11px;font-weight:600;padding:4px}.mobile-nav .active{color:var(--orange-2)}.nav-icon{font-size:18px}.qay-cart-count-m{display:none}body{padding-bottom:64px}}
@media(max-width:560px){ul.products,.product-grid{grid-template-columns:repeat(2,1fr);gap:12px}.footer-grid{grid-template-columns:1fr}.section-head{flex-direction:column;align-items:flex-start}.sort-select{margin-left:0}.newsletter-form{flex-direction:column}.newsletter-form button{padding:14px}.product-title{font-size:14px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
