/* ZARPLACE — COMPONENTS CSS */

/* ── HEADER ── */
.site-header{position:fixed;top:0;left:0;right:0;z-index:var(--z-sticky);background:rgba(250,250,248,0.95);backdrop-filter:blur(12px);border-bottom:1px solid rgba(0,0,0,0.06);}
.header-inner{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;height:var(--header-height);gap:2rem;max-width:1440px;margin:0 auto;padding:0 2rem;}
.header-logo{justify-self:center;}
.header-logo img{height:52px;width:auto;transition:height var(--transition-base);}
.header-logo a{display:flex;align-items:center;}
.site-logo, .logo-text, .brand-name {
  overflow: visible !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
  clip: none !important;
  text-indent: 0 !important;
}
.header-nav{display:flex;align-items:center;gap:2rem;margin:0;justify-self:start;}
.header-nav__link{font-size:0.9375rem;font-weight:500;color:var(--color-text);letter-spacing:0.02em;position:relative;padding-bottom:2px;}
.header-nav__link::after{content:'';position:absolute;bottom:-2px;left:0;width:0;height:2px;background:var(--color-primary);transition:width var(--transition-base);}
.header-nav__link:hover::after,.header-nav__link.active::after{width:100%;}
.header-actions{display:flex;align-items:center;gap:0.75rem;margin:0;justify-self:end;}

/* Account Hover Dropdown */
.header-account-wrap { position: relative; display: flex; align-items: center; }
.header-account-dropdown { position: absolute; top: 100%; right: 0; background: #fff; box-shadow: var(--shadow-lg); border-radius: 0.5rem; padding: 0.5rem 0; min-width: 150px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.3s ease; z-index: var(--z-dropdown); margin-top: 0.5rem; }
.header-account-dropdown::before { content:''; position:absolute; top:-10px; left:0; width:100%; height:10px; }
.header-account-wrap:hover .header-account-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.header-account-dropdown a { display: block; padding: 0.75rem 1.25rem; color: var(--color-text); font-size: 0.875rem; transition: background 0.2s; white-space: nowrap; }
.header-account-dropdown a:hover { background: var(--color-bg-dark); color: var(--color-primary); }

.header-icon-btn{width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--color-text);transition:all var(--transition-fast);cursor:pointer;position:relative;background:none;border:none;font-size:1.1rem;}
.header-icon-btn:hover{background:var(--color-bg-dark);color:var(--color-primary);}
.header-icon-btn .badge-count{position:absolute;top:4px;right:4px;}
.header-hamburger{display:none;}
@media(max-width:1024px){.header-nav{display:none;}.header-hamburger{display:flex;}.header-inner{padding:0 1rem;}}

