/* ===== (1) MARKETING BAR - PREMIUM ===== */
.mk-bar{
  height:48px;
  background: linear-gradient(90deg, #111, #1a1a1a, #111);
  color: rgba(255,255,255,.92);
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  font-family: var(--sans);
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.mk-text{
  max-width: 980px;
  text-align:center;
  padding: 0 60px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.1), transparent);
  padding: 6px 30px;
  border-radius: 30px;
}

.mk-nav{
  position:absolute;
  top:0; bottom:0;
  width:60px;
  border:0;
  background:transparent;
  color: rgba(255,255,255,.75);
  font-size: 26px;
  cursor:pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
#mkPrev{left:0}
#mkNext{right:0}
.mk-nav:hover{
  color:#fff;
  background: rgba(255,255,255,.1);
}

/* ===== (2) HEADER - PREMIUM ===== */
.site-header{
  background:#fff;
  border-bottom: 1px solid var(--stroke2);
  transition: all 0.3s ease;
  position: relative;
}

.site-header.scrolled{
  box-shadow: 0 8px 30px rgba(0,0,0,.06);
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.98);
}

.header-row{
  height:78px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding: 0 15px;
}

/* Premium Logo */
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  min-width: 210px;
  transition: opacity 0.3s;
}
.brand:hover {
  opacity: 0.9;
}

.brand-mark{
  width:48px;
  height:48px;
  border-radius:16px;
  display:grid;
  place-items:center;
  background: linear-gradient(135deg, #111, #2a2a2a);
  box-shadow: 0 10px 20px rgba(0,0,0,.1);
  position: relative;
  overflow: hidden;
}

.brand-mark::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,.1), transparent);
  transform: rotate(45deg);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) rotate(45deg); }
  100% { transform: translateX(100%) rotate(45deg); }
}

.brand-mark-text{
  font-weight:900;
  font-size: 24px;
  color: #fff;
  text-shadow: 0 2px 5px rgba(0,0,0,.2);
  position: relative;
  z-index: 2;
}

.brand-stack{
  line-height: 1.2;
}

.brand-name{
  font-weight:900;
  letter-spacing:.02em;
  font-size:18px;
  background: linear-gradient(135deg, #111, #333);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-sub{
  margin-top:2px;
  font-size:12px;
  color: var(--muted);
  letter-spacing:.08em;
  text-transform:uppercase;
}

/* Premium Navigation */
.main-nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 32px;
  flex: 1;
}

.navlink{
  text-decoration:none;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .34em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(17,17,17,.78);
  padding: 10px 0;
  transition: color .15s ease;
  position: relative;
  white-space: nowrap;
}

.navlink::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-2px;
  width:0%;
  height:2px;
  background: linear-gradient(90deg, #111, #c7a253);
  transition: width .3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}

.navlink:hover::after{
  width:100%;
}

.navlink:hover{
  color:#000;
}

/* Premium More Dropdown */
.navmore{
  position:relative;
  display:inline-flex;
  align-items:center;
}

.navmore__btn{
  cursor: default;
  display: flex;
  align-items: center;
  gap: 4px;
}

.more-arrow {
  font-size: 10px;
  transition: transform 0.3s;
}

.navmore:hover .more-arrow {
  transform: rotate(180deg);
}

.navmore__menu{
  position:absolute;
  top: 44px;
  left: -20px;
  min-width: 260px;
  background:#fff;
  border: 1px solid rgba(17,17,17,.08);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,.08);
  padding: 12px;
  display:none;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.98);
}

.navmore__menu a{
  display:block;
  padding: 14px 16px;
  border-radius: 12px;
  text-decoration:none;
  letter-spacing:.22em;
  text-transform:uppercase;
  font-weight:600;
  font-size: 11px;
  color: rgba(17,17,17,.78);
  transition: all 0.3s;
}

.navmore__menu a:hover{
  background: linear-gradient(90deg, rgba(199,162,83,.08), transparent);
  color:#000;
  transform: translateX(5px);
}

