* {
    margin: 0;
    padding: 0;
}

  :root {
    --ink: #1a1a18;
    --ink-soft: #4a4a46;
    --white: #ffffff;
    --line: #e7e3da;
    --gold: #9a7b3f;
    --gold-deep: #7a5f2e;
  }
 
  * { margin: 0; padding: 0; box-sizing: border-box; }
 
  body {
    font-family: 'Inter', sans-serif;
    background: var(--white);
  }
 
  .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 16px 48px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 10;
  }
 
  /* Logo — universal container, fits any logo shape (square, wide, tall) */
  .logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    height: 44px;
    max-width: 200px;
    cursor: pointer;
  }
 
  .logo img {
    height: 100%;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    display: block;
  }
 
  /* Search toggle button (lives in header) */
  .search-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.2s ease, background 0.2s ease;
  }
 
  .search-toggle:hover,
  .search-toggle.active {
    border-color: var(--gold);
    background: #f6f5f1;
  }
 
  .search-toggle svg {
    width: 19px;
    height: 19px;
    color: var(--ink);
  }
 
  .header-spacer {
    flex: 1;
  }
 
  /* Search panel — collapsed below header, expands on toggle */
  .search-panel {
    max-height: 0;
    overflow: hidden;
    background: var(--white);
    border-bottom: 1px solid transparent;
    transition: max-height 0.28s ease, border-color 0.28s ease;
  }
 
  .search-panel.active {
    max-height: 88px;
    border-bottom: 1px solid var(--line);
  }
 
  .search-panel-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 640px;
    margin: 0 auto;
    padding: 18px 48px;
  }
 
  .search-bar {
    width: 100%;
    display: flex;
    align-items: center;
    background: #f6f5f1;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0 8px 0 18px;
    height: 44px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }
 
  .search-bar:focus-within {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(154, 123, 63, 0.12);
  }
 
  .search-bar input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--ink);
    padding: 0 8px;
  }
 
  .search-bar input::placeholder {
    color: #a8a39a;
    font-weight: 400;
  }
 
  .search-bar-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--ink-soft);
  }
 
  .search-submit {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--ink);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s ease;
  }
 
  .search-submit:hover {
    background: var(--gold-deep);
  }
 
  .search-submit svg {
    width: 14px;
    height: 14px;
    color: #fff;
  }
 
  .search-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--ink-soft);
    transition: background 0.2s ease, color 0.2s ease;
  }
 
  .search-close:hover {
    background: #f6f5f1;
    color: var(--ink);
  }
 
  .search-close svg {
    width: 18px;
    height: 18px;
  }


  /* Allow the dropdown to escape the panel's fixed height */
.search-panel.active {
  overflow: visible;
}

.search-bar-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
}

/* ===== Results dropdown ===== */
.search-results {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 18px 40px -8px rgba(20, 18, 14, 0.16), 0 4px 12px rgba(20, 18, 14, 0.06);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition: max-height 0.26s ease, opacity 0.18s ease, transform 0.22s ease;
  z-index: 40;
  pointer-events: none;
}

.search-results.open {
  max-height: 380px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  overflow-y: auto;
}

.search-results-list {
  padding: 8px;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 10px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.15s ease;
  text-decoration: none;
}

.search-result-item:hover,
.search-result-item.active {
  background: #f6f5f1;
}

.search-result-thumb {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f0eee8;
  position: relative;
}

.search-result-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.search-result-thumb img.loaded {
  opacity: 1;
}

.search-result-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.search-result-name {
  font-size: 13.5px;
  color: var(--ink);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result-name mark {
  background: rgba(154, 123, 63, 0.18);
  color: var(--gold-deep);
  border-radius: 3px;
  padding: 0 1px;
}

.search-result-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ink-soft);
}

.search-result-price {
  font-weight: 600;
  color: var(--ink);
}

.search-result-category {
  position: relative;
  padding-left: 9px;
}

.search-result-category::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--ink-soft);
}

.search-empty-state,
.search-loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 28px 16px;
  color: var(--ink-soft);
  font-size: 13px;
  text-align: center;
}

.search-empty-state svg {
  width: 26px;
  height: 26px;
  opacity: 0.5;
  margin-bottom: 4px;
}

.search-loading-state {
  flex-direction: row;
  gap: 8px;
}

.search-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid var(--line);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: search-spin 0.6s linear infinite;
}

