/* =========================
   RESET / BASE
========================= */

*{
    box-sizing:border-box;
    margin:0;
    padding:0;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:Arial, sans-serif;
    background:#f7f7f7;
    color:#222;
    line-height:1.5;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
    color:inherit;
}

ul{
    list-style:none;
}

/* =========================
   CONTAINER
========================= */

.container{
    width:100%;
    max-width:1280px;
    margin:0 auto;
    padding:0 20px;
}

/* =========================
   BUTTONS
========================= */

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
    padding:10px 18px;
    background:#222;
    color:#fff;
    border:none;
    border-radius:10px;
    cursor:pointer;
    font-size:15px;
    font-weight:600;
    transition:0.2s ease;
}

.btn:hover{
    background:#444;
}

.btn-light{
    background:#fff;
    color:#222;
    border:1px solid #ddd;
}

.btn-light:hover{
    background:#f2f2f2;
}

.btn-outline{
    background:transparent;
    color:#222;
    border:1px solid #222;
}

.btn-outline:hover{
    background:#222;
    color:#fff;
}

/* =========================
   TOP BAR
========================= */

.topbar{
    background:#111;
    color:#fff;
    font-size:13px;
    padding:10px 0;
}

.topbar-inner{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:15px;
    flex-wrap:wrap;
}

.topbar-text{
    flex:1;
}

.topbar-contact{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    color:#fff;
    font-weight:600;
    flex:0 0 auto;
}

.topbar-contact svg{
    width:16px;
    height:16px;
    fill:#fff;
}

/* =========================
   HEADER
========================= */

.site-header{
    background:#fff;
    border-bottom:1px solid #e5e5e5;
    position:sticky;
    top:0;
    z-index:1000;
}

.header-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    min-height:76px;
}

.logo{
    font-size:28px;
    font-weight:700;
    color:#111;
    white-space:nowrap;
}

.main-nav{
    display:flex;
    align-items:center;
    gap:22px;
}

.main-nav a{
    font-size:15px;
    font-weight:600;
    color:#222;
}

.main-nav a:hover{
    color:#666;
}

.header-actions{
    display:flex;
    align-items:center;
    gap:12px;
}

.desktop-header-actions{
    display:flex;
}

.header-icon{
    min-width:42px;
    min-height:42px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:12px;
    border:1px solid #ddd;
    background:#fff;
    font-size:15px;
    position:relative;
}

.header-icon:hover{
    background:#f5f5f5;
}

.header-icon svg{
    width:18px;
    height:18px;
    fill:#333;
    display:block;
}

.header-icon:hover svg{
    fill:#111;
}

.cart-count{
    position:absolute;
    top:-6px;
    right:-6px;
    min-width:18px;
    height:18px;
    padding:0 5px;
    border-radius:999px;
    background:#111;
    color:#fff;
    font-size:11px;
    display:none;
    align-items:center;
    justify-content:center;
    line-height:1;
}

.cart-count.active{
    display:inline-flex;
}

.menu-toggle{
    display:none;
    min-width:44px;
    min-height:44px;
    border:none;
    background:#222;
    color:#fff;
    border-radius:12px;
    cursor:pointer;
    font-size:20px;
}

.mobile-header-layout{
    display:none;
    width:100%;
}

.mobile-header-top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    width:100%;
}

.mobile-logo{
    font-size:28px;
    font-weight:700;
    color:#111;
    white-space:nowrap;
}

.mobile-header-icons{
    display:flex;
    align-items:center;
    gap:10px;
}

.mobile-header-bottom{
    display:flex;
    align-items:center;
    gap:12px;
    width:100%;
    margin-top:14px;
}

.mobile-search-wrap{
    flex:1;
    max-width:none;
}

.mobile-menu-toggle{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex:0 0 44px;
}

/* =========================
   LIVE SEARCH
========================= */

.search-wrap{
    position:relative;
    width:100%;
    max-width:360px;
}

.search-input{
    width:100%;
    min-height:44px;
    padding:10px 14px;
    border:1px solid #ddd;
    border-radius:12px;
    background:#fff;
    font-size:14px;
}

.search-results{
    position:absolute;
    top:calc(100% + 8px);
    left:0;
    right:0;
    background:#fff;
    border:1px solid #e5e5e5;
    border-radius:16px;
    box-shadow:0 10px 24px rgba(0,0,0,0.08);
    overflow:hidden;
    z-index:1200;
    display:none;
}

.search-results.active{
    display:block;
}

.search-result-item{
    display:grid;
    grid-template-columns:64px 1fr auto;
    gap:12px;
    align-items:center;
    padding:12px;
    border-bottom:1px solid #f0f0f0;
    text-decoration:none;
    color:#222;
    background:#fff;
}

.search-result-item:last-child{
    border-bottom:none;
}

.search-result-item:hover{
    background:#fafafa;
}

.search-result-thumb{
    width:64px;
    height:64px;
    border-radius:10px;
    overflow:hidden;
    background:#eee;
}

.search-result-title{
    font-size:14px;
    font-weight:700;
    margin-bottom:4px;
}

.search-result-meta{
    font-size:12px;
    color:#777;
}

.search-result-price{
    font-size:14px;
    font-weight:700;
    color:#111;
    white-space:nowrap;
}

.search-empty{
    padding:14px;
    color:#777;
    font-size:14px;
}

/* =========================
   MOBILE MENU
========================= */

.mobile-menu-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.38);
    opacity:0;
    visibility:hidden;
    transition:opacity .25s ease, visibility .25s ease;
    z-index:1098;
}

.mobile-menu-overlay.active{
    opacity:1;
    visibility:visible;
}

.mobile-menu{
    position:fixed;
    top:0;
    left:0;
    height:100vh;
    width:min(89vw, 420px);
    max-width:89vw;
    background:#fff;
    box-shadow:8px 0 24px rgba(0,0,0,0.14);
    transform:translateX(-100%);
    transition:transform .28s ease;
    z-index:1099;
    display:flex;
    flex-direction:column;
    overflow-y:auto;
    padding:0;
}

.mobile-menu.active{
    transform:translateX(0);
}