.navmore:hover .navmore__menu{
  display:block;
  animation: fadeInDown 0.3s;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Premium Icons */
.header-icons{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 190px;
  justify-content:flex-end;
}

.icon{
  width:44px;
  height:44px;
  border-radius: 14px;
  border: 1px solid rgba(17,17,17,.08);
  background:#fff;
  display:grid;
  place-items:center;
  cursor:pointer;
  position:relative;
  box-shadow: 0 8px 16px rgba(0,0,0,.02);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.icon:hover{
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0,0,0,.08);
  border-color: #c7a253;
}

.icon svg{
  width:22px;
  height:22px;
  fill: rgba(17,17,17,.7);
  transition: fill 0.3s;
}

.icon:hover svg{
  fill: #c7a253;
}

/* Icon-specific hover effects */
.icon-account:hover svg { fill: #c7a253; }
.icon-search:hover svg { fill: #c7a253; }
.icon-cart:hover svg { fill: #c7a253; }

.badge{
  position:absolute;
  top:-8px;
  right:-8px;
  min-width:20px;
  height:20px;
  border-radius:30px;
  background: linear-gradient(135deg, #c7a253, #b38f3c);
  color:#111;
  font-size:11px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0 6px;
  border:2px solid #fff;
  font-weight:900;
  box-shadow: 0 4px 8px rgba(199,162,83,.3);
}

/* Premium Hamburger */
.hamburger{
  display:none;
  width:44px;
  height:44px;
  border-radius:14px;
  border:1px solid rgba(17,17,17,.08);
  background:#fff;
  cursor:pointer;
  padding:12px;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  transition: all 0.3s;
}

.hamburger:hover {
  border-color: #c7a253;
}

.hamburger span{
  display:block;
  height:2px;
  background: rgba(17,17,17,.7);
  border-radius:4px;
  transition: all 0.3s;
  width: 100%;
}

.hamburger:hover span {
  background: #c7a253;
}

/* Premium Promo Strip */
.promo-strip{
  height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 12px;
  border-top: 1px solid rgba(17,17,17,.06);
  background: linear-gradient(90deg, #f8f8f8, #fff, #f8f8f8);
  color: rgba(17,17,17,.8);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.promo-strip-text {
  background: linear-gradient(135deg, #111, #c7a253);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.promo-strip-separator {
  color: #c7a253;
  font-size: 16px;
}

.promo-strip-code {
  background: rgba(199,162,83,.1);
  padding: 4px 12px;
  border-radius: 30px;
  font-size: 11px;
}

/* Premium Mobile Nav */
.mobile-nav{
  display:none;
  background: #fff;
  border-top: 1px solid rgba(17,17,17,.06);
  padding: 20px;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.mobile-nav.show{
  display: grid;
  animation: slideDown 0.3s;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-link{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  padding: 16px 8px;
  background: #f8f9fa;
  border-radius: 16px;
  gap: 8px;
  transition: all 0.3s;
  position: relative;
}

.mobile-link:hover {
  background: linear-gradient(135deg, #111, #2a2a2a);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,.1);
}

.mobile-link:hover span,
.mobile-link:hover svg {
  color: #fff;
  fill: #fff;
}

.mobile-link svg {
  width: 24px;
  height: 24px;
  fill: rgba(17,17,17,.7);
  transition: all 0.3s;
}

.mobile-link span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(17,17,17,.8);
}

.mobile-cart {
  position: relative;
}

.mobile-badge {
  position: absolute;
  top: 5px;
  right: 25px;
  background: #c7a253;
  color: #111;
  font-size: 10px;
  font-weight: 900;
  min-width: 18px;
  height: 18px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

/* Premium Search Row */
.search-row{
  display:none;
  border-bottom: 1px solid rgba(17,17,17,.06);
  background: linear-gradient(90deg, #f8f9fa, #fff);
  padding: 5px 0;
}

.search-row.show{
  display:block;
  animation: slideDown 0.3s;
}

.search-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding: 14px 0;
}

.searchbar{
  flex:1;
  display:flex;
  gap:10px;
}

.searchbar input{
  flex:1;
  padding: 16px 20px;
  border-radius: 50px;
  border: 1px solid rgba(17,17,17,.08);
  outline:0;
  font-size: 14px;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(0,0,0,.02);
}

.searchbar input:focus{
  border-color: #c7a253;
  box-shadow: 0 8px 20px rgba(199,162,83,.15);
}

.searchbar button{
  padding: 0 24px;
  border-radius: 50px;
  border: none;
  background: linear-gradient(135deg, #111, #2a2a2a);
  color: #fff;
  font-weight:700;
  cursor:pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}

.searchbar button:hover {
  background: linear-gradient(135deg, #c7a253, #b38f3c);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(199,162,83,.3);
}

.searchbar button svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

.searchbar button .search-text {
  font-size: 13px;
  letter-spacing: 1px;
}

.search-close{
  width:44px;
  height:44px;
  border-radius:50%;
  border:1px solid rgba(17,17,17,.08);
  background:#fff;
  cursor:pointer;
  font-size: 20px;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-close:hover {
  background: #111;
  color: #fff;
  transform: rotate(90deg);
}

/* ===== RESPONSIVE BREAKPOINTS - PREMIUM ===== */

/* Large Desktop */
@media (max-width: 1200px) {
  .main-nav {
    gap: 24px;
  }
}

/* Tablet Landscape */
@media (max-width: 992px) {
  .main-nav {
    gap: 20px;
  }
  
  .navlink {
    font-size: 11px;
    letter-spacing: .28em;
  }
}

/* Mobile Breakpoint */
@media (max-width: 880px) {
  .main-nav {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
  
  .brand {
    min-width: auto;
  }
  
  .header-icons {
    min-width: auto;
  }
  
  .mk-text {
    font-size: 11px;
    padding: 0 40px;
    letter-spacing: .12em;
  }
  
  .mk-nav {
    width: 40px;
    font-size: 22px;
  }
}

/* Small Mobile */
@media (max-width: 600px) {
  .header-row {
    height: 64px;
    padding: 0 12px;
  }
  
  /* Smaller icons on mobile */
  .icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }
  
  .icon svg {
    width: 18px;
    height: 18px;
  }
  
  .hamburger {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    padding: 10px;
  }
  
  .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }
  
  .brand-mark-text {
    font-size: 20px;
  }
  
  .brand-name {
    font-size: 16px;
  }
  
  .brand-sub {
    font-size: 10px;
  }
  
  .badge {
    min-width: 18px;
    height: 18px;
    font-size: 10px;
    top: -6px;
    right: -6px;
  }
  
  .promo-strip {
    height: 40px;
    font-size: 10px;
    letter-spacing: 1px;
    gap: 6px;
    padding: 0 10px;
    flex-wrap: wrap;
  }
  
  .promo-strip-text {
    white-space: nowrap;
  }
  
  .promo-strip-separator {
    display: none;
  }
  
  .promo-strip-code {
    font-size: 9px;
    padding: 3px 8px;
  }
  
  .mk-text {
    font-size: 10px;
    padding: 0 35px;
    letter-spacing: .1em;
  }
  
  .mk-nav {
    width: 35px;
    font-size: 20px;
  }
  
  .mobile-nav {
    padding: 15px 12px;
    gap: 8px;
  }
  
  .mobile-link {
    padding: 12px 4px;
  }
  
  .mobile-link svg {
    width: 20px;
    height: 20px;
  }
  
  .mobile-link span {
    font-size: 9px;
  }
  
  .mobile-badge {
    top: 0;
    right: 15px;
    min-width: 16px;
    height: 16px;
    font-size: 9px;
  }
  
  .searchbar input {
    padding: 14px 16px;
    font-size: 13px;
  }
  
  .searchbar button {
    padding: 0 16px;
  }
  
  .searchbar button .search-text {
    display: none;
  }
  
  .searchbar button svg {
    width: 20px;
    height: 20px;
  }
}

/* Extra Small Mobile */
@media (max-width: 380px) {
  .header-row {
    gap: 8px;
  }
  
  .icon {
    width: 34px;
    height: 34px;
  }
  
  .icon svg {
    width: 16px;
    height: 16px;
  }
  
  .hamburger {
    width: 34px;
    height: 34px;
    padding: 8px;
  }
  
  .brand {
    gap: 6px;
  }
  
  .brand-mark {
    width: 34px;
    height: 34px;
  }
  
  .brand-mark-text {
    font-size: 18px;
  }
  
  .brand-name {
    font-size: 14px;
  }
  
  .brand-sub {
    font-size: 9px;
  }
  
  .mk-text {
    font-size: 9px;
    padding: 0 30px;
  }
  
  .mobile-link {
    padding: 10px 4px;
  }
  
  .mobile-link svg {
    width: 18px;
    height: 18px;
  }
}
/* =========================================================
   LOGO UPDATE (NEW IMAGE) + MOBILE CENTER + BIGGER
   Paste at END of layout.css (safe override)
========================================================= */

/* New logo sizing */
.brand-logo{
  height: 58px;          /* ✅ bigger + visible */
  width: auto;
  max-height: 64px;
  object-fit: contain;
  display: block;
}

/* Mobile: center logo perfectly without breaking icons */
@media (max-width: 880px){
  .header-row{
    position: relative;   /* needed for absolute centering */
  }

  .brand{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    min-width: 0 !important;
    justify-content: center;
    gap: 0;
  }

  .header-icons{
    position: relative;
    z-index: 3;           /* icons above logo if overlap */
  }
}

/* Small mobile: keep logo inside header height, still big */
@media (max-width: 600px){
  .brand-logo{
    height: 54px;
    max-height: 60px;
  }
}

/* Extra small mobile */
@media (max-width: 380px){
  .brand-logo{
    height: 50px;
    max-height: 56px;
  }
}

/* =========================================================
   PROMO STRIP (GOLDEN BG + BLACK TEXT)
   (Your earlier requirement: golden background + black text)
========================================================= */
.promo-strip{
  background: #c7a253 !important;
  color: #111 !important;
  border-top: 1px solid rgba(17,17,17,.10);
}

.promo-strip-text{
  background: none !important;
  -webkit-text-fill-color: #111 !important;
  color: #111 !important;
}

.promo-strip-code{
  background: rgba(17,17,17,.10) !important;
  color: #111 !important;
}
/* LOGO PERFECT CENTER (NO HEADER HEIGHT CHANGE) */
.brand{
  display: flex !important;
  align-items: center !important;      /* ✅ vertical center */
  justify-content: center !important;  /* ✅ horizontal center */
}

.brand-logo{
  height: 50px !important;
  width: auto !important;
  object-fit: contain !important;
  display: block !important;

  transform: translateY(0px) scale(2.5) !important;  /* ✅ center */
  transform-origin: center center !important;
}

/* prevent clipping */
.brand,
.header-row{
  overflow: visible !important;
}
/* Slightly taller header (small increase only) */
.site-header .header-row{
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  height: auto !important;           /* let it grow naturally */
}

/* keep logo centered */
.brand{
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.brand-logo{
  transform: scale(2.5) !important;
  transform-origin: center center !important;
}
/* =========================================================
   CATEGORY CAROUSEL (Image#1 style) - SAFE UPGRADE
========================================================= */
.cat-carousel{
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 14px 2px 18px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.cat-carousel::-webkit-scrollbar{ height: 0; }

/* single tile/card */
.cat-tile{
  flex: 0 0 310px;              /* desktop width */
  scroll-snap-align: start;
  display: block;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #f3f4f6;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0,0,0,.06);
  border: 1px solid rgba(17,17,17,.08);
}

/* ✅ if your card contains 3 images, show only first */
.cat-tile img{ 
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}
.cat-tile img:nth-of-type(n+2){ display:none !important; } /* hide extra images safely */

/* overlay like Image#1 */
.cat-tile__overlay{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px 16px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.55) 60%, rgba(0,0,0,.72) 100%);
}

.cat-tile__title{
  color: #fff;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cat-tile__arrow{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.18);
  color: #fff;
  font-size: 18px;
  flex: 0 0 auto;
}

/* hover premium */
.cat-tile:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 35px rgba(0,0,0,.12);
  border-color: rgba(199,162,83,.6);
}

/* mobile layout like Image#1 (2 cards partially visible) */
@media (max-width: 600px){
  .cat-carousel{ gap: 14px; }
  .cat-tile{
    flex: 0 0 72vw;             /* shows 1.3 cards on mobile */
  }
  .cat-tile img{ height: 190px; }
}
/* ================================
   MOBILE IMAGE FIT FIX (NO CROP)
   Product cards / grids
================================ */
@media (max-width: 768px){

  /* Common wrappers (safe) */
  .sp-card .sp-img,
  .pcard .pimg,
  .product-card .product-image,
  .product-card .img,
  .home-shop-grid .sp-img,
  .hot-selling-grid .sp-img {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    background: #fff !important;
  }

  /* ✅ Main product images */
  .sp-card .sp-img img,
  .pcard .pimg img,
  .product-card img,
  .home-shop-grid img,
  .hot-selling-grid img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;     /* ✅ no crop */
    object-position: center !important; /* ✅ centered */
    background: #fff !important;
    transform: none !important;         /* ✅ remove zoom/crop transforms */
  }

  /* ✅ If your card wrapper has fixed height, keep stable */
  .sp-card .sp-img { height: 220px !important; }
  .pcard .pimg   { height: 220px !important; }

}
/* ===============================
   CATEGORY IMAGE FALLBACK STYLES
================================ */
.collection-card .card-image {
  position: relative;
  background: #f8f9fa;
  min-height: 200px;
}

.collection-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.collection-card .card-image img.error {
  display: none;
}

.collection-card .card-image .image-fallback {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #c7a253, #e5c890);
  color: white;
  font-size: 64px;
  font-weight: 800;
  text-transform: uppercase;
  font-family: var(--sans);
}

/* Debug styles - remove in production */
.collection-card .card-image img {
  border: 1px solid rgba(199, 162, 83, 0.2);
}
/* Rest of your existing footer styles remain exactly the same */
/* ... (keep all your existing footer CSS from line 100 onwards) ... */