@keyframes search-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 560px) {
  .search-panel-inner { padding: 14px 16px; }
  .search-results { border-radius: 12px; }
}
















 
  /* Cart */
  .cart {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    cursor: pointer;
    padding: 8px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    transition: border-color 0.2s ease, background 0.2s ease;
  }
 
  .cart:hover {
    border-color: var(--gold);
    background: #fff;
  }
 
  .cart-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
  }
 
  .cart-icon-wrap svg {
    width: 20px;
    height: 20px;
    color: var(--ink);
  }
 
  .cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 16px;
    height: 16px;
    background: var(--gold-deep);
    color: #fff;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
  }
 
  .cart-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
  }
 
  @media (max-width: 720px) {
    .header { padding: 14px 20px; gap: 16px; }
    .cart-label { display: none; }
    .search-panel-inner { padding: 14px 20px; }
  }



  /* HEADER ===============================ENDS=================================== */






    /* ============ Layout shell ============ */
  .bannerandslideshow {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 32px 48px;
    max-width: 1400px;
    margin: 0 auto;
  }
 
  /* ============ Slideshow ============ */
  .slideshow {
    position: relative;
    aspect-ratio: 16 / 8;
    border-radius: 14px;
    overflow: hidden;
    background: var(--fill);
  }
 
  .slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.7s ease;
  }
 
  .slide.active {
    opacity: 1;
  }
 
  .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
 
  .slide-caption {
    position: absolute;
    left: 32px;
    bottom: 32px;
    color: #fff;
    font-weight: 500;
    font-size: 22px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
  }
 
  .slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.85);
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
    z-index: 2;
  }
 
  .slide-arrow:hover {
    background: #fff;
  }
 
  .slide-arrow.prev { left: 16px; }
  .slide-arrow.next { right: 16px; }
 
  .slide-arrow svg {
    width: 18px;
    height: 18px;
  }
 
  .slide-dots {
    position: absolute;
    bottom: 16px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 2;
  }
 
  .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
  }
 
  .dot.active {
    background: #fff;
    transform: scale(1.3);
  }
 
  /* ============ Two images below ============ */
  .twoimgBelo {
    display: flex;
    gap: 16px;
  }
 
  .img1, .img2 {
    flex: 1;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    overflow: hidden;
    background: var(--fill);
    position: relative;
  }
 
  .img1 img, .img2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
  }
 
  .img1:hover img, .img2:hover img {
    transform: scale(1.04);
  }
 
  .img-label {
    position: absolute;
    left: 20px;
    bottom: 20px;
    color: #fff;
    font-weight: 500;
    font-size: 16px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
  }
 
  /* ============ Desktop: side panel layout ============ */
  @media (min-width: 900px) {
    .bannerandslideshow {
      grid-template-columns: 2fr 1fr;
      grid-template-rows: 1fr;
    }
 
    .slideshow {
      aspect-ratio: auto;
      height: 100%;
    }
 
    .twoimgBelo {
      flex-direction: column;
      height: 100%;
    }
 
    .img1, .img2 {
      aspect-ratio: auto;
      flex: 1;
    }
  }
 
  @media (max-width: 599px) {
    .bannerandslideshow { padding: 20px; gap: 12px; }
    .twoimgBelo { gap: 12px; }
    .slide-caption { font-size: 17px; left: 18px; bottom: 18px; }
    .img-label { font-size: 14px; left: 14px; bottom: 14px; }
  }



  /* END====================================SLIDESHOW============================== */




  .featuredProducts {
    font-size: 22px;
    font-weight: 600;
    font-family: monospace, sans-serif;
    color: var(--gold-deep);
    margin: 32px 48px 16px 48px;
    text-align: center;
    text-transform: uppercase;
  }
