/**** root variables ****/
:root{
    --bg:#ffffff;
    --panel:#f5f5f5;
    --line:#e7e7e7;
    --text:#111111;
    --muted:#6b6b6b;
    --soft:#f1f1f1;
    --chip:#efefef;
    --black:#111111;
    --card:#ffffff;
}

/**** reset ****/
*{box-sizing:border-box}
html,body{margin:0;padding:0}

body{
    background:var(--bg);
    color:var(--text);
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}

body.menu-open{overflow:hidden}

a,
a:hover,
a:focus{
    text-decoration:none;
    color:inherit;
}

img{
    display:block;
    max-width:100%;
}

button,
input,
select,
textarea{
    font:inherit;
}

/**** global layout ****/
.site-main{min-height:60vh}
.container{max-width:1680px;margin:0 auto;padding:0 28px}
.page-block{max-width:1680px;margin:0 auto;padding:18px 28px 36px}

/**** header ****/
.site-topbar{
    position:sticky;
    top:0;
    z-index:1000;
    background:#fff;
    border-bottom:1px solid var(--line);
}

.site-topbar-inner{
    display:flex;
    align-items:center;
    gap:18px;
    min-height:84px;
    flex-wrap:nowrap;
}

.site-logo{
    flex:0 0 auto;
}

/**** search area ****/
.site-search-wrap{
    flex:1 1 auto;
    min-width:0;
    display:flex;
    justify-content:flex-end;
}

.site-search-form{
    position:relative;
    width:100%;
    max-width:860px;
}

.site-search-input{
    width:100%;
    height:48px;
    border:none;
    outline:none;
    background:var(--panel);
    border-radius:999px;
    padding:0 58px 0 22px;
    font-size:18px;
    font-weight:600;
    color:#111;
}

.site-search-input::placeholder{
    color:#6d6d6d;
}

.site-search-btn{
    position:absolute;
    right:12px;
    top:50%;
    transform:translateY(-50%);
    width:28px;
    height:28px;
    border:none;
    background:transparent;
    color:#111;
    font-size:21px;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
}

/**** header actions (cart + menu) ****/
.site-actions{
    display:flex;
    align-items:center;
    gap:10px;
    flex:0 0 auto;
}

/**** cart button in header ****/
.site-cart-link{
    position:relative;
    width:40px;
    height:40px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex:0 0 40px;
    background:transparent;
    border:none;
    border-radius:0;
    color:#111;
    text-decoration:none;
    vertical-align:middle;
    line-height:1;
}

.site-cart-link:hover{
    opacity:.78;
}

/**** cart icon wrapper ****/
.site-cart-icon{
    width:26px;
    height:26px;
    display:flex;
    align-items:center;
    justify-content:center;
    position:relative;
    line-height:1;
}

/**** cart svg ****/
.site-cart-icon svg{
    width:26px;
    height:26px;
    display:block;
}

/**** cart badge (quantity) ****/
.site-cart-badge{
    position:absolute;
    top:-8px;
    right:-10px;
    min-width:18px;
    height:18px;
    padding:0 4px;
    border-radius:999px;
    background:#e02020;
    color:#fff;
    font-size:10px;
    line-height:18px;
    font-weight:700;
    text-align:center;
    box-shadow:none;
}

/**** drawer menu ****/
.site-menu-wrap{
    position:relative;
    flex:0 0 auto;
    display:flex;
    align-items:center;
    justify-content:flex-end;
}

.site-menu-toggle{
    width:40px;
    height:40px;
    border:1px solid #d8d8d8;
    border-radius:2px;
    background:#fff;
    color:#111;
    font-size:20px;
    font-weight:700;
    line-height:1;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    padding:0;
    box-shadow:none;
    flex:0 0 40px;
}

.site-menu-toggle:hover,
.site-menu-toggle:focus{
    background:#fff;
    color:#111;
    outline:none;
}

.site-menu-overlay{
    position:fixed;
    inset:0;
    background:rgba(17,17,17,.18);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:opacity .2s ease, visibility .2s ease;
    z-index:1190;
}

.site-menu-panel{
    position:fixed;
    top:0;
    right:0;
    left:auto;
    width:min(92vw,340px);
    height:100vh;
    background:#fff;
    border-left:1px solid #e5e5e5;
    box-shadow:-10px 0 24px rgba(0,0,0,.08);
    transform:translateX(100%);
    transition:transform .22s ease;
    z-index:1200;
    overflow-y:auto;
    padding:0;
}