.mobile-menu-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:18px 18px 14px;
    border-bottom:1px solid #eee;
    position:sticky;
    top:0;
    background:#fff;
    z-index:2;
}

.mobile-menu-title{
    font-size:20px;
    font-weight:700;
    color:#111;
}

.mobile-menu-close{
    min-width:42px;
    min-height:42px;
    border:none;
    background:#222;
    color:#fff;
    border-radius:12px;
    cursor:pointer;
    font-size:18px;
}

.mobile-menu-links{
    padding:10px 18px 24px;
}

.mobile-menu a{
    display:block;
    padding:14px 0;
    border-bottom:1px solid #f0f0f0;
    font-weight:600;
    color:#222;
}

/* =========================
   HERO
========================= */

.hero{
    background:linear-gradient(135deg, #f4f4f4, #eaeaea);
    padding:70px 0;
}

.hero-grid{
    display:grid;
    grid-template-columns:1.1fr 0.9fr;
    gap:40px;
    align-items:center;
}

.hero h1{
    font-size:46px;
    line-height:1.15;
    margin-bottom:16px;
    color:#111;
}

.hero p{
    font-size:17px;
    color:#555;
    margin-bottom:24px;
    max-width:580px;
}

.hero-actions{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
}

.hero-card{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 4px 14px rgba(0,0,0,0.08);
    min-height:340px;
    transition:transform .25s ease, box-shadow .25s ease;
}

.hero-card:hover{
    transform:translateY(-4px);
    box-shadow:0 10px 24px rgba(0,0,0,0.12);
}

/* =========================
   SECTION
========================= */

.section{
    padding:50px 0;
}

.section-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    margin-bottom:24px;
}

.section-title{
    font-size:30px;
    color:#111;
}

.section-subtitle{
    color:#666;
    margin-top:8px;
}

/* =========================
   CATEGORY GRID
========================= */

.category-grid{
    display:grid;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap:20px;
}

.category-card{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 2px 10px rgba(0,0,0,0.06);
    transition:transform 0.2s ease, box-shadow 0.2s ease;
    display:flex;
    flex-direction:column;
}

.category-card:hover{
    transform:translateY(-4px);
    box-shadow:0 8px 18px rgba(0,0,0,0.08);
}

.category-card-image{
    aspect-ratio:4 / 3;
}

.category-card-body{
    padding:16px;
}

.category-card h3{
    font-size:18px;
    margin-bottom:6px;
}

.category-card p{
    color:#666;
    font-size:14px;
}

/* =========================
   PRODUCT GRID
========================= */

.product-grid{
    display:grid;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap:20px;
}

.product-card{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 2px 10px rgba(0,0,0,0.06);
    transition:transform 0.2s ease, box-shadow 0.2s ease;
    display:flex;
    flex-direction:column;
}

.product-card:hover{
    transform:translateY(-4px);
    box-shadow:0 8px 18px rgba(0,0,0,0.08);
}

.product-card-image{
    aspect-ratio:4 / 3;
    position:relative;
}

.product-badge{
    position:absolute;
    top:12px;
    left:12px;
    background:#111;
    color:#fff;
    font-size:12px;
    padding:6px 10px;
    border-radius:999px;
    z-index:2;
}

.product-card-body{
    padding:16px;
    display:flex;
    flex-direction:column;
    gap:10px;
    flex:1;
}

.product-category{
    font-size:12px;
    color:#777;
    text-transform:uppercase;
    letter-spacing:0.5px;
}

.product-title{
    font-size:18px;
    font-weight:700;
    color:#111;
    line-height:1.3;
}

.product-title:hover{
    color:#666;
}

.product-price{
    font-size:20px;
    font-weight:700;
    color:#111;
}

.product-old-price{
    font-size:14px;
    color:#888;
    text-decoration:line-through;
    margin-left:8px;
}

.product-card-actions{
    display:flex;
    gap:8px;
    margin-top:auto;
    flex-wrap:nowrap;
}

.product-card-actions .btn{
    flex:1 1 0;
    width:auto;
    min-height:40px;
    padding:8px 10px;
    font-size:13px;
    border-radius:10px;
    white-space:nowrap;
}

.product-actions-inline{
    display:flex;
    gap:8px;
    margin-top:auto;
    width:100%;
    align-items:center;
}

.product-actions-inline .btn{
    flex:1 1 0;
    width:auto;
    min-height:40px;
    padding:8px 10px;
    font-size:13px;
    border-radius:10px;
    white-space:nowrap;
}

.product-actions-inline form{
    flex:1 1 0;
    margin:0;
}

.product-actions-inline form .btn{
    width:100%;
}

.product-actions{
    display:flex;
    gap:8px;
    margin-top:10px;
    width:100%;
}

.product-actions .btn{
    flex:1 1 0;
    width:auto;
    min-height:40px;
    padding:8px 10px;
    font-size:13px;
    border-radius:10px;
    text-align:center;
}

.product-actions .btn-primary{
    background:#111;
    color:#fff;
}

.product-actions .btn-light{
    background:#f2f2f2;
    color:#111;
}

/* =========================
   FILTER BAR
========================= */

.filter-bar{
    background:#fff;
    border-radius:16px;
    padding:16px;
    box-shadow:0 2px 8px rgba(0,0,0,0.05);
    margin-bottom:22px;
    display:flex;
    gap:14px;
    align-items:center;
    flex-wrap:wrap;
}

.filter-bar select,
.filter-bar input{
    max-width:220px;
}

/* =========================
   PRODUCT DETAIL
========================= */

.product-detail{
    padding:40px 0 60px;
}

.product-detail-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:36px;
    align-items:start;
}

.product-gallery{
    background:#fff;
    border-radius:20px;
    padding:20px;
    box-shadow:0 2px 10px rgba(0,0,0,0.06);
}

.product-main-image{
    aspect-ratio:4 / 3;
    border-radius:16px;
    margin-bottom:16px;
}

.product-thumbs{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:10px;
}

.product-thumb{
    aspect-ratio:1 / 1;
    border-radius:12px;
    border:1px solid #e5e5e5;
}