/* END========================FEATURING PRODUCTS======================================== */












    .card-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 24px;
    padding: 32px 28px;
    max-width: 1400px;
    margin: 0 auto;
    font-family: monospace, sans-serif;
  }

  @media (max-width: 768px) {
  .card-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
 
  /* ============ Product card ============ */
  .product-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  }
 
  .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgba(26, 26, 24, 0.08);
    border-color: var(--line);
    cursor: pointer;
  }
 
  /* ============ Square image area ============ */
  .product-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: var(--fill);
    overflow: hidden;
  }
 
  .product-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transform: scale(1.03);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
 
  .product-image-wrap.loaded img {
    opacity: 1;
    transform: scale(1);
  }
 
  .product-card:hover .product-image-wrap.loaded img {
    transform: scale(1.06);
  }
 
  /* Shimmer skeleton, shown while image loads */
  .skeleton {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, #ece8e0 20%, #f8f6f1 38%, #ece8e0 56%);
    background-size: 250% 100%;
    animation: shimmer 1.6s ease-in-out infinite;
    opacity: 1;
    transition: opacity 0.35s ease;
  }
 
  .product-image-wrap.loaded .skeleton {
    opacity: 0;
    pointer-events: none;
  }
 
  @keyframes shimmer {
    0% { background-position: 40% 0; }
    100% { background-position: -150% 0; }
  }
 
 
  /* ============ Card body ============ */
  .product-info {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
  }
 
  .product-category {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-soft);
  }
 
  .product-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.3;
  }
 
  .product-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--gold-deep);
    margin-top: 2px;
    margin-bottom: 10px;
  }
 
  .add-to-cart {
    margin-top: auto;
    width: 100%;
    padding: 10px 0;
    border: none;
    border-radius: 3px;
    background: var(--ink);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    transition: background 0.2s ease, transform 0.15s ease;
    text-transform: uppercase;
  }
 
  .add-to-cart:hover {
    background: var(--gold-deep);
  }
 
  .add-to-cart:active {
    transform: scale(0.97);
  }
 
  .add-to-cart svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
  }
 
  .add-to-cart.added {
    background: #3f6b4d;
  }
 
  @media (max-width: 480px) {
    .card-container { padding: 24px 10px; gap: 14px; }
  }

  .product-pricing {
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-price {
  font-weight: 600;
}

.product-strike-price {
  color: #999;
  text-decoration: line-through;
  font-size: 0.9rem;
}

/* END=======================CARDS SHOW========================================= */










  /* ============ Cart drawer ============ */
  .cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(20, 18, 14, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 99;
  }
 
  .cart-overlay.active { opacity: 1; pointer-events: auto; }
 
  .cartproductsliderholder {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    height: 100dvh;
    width: 420px;
    max-width: 92vw;
    background: var(--white);
    box-shadow: -16px 0 40px rgba(26, 26, 24, 0.12);
    transform: translateX(100%);
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 100;
    display: flex;
    flex-direction: column;
  }
 
  .cartproductsliderholder.open { transform: translateX(0); }
 
  .cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px;
    border-bottom: 1px solid var(--line);
    flex-shrink: 0;
  }
 
  .cart-drawer-title { font-size: 17px; font-weight: 600; color: var(--ink); }
  .cart-drawer-title span { color: var(--ink-soft); font-weight: 400; font-size: 14px; }
 
  .cart-drawer-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: var(--ink-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
  }
 
  .cart-drawer-close:hover { background: var(--fill); color: var(--ink); }
  .cart-drawer-close svg { width: 18px; height: 18px; }
 
  .cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 18px 22px;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
 
  .cart-empty {
    margin: auto;
    text-align: center;
    color: var(--ink-soft);
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
 
  .cart-empty svg { width: 38px; height: 38px; color: var(--line); }
 
  .cart-item {
    display: flex;
    gap: 14px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
  }
 
  .cart-item:last-child { border-bottom: none; padding-bottom: 0; }
 
  .cart-thumb-wrap {
    position: relative;
    width: 68px;
    height: 68px;
    flex-shrink: 0;
    border-radius: 2px;
    overflow: hidden;
    background: var(--fill);
  }
 
  .cart-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease;
  }
 
  .cart-thumb-wrap.loaded img { opacity: 1; }
  .cart-thumb-wrap .skeleton { animation-duration: 1.3s; }
  .cart-thumb-wrap.loaded .skeleton { opacity: 0; }
 
  .cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
  }
 
  .cart-item-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
  }
 
  .cart-item-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.3;
  }
 
  .cart-item-remove {
    border: none;
    background: transparent;
    color: var(--ink-soft);
    cursor: pointer;
    flex-shrink: 0;
    padding: 2px;
    display: flex;
    transition: color 0.2s ease;
  }
 
  .cart-item-remove:hover { color: #b3433f; }
  .cart-item-remove svg { width: 15px; height: 15px; }
 
  .cart-item-price { font-size: 13px; color: var(--ink-soft); }
 
  .cart-item-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
  }
 
  .qty-selector {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    overflow: hidden;
  }
 
  .qty-btn {
    width: 26px;
    height: 26px;
    border: none;
    background: transparent;
    color: var(--ink);
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
  }
 
  .qty-btn:hover { background: var(--fill); }
 
  .qty-value {
    min-width: 26px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
  }
 
  .cart-item-line-total {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
  }
 
  .cart-drawer-footer {
    border-top: 1px solid var(--line);
    padding: 18px 22px 22px;
    flex-shrink: 0;
  }
 
  .cart-subtotal-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 14px;
  }
 
  .cart-subtotal-label { font-size: 13px; color: var(--ink-soft); }
  .cart-subtotal-value { font-size: 18px; font-weight: 700; color: var(--ink); }
 
  .checkout-btn {
    width: 100%;
    padding: 14px 0;
    border: none;
    border-radius: 3px;
    background: var(--ink);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
  }
 
  .checkout-btn:hover { background: var(--gold-deep); }
  .checkout-btn:active { transform: scale(0.98); }
  .checkout-btn:disabled { background: var(--line); color: var(--ink-soft); cursor: not-allowed; }
 
  .cart-note {
    text-align: center;
    font-size: 11px;
    color: var(--ink-soft);
    margin-top: 10px;
  }
 
  @media (max-width: 480px) {
    .header { padding: 14px 20px; }
    .card-container { padding: 20px; gap: 14px; }
    .cart-drawer-header, .cart-items, .cart-drawer-footer { padding-left: 18px; padding-right: 18px; }
  }