.site-menu-wrap.open .site-menu-overlay{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
}

.site-menu-wrap.open .site-menu-panel{
    transform:translateX(0);
}

.site-menu-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:14px 14px 12px;
    border-bottom:1px solid #ececec;
}

.site-menu-title{
    font-size:15px;
    font-weight:700;
    color:#222;
}

.site-menu-close{
    width:28px;
    height:28px;
    border:1px solid #cfcfcf;
    border-radius:2px;
    background:#fff;
    color:#111;
    font-size:18px;
    line-height:1;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    padding:0;
}

.site-menu-list{
    display:flex;
    flex-direction:column;
}

.site-menu-group{
    display:flex;
    flex-direction:column;
}

.site-menu-link{
    display:block;
    width:100%;
    padding:12px 14px;
    color:#222;
    font-size:14px;
    font-weight:500;
    line-height:1.45;
    border-bottom:1px solid #f0f0f0;
}

.site-menu-link:hover{
    background:#fafafa;
}

.site-submenu-list{
    display:flex;
    flex-direction:column;
    padding:0;
    margin:0;
}

.site-submenu-link{
    display:block;
    width:100%;
    padding:11px 14px 11px 26px;
    color:#6a6a6a;
    font-size:13px;
    font-weight:400;
    line-height:1.45;
    border-bottom:1px solid #f5f5f5;
}

.site-submenu-link:hover{
    background:#fafafa;
    color:#222;
}

.site-submenu-link.active{
    color:#111;
    font-weight:600;
}

/**** common blocks ****/
.search-style-hero{padding:8px 0 16px}

.hero-copy h1{
    margin:0 0 8px;
    font-size:48px;
    line-height:1;
    font-weight:900;
}

.hero-copy p{
    margin:0;
    max-width:760px;
    color:var(--muted);
    font-size:16px;
    line-height:1.7;
}

.section-line{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:14px;
}

.section-line h2{
    margin:0;
    font-size:22px;
    font-weight:900;
}

/**** search / collection header ****/
.search-result-top{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:20px;
    padding-bottom:14px;
    border-bottom:1px solid var(--line);
    margin-bottom:14px;
}

.search-result-top h1,
.page-head h1{
    margin:0 0 8px;
    font-size:24px;
    font-weight:900;
}

.page-desc{
    margin:0;
    max-width:980px;
    color:var(--muted);
    font-size:15px;
    line-height:1.7;
}

.result-tools{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.tool-chip{
    display:inline-flex;
    align-items:center;
    min-height:34px;
    padding:0 14px;
    border-radius:999px;
    background:var(--soft);
    color:#222;
    font-size:14px;
    font-weight:600;
}

.result-count-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    margin:16px 0 12px;
    font-size:18px;
    font-weight:900;
}

.result-meta{
    font-size:13px;
    font-weight:700;
    color:var(--muted);
}

/**** refine row ****/
.refine-row{
    display:flex;
    align-items:flex-start;
    gap:12px;
    margin:14px 0 12px;
}

.refine-title{
    padding-top:9px;
    font-size:12px;
    font-weight:900;
    letter-spacing:.08em;
    color:#111;
}

.refine-scroll{
    flex:1;
    display:flex;
    gap:10px;
    overflow-x:auto;
    padding-bottom:8px;
}

.refine-scroll::-webkit-scrollbar{height:7px}

.refine-scroll::-webkit-scrollbar-thumb{
    background:#999;
    border-radius:999px;
}

.refine-tag{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:36px;
    padding:0 14px;
    border-radius:999px;
    background:var(--chip);
    color:#222;
    font-size:14px;
    font-weight:500;
    white-space:nowrap;
}

.refine-tag.active,
.refine-tag:hover{
    background:#111;
    color:#fff;
}

/**** product grids ****/
.product-grid,
.search-grid,
.gem-grid{
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:14px;
    align-items:start;
}

.product-feed{position:relative}

.product-card{
    display:block;
    position:relative;
    color:#111;
}

.product-card-media{
    position:relative;
    height:0;
    padding-top:100%;
    overflow:hidden;
    border-radius:14px;
    background:#fff;
}