/* Search Bar Slide-Down */
.header-search-bar{position:absolute;top:100%;left:0;right:0;background:#fff;border-bottom:1px solid #e5e7eb;padding:1rem 2rem;transform:translateY(-10px);opacity:0;pointer-events:none;transition:all var(--transition-base);box-shadow:var(--shadow-md);}
.header-search-bar.is-open{transform:translateY(0);opacity:1;pointer-events:all;}
.search-bar-inner{max-width:700px;margin:0 auto;position:relative;}
.search-bar-input{width:100%;padding:0.875rem 3rem 0.875rem 1.25rem;border:2px solid var(--color-primary);border-radius:0.375rem;font-size:1rem;font-family:var(--font-body);}
.search-bar-input:focus{outline:none;}
.search-bar-close{position:absolute;right:1rem;top:50%;transform:translateY(-50%);background:none;border:none;font-size:1.25rem;cursor:pointer;color:var(--color-text-muted);}
.search-results-dropdown{position:absolute;top:calc(100% + 0.5rem);left:0;right:0;background:#fff;border-radius:0.5rem;box-shadow:var(--shadow-xl);overflow:hidden;max-height:400px;overflow-y:auto;z-index:var(--z-dropdown);}
.search-result-item{display:flex;align-items:center;gap:1rem;padding:0.875rem 1.25rem;transition:background var(--transition-fast);text-decoration:none;color:inherit;}
.search-result-item:hover{background:var(--color-bg-dark);}
.search-result-item img{width:52px;height:64px;object-fit:cover;border-radius:0.25rem;flex-shrink:0;}
.search-result-item__title{font-weight:600;font-size:0.9375rem;}
.search-result-item__price{font-family:var(--font-accent);color:var(--color-primary);font-size:0.9375rem;}
.search-results-footer{padding:0.875rem 1.25rem;text-align:center;border-top:1px solid #f0f0f0;}
.search-results-footer a{color:var(--color-primary);font-weight:600;font-size:0.875rem;}

/* ── HERO ── */
.hero-section{position:relative;height:100svh;min-height:600px;overflow:hidden;}
.hero-swiper{width:100%;height:100%;}
.hero-slide{position:relative;width:100%;height:100%;display:flex;align-items:center;}
.hero-slide__bg{position:absolute;inset:0;background-size:cover;background-position:center;background-repeat:no-repeat;transform:scale(1.08);transition:transform 6s ease;}
.swiper-slide-active .hero-slide__bg{transform:scale(1);}
.hero-slide__overlay{position:absolute;inset:0;background:linear-gradient(135deg,rgba(24,26,45,0.65) 0%,rgba(0,0,0,0.2) 60%,transparent 100%);}
.hero-slide__content{position:relative;z-index:1;padding:0 2rem;max-width:700px;margin-left:10%;}
.hero-eyebrow{font-family:var(--font-accent);color:var(--color-gold-light);font-size:0.9375rem;letter-spacing:0.3em;text-transform:uppercase;margin-bottom:1rem;display:block;}
.hero-headline{font-family:var(--font-display);font-size:clamp(2.5rem,6vw,5.5rem);font-weight:900;color:#fff;line-height:1.05;margin-bottom:1.5rem;}
.hero-subtext{color:rgba(255,255,255,0.8);font-size:1.125rem;max-width:480px;margin-bottom:2.5rem;}
.hero-cta-group{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;}
.hero-scroll-indicator{position:absolute;bottom:2.5rem;left:50%;transform:translateX(-50%);z-index:2;}
.hero-pagination{position:absolute;bottom:2.5rem;right:3rem;z-index:2;display:flex;gap:0.5rem;}
.hero-pagination-dot{width:8px;height:8px;border-radius:999px;background:rgba(255,255,255,0.4);cursor:pointer;transition:all var(--transition-base);}
.hero-pagination-dot.is-active{background:#fff;width:24px;}

/* ── PRODUCT CARD ── */
.product-card{background:#fff;border-radius:0.5rem;overflow:hidden;transition:box-shadow var(--transition-base),transform var(--transition-base);position:relative;height:100%;display:flex;flex-direction:column;}
.product-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-4px);}
.product-card__image-wrap{position:relative;aspect-ratio:4/5;overflow:hidden;background:var(--color-bg-dark);}
.product-card__img-primary,.product-card__img-secondary{width:100%;height:100%;object-fit:cover;}
.product-card__img-secondary{position:absolute;inset:0;opacity:0;transition:opacity 0.4s ease;}
.product-card:hover .product-card__img-secondary{opacity:1;}
.product-card:hover .product-card__img-primary{transform:scale(1.06);}
.product-card__img-primary{transition:transform 0.6s ease;}
.product-card__badges{position:absolute;top:0.75rem;left:0.75rem;display:flex;flex-direction:column;gap:0.375rem;z-index:1;}
.product-card__wishlist{position:absolute;top:0.75rem;right:0.75rem;z-index:1;width:36px;height:36px;background:rgba(255,255,255,0.9);border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;border:none;font-size:1rem;transition:all var(--transition-fast);}
.product-card__wishlist:hover,.product-card__wishlist.is-active{background:var(--color-primary);color:#fff;}
.product-card__actions{position:absolute;bottom:0;left:0;right:0;padding:0.75rem;display:flex;gap:0.5rem;}
.product-card__quick-view{flex:1;background:rgba(255,255,255,0.95);color:var(--color-primary);font-size:0.8125rem;font-weight:600;padding:0.625rem;border-radius:0.25rem;border:none;cursor:pointer;transition:all var(--transition-fast);letter-spacing:0.03em;text-transform:uppercase;}
.product-card__quick-view:hover{background:var(--color-primary);color:#fff;}
.product-card__body{padding:1rem;display:flex;flex-direction:column;flex:1;}
.product-card__brand{font-family:var(--font-accent);color:var(--color-gold);font-size:0.75rem;letter-spacing:0.15em;text-transform:uppercase;margin-bottom:0.25rem;display:block;}
.product-card__title{font-family:var(--font-display);font-size:1rem;font-weight:600;margin-bottom:0.625rem;line-height:1.3;color:var(--color-text);display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.6em;}
.product-card__title a{color:inherit;}
.product-card__title a:hover{color:var(--color-primary);}
.product-card__price{display:flex;align-items:baseline;gap:0.5rem;margin-bottom:0.875rem;flex-wrap:wrap;}
.product-card__price-current{font-family:var(--font-accent);font-size:1.25rem;font-weight:600;color:var(--color-primary);}
.product-card__price-original{font-family:var(--font-accent);font-size:0.9375rem;color:var(--color-text-muted);text-decoration:line-through;}
.product-card__add-to-cart{margin-top:auto;width:100%;padding:0.75rem;background:var(--color-primary);color:#fff;border:none;border-radius:0.25rem;font-family:var(--font-body);font-size:0.8125rem;font-weight:700;letter-spacing:0.05em;text-transform:uppercase;cursor:pointer;transition:all var(--transition-base);display:flex;align-items:center;justify-content:center;gap:0.5rem;}
.product-card__add-to-cart:hover{background:var(--color-gold); color:var(--color-primary);}

/* ── FLASH SALE ── */
.flash-sale{background:linear-gradient(135deg,var(--color-primary) 0%,var(--color-primary-dark) 100%);padding:4rem 0;overflow:hidden;}
.flash-sale__header{text-align:center;margin-bottom:3rem;}
.flash-sale__label{display:inline-flex;align-items:center;gap:0.5rem;background:rgba(255,255,255,0.15);color:var(--color-gold-light);font-size:0.8125rem;font-weight:700;letter-spacing:0.15em;text-transform:uppercase;padding:0.5rem 1rem;border-radius:999px;margin-bottom:1rem;}
.flash-sale__title{font-family:var(--font-display);font-size:clamp(2rem,4vw,3rem);color:#fff;margin-bottom:1rem;}
.countdown{display:flex;align-items:center;justify-content:center;gap:1rem;margin-bottom:2rem;}
.flash-sale__products{display:flex;gap:1.5rem;overflow-x:auto;padding-bottom:1rem;scroll-snap-type:x mandatory;}
.flash-sale__products::-webkit-scrollbar{height:4px;}
.flash-sale__products::-webkit-scrollbar-thumb{background:rgba(255,255,255,0.3);border-radius:999px;}
.flash-sale__product-item{flex:0 0 280px;scroll-snap-align:start;}

/* ── TESTIMONIALS ── */
.testimonials-section{background:var(--color-bg-dark);}
.testimonial-card{background:#fff;border-radius:1rem;padding:2rem;box-shadow:var(--shadow-sm);}
.testimonial-card__stars{color:var(--color-gold);font-size:1rem;margin-bottom:0.75rem;}
.testimonial-card__text{font-size:1rem;line-height:1.7;color:var(--color-text);margin-bottom:1.25rem;font-style:italic;}
.testimonial-card__footer{display:flex;align-items:center;gap:0.75rem;}
.testimonial-card__avatar{width:44px;height:44px;border-radius:50%;object-fit:cover;background:var(--color-blush);display:flex;align-items:center;justify-content:center;font-weight:700;color:var(--color-primary);font-size:1rem;flex-shrink:0;}
.testimonial-card__name{font-weight:700;font-size:0.9375rem;color:var(--color-text);}
.testimonial-card__city{font-size:0.8125rem;color:var(--color-text-muted);}

/* ── NEWSLETTER ── */
.newsletter-section{background:var(--color-primary);padding:5rem 0;}
.newsletter-card{max-width:560px;margin:0 auto;text-align:center;}
.newsletter-card__eyebrow{font-family:var(--font-accent);color:var(--color-gold-light);font-size:0.875rem;letter-spacing:0.2em;text-transform:uppercase;margin-bottom:0.75rem;}
.newsletter-card__title{font-family:var(--font-display);font-size:clamp(1.75rem,3.5vw,2.5rem);color:#fff;margin-bottom:0.75rem;}
.newsletter-card__subtitle{color:rgba(255,255,255,0.75);margin-bottom:2rem;}
.newsletter-form{display:flex;gap:0.5rem;max-width:440px;margin:0 auto;}
.newsletter-form input{flex:1;padding:0.875rem 1rem;border:none;border-radius:0.25rem;font-family:var(--font-body);font-size:0.9375rem;}
.newsletter-form input:focus{outline:2px solid var(--color-gold);}
@media(max-width:480px){.newsletter-form{flex-direction:column;}}

/* ── SHOP PAGE ── */
.shop-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:2rem;flex-wrap:wrap;gap:1rem;}
.shop-count{color:var(--color-text-muted);font-size:0.9375rem;}
.shop-filters{display:flex;align-items:center;gap:0.5rem;}
.filter-btn{padding:0.5rem 1.25rem;border:1px solid #e5e7eb;border-radius:999px;font-size:0.875rem;font-weight:500;cursor:pointer;transition:all var(--transition-fast);background:#fff;color:var(--color-text);}
.filter-btn:hover,.filter-btn.is-active{background:var(--color-primary);color:#fff;border-color:var(--color-primary);}
.shop-sort select{padding:0.5rem 1rem;border:1px solid #e5e7eb;border-radius:0.375rem;font-family:var(--font-body);font-size:0.875rem;background:#fff;cursor:pointer;}
.shop-sort select:focus{outline:none;border-color:var(--color-primary);}
.view-toggle{display:flex;gap:0.375rem;}
.view-toggle-btn{width:36px;height:36px;border:1px solid #e5e7eb;border-radius:0.25rem;background:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:1rem;transition:all var(--transition-fast);}
.view-toggle-btn.is-active{background:var(--color-primary);color:#fff;border-color:var(--color-primary);}
.load-more-wrap{text-align:center;margin-top:3rem;}

/* ── SINGLE PRODUCT ── */
.single-product-layout{display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:start;}
@media(max-width:768px){.single-product-layout{grid-template-columns:1fr;gap:2rem;}}
.product-gallery-main{position:relative;aspect-ratio:4/5;overflow:hidden;border-radius:0.75rem;cursor:zoom-in;background:var(--color-bg-dark);}
.product-gallery-main img{width:100%;height:100%;object-fit:cover;transition:transform 0.4s ease;}
.product-gallery-main:hover img{transform:scale(1.05);}
.product-gallery-badge{position:absolute;top:1rem;left:1rem;z-index:1;}
.product-info__brand{display:inline-flex;margin-bottom:0.75rem;}
.product-info__title{font-family:var(--font-display);font-size:clamp(1.5rem,3vw,2.25rem);font-weight:700;margin-bottom:0.75rem;line-height:1.2;}
.product-info__rating{display:flex;align-items:center;gap:0.5rem;margin-bottom:1.25rem;font-size:0.875rem;color:var(--color-text-muted);}
.product-info__divider{border:none;border-top:1px solid #f0f0f0;margin:1.25rem 0;}
.product-info__description{color:var(--color-text-muted);font-size:0.9375rem;line-height:1.8;margin-bottom:1.5rem;}
.product-info__qty-row{display:flex;align-items:center;gap:1rem;margin-bottom:1rem;flex-wrap:wrap;}
.product-info__qty-label{font-size:0.875rem;font-weight:600;min-width:60px;}
.product-info__actions{display:flex;flex-direction:column;gap:0.75rem;margin-bottom:1.5rem;}
.product-trust-strip{display:flex;align-items:center;gap:1.5rem;padding:1rem;background:var(--color-bg-dark);border-radius:0.5rem;margin-bottom:1.25rem;flex-wrap:wrap;}
.trust-item{display:flex;align-items:center;gap:0.375rem;font-size:0.8125rem;color:var(--color-text-muted);}
.trust-item svg{color:var(--color-success);flex-shrink:0;}

/* ── CHECKOUT ── */
.checkout-layout{display:grid;grid-template-columns:1.4fr 1fr;gap:3rem;align-items:start;}
@media(max-width:768px){.checkout-layout{grid-template-columns:1fr;}}
.checkout-section{background:#fff;border-radius:0.75rem;padding:2rem;box-shadow:var(--shadow-sm);}
.checkout-section__title{font-family:var(--font-display);font-size:1.25rem;font-weight:700;margin-bottom:1.5rem;padding-bottom:0.75rem;border-bottom:1px solid #f0f0f0;}
.city-select{width:100%;padding:0.875rem 1rem;border:1px solid #e5e7eb;border-radius:0.375rem;font-family:var(--font-body);font-size:1rem;background:#fff;}
.city-select:focus{outline:none;border-color:var(--color-primary);}
.order-summary-sticky{position:sticky;top:calc(var(--header-height) + 1rem);}
.order-item{display:flex;align-items:center;gap:0.875rem;padding:0.75rem 0;border-bottom:1px solid #f5f5f5;}
.order-item__img{width:56px;height:70px;object-fit:cover;border-radius:0.375rem;flex-shrink:0;}
.order-item__name{font-size:0.9375rem;font-weight:600;flex:1;}
.order-item__price{font-family:var(--font-accent);color:var(--color-primary);font-weight:600;}
.order-totals{margin-top:1rem;display:flex;flex-direction:column;gap:0.5rem;}
.order-totals__row{display:flex;justify-content:space-between;font-size:0.9375rem;}
.order-totals__row--total{font-weight:700;font-size:1.125rem;border-top:1px solid #e5e7eb;padding-top:0.75rem;margin-top:0.25rem;}
.cod-badge{background:var(--color-bg-dark);border-radius:0.5rem;padding:0.875rem;text-align:center;margin:1.25rem 0;font-size:0.875rem;font-weight:600;color:var(--color-text);}
.cod-badge .icon{font-size:1.5rem;display:block;margin-bottom:0.375rem;}

/* ── WISHLIST ── */
.wishlist-page-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem;}
@media(max-width:1024px){.wishlist-page-grid{grid-template-columns:repeat(2,1fr);}}
@media(max-width:640px){.wishlist-page-grid{grid-template-columns:1fr;}}
.wishlist-empty{text-align:center;padding:6rem 1rem;}
.wishlist-empty__icon{font-size:5rem;display:block;margin-bottom:1.5rem;}
.wishlist-empty__title{font-family:var(--font-display);font-size:1.75rem;margin-bottom:0.75rem;}

/* ── 404 ── */
.page-404{min-height:80vh;display:flex;align-items:center;justify-content:center;text-align:center;padding:2rem;}
.page-404__number{font-family:var(--font-display);font-size:clamp(6rem,15vw,10rem);font-weight:900;color:var(--color-blush);line-height:1;}
.page-404__title{font-family:var(--font-display);font-size:clamp(1.5rem,3vw,2.25rem);margin-bottom:1rem;}
.page-404__text{color:var(--color-text-muted);max-width:400px;margin:0 auto 2rem;}

/* ── BACK IN STOCK ── */
.back-in-stock-form{background:var(--color-bg-dark);border-radius:0.75rem;padding:1.5rem;margin-top:1.5rem;}
.back-in-stock-form__title{font-family:var(--font-display);font-size:1.125rem;font-weight:700;margin-bottom:0.375rem;}
.back-in-stock-form__sub{font-size:0.875rem;color:var(--color-text-muted);margin-bottom:1rem;}
.back-in-stock-form__row{display:flex;gap:0.625rem;}
.back-in-stock-form__row input{flex:1;padding:0.75rem 1rem;border:1px solid #e5e7eb;border-radius:0.25rem;font-family:var(--font-body);font-size:0.9375rem;}
.back-in-stock-form__row input:focus{outline:none;border-color:var(--color-primary);}
.back-in-stock-success{background:#d1fae5;color:#065f46;padding:0.875rem 1rem;border-radius:0.375rem;font-size:0.9rem;font-weight:500;display:none;}
.back-in-stock-success.is-visible{display:block;}

/* ── PRODUCT TABS (Single) ── */
.product-tabs-section{margin-top:4rem;}
.product-tabs-section .container{max-width:900px;}
.tab-panel{padding:2rem 0;color:var(--color-text-muted);line-height:1.8;}
.tab-panel h4{font-family:var(--font-display);color:var(--color-text);margin-bottom:0.5rem;margin-top:1.25rem;}
.tab-panel ul{padding-left:1.25rem;}
.tab-panel ul li{list-style:disc;margin-bottom:0.375rem;}

/* ── FOOTER ── */
.site-footer{background:var(--color-text);color:#fff;padding:5rem 0 0;}
.footer-top{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:3rem;padding-bottom:3rem;border-bottom:1px solid rgba(255,255,255,0.1);}
@media(max-width:1024px){.footer-top{grid-template-columns:1fr 1fr;gap:2rem;}}
@media(max-width:640px){.footer-top{grid-template-columns:1fr;}}
.footer-brand__logo img{height:44px;width:auto;filter:brightness(0) invert(1);margin-bottom:1rem;}
.footer-brand__tagline{color:rgba(255,255,255,0.6);font-size:0.9375rem;max-width:240px;line-height:1.6;margin-bottom:1.5rem;}
.footer-social{display:flex;gap:0.75rem;}
.footer-social-link{width:38px;height:38px;background:rgba(255,255,255,0.1);border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-size:1rem;transition:all var(--transition-fast);}
.footer-social-link:hover{background:var(--color-gold);color:#1A1A1A;}
.footer-col__title{font-family:var(--font-display);font-size:0.875rem;font-weight:700;letter-spacing:0.1em;text-transform:uppercase;color:var(--color-gold);margin-bottom:1.25rem;}
.footer-col__links{display:flex;flex-direction:column;gap:0.625rem;}
.footer-col__link{color:rgba(255,255,255,0.65);font-size:0.9375rem;transition:color var(--transition-fast);}
.footer-col__link:hover{color:#fff;}
.footer-contact-item{display:flex;align-items:flex-start;gap:0.625rem;color:rgba(255,255,255,0.65);font-size:0.9rem;margin-bottom:0.625rem;}
.footer-bottom{padding:1.5rem 0;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:1rem;border-top:1px solid rgba(255,255,255,0.08);}
.footer-bottom__copy{color:rgba(255,255,255,0.5);font-size:0.8125rem;}
.footer-bottom__links{display:flex;gap:1.5rem;}
.footer-bottom__links a{color:rgba(255,255,255,0.5);font-size:0.8125rem;transition:color var(--transition-fast);}
.footer-bottom__links a:hover{color:#fff;}
.footer-badges{display:flex;align-items:center;gap:1rem;}
.footer-badge{background:rgba(255,255,255,0.1);color:rgba(255,255,255,0.8);font-size:0.75rem;font-weight:600;padding:0.375rem 0.875rem;border-radius:0.25rem;border:1px solid rgba(255,255,255,0.15);}

/* Fix for Product Card Heights in Grid */
.grid-4 > div, .grid-3 > div, .grid-2 > div, .products-grid-container > div, .instagram-grid > div {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.grid-4 > div > .product-card, 
.grid-3 > div > .product-card, 
.grid-2 > div > .product-card, 
.products-grid-container > div > .product-card {
    flex: 1;
    width: 100%;
}
.product-card__brand {
    min-height: 14px; /* Ensure brand always takes up space even if empty */
}
