:root {
  --gold: #d4af37;
  --gold-soft: #b9962f;
  --silver: #c9ccd3;
  --dark: #0a0a0a;
  --dark-soft: #111111;
}

/* THEME */
.ps-body {
  background: #0b0b10;
  font-family: 'Montserrat', sans-serif;
  color: #e6e6ea;
  margin: 0;
  padding: 0;
}

body {
  background:
    radial-gradient(circle at top, rgba(120, 90, 160, 0.18), transparent 60%),
    linear-gradient(180deg, #06070b, #0b0b10);
  margin: 0;
  padding: 0;
}

/* NAVIGATION */
.ps-nav {
  position: sticky;
  top: 0;
  background: linear-gradient(180deg, #111111, #0a0a0a);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(248, 224, 146, 0.5);
  padding: 10px 20px;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

.ps-nav-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}


.ps-logo {
  display: flex;
  align-items: center;
  font-size: 0;
  color: var(--gold);
  letter-spacing: 2px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(212,175,55,0.4);
}


/* LOGO IMAGE */
.ps-logo img {
  height: 80px;
  width: auto;

  /* Move logo left slightly */
  transform: translateX(-13px);

  transition: transform 0.3s ease, filter 0.3s ease;           
}


/* MOBILE CONTROL */
@media (max-width: 480px) {
  .ps-logo img {
    height: 44px;
  }
}

/* SEARCH */
.ps-search {
  display: flex;
  flex: 1;
  gap: 8px;
  flex-wrap: wrap;
}

/* Gold glowing placeholder text */
.ps-search input::placeholder {
  color: #e6cf8265;
 
  opacity: 1;
}

/* Inputs & Select */
.ps-search input,
.ps-search select {
  background: linear-gradient(145deg, #111111, #0a0a0a);
  border: 1px solid rgba(202, 183, 122, 0.35);
  color: #dcdcdc;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: all 0.25s ease;
}

/* Focus Effect */
.ps-search input:focus,
.ps-search select:focus {
  outline: none;
  border-color: #dbca92;

}

/* Button */
.ps-search button {
  background: linear-gradient(135deg, #c2af70, #796533);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #000;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  font-size: 14px;
  letter-spacing: 0.6px;
  transition: transform 0.2s ease,
              box-shadow 0.2s ease,
              filter 0.2s ease;
              
}
.ps-search button {
  display: none;
}
/*Category*/
.custom-dropdown {
    position: relative;
    width: 160px;
    font-size: 13px;
    z-index: 1001; /* Ensure it stays above product cards */
}

.selected-box {
    background: #0a0a0a;
    color: #c2af70;
    border: 1px solid rgba(202, 183, 122, 0.35);
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
}

/* Add a small arrow indicator */
.selected-box::after {
    content: '▼';
    position: absolute;
    right: 10px;
    font-size: 10px;
    opacity: 0.7;
}

.options-list.active + .selected-box, /* If list is before box in HTML */
.custom-dropdown:has(.options-list.active) .selected-box { /* Modern approach */
    border-color: #dbca92;
    color: #fff;
    outline: none;
}

.options-list {
    display: none;
    position: absolute;
    top: 105%;
    left: 0;
    width: 100%;
    background: #0a0a0a;
    border: 1px solid #c2af70;
    border-radius: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
    
    /* THE SCROLL MAGIC: Limits height to roughly 5 items */
    max-height: 180px; 
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

.options-list.active {
    display: block;
}

.options-list li {
    padding: 10px 12px;
    color: #c2af70bd;
    cursor: pointer;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.options-list li:last-child { border-bottom: none; }

.options-list li:hover {
    background: rgba(212, 175, 55, 0.15);
    color: #fff;
}

/* GOLD SCROLLBAR - Perfectly synced with your theme */
.options-list::-webkit-scrollbar { width: 6px; }
.options-list::-webkit-scrollbar-track { background: #0a0a0a; }
.options-list::-webkit-scrollbar-thumb {
    background: #c2af70;
    border-radius: 10px;
}

/* This class is added by JS to show the menu */
.options-list.active {
    display: block !important; /* Forces it to show */
    opacity: 1 !important;
    visibility: visible !important;
    max-height: 180px; /* Enables your gold scrollbar after 5 items */
    overflow-y: auto;
} 
/*category*/

/* Info Box */
.ps-contact-wrapper {
  display: flex;
  align-items: center;
  gap: 18px;
}

.ps-info-box {
  max-width: 420px;
  padding: 10px 16px;
  font-size: 0.75rem;
  line-height: 1.4;
  border-radius: 10px;

  background: linear-gradient(180deg, #1a1a22, #101015);
  color: #e9d998e7;

  border: 1px solid rgba(245, 215, 117, 0.55);

  /* 🔥 Deep border + premium frame */
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.75),                 /* outer depth */
    0 0 10px rgba(212,175,55,0.25),                 /* gold glow */
    inset 0 2px 4px rgba(255,255,255,0.06),        /* top inner highlight */
    inset 0 -3px 6px rgba(0,0,0,0.7);               /* bottom inner shadow */
}


/* CONTACT US BUTTON AS LINK */
.ps-contact-btn {
  display: inline-block;
  background: linear-gradient(135deg, #dbc686, #d3b66b);
  color: #111;
  border: none;
  padding: 2px 6px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none; /* remove underline for link */
  text-align: center;
  font-size: 0.8rem;
  font-family: 'Arial', sans-serif;
}

.ps-contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 12px rgba(212,175,55,0.6);
}


/* BANNER */
.ps-banner {
  margin: 14px auto;
  padding: 10px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, #14101f, #07070b);
  border: 1px solid rgba(253, 229, 148, 0.45);
  max-width: 380px;
  cursor: pointer;
  display: block;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ps-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.6), 0 0 14px rgba(212,175,55,0.35);
}

.ps-banner-content h2 {
  font-size: 20px;
  color: #e9d287;
  margin: 4px 0;
  text-align: center;
  letter-spacing: 0.5px;
  text-shadow: 0 0 8px rgba(212,175,55,0.35);
}

.ps-banner-content span {
  color: #efe7cf;
}

.ps-banner-content button {
  margin-top: 8px;
  background: #6a0dad;
  color: #f4f4f8;
  border: 1px solid rgba(252, 232, 168, 0.45);
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  transition: all 0.25s ease;
}

.ps-banner-content button:hover {
  background: #cab46c;
  color: #0c0b10;
  box-shadow: 0 0 8px rgba(212,175,55,0.4);
}

/* TEMPORARY HIDE — remove or comment this block when ready to show again */
.ps-banner {
  display: none !important;
}

/* PRODUCT GRID */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 18px;
  padding: 16px;
}

/* PRODUCT CARD */
.gallery-item {
  position: relative;
  border: 1px solid rgba(211, 191, 125, 0.658);
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, #0c0c0c, #050505);
  transition: transform 0.3s ease,
              box-shadow 0.3s ease,
              border 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}



/* Subtle metallic top highlight */
.gallery-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.06),
    transparent
  );
  pointer-events: none;
}

/* Hover Power Effect */
.gallery-item {
  transition: all 0.35s ease;
}

.gallery-item:hover {
  transform: translateY(-3px); /* lower movement */
  border: 1px solid rgba(212, 198, 149, 0.822); /* softer gold */

  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.5),
    0 0 10px rgba(212, 175, 55, 0.2); /* minimal gold glow */
}


/* IMAGE */
.product-card img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 14px 14px 0 0;
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: brightness(0.95) contrast(1.05);
}

