* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Playfair Display', 'Georgia', sans-serif; }
body { background-color: #ffffff; color: #111111; line-height: 1.6; padding-top: 35px; }

/* Announcement Ticker Bar */
.promo-banner {
    background-color: #d4af37; color: #111111;
    padding: 6px 0; font-size: 0.8rem; font-weight: bold;
    text-transform: uppercase; letter-spacing: 1px;
    position: fixed; top: 0; width: 100%; z-index: 1001;
    overflow: hidden; white-space: nowrap;
}
.promo-track {
    display: inline-block;
    padding-left: 100%;
    animation: promoScroll 22s linear infinite;
}
@keyframes promoScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: #111111;
  box-shadow: 0 0 6px rgba(0,0,0,0.5);
  z-index: 2000;
  transition: width 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}

.page-loader.active {
  opacity: 1;
}

.brand-loader {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.brand-loader.active {
  opacity: 1;
  pointer-events: all;
}
.brand-loader img {
  width: 70px;
  height: 70px;
  padding: 16px;
  background: #111;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  animation: brandPulse 1.4s ease-in-out infinite;
}

.share-modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  display: none; align-items: flex-end; justify-content: center;
  z-index: 4000;
}
.share-modal-overlay.active { display: flex; }

.share-modal {
  background: #fff; border-radius: 16px 16px 0 0;
  width: 100%; max-width: 420px; padding: 20px;
  font-family: Arial, sans-serif;
  animation: slideUp 0.25s ease;
}
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }

.share-modal h3 { font-size: 1rem; margin-bottom: 16px; text-align: center; color: #111; }

.share-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.share-option { display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; background: none; border: none; }
.share-option .share-icon {
  width: 50px; height: 50px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.3rem;
}
.share-option span { font-size: 0.7rem; color: #333; }

.share-link-row {
  display: flex; align-items: center; gap: 8px;
  background: #f5f5f0; border-radius: 10px; padding: 10px 12px;
  margin-bottom: 14px;
}
.share-link-row input {
  flex: 1; border: none; background: none; font-size: 0.8rem; color: #555; outline: none;
}
.share-link-row button {
  background: #111; color: #d4af37; border: none; padding: 6px 14px;
  border-radius: 16px; font-size: 0.75rem; font-weight: bold; cursor: pointer; white-space: nowrap;
}

.share-cancel-btn {
  width: 100%; padding: 12px; background: none; border: 1px solid #ccc;
  border-radius: 10px; font-size: 0.85rem; color: #555; cursor: pointer;
}

@keyframes brandPulse {
  0%, 100% { transform: scale(0.85); opacity: 0.6; }
  50% { transform: scale(1.1); opacity: 1; }
}

header {
    background-color: #111111; border-bottom: 2px solid #d4af37;
    padding: 1rem 5%; display: flex; justify-content: space-between;
    align-items: center; position: sticky; top: 31px; z-index: 1000;
    transition: transform 0.3s ease;
}
header.nav-hidden { transform: translateY(-150%); }
.logo-container { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.logo-img { width: 38px; height: 38px; object-fit: contain; }
.logo-text { font-size: 1.5rem; font-weight: 700; letter-spacing: 2px; color: #ffffff; text-transform: uppercase; }
.logo-text span { color: #d4af37; }

.right-nav { display: flex; align-items: center; gap: 12px; }
.home-btn {
    background: none; border: 1px solid #d4af37; color: #d4af37;
    padding: 6px 14px; font-size: 1.1rem; font-weight: bold;
    border-radius: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.currency-toggle {
    background-color: #222; border: 1px solid #d4af37; color: #d4af37;
    padding: 6px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: bold; cursor: pointer;
}

.dropdown { position: relative; display: inline-block; }

/* Perfectly stacks periods vertically for your three-dot mobile menu */
.three-dots-btn {
    background: none; border: none; color: #ffffff; font-size: 1.6rem;
    cursor: pointer; padding: 0 5px; font-weight: bold; writing-mode: vertical-rl; letter-spacing: -2px;
}
.dropdown-content {
    display: none; position: absolute; right: 0; background-color: #111111;
    min-width: 180px; box-shadow: 0px 8px 16px rgba(0,0,0,0.3);
    border: 1px solid #d4af37; border-radius: 8px; z-index: 1001; overflow: hidden;
}
.dropdown-content button {
    color: #ffffff; padding: 12px 16px; display: flex; justify-content: space-between;
    align-items: center; background: none; border: none; width: 100%; font-size: 0.85rem; text-transform: uppercase; cursor: pointer;
}
.dropdown-content button:hover { background-color: #d4af37; color: #111111; }
.gold-dot { color: #d4af37; font-size: 1.1rem; }
.show { display: block; }

.page-container { max-width: 1200px; margin: 0 auto 40px auto; padding: 0 15px; }
.view-section { display: none; }
.view-section.active-view { display: block; }

.homepage-hero {
    text-align: center; padding: 80px 15px; color: #fff; margin-top: 20px;
    border-radius: 12px; border: 1px solid #d4af37; background-size: cover; background-position: center;
}
.homepage-hero h1 { font-size: 2.2rem; text-transform: uppercase; text-shadow: 2px 2px 8px #000; }
.homepage-hero h1 span { color: #d4af37; }
.homepage-hero .slogan { font-size: 1.1rem; color: #d4af37; margin-bottom: 20px; font-style: italic; text-shadow: 2px 2px 6px #000; }
.homepage-hero p { font-size: 0.95rem; max-width: 600px; margin: 0 auto 25px auto; text-shadow: 2px 2px 6px #000; font-family: Arial, sans-serif; }

.explore-prompt-btn {
    background-color: #111111; color: #d4af37; border: 2px solid #d4af37;
    padding: 12px 35px; font-size: 0.95rem; font-weight: bold; text-transform: uppercase; border-radius: 25px; cursor: pointer;
}

.deals-section { margin-top: 40px; }
.deals-section h2 { text-align: center; font-size: 1.6rem; text-transform: uppercase; margin-bottom: 20px; }

.catalog-hero { text-align: center; padding: 25px 10px 10px 10px; }
.catalog-hero h2 { font-size: 1.8rem; text-transform: uppercase; }
.catalog-hero p { color: #666; font-style: italic; margin-bottom: 15px; font-size: 0.9rem; }

.search-container { max-width: 450px; margin: 0 auto 20px auto; position: relative; }
.search-input { width: 100%; padding: 10px 40px 10px 15px; border: 2px solid #111; border-radius: 20px; font-size: 0.9rem; outline: none; font-family: Arial, sans-serif; }
.clear-search-btn { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; color: #aaa; cursor: pointer; font-size: 1rem; line-height: 1; padding: 2px; display: flex; align-items: center; justify-content: center; }

.filter-wrapper { background-color: #fcfbf7; border: 1px dashed #d4af37; padding: 12px; border-radius: 8px; margin-bottom: 25px; }
.filter-row { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.filter-row:last-child { margin-bottom: 0; }
.filter-label { font-size: 0.7rem; font-weight: bold; text-transform: uppercase; color: #666; font-family: Arial, sans-serif; min-width: 50px; }
.tag-btn { background-color: #fff; border: 1px solid #ccc; padding: 4px 12px; font-size: 0.75rem; border-radius: 12px; cursor: pointer; text-transform: capitalize; }
.tag-btn.active-tag { border-color: #d4af37; background-color: #111; color: #fff; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.product-card {
  background: #fff; border: 1px solid #e5e5e5; border-radius: 8px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.5s ease, translate 0.5s ease;
  opacity: 0;
  translate: 0 20px;
}

.product-card.fade-in {
  opacity: 1;
  translate: 0 0;
}

@media (hover: hover) {
  .product-card:hover { transform: translateY(-6px); box-shadow: 0 12px 24px rgba(0,0,0,0.12); }
}

.product-img { width: 100%; height: 300px; object-fit: cover; border-bottom: 1px solid #d4af37; background-color: #111; opacity: 0; transition: opacity 0.4s ease; }
.product-img.img-loaded { opacity: 1; }

.card-img-shimmer {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 300px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}
.card-img-shimmer.shimmer-done { display: none; }

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.share-card-btn { position: absolute; top: 12px; right: 12px; background-color: rgba(17,17,17,0.8); border: 1px solid #d4af37; color: #d4af37; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 0.8rem; z-index: 10; }

.wishlist-btn { position: absolute; top: 52px; right: 12px; background-color: rgba(17,17,17,0.8); border: 1px solid #d4af37; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 0.85rem; z-index: 10; }

.wishlist-badge { background: #d4af37; color: #111; font-size: 0.65rem; font-weight: bold; border-radius: 10px; padding: 1px 6px; margin-left: 4px; display: none; }

.detail-wishlist-btn { background: none; border: 1px solid #111; color: #111; padding: 8px 16px; border-radius: 20px; cursor: pointer; font-size: 0.85rem; margin-top: 10px; font-family: Arial, sans-serif; }

.product-info { padding: 15px; text-align: center; flex-grow: 1; }
.product-title {
  font-size: 1.1rem; font-weight: 600; margin-bottom: 4px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.product-desc { font-size: 0.8rem; color: #555; margin-bottom: 8px; font-family: Arial, sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }.product-desc { font-size: 0.8rem; color: #555; margin-bottom: 8px; font-family: Arial, sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-card { cursor: pointer; }
.product-tags-display { font-size: 0.75rem; color: #d4af37; font-weight: bold; margin-bottom: 8px; font-family: Arial, sans-serif; cursor: pointer; }
.product-price { font-weight: bold; color: #111; font-size: 1rem; margin-bottom: 10px; }

.order-whatsapp-btn { background-color: #fff; color: #111; border: 2px solid #d4af37; padding: 8px; font-size: 0.8rem; font-weight: bold; text-transform: uppercase; border-radius: 20px; width: 85%; margin: 0 auto 15px auto; display: block; text-decoration: none; text-align: center; }

.about-section { background: #fff; border: 1px solid #d4af37; border-radius: 12px; padding: 25px; margin-top: 25px; }
.about-section h2 { font-size: 1.8rem; text-transform: uppercase; margin-bottom: 15px; border-bottom: 2px solid #111; padding-bottom: 8px; }
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 25px; font-family: Arial, sans-serif; }
.about-block h3 { font-family: 'Playfair Display'; font-size: 1.2rem; margin-bottom: 10px; color: #d4af37; text-transform: uppercase; }
.about-block p { color: #444; margin-bottom: 8px; font-size: 0.85rem; }

footer { background-color: #111; color: #999; text-align: center; padding: 20px; font-size: 0.75rem; border-top: 1px solid #d4af37; margin-top: 40px; }

/* ---- Bottom Nav Bar ---- */
.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #111;
  border-top: 1px solid #d4af37;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 10px 0 14px;
  z-index: 1500;
  transition: transform 0.3s ease;
}
.bottom-nav.nav-hidden { transform: translateY(100%); }

.nav-item {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  color: #999; cursor: pointer; font-family: Arial, sans-serif;
}
.nav-item.active { color: #d4af37; }
.nav-item .nav-icon { display: flex; align-items: center; justify-content: center; color: #999; }
.nav-item.active .nav-icon { color: #d4af37; }
.nav-item .nav-label { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.5px; }

body { padding-bottom: 70px; }

/* ---- Category Tabs (top of catalog page) ---- */
.cat-tabs {
  display: flex;
  justify-content: space-around;
  padding: 10px 0 16px;
  border-bottom: 1px solid #eee;
  margin-bottom: 16px;
}
.cat-tab {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  cursor: pointer; color: #999; font-family: Arial, sans-serif;
}
.cat-tab .tab-icon {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #f5f5f0; border: 1px solid transparent;
  color: #999;
}
.cat-tab.active .tab-icon { color: #d4af37; }
.cat-tab.active { color: #111; }
.cat-tab.active .tab-icon { background: #111; border-color: #d4af37; }
.cat-tab .tab-label { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.5px; font-weight: bold; }

/* Premium Mobile Fixes (Resolves text overlap and column compression) */
@media (max-width: 600px) {
    header { padding: 0.7rem 3%; }
    .logo-container { gap: 6px; }
    .logo-text { font-size: 1rem; letter-spacing: 0.5px; white-space: nowrap; }
    .logo-img { width: 26px; height: 26px; }
    .right-nav { gap: 5px; }
    .home-btn { padding: 4px 8px; font-size: 0.9rem; }
    .currency-toggle { padding: 4px 8px; font-size: 0.6rem; white-space: nowrap; }
    .three-dots-btn { font-size: 1.3rem; padding: 0 2px; }
    .product-grid { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
    .product-img { height: 180px; }
    .product-title { font-size: 0.95rem; }
    .product-desc { font-size: 0.75rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .product-price { font-size: 0.85rem; padding: 2px 8px; }
    .order-whatsapp-btn { font-size: 0.68rem; padding: 8px 4px; width: 92%; white-space: nowrap; letter-spacing: 0.5px; }
}

.out-of-stock-badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(0,0,0,0.75); color: #ccc;
  font-size: 0.7rem; font-weight: bold;
  text-transform: uppercase; letter-spacing: 1px;
  padding: 4px 10px; border-radius: 12px;
  font-family: Arial, sans-serif;
}
.sold-out-btn {
  background-color: #ccc !important; color: #777 !important;
  border-color: #ccc !important; cursor: not-allowed !important;
  pointer-events: none;
}
.back-btn {
  background: none; border: 1px solid #111; color: #111;
  padding: 8px 18px; font-size: 0.8rem; font-weight: bold;
  text-transform: uppercase; border-radius: 20px; cursor: pointer;
  margin: 20px 0; font-family: Arial, sans-serif;
}
.detail-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 30px;
  background: #fff; border: 1px solid #d4af37; border-radius: 12px;
  padding: 25px; margin-bottom: 40px;
}
.carousel-container { position: relative; }
.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  border-radius: 8px;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track img {
  flex: 0 0 100%;
  scroll-snap-align: start;
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 8px;
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: background 0.2s;
}
.carousel-dot.active-dot { background: #d4af37; }
.detail-info h2 { font-size: 1.6rem; margin-bottom: 10px; }
.detail-price {
  font-weight: bold; color: #d4af37; font-size: 1.1rem; background-color: #111;
  display: inline-block; padding: 4px 14px; border-radius: 12px; margin-bottom: 14px;
}
.detail-desc { font-size: 0.9rem; color: #444; margin-bottom: 14px; font-family: Arial, sans-serif; line-height: 1.6; }
.related-section h2 { text-align: center; font-size: 1.4rem; text-transform: uppercase; margin-bottom: 20px; }

@media (max-width: 600px) {
  .detail-grid { grid-template-columns: 1fr; padding: 15px; }
}