.product-card-media img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
}

.product-card-price{
    position:absolute;
    top:10px;
    right:10px;
    z-index:2;
    min-height:30px;
    padding:0 11px;
    border-radius:999px;
    background:#fff;
    box-shadow:0 2px 8px rgba(0,0,0,.08);
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-size:14px;
    font-weight:900;
}

.product-card-body{
    padding:10px 4px 0;
    min-height:92px;
}

.product-card-title{
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
    font-size:15px;
    line-height:1.45;
    font-weight:700;
    color:#111;
}

.product-card-meta{
    margin-top:8px;
    font-size:12px;
    color:#7a7a7a;
}

/**** buttons ****/
.btn-pill,
.btn-link{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
}

.btn-pill{
    padding:0 18px;
    border-radius:999px;
    font-weight:800;
}

.btn-link{
    padding:0 14px;
    color:#111;
    font-weight:800;
}

/**** text / content boxes ****/
.desc-box,
.spec-box,
.page-card,
.checkout-box-lg{
    margin-top:20px;
    padding:20px;
}

.desc-box h2,
.spec-box h2{
    margin:0 0 14px;
    font-size:22px;
    font-weight:900;
}

.desc-text{
    color:#444;
    font-size:15px;
    line-height:1.9;
}

.spec-table{
    width:100%;
    border-collapse:collapse;
}

.spec-table th,
.spec-table td{
    padding:12px 10px;
    border-top:1px solid #f0f0f0;
    text-align:left;
    vertical-align:top;
    font-size:14px;
}

.spec-table th{
    width:220px;
    color:#666;
    font-weight:700;
}

/**** utility boxes ****/
.error-box{
    background:#fff5f5;
    border:1px solid #ffd2d2;
    color:#b10000;
    padding:14px 16px;
    border-radius:12px;
    margin:16px 0;
}

.empty-box{
    padding:60px 20px;
    text-align:center;
    border:1px dashed #ddd;
    border-radius:16px;
    color:#777;
    background:#fafafa;
}

/**** footer ****/
.site-footer{
    margin-top:40px;
    padding:24px 0 36px;
    border-top:1px solid var(--line);
}

.footer-links{
    display:flex;
    gap:18px;
    flex-wrap:wrap;
    justify-content:center;
}

.footer-links a{
    color:#374151;
    font-size:14px;
    font-weight:600;
}

.footer-copy{
    margin-top:14px;
    text-align:center;
    color:#777;
    font-size:13px;
}

/**** cart page ****/
.cart-page{
    padding-top:20px;
    padding-bottom:48px;
}

.cart-page h1{
    margin:0 0 24px;
    font-size:32px;
    line-height:1.2;
    font-weight:800;
    color:#111;
}

.cart-layout{
    display:grid;
    grid-template-columns:minmax(0,1fr) 320px;
    gap:24px;
    align-items:start;
}

.cart-list{
    display:grid;
    gap:16px;
}

/**** cart item card ****/
.cart-item{
    display:flex;
    gap:16px;
    padding:16px;
    border:1px solid #e8e8e8;
    border-radius:18px;
    background:#fff;
    align-items:flex-start;
}

.cart-item-media{
    flex:0 0 100px;
    width:100px;
    height:100px;
    border-radius:14px;
    overflow:hidden;
    background:#f7f7f7;
    border:1px solid #efefef;
}

.cart-item-media img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.cart-item-main{
    flex:1 1 auto;
    min-width:0;
    display:flex;
    flex-direction:column;
    gap:14px;
}

.cart-item-top{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:12px;
}

.cart-item-info{
    flex:1 1 auto;
    min-width:0;
}

.cart-item-title{
    margin:0 0 8px;
    font-size:18px;
    line-height:1.45;
    font-weight:700;
    color:#111;
    word-break:break-word;
}

.cart-item-meta,
.cart-item-options{
    display:flex;
    flex-wrap:wrap;
    gap:6px 12px;
    margin-bottom:8px;
    color:#666;
    font-size:13px;
    line-height:1.5;
}

/**** cart price area ****/
.cart-price-box{
    display:flex;
    align-items:center;
    gap:8px;
    flex-wrap:wrap;
    margin-top:2px;
}

.cart-sale-price{
    font-size:20px;
    font-weight:800;
    color:#111;
    line-height:1.2;
}