/* Smooth premium zoom */
.product-card:hover img {
  transform: scale(1.08);
  filter: brightness(1.05) contrast(1.08);
}

/* PRODUCT INFO */
.product-info {
  padding: 8px 10px;          /* reduced padding */
  display: flex;
  flex-direction: column;
  gap: 4px;                   /* tighter spacing */
}

/* TITLE */
.product-info h3 {
  font-size: 13px;            /* slightly smaller */
  margin: 0;
  line-height: 1.25;
  color: #cec5a8;
  font-weight: 600;
  letter-spacing: 0.3px;

  display: -webkit-box;       /* limit to 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* PRICE */
.price {
  font-size: 12px;
  font-weight: 500;
}

/* RETAILER */
.retailer {
  font-size: 0.65rem;         /* smaller */
  color: #e6d6a2;
  margin: 2px 0;
}

/* DESCRIPTION */
.description {
  font-size: 0.6rem;          /* compact */
  color: #9a9a9a;
  line-height: 1.2;

  display: -webkit-box;       /* 2-line limit */
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* PRICE */
.price {
  font-weight: 500;
  color: #c9bf9d;
  font-size: 14px;
  letter-spacing: 0.6px;

}


/* SHOP BUTTON */
.shop-btn {
  background: linear-gradient(135deg, #c2af70, #b9962f);
  color: #000;
  border: 1px solid rgba(255,255,255,0.15);
  padding: 8px 12px;
  border-radius: 9px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-align: center;
  display: block;
  margin-top: auto;
  transition: transform 0.25s ease,
              box-shadow 0.25s ease,
              filter 0.25s ease;
}



/* ACTIVE CLICK FEEL */
.shop-btn:active {
  transform: translateY(0);
  box-shadow:
    0 4px 10px rgba(0,0,0,0.5);
}

/* LINKS */
a {
  text-decoration: none;
  color: inherit;
}

/* RESPONSIVE */
@media screen and (max-width: 480px) {
  .product-card img { height: 140px; }
  .product-info h3 { font-size: 12px; }
  .price { font-size: 11px; }
  .shop-btn { font-size: 10px; padding: 4px 6px; }
}

/* PRODUCT MODAL */
.product-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;    /* Keeps it vertically centered on all monitors */
  justify-content: center; /* Keeps it horizontally centered */
  z-index: 10000;
  padding: 15px;
}

.product-modal.hidden { display: none; }

.modal-content {
  position: relative;
  background: linear-gradient(180deg, #14151d 0%, #0b0c12 100%);
  
  width: 92%;
  max-width: 420px;            /* Slightly wider for better layout */
  max-height: 90vh;            /* Better vertical control */
  
  display: flex;
  flex-direction: column;
  
  border-radius: 22px;
  padding: 22px;
  
  border: 1px solid rgba(212, 175, 55, 0.35); /* softer gold */
  
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.03); /* subtle depth */
  
  overflow: hidden;
  animation: modalFadeIn 0.25s ease;
}

/* IMAGE SLIDER AREA */
.modal-image-section {
  position: relative;
  flex-shrink: 1; /* Allows image to get smaller so button stays visible */
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 0; /* Critical for flex-shrink to work */
}

#modalMainImage {
  width: 100%;
  max-height: 350px; /* Adjust this to fit your laptop screen height */
  object-fit: contain;
  border-radius: 8px;
}

/* THUMBNAILS */
.modal-thumbnails {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.thumb {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: 0.2s;
  background: #f4f4f4;
}

/* SCROLLABLE DESCRIPTION AREA */
.modal-text-area {
  flex-grow: 1;
  overflow-y: auto; /* Description scrolls HERE if it's too long */
  margin-bottom: 16px;
  padding-right: 5px;
}

/* Scrollbar styling for that gold premium look */
.modal-text-area::-webkit-scrollbar { width: 4px; }
.modal-text-area::-webkit-scrollbar-thumb { background: #d4af37; border-radius: 10px; }

#modalTitle { color: #f0dc9b86; font-size: 1.3rem; font-weight: 600; margin-bottom: 5px; }
#modalRetailer { color: #c9bf9d96; font-size: 0.85rem; margin-bottom: 8px; }
#modalDescription { color: #cfcfcf; font-size: 0.9rem; line-height: 1.4; }

/* FIXED FOOTER (LOCKED TO BOTTOM) */
.modal-footer {
  flex-shrink: 0;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  padding-top: 12px;
  text-align: center;
}

#modalCategory {
  font-size: 0.85rem;
  color: #E0E0E0; /* Muted gray to keep focus on price/brand */
  font-style: italic;
  margin: 0;
}

/* Brand - Small, elegant, and spaced out above the title */
#modalBrand {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #E0E0E0;
  margin-bottom: 4px;
  font-weight: 400;
}

/* Shipping - Subtle green to indicate a benefit */
#modalShipping {
  font-size: 0.85rem;
  color: #ffe79891; 
  margin-top: 8px;
  font-style: italic;
}