.product-thumb.active{
    border-color:#111;
    box-shadow:0 0 0 2px rgba(17,17,17,0.08);
}

.product-info{
    background:#fff;
    border-radius:20px;
    padding:24px;
    box-shadow:0 2px 10px rgba(0,0,0,0.06);
}

.product-info h1{
    font-size:34px;
    margin-bottom:12px;
}

.product-info .price{
    font-size:28px;
    font-weight:700;
    margin-bottom:18px;
}

.product-meta{
    color:#666;
    font-size:14px;
    margin-bottom:18px;
}

.product-description{
    color:#444;
    margin-bottom:20px;
}

.qty-row{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:18px;
    flex-wrap:wrap;
}

.qty-input{
    width:90px !important;
}

.product-buy-actions{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
}

/* =========================
   PRODUCT VIEW PAGE
========================= */

.product-modern-card{
    background:#fff;
    border-radius:20px;
    box-shadow:0 4px 18px rgba(0,0,0,0.06);
    overflow:hidden;
}

.product-gallery-wrap,
.product-info-wrap{
    padding:24px;
}

.product-tag-row{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-bottom:14px;
}

.product-tag{
    display:inline-flex;
    align-items:center;
    padding:7px 12px;
    border-radius:999px;
    background:#f3f3f3;
    color:#444;
    font-size:13px;
    font-weight:600;
}

.stock-badge{
    display:inline-flex;
    align-items:center;
    padding:8px 14px;
    border-radius:999px;
    background:#eef8ef;
    color:#2f7d32;
    font-size:13px;
    font-weight:700;
}

.stock-badge.low{
    background:#fff3e8;
    color:#b35b00;
}

.stock-badge.out{
    background:#fff0f0;
    color:#c0392b;
}

.detail-meta-list{
    display:grid;
    gap:10px;
    margin:18px 0 20px;
    padding:16px;
    border:1px solid #eee;
    border-radius:14px;
    background:#fafafa;
}

.detail-meta-item strong{
    color:#111;
}

.product-description-box{
    margin-top:18px;
    padding:18px;
    border-radius:14px;
    background:#fafafa;
    border:1px solid #eee;
    color:#444;
}

.qty-box{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:10px 12px;
    background:#f8f8f8;
    border:1px solid #e5e5e5;
    border-radius:14px;
}

.qty-box .btn{
    width:auto;
    min-width:44px;
    min-height:44px;
    padding:0 14px;
}

.qty-box .qty-input{
    width:84px !important;
    text-align:center;
    background:#fff;
}

.share-row{
    display:flex;
    gap:12px;
    margin-top:20px;
    flex-wrap:wrap;
}

.share-icon{
    width:42px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    border:1px solid #ddd;
    background:#fff;
    transition:all .2s;
    text-decoration:none;
    flex:0 0 auto;
}

.share-icon svg{
    width:20px;
    height:20px;
    fill:#333;
    display:block;
}

.share-icon:hover{
    background:#111;
    border-color:#111;
}

.share-icon:hover svg{
    fill:#fff;
}

.related-wrap{
    margin-top:10px;
}

.product-page-price{
    margin-top:10px;
}

.qty-label{
    display:block;
    width:100%;
}

.product-stock-message{
    margin:18px 0;
    font-weight:600;
}

.out-of-stock-message{
    color:#c0392b;
}

/* =========================
   IMAGE DISPLAY FIX
========================= */

.product-card-image,
.category-card-image,
.product-main-image,
.product-thumb,
.cart-product-image-wrap,
.success-item-img,
.checkout-cart-mini-thumb,
.search-result-thumb{
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    background:#f8f8f8;
}

.product-card-image img,
.product-card-image-el,
.category-card-image img,
.product-main-image-el,
.product-thumb-image{
    width:100%;
    height:100%;
    object-fit:contain;
    object-position:center;
    background:#fff;
    display:block;
}

.search-result-thumb img,
.checkout-cart-mini-thumb img,
.success-item-img img,
.cart-product-image{
    width:100%;
    height:100%;
    object-fit:contain;
    object-position:center;
    background:#fff;
}

/* =========================
   LEGACY CART / CHECKOUT
========================= */

.cart-layout{
    display:grid;
    grid-template-columns:1.3fr 0.7fr;
    gap:24px;
    padding:40px 0 60px;
}

.card-box{
    background:#fff;
    border-radius:18px;
    padding:20px;
    box-shadow:0 2px 10px rgba(0,0,0,0.06);
}

.cart-item{
    display:grid;
    grid-template-columns:110px 1fr auto;
    gap:16px;
    align-items:center;
    padding:16px 0;
    border-bottom:1px solid #eee;
}

.cart-item:last-child{
    border-bottom:none;
}

.cart-item-image{
    aspect-ratio:1 / 1;
    background:#efefef;
    border-radius:14px;
}

.summary-row{
    display:flex;
    justify-content:space-between;
    gap:16px;
    margin-bottom:12px;
}

.summary-total{
    font-size:22px;
    font-weight:700;
}

/* =========================
   ACCOUNT FORMS
========================= */

.auth-section{
    padding:60px 0;
}

.auth-card{
    max-width:520px;
    margin:0 auto;
    background:#fff;
    border-radius:20px;
    padding:28px;
    box-shadow:0 3px 14px rgba(0,0,0,0.08);
}

.auth-card h1{
    margin-bottom:20px;
    font-size:30px;
}

.form-group{
    margin-bottom:16px;
}

.form-group label{
    display:block;
    margin-bottom:8px;
    font-weight:600;
}

.form-actions{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-top:14px;
}

/* =========================
   FOOTER
========================= */

.site-footer{
    background:#111;
    color:#ddd;
    padding:50px 0 20px;
    margin-top:40px;
}

.footer-grid{
    display:grid;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap:24px;
    margin-bottom:30px;
}

.footer-title{
    font-size:18px;
    margin-bottom:14px;
    color:#fff;
}

.site-footer a{
    color:#ddd;
}

.site-footer a:hover{
    color:#fff;
}