.cart-original-price{
    font-size:14px;
    color:#8a8a8a;
    text-decoration:line-through;
}

.cart-discount-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    height:22px;
    padding:0 8px;
    border-radius:999px;
    background:#fff1f1;
    color:#d93025;
    font-size:12px;
    font-weight:700;
}

/**** cart actions ****/
.cart-remove-form{
    flex:0 0 auto;
}

.cart-remove-btn{
    border:none;
    background:transparent;
    color:#888;
    font-size:13px;
    font-weight:700;
    cursor:pointer;
    padding:2px 0;
}

.cart-remove-btn:hover{
    color:#111;
}

.cart-item-bottom{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:16px;
    padding-top:12px;
    border-top:1px solid #f1f1f1;
}

.cart-qty-form{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
}

.cart-qty-label{
    font-size:13px;
    font-weight:700;
    color:#666;
}

.cart-qty-input{
    width:72px;
    height:40px;
    border:1px solid #d9d9d9;
    border-radius:10px;
    padding:0 10px;
    font-size:14px;
    color:#111;
    background:#fff;
}

.cart-update-btn{
    height:40px;
    padding:0 16px;
    border:none;
    border-radius:999px;
    background:#111;
    color:#fff;
    font-size:13px;
    font-weight:700;
    cursor:pointer;
}

.cart-line-total{
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    gap:4px;
    text-align:right;
}

.cart-line-total-label{
    font-size:12px;
    color:#777;
}

.cart-line-total strong{
    font-size:18px;
    font-weight:800;
    color:#111;
}

/**** cart summary ****/
.cart-summary{
    padding:20px;
    border:1px solid #e8e8e8;
    border-radius:18px;
    background:#fff;
    position:sticky;
    top:96px;
}

.cart-summary-title{
    margin:0 0 16px;
    font-size:22px;
    line-height:1.2;
    font-weight:800;
    color:#111;
}

.cart-summary-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    padding:14px 0 18px;
    border-bottom:1px solid #efefef;
    font-size:15px;
    color:#555;
}

.cart-summary-row strong{
    font-size:24px;
    font-weight:800;
    color:#111;
}

.cart-checkout-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    min-height:48px;
    margin-top:18px;
    border-radius:999px;
    background:#111;
    color:#fff;
    font-size:15px;
    font-weight:800;
    text-decoration:none;
}

.cart-checkout-btn:hover{
    opacity:.92;
}

/**** checkout page ****/
.checkout-page{
    padding-top:20px;
    padding-bottom:48px;
}

.checkout-layout{
    display:grid;
    grid-template-columns:minmax(0,1fr) 420px;
    gap:28px;
    align-items:start;
}

.checkout-title{
    margin:0 0 20px;
    font-size:32px;
    line-height:1.2;
    font-weight:800;
    color:#111;
}

.checkout-card,
.checkout-summary-card{
    background:#fff;
    border:1px solid #e9e9e9;
    border-radius:20px;
}

.checkout-card{
    padding:24px;
}

.checkout-section-title{
    margin:0 0 14px;
    font-size:20px;
    line-height:1.2;
    font-weight:800;
    color:#111;
}