#modalPrice { color: #c9bf9d; font-size: 1.2rem; font-weight: 500; margin-bottom: 12px; }



.shop-btn:active { transform: scale(0.98); }

/* CLOSE BUTTON */
.close-modal {
  position: absolute;
  top: -2px;
  right: 8px;
  font-size: 28px;
  font-weight: 600;
  cursor: pointer;
  color: #d3c187;
  text-shadow: 0 0 6px rgba(212,175,55,0.35);
}

/* optional: keep hover color only, no motion */
.close-modal:hover {
  color: #fff;
}

/* SLIDER ARROWS */
.slider-arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  background: transparent !important;
  border: none;
  font-size: 20px;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  color: #ddc988;
}
.left-arrow { left: 5px; }
.right-arrow { right: 5px; }


/* MOBILE MODAL - RESPONSIVE */
@media screen and (max-width: 480px) {
  
  .modal-content {
    width: 95%; /* Slightly wider for better edge-to-edge look */
    padding: 20px 16px 16px 16px; /* Extra top padding for the close button */
    max-height: 95vh; 
    display: flex;
    flex-direction: column;
    overflow-y: auto; /* Ensures the whole modal can scroll if needed */
    -webkit-overflow-scrolling: touch; /* Smooth momentum scroll for iOS */
  }

  /* ✅ STACKING: Ensure image is top, text is bottom */
  .modal-image-section {
    padding: 0;
    margin-bottom: 15px;
    min-height: auto; 
    position: relative;
  }

  #modalMainImage {
    max-height: 200px; /* Balanced height for most phones */
    width: auto;
    margin: 0 auto;
    display: block;
    object-fit: contain;
  }

  /* SLIDER ARROWS - Centered on the image */
  .slider-arrow {
    padding: 10px;
    font-size: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.3); /* Subtle background for visibility */
    border-radius: 50%;
  }

  /* ✅ TEXT AREA: Balanced Scrolling */
  .modal-text-area {
    flex-grow: 1; /* Pushes the button to the bottom */
    margin-bottom: 15px;
    overflow-y: visible; /* Let the main modal handle the scroll */
  }

  #modalTitle {
    font-size: 1.2rem;
    line-height: 1.2;
    margin-bottom: 2px;
  }

  #modalRetailer {
    font-size: 0.85rem;
    margin-bottom: 8px;
    opacity: 0.8;
  }

  #modalDescription {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #ccc;
  }

  #modalPrice {
    font-size: 1.1rem;
    font-weight: bold;
    margin: 10px 0;
  }

  .close-modal {
    top: 2px;
    right: 6px;
    font-size: 22px;
    z-index: 100;
  }

  /* Thumbnails: Center them */
  #modalThumbnails {
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
  }
}

/*Policy*/
.fixed-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9); /* Dark background with slight transparency */
    backdrop-filter: blur(8px);    /* Premium glass effect */
    border-top: 1px solid #1a1a1a;
    padding: 1px 0;
    text-align: center;
    z-index: 9999;                 /* Ensures it stays on top of products */
}

.footer-link {
  color: #666;
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;

  transition: color 0.3s ease, text-shadow 0.3s ease;
  cursor: default;
}

/* HOVER EFFECT (like h1/h2 but subtle) */
.footer-link:hover {
  color: #f8e19d;
  text-shadow: 0 0 6px rgba(243, 216, 125, 0.4);
}

/* DOT */
.footer-dot {
  color: #222;
  margin: 0 15px;
}

/* COPYRIGHT */
.footer-copy {
  color: #f0dda083;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}