.footer-bottom{
    border-top:1px solid #2a2a2a;
    padding-top:16px;
    text-align:center;
    font-size:14px;
    color:#aaa;
}

/* =========================
   UTILITY
========================= */

.text-center{
    text-align:center;
}

.mb-20{
    margin-bottom:20px;
}

.mt-20{
    margin-top:20px;
}

/* =========================
   MODERN AUTH PAGES
========================= */

.auth-modern-section{
    padding:70px 0;
}

.auth-modern-wrap{
    display:grid;
    grid-template-columns:1fr 520px;
    gap:28px;
    align-items:stretch;
}

.auth-modern-side{
    background:linear-gradient(135deg, #111, #2b2b2b);
    color:#fff;
    border-radius:28px;
    padding:40px;
    box-shadow:0 12px 30px rgba(0,0,0,0.10);
    display:flex;
    flex-direction:column;
    justify-content:center;
    min-height:400px;
}

.auth-side-badge{
    display:inline-flex;
    align-items:center;
    padding:8px 14px;
    border-radius:999px;
    background:rgba(255,255,255,0.12);
    color:#fff;
    font-size:13px;
    font-weight:700;
    margin-bottom:18px;
    width:max-content;
}

.auth-modern-side h1{
    font-size:32px;
    line-height:1.12;
    margin-bottom:16px;
    color:#fff;
}

.auth-modern-side p{
    color:rgba(255,255,255,0.82);
    font-size:16px;
    max-width:520px;
    margin-bottom:28px;
}

.auth-side-points{
    display:grid;
    gap:14px;
}

.auth-side-point{
    display:flex;
    align-items:center;
    gap:12px;
    color:#fff;
    font-weight:600;
}

.auth-side-icon{
    width:28px;
    height:28px;
    border-radius:50%;
    background:#fff;
    color:#111;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-size:14px;
    font-weight:700;
    flex:0 0 28px;
}

.auth-modern-card{
    background:#fff;
    border-radius:28px;
    padding:34px;
    box-shadow:0 12px 30px rgba(0,0,0,0.08);
    border:1px solid #ededed;
    align-self:center;
}

.auth-modern-card-head{
    margin-bottom:24px;
}

.auth-modern-card-head h2{
    font-size:38px;
    line-height:1.1;
    margin-bottom:8px;
    color:#111;
}

.auth-modern-card-head p{
    color:#666;
    font-size:15px;
}

.auth-modern-form .form-group{
    margin-bottom:18px;
}

.auth-modern-form label{
    display:block;
    margin-bottom:8px;
    font-weight:700;
    color:#222;
}

.auth-modern-form input{
    width:100%;
    min-height:52px;
    padding:12px 14px;
    border:1px solid #dcdcdc;
    border-radius:14px;
    background:#fff;
    font-size:15px;
    outline:none;
    transition:border-color .2s ease, box-shadow .2s ease;
}

.auth-modern-form input:focus{
    border-color:#222;
    box-shadow:0 0 0 4px rgba(34,34,34,0.08);
}

.auth-modern-form textarea{
    width:100%;
    min-height:140px;
    padding:12px 14px;
    border:1px solid #dcdcdc;
    border-radius:14px;
    background:#fff;
    font-size:15px;
    outline:none;
    resize:vertical;
    transition:border-color .2s ease, box-shadow .2s ease;
}

.auth-modern-form textarea:focus{
    border-color:#222;
    box-shadow:0 0 0 4px rgba(34,34,34,0.08);
}

.auth-modern-actions{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-top:8px;
}

.auth-alert{
    padding:14px 16px;
    border-radius:14px;
    margin-bottom:18px;
    font-size:14px;
    font-weight:600;
}

.auth-alert-error{
    background:#fff3f3;
    color:#a12626;
    border:1px solid #f0c9c9;
}

.auth-alert-success{
    background:#f3fff3;
    color:#226b2f;
    border:1px solid #c9e8cf;
}

/* =========================
   ACCOUNT LAYOUT
========================= */

.account-layout{
    display:grid;
    grid-template-columns:240px 1fr;
    gap:30px;
}

.account-sidebar{
    background:#fff;
    border-radius:12px;
    padding:20px;
    border:1px solid #eee;
}

.account-link{
    display:block;
    padding:10px;
    border-radius:8px;
    color:#333;
    text-decoration:none;
    margin-bottom:6px;
    font-weight:600;
}

.account-link.active,
.account-link:hover{
    background:#111;
    color:#fff;
}

.account-card{
    background:#fff;
    padding:25px;
    border-radius:12px;
    border:1px solid #eee;
}

.account-form .form-group{
    margin-bottom:14px;
}

.account-form input,
.account-form textarea,
.account-form select{
    width:100%;
    padding:10px 12px;
    border-radius:8px;
    border:1px solid #ddd;
    background:#fff;
    font-size:14px;
}

.account-actions{
    margin-top:20px;
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

/* =========================
   ACCOUNT ORDERS
========================= */

.auth-orders-card{
    min-height:560px;
}

.account-orders-list{
    display:grid;
    gap:16px;
}

.account-order-item{
    border:1px solid #ededed;
    border-radius:18px;
    padding:18px;
    background:#fafafa;
}

.account-order-top{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:12px;
    margin-bottom:16px;
    flex-wrap:wrap;
}

.account-order-grid{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:16px;
}

.account-order-label{
    font-size:12px;
    text-transform:uppercase;
    letter-spacing:0.5px;
    color:#777;
    margin-bottom:6px;
    font-weight:700;
}

.account-order-value{
    font-size:16px;
    font-weight:700;
    color:#111;
}

.account-order-status{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:8px 14px;
    border-radius:999px;
    background:#f1f1f1;
    color:#222;
    font-size:13px;
    font-weight:700;
}

.account-empty-state{
    text-align:center;
    padding:30px 20px;
    border:1px dashed #ddd;
    border-radius:20px;
    background:#fafafa;
}

.account-empty-state h3{
    font-size:24px;
    margin-bottom:10px;
    color:#111;
}

.account-empty-state p{
    color:#666;
    margin-bottom:18px;
}

/* =========================
   CONTACT PAGE
========================= */

.contact-info-list{
    display:grid;
    gap:14px;
}

.contact-info-item{
    display:grid;
    gap:4px;
    padding:14px 16px;
    border-radius:16px;
    background:rgba(255,255,255,0.10);
    border:1px solid rgba(255,255,255,0.10);
}

.contact-info-item strong{
    color:#fff;
    font-size:13px;
    text-transform:uppercase;
    letter-spacing:0.4px;
}

.contact-info-item span{
    color:rgba(255,255,255,0.88);
    font-size:15px;
    font-weight:600;
}

/* =========================
   MODERN CHECKOUT
========================= */

.checkout-modern-section{
    padding:56px 0 72px;
}

.checkout-modern-layout{
    display:grid;
    grid-template-columns:minmax(0, 1.15fr) 360px;
    gap:28px;
    align-items:start;
}

.checkout-modern-card,
.checkout-summary-card{
    background:#fff;
    border-radius:28px;
    border:1px solid #ededed;
    box-shadow:0 12px 30px rgba(0,0,0,0.06);
}

.checkout-modern-card{
    padding:32px;
}

.checkout-modern-head{
    margin-bottom:24px;
}

.checkout-badge{
    display:inline-flex;
    align-items:center;
    padding:8px 14px;
    border-radius:999px;
    background:#f4f4f4;
    color:#222;
    font-size:13px;
    font-weight:700;
    margin-bottom:14px;
}

.checkout-modern-head h1{
    font-size:42px;
    line-height:1.1;
    margin-bottom:8px;
    color:#111;
}

.checkout-modern-head p{
    color:#666;
    font-size:15px;
}

.checkout-modern-form .form-group{
    margin-bottom:0;
}

.checkout-modern-form label{
    display:block;
    margin-bottom:8px;
    font-weight:700;
    color:#222;
}

.checkout-modern-form input,
.checkout-modern-form textarea,
.checkout-modern-form select{
    width:100%;
    min-height:52px;
    padding:12px 14px;
    border:1px solid #dcdcdc;
    border-radius:14px;
    background:#fff;
    font-size:15px;
    outline:none;
    transition:border-color .2s ease, box-shadow .2s ease;
}

.checkout-modern-form textarea{
    min-height:120px;
    resize:vertical;
}

.checkout-modern-form input:focus,
.checkout-modern-form textarea:focus,
.checkout-modern-form select:focus{
    border-color:#222;
    box-shadow:0 0 0 4px rgba(34,34,34,0.08);
}

.checkout-form-grid{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:18px;
}

.checkout-span-2{
    grid-column:1 / -1;
}

.checkout-modern-actions{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-top:24px;
}

.checkout-summary-card{
    padding:26px;
    position:sticky;
    top:110px;
}

.checkout-summary-head{
    margin-bottom:18px;
}

.checkout-summary-head h2{
    font-size:28px;
    margin-bottom:6px;
    color:#111;
}

.checkout-summary-head p{
    color:#666;
    font-size:14px;
}

.checkout-summary-box{
    background:#fafafa;
    border:1px solid #ededed;
    border-radius:20px;
    padding:18px;
}

.checkout-summary-divider{
    margin:16px 0;
    border:none;
    border-top:1px solid #e9e9e9;
}

.checkout-summary-note{
    margin-top:16px;
    color:#777;
    font-size:14px;
    line-height:1.5;
}

.checkout-section-block{
    border:1px solid #ededed;
    border-radius:20px;
    padding:20px;
    background:#fcfcfc;
    margin-bottom:20px;
}

.checkout-section-title{
    font-size:22px;
    margin-bottom:18px;
    color:#111;
}

.checkout-shipping-head{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:16px;
    flex-wrap:wrap;
    margin-bottom:18px;
}

.checkout-checkbox-row{
    display:flex;
    align-items:center;
    gap:10px;
    font-weight:600;
    color:#222;
}

.checkout-checkbox-row input[type="checkbox"]{
    width:auto;
    min-height:auto;
}

.checkout-review-grid{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:14px 18px;
    color:#444;
    font-size:15px;
    line-height:1.5;
}

.checkout-review-grid strong{
    color:#111;
}

.checkout-review-span-2{
    grid-column:1 / -1;
}

.checkout-cart-mini-list{
    display:grid;
    gap:12px;
    margin-bottom:18px;
}

.checkout-cart-mini-item{
    display:grid;
    grid-template-columns:56px 1fr auto;
    gap:12px;
    align-items:center;
    padding:10px 0;
    border-bottom:1px solid #efefef;
}

.checkout-cart-mini-item:last-child{
    border-bottom:none;
}

.checkout-cart-mini-thumb{
    width:56px;
    height:56px;
    border-radius:12px;
    overflow:hidden;
}

.checkout-cart-mini-title{
    font-size:14px;
    font-weight:700;
    color:#111;
    line-height:1.3;
}

.checkout-cart-mini-meta{
    font-size:12px;
    color:#777;
    margin-top:3px;
}

.checkout-cart-mini-price{
    font-size:14px;
    font-weight:700;
    color:#111;
    white-space:nowrap;
}

/* =========================
   SUCCESS PAGE
========================= */

.success-modern-section{
    padding:60px 0 80px;
}

.success-modern-card{
    max-width:980px;
    margin:0 auto;
    background:#fff;
    border:1px solid #ededed;
    border-radius:30px;
    box-shadow:0 14px 36px rgba(0,0,0,0.07);
    padding:34px;
}

.success-head{
    text-align:center;
    margin-bottom:28px;
}

.success-head h1{
    font-size:38px;
    line-height:1.15;
    margin:12px 0 10px;
    color:#111;
}

.success-head p{
    color:#666;
    font-size:16px;
}

.success-animation-wrap{
    display:flex;
    justify-content:center;
    margin-bottom:22px;
}

.gift-pop{
    position:relative;
    width:140px;
    height:140px;
}

.gift-box{
    position:absolute;
    left:50%;
    bottom:0;
    transform:translateX(-50%);
    width:92px;
    height:92px;
}

.gift-body{
    position:absolute;
    bottom:0;
    left:0;
    width:92px;
    height:66px;
    background:#222;
    border-radius:10px;
}

.gift-lid{
    position:absolute;
    top:8px;
    left:-4px;
    width:100px;
    height:20px;
    background:#3a3a3a;
    border-radius:10px;
    transform-origin:18px 16px;
    animation:giftOpen 1.3s ease forwards;
}

.gift-ribbon-v{
    position:absolute;
    top:0;
    left:50%;
    transform:translateX(-50%);
    width:12px;
    height:92px;
    background:#f3c64d;
    z-index:2;
    border-radius:6px;
}

.gift-ribbon-h{
    position:absolute;
    top:22px;
    left:0;
    width:92px;
    height:12px;
    background:#f3c64d;
    z-index:2;
    border-radius:6px;
}

.gift-stars{
    position:absolute;
    inset:0;
    pointer-events:none;
}

.star{
    position:absolute;
    left:50%;
    top:70px;
    transform:translate(-50%, 0) scale(.4);
    opacity:0;
    color:#f3c64d;
    font-size:20px;
    animation:starBurst 1.8s ease-out forwards;
}

.star-1{ animation-delay:.15s; }
.star-2{ animation-delay:.25s; }
.star-3{ animation-delay:.35s; }
.star-4{ animation-delay:.45s; }
.star-5{ animation-delay:.55s; }

.star-1{ --tx:-52px; --ty:-70px; }
.star-2{ --tx:-18px; --ty:-92px; }
.star-3{ --tx:0px; --ty:-105px; }
.star-4{ --tx:24px; --ty:-88px; }
.star-5{ --tx:58px; --ty:-66px; }

@keyframes giftOpen{
    0%{ transform:rotate(0deg); }
    45%{ transform:rotate(-18deg) translateY(-6px); }
    100%{ transform:rotate(-28deg) translateY(-10px); }
}

@keyframes starBurst{
    0%{
        opacity:0;
        transform:translate(-50%, 0) scale(.3);
    }
    20%{
        opacity:1;
        transform:translate(calc(-50% + var(--tx)), var(--ty)) scale(1);
    }
    100%{
        opacity:0;
        transform:translate(calc(-50% + var(--tx)), calc(var(--ty) - 18px)) scale(.9);
    }
}

.success-order-grid{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:22px;
    margin-bottom:26px;
}

.success-order-card{
    background:#fafafa;
    border:1px solid #ededed;
    border-radius:22px;
    padding:22px;
}

.success-order-card h3{
    font-size:24px;
    margin-bottom:18px;
    color:#111;
}

.success-order-row{
    display:flex;
    justify-content:space-between;
    gap:16px;
    padding:10px 0;
    border-bottom:1px solid #ececec;
    color:#444;
}

.success-order-row strong{
    color:#111;
    text-align:right;
}

.success-order-row:last-child{
    border-bottom:none;
}

.success-order-total{
    margin-top:4px;
    padding-top:16px;
    font-size:18px;
    font-weight:700;
}

.success-address p{
    margin:0 0 8px;
    color:#444;
    line-height:1.55;
}

.success-actions{
    display:flex;
    gap:12px;
    justify-content:center;
    flex-wrap:wrap;
}

.success-order-items{
    margin-bottom:30px;
}

.success-item{
    display:flex;
    align-items:center;
    gap:16px;
    padding:14px;
    border-bottom:1px solid #eee;
}

.success-item-img{
    width:70px;
    height:70px;
    border-radius:10px;
}

.success-item-info{
    flex:1;
}

.success-item-title{
    font-weight:600;
}

.success-item-meta{
    font-size:13px;
    color:#777;
}

.success-item-price{
    font-weight:700;
}

/* =========================
   ACCOUNT ORDERS PAGE
========================= */

.account-orders-page{
    padding:48px 0 70px;
}

.account-orders-hero{
    background:linear-gradient(135deg, #111, #1d1d1d);
    color:#fff;
    border-radius:28px;
    padding:28px;
    box-shadow:0 14px 34px rgba(0,0,0,0.12);
    margin-bottom:24px;
}

.account-orders-hero-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:8px 14px;
    border-radius:999px;
    background:rgba(255,255,255,0.12);
    color:#fff;
    font-size:12px;
    font-weight:700;
    margin-bottom:14px;
}

.account-orders-hero-row{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:24px;
    margin-bottom:18px;
}

.account-orders-hero h1{
    margin:0 0 10px;
    font-size:38px;
    line-height:1.1;
    color:#fff;
}

.account-orders-hero p{
    margin:0;
    max-width:760px;
    color:rgba(255,255,255,0.86);
    font-size:15px;
    line-height:1.6;
}

.account-orders-hero-actions{
    flex:0 0 auto;
}

.account-orders-hero-points{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:14px;
    margin-top:16px;
}

.account-orders-hero-point{
    display:flex;
    align-items:center;
    gap:10px;
    background:rgba(255,255,255,0.08);
    border:1px solid rgba(255,255,255,0.08);
    border-radius:16px;
    padding:14px;
    color:#fff;
    font-size:14px;
    font-weight:600;
}

.account-orders-hero-icon{
    width:26px;
    height:26px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#fff;
    color:#111;
    font-weight:700;
    flex:0 0 26px;
}

.account-orders-main-card{
    background:#fff;
    border:1px solid #ececec;
    border-radius:28px;
    padding:28px;
    box-shadow:0 12px 30px rgba(0,0,0,0.05);
}

.account-orders-main-head{
    margin-bottom:22px;
}

.account-orders-main-head h2{
    margin:0 0 8px;
    font-size:34px;
    color:#111;
}

.account-orders-main-head p{
    margin:0;
    color:#666;
}

.account-orders-list-full{
    display:grid;
    gap:18px;
}

.account-order-card-modern{
    background:#fafafa;
    border:1px solid #ececec;
    border-radius:22px;
    padding:20px;
}

.account-order-card-top{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:16px;
    margin-bottom:18px;
}

.account-order-mini-label{
    font-size:11px;
    letter-spacing:.08em;
    text-transform:uppercase;
    color:#8a8a8a;
    font-weight:700;
    margin-bottom:6px;
}

.account-order-id-modern{
    font-size:24px;
    font-weight:800;
    color:#111;
}

.account-order-status-pill{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:34px;
    padding:8px 14px;
    border-radius:999px;
    font-size:12px;
    font-weight:800;
    white-space:nowrap;
}

.account-order-status-pill.pending{
    background:#fff4df;
    color:#9a6500;
}

.account-order-status-pill.processing{
    background:#edf4ff;
    color:#2457a7;
}

.account-order-status-pill.shipped{
    background:#eef8ef;
    color:#2f7d32;
}

.account-order-status-pill.delivered{
    background:#e9f8ef;
    color:#18794e;
}

.account-order-status-pill.cancelled{
    background:#fff0f0;
    color:#c0392b;
}

.account-order-grid-modern{
    display:grid;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap:14px;
}

.account-order-info-box{
    background:#fff;
    border:1px solid #ededed;
    border-radius:16px;
    padding:14px;
}

.account-order-info-label{
    display:block;
    font-size:11px;
    text-transform:uppercase;
    letter-spacing:.08em;
    color:#8a8a8a;
    font-weight:700;
    margin-bottom:8px;
}

.account-order-info-box strong{
    color:#111;
    font-size:16px;
    line-height:1.4;
    word-break:break-word;
}

.account-order-info-box a{
    color:#111;
    text-decoration:underline;
}

.account-order-address-row{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:14px;
    margin-top:14px;
}

.account-order-address-card{
    background:#fff;
    border:1px solid #ededed;
    border-radius:16px;
    padding:14px;
}

.account-order-address-text{
    color:#333;
    line-height:1.55;
    font-weight:600;
}

/* =========================
   CART PAGE FINAL
========================= */

.cart-page-head{
    margin-bottom:24px;
}

.cart-page-head h1{
    margin:0 0 8px;
    font-size:40px;
    color:#111;
}

.cart-page-head p{
    margin:0;
    color:#666;
    font-size:16px;
}

.cart-layout-premium{
    display:grid;
    grid-template-columns:minmax(0, 1.7fr) 320px;
    gap:28px;
    align-items:start;
}

.cart-main-card{
    min-width:0;
    overflow:visible;
}

.cart-summary-card{
    position:sticky;
    top:110px;
}

.cart-table-premium{
    display:flex;
    flex-direction:column;
    gap:16px;
    min-width:0;
}

.cart-table-head{
    display:grid;
    grid-template-columns:minmax(280px, 1.55fr) 190px 150px 100px;
    gap:14px;
    align-items:center;
    padding:0 8px;
}

.cart-table-head > div{
    font-size:12px;
    text-transform:uppercase;
    letter-spacing:.08em;
    color:#8a8a8a;
    font-weight:800;
}

.cart-table-body{
    display:flex;
    flex-direction:column;
    gap:16px;
}

.cart-row-premium{
    display:grid;
    grid-template-columns:minmax(280px, 1.55fr) 190px 150px 100px;
    gap:14px;
    align-items:center;
    padding:16px;
    background:#fff;
    border:1px solid #ececec;
    border-radius:22px;
    box-shadow:0 4px 14px rgba(0,0,0,0.04);
    min-width:0;
}

.cart-col-product,
.cart-col-qty,
.cart-col-subtotal,
.cart-col-action{
    min-width:0;
}

.cart-product-premium{
    display:flex;
    align-items:center;
    gap:14px;
    min-width:0;
}

.cart-product-image-wrap{
    width:104px;
    height:104px;
    border-radius:16px;
    flex:0 0 104px;
}

.cart-product-details{
    min-width:0;
}

.cart-product-title{
    font-size:18px;
    font-weight:800;
    color:#111;
    margin-bottom:8px;
    line-height:1.25;
    word-break:break-word;
}

.cart-product-price{
    font-size:15px;
    color:#666;
}

.cart-qty-box{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:8px;
    background:#f8f8f8;
    border:1px solid #e5e5e5;
    border-radius:14px;
}

.cart-qty-btn{
    width:40px;
    height:40px;
    border:none;
    border-radius:10px;
    background:#fff;
    border:1px solid #ddd;
    font-size:22px;
    cursor:pointer;
    transition:.2s ease;
    flex:0 0 40px;
}

.cart-qty-btn:hover{
    background:#111;
    color:#fff;
    border-color:#111;
}

.cart-qty-box .qty-input{
    width:58px !important;
    height:40px;
    border:1px solid #ddd;
    border-radius:10px;
    text-align:center;
    font-size:16px;
    background:#fff;
}

.cart-subtotal-value{
    font-size:18px;
    font-weight:800;
    color:#111;
    white-space:nowrap;
}

.cart-col-action{
    display:flex;
    justify-content:flex-start;
}

.cart-remove-btn{
    min-width:84px;
    padding:10px 12px;
    font-size:14px;
}

.cart-actions-row{
    margin-top:22px;
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    align-items:center;
}

.cart-auto-update-note{
    display:flex;
    align-items:center;
    color:#666;
    font-size:14px;
    font-weight:600;
}

.cart-mobile-label{
    display:none;
    font-size:11px;
    text-transform:uppercase;
    letter-spacing:.08em;
    color:#8a8a8a;
    font-weight:800;
    margin-bottom:8px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width:1100px){
    .hero-grid,
    .product-detail-grid,
    .cart-layout{
        grid-template-columns:1fr;
    }

    .category-grid,
    .product-grid,
    .footer-grid{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }

    .account-orders-hero-points{
        grid-template-columns:1fr;
    }

    .account-order-grid-modern{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }
}

@media (max-width:1024px){
    .cart-layout-premium{
        grid-template-columns:1fr;
    }

    .cart-summary-card{
        position:static;
        top:auto;
    }
}

@media (max-width:980px){
    .auth-modern-wrap{
        grid-template-columns:1fr;
    }

    .auth-modern-side{
        min-height:auto;
        padding:28px;
    }

    .auth-modern-side h1{
        font-size:32px;
    }

    .auth-modern-card{
        padding:26px;
    }

    .auth-modern-card-head h2{
        font-size:30px;
    }
}

@media (max-width:900px){
    .main-nav{
        display:none;
    }

    .desktop-header-actions{
        display:none;
    }

    .mobile-header-layout{
        display:block;
    }

    .header-inner{
        min-height:68px;
        align-items:flex-start;
        flex-direction:column;
        padding:14px 0;
    }

    .logo{
        display:none;
    }

    .menu-toggle{
        display:inline-flex;
        align-items:center;
        justify-content:center;
    }

    .hero{
        padding:50px 0;
    }

    .hero h1{
        font-size:34px;
    }

    .section{
        padding:40px 0;
    }

    .section-title{
        font-size:26px;
    }

    .product-gallery-wrap,
    .product-info-wrap{
        padding:18px;
    }

    .search-wrap{
        max-width:none;
        width:100%;
    }

    .topbar-inner{
        display:flex;
        justify-content:space-between;
        align-items:center;
        gap:10px;
        flex-wrap:nowrap;
    }

    .topbar-contact-text{
        display:none;
    }

    .topbar-contact{
        margin-left:auto;
    }

    .cart-table-head{
        display:none;
    }

    .cart-row-premium{
        grid-template-columns:1fr;
        gap:16px;
    }

    .cart-mobile-label{
        display:block;
    }

    .cart-col-action{
        justify-content:flex-start;
    }

    .cart-col-action .cart-remove-btn{
        width:100%;
        max-width:220px;
    }

    .account-layout{
        grid-template-columns:1fr;
    }
}

.mobile-menu{
    width:40vw;
    min-width:320px;
    max-width:420px;
}

@media (max-width:820px){
    .success-order-grid{
        grid-template-columns:1fr;
    }

    .success-head h1{
        font-size:30px;
    }
}

@media (max-width:760px){
    .checkout-modern-layout{
        grid-template-columns:1fr;
    }

    .checkout-summary-card{
        position:static;
    }

    .checkout-modern-card{
        padding:22px;
        border-radius:22px;
    }

    .checkout-summary-card{
        padding:20px;
        border-radius:22px;
    }

    .checkout-modern-head h1{
        font-size:32px;
    }

    .checkout-form-grid{
        grid-template-columns:1fr;
    }

    .checkout-span-2{
        grid-column:auto;
    }

    .checkout-modern-actions{
        flex-direction:column;
    }

    .checkout-section-block{
        padding:16px;
        border-radius:16px;
    }

    .checkout-section-title{
        font-size:20px;
    }

    .checkout-review-grid{
        grid-template-columns:1fr;
    }

    .checkout-review-span-2{
        grid-column:auto;
    }

    .account-orders-hero{
        padding:22px;
        border-radius:22px;
    }

    .account-orders-main-card{
        padding:20px;
        border-radius:22px;
    }

    .account-orders-hero-row{
        flex-direction:column;
        align-items:flex-start;
    }

    .account-orders-hero h1{
        font-size:28px;
    }

    .account-orders-main-head h2{
        font-size:28px;
    }

    .account-order-grid-modern,
    .account-order-address-row{
        grid-template-columns:1fr;
    }

    .account-order-card-top{
        flex-direction:column;
        align-items:flex-start;
    }
}

@media (max-width:700px){
    .cart-page-head h1{
        font-size:32px;
    }

    .cart-row-premium{
        padding:16px;
        border-radius:18px;
    }

    .cart-product-premium{
        align-items:flex-start;
    }

    .cart-product-image-wrap{
        width:84px;
        height:84px;
        flex:0 0 84px;
    }

    .cart-product-title{
        font-size:18px;
    }

    .cart-subtotal-value{
        font-size:20px;
    }

    .cart-actions-row{
        flex-direction:column;
        align-items:stretch;
    }

    .cart-actions-row .btn{
        width:100%;
    }
}

@media (max-width:640px){
    .mobile-menu{
        width:89vw;
        min-width:0;
        max-width:89vw;
    }

    .container{
        padding:0 14px;
    }

    .category-grid,
    .product-grid,
    .footer-grid{
        grid-template-columns:1fr;
    }

    .hero h1{
        font-size:28px;
    }

    .product-info h1{
        font-size:28px;
    }

    .hero-actions,
    .form-actions{
        flex-direction:column;
    }

    .btn{
        width:100%;
        min-height:48px;
        border-radius:14px;
    }

    .product-buy-actions{
        flex-direction:column;
    }

    .cart-item{
        grid-template-columns:1fr;
    }

    .filter-bar{
        flex-direction:column;
        align-items:stretch;
    }

    .filter-bar select,
    .filter-bar input{
        max-width:none;
    }

    .section-header{
        flex-direction:column;
        align-items:flex-start;
    }

    .share-row{
        flex-direction:row;
    }

    .search-result-item{
        grid-template-columns:56px 1fr;
    }

    .search-result-price{
        grid-column:2;
    }

    .mobile-logo{
        font-size:22px;
    }

    .mobile-header-bottom{
        gap:10px;
    }

    .auth-modern-section{
        padding:40px 0;
    }

    .auth-modern-side{
        padding:22px;
        border-radius:22px;
    }

    .auth-modern-side h1{
        font-size:26px;
    }

    .auth-modern-card{
        padding:20px;
        border-radius:22px;
    }

    .auth-modern-card-head h2{
        font-size:26px;
    }

    .auth-modern-actions{
        flex-direction:column;
    }

    .account-order-grid{
        grid-template-columns:1fr;
    }

    .success-modern-card{
        padding:22px;
        border-radius:22px;
    }

    .success-head h1{
        font-size:26px;
    }

    .success-actions{
        flex-direction:column;
    }

    .product-actions-inline,
    .product-actions,
    .product-card-actions{
        flex-direction:row;
        gap:8px;
    }

    .product-actions-inline .btn,
    .product-actions .btn,
    .product-card-actions .btn{
        width:auto;
        min-height:40px;
        padding:8px 10px;
        font-size:13px;
        border-radius:10px;
    }

    .account-actions{
        flex-direction:column;
    }

    .account-actions .btn{
        width:100%;
    }
}