/**** checkout form ****/
.checkout-form{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.checkout-grid{
    display:grid;
    gap:14px;
}

.checkout-grid-2{
    grid-template-columns:repeat(2,minmax(0,1fr));
}

.checkout-grid-3{
    grid-template-columns:repeat(3,minmax(0,1fr));
}

.checkout-field{
    display:flex;
    flex-direction:column;
    gap:7px;
}

.checkout-field label{
    font-size:13px;
    font-weight:700;
    color:#444;
}

.checkout-input{
    width:100%;
    min-height:48px;
    padding:0 14px;
    border:1px solid #d9d9d9;
    border-radius:14px;
    background:#fff;
    font-size:15px;
    color:#111;
    outline:none;
    transition:border-color .18s ease, box-shadow .18s ease;
}

select.checkout-input{
    appearance:none;
    -webkit-appearance:none;
    background-image:linear-gradient(45deg, transparent 50%, #555 50%), linear-gradient(135deg, #555 50%, transparent 50%);
    background-position:calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
    background-size:6px 6px, 6px 6px;
    background-repeat:no-repeat;
    padding-right:38px;
}

.checkout-input:focus{
    border-color:#111;
    box-shadow:0 0 0 3px rgba(17,17,17,.08);
}

textarea.checkout-input{
    min-height:96px;
    padding:14px;
    resize:vertical;
}

.checkout-checkbox label,
.checkout-radio{
    display:flex;
    align-items:flex-start;
    gap:10px;
    font-size:14px;
    color:#444;
}

.checkout-checkbox input,
.checkout-radio input{
    margin-top:2px;
}

.checkout-radio-content{
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
}

.checkout-section-divider{
    height:1px;
    background:#efefef;
    margin:4px 0 2px;
}

.checkout-shipping-box,
.checkout-payment-note{
    border:1px solid #e8e8e8;
    border-radius:16px;
    padding:14px 16px;
    background:#fafafa;
}

.checkout-payment-note{
    color:#555;
    font-size:14px;
    line-height:1.6;
}

.checkout-submit-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:16px;
    margin-top:8px;
}

.checkout-back-link{
    color:#111;
    font-size:14px;
    font-weight:700;
    text-decoration:none;
}

.checkout-back-link:hover{
    text-decoration:underline;
}

.checkout-submit-btn{
    min-width:180px;
    min-height:50px;
    padding:0 24px;
    border:none;
    border-radius:999px;
    background:#111;
    color:#fff;
    font-size:15px;
    font-weight:800;
    cursor:pointer;
}

/**** checkout sidebar ****/
.checkout-sidebar{
    position:sticky;
    top:96px;
}

.checkout-summary-card{
    overflow:hidden;
}

.checkout-summary-toggle{
    width:100%;
    border:none;
    background:#fff;
    padding:18px 20px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    cursor:pointer;
    text-align:left;
    border-bottom:1px solid #efefef;
}

.checkout-summary-toggle-left,
.checkout-summary-toggle-right{
    display:flex;
    flex-direction:column;
    gap:4px;
}

.checkout-summary-toggle-right{
    align-items:flex-end;
}

.checkout-summary-toggle-title{
    font-size:16px;
    font-weight:800;
    color:#111;
}

.checkout-summary-toggle-sub{
    font-size:13px;
    color:#777;
}

.checkout-summary-toggle-right strong{
    font-size:18px;
    color:#111;
}

.checkout-summary-toggle-icon{
    font-size:20px;
    line-height:1;
    color:#666;
}

.checkout-summary-panel{
    padding:18px 20px 20px;
    background:#fff;
}

.checkout-summary-list{
    display:grid;
    gap:14px;
}

.checkout-summary-item{
    display:grid;
    grid-template-columns:64px minmax(0,1fr) auto;
    gap:12px;
    align-items:start;
}

.checkout-summary-thumb{
    width:64px;
    height:64px;
    position:relative;
    border-radius:12px;
    overflow:hidden;
    border:1px solid #ececec;
    background:#f7f7f7;
}

.checkout-summary-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.checkout-summary-qty{
    position:absolute;
    top:6px;
    right:6px;
    min-width:18px;
    height:18px;
    padding:0 5px;
    border-radius:999px;
    background:#111;
    color:#fff;
    font-size:11px;
    font-weight:700;
    display:flex;
    align-items:center;
    justify-content:center;
}

.checkout-summary-info{
    min-width:0;
}

.checkout-summary-name{
    font-size:14px;
    line-height:1.45;
    font-weight:700;
    color:#111;
    margin-bottom:4px;
}

.checkout-summary-meta{
    display:flex;
    flex-wrap:wrap;
    gap:6px 10px;
    font-size:12px;
    color:#777;
}

.checkout-summary-price{
    font-size:14px;
    font-weight:700;
    color:#111;
    white-space:nowrap;
}

.checkout-summary-total{
    margin-top:18px;
    padding-top:16px;
    border-top:1px solid #efefef;
    display:grid;
    gap:10px;
}

.checkout-summary-total-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    font-size:14px;
    color:#555;
}

.checkout-summary-grand{
    margin-top:2px;
    font-size:16px;
    color:#111;
}

.checkout-summary-grand strong{
    font-size:22px;
}

.checkout-summary-inline-total{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    padding:16px 20px 18px;
    background:#fff;
}

.checkout-summary-inline-total span{
    color:#666;
    font-size:14px;
}

.checkout-summary-inline-total strong{
    font-size:22px;
    color:#111;
    font-weight:800;
}

.checkout-hidden-legacy-fields{
    display:none;
}

/**** responsive: desktop down ****/
@media (max-width:1500px){
    .product-grid,
    .search-grid,
    .gem-grid{
        grid-template-columns:repeat(4,minmax(0,1fr));
    }
}

@media (max-width:1200px){
    .product-grid,
    .search-grid,
    .gem-grid{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }

    .detail-grid{
        grid-template-columns:1fr;
    }
}

/**** responsive: tablet ****/
@media (max-width:1100px){
    .checkout-layout{
        grid-template-columns:1fr;
    }

    .checkout-sidebar{
        position:static;
        top:auto;
    }
}

@media (max-width:980px){
    .cart-layout{
        grid-template-columns:1fr;
    }

    .cart-summary{
        position:static;
        top:auto;
    }
}

@media (max-width:860px){
    .site-topbar-inner{
        min-height:auto;
        padding:14px 0;
        gap:12px;
        flex-wrap:nowrap;
    }

    .site-logo{
        min-width:auto;
        font-size:24px;
    }

    .site-search-wrap{
        flex:1 1 auto;
        min-width:0;
    }

    .site-search-input{
        height:44px;
        font-size:16px;
        padding:0 52px 0 16px;
    }

    .site-menu-panel{
        width:min(92vw,330px);
    }

    .product-grid,
    .search-grid,
    .gem-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .search-result-top{
        flex-direction:column;
        align-items:flex-start;
    }

    .result-count-row{
        flex-direction:column;
        align-items:flex-start;
    }
}

/**** responsive: mobile ****/
@media (max-width:700px){
    .checkout-title{
        font-size:28px;
    }

    .checkout-card{
        padding:16px;
    }

    .checkout-grid-2,
    .checkout-grid-3{
        grid-template-columns:1fr;
    }

    .checkout-submit-row{
        flex-direction:column;
        align-items:stretch;
    }

    .checkout-submit-btn{
        width:100%;
    }
}

@media (max-width:640px){
    .cart-page h1{
        font-size:26px;
    }

    .cart-item{
        gap:12px;
        padding:14px;
    }

    .cart-item-media{
        flex:0 0 80px;
        width:80px;
        height:80px;
    }

    .cart-item-top{
        flex-direction:column;
        align-items:flex-start;
    }

    .cart-item-bottom{
        flex-direction:column;
        align-items:flex-start;
    }

    .cart-line-total{
        align-items:flex-start;
        text-align:left;
    }

    .cart-item-title{
        font-size:16px;
    }

    .cart-sale-price{
        font-size:18px;
    }
}

@media (max-width:560px){
    .container,
    .page-block{
        padding-left:14px;
        padding-right:14px;
    }

    .site-topbar-inner{
        display:flex;
        align-items:center;
        gap:10px;
        min-height:64px;
        flex-wrap:nowrap;
    }

    .site-logo{
        font-size:20px;
    }

    .site-search-wrap{
        min-width:0;
    }

    .site-search-input{
        height:42px;
        font-size:15px;
    }

    .site-actions{
        gap:8px;
    }

    .site-cart-link,
    .site-menu-toggle{
        width:36px;
        height:36px;
        flex:0 0 36px;
    }

    .site-cart-icon{
        width:22px;
        height:22px;
    }

    .site-cart-icon svg{
        width:22px;
        height:22px;
    }

    .site-cart-badge{
        top:-6px;
        right:-8px;
        min-width:16px;
        height:16px;
        line-height:16px;
        font-size:9px;
        padding:0 4px;
    }

    .site-menu-toggle{
        font-size:18px;
    }

    .site-menu-panel{
        width:min(92vw,300px);
    }

    .product-grid,
    .search-grid,
    .gem-grid{
        gap:10px;
    }

    .product-card-body{
        padding-left:8px;
        padding-right:8px;
        min-height:78px;
    }

    .product-card-title{
        font-size:13px;
    }

    .product-card-meta{
        font-size:11px;
    }
}
/**home**/
.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 20px;
}

.slide {
    display: none;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 12px;
}

.slider-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
}

.dot {
    width: 8px;
    height: 8px;
    margin: 0 5px;
    background: rgba(255,255,255,0.6);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
}

.dot.active {
    background: #fff;
}