/* h:\Angell\css\style.css */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@700&family=Questrial&display=swap');

/* ---- Suppress Google Translate injected chrome ---- */
.goog-te-banner-frame,
.goog-te-gadget,
.goog-te-menu-frame,
#goog-gt-tt,
.goog-tooltip,
.goog-tooltip:hover {
  display: none !important;
}
.skiptranslate {
  display: none !important;
  visibility: hidden !important;
}
body {
  top: 0px !important;
}
/* --------------------------------------------------- */

:root {
  --bg-color: #000000;
  --text-color: #ffffff;
  --text-muted: #999999;
  --accent-color: #ffcc00;
  /* Goldish yellow */
  --border-radius: 25px;
  --transition: all 0.3s ease;
  --card-border: 1px solid rgba(255, 255, 255, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Questrial', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6,
.page-title,
.section-title {
  font-family: 'Archivo', sans-serif;
}

a {
  text-decoration: none;
  color: var(--text-color);
  transition: var(--transition);
}

a:hover {
  opacity: 0.7;
}

/* =========================================
   HEADER & NAVIGATION
========================================= */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 40px 10px;
  display: flex;
  flex-direction: column;
  z-index: 1000;
  background: transparent;
  transition: transform 0.4s cubic-bezier(0, 0, 0.3, 1), background-color 0.4s ease;
}

.site-header.scrolled {
  background-color: var(--bg-color);
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  padding: 0;
  margin: 0 auto;
}

.header-left,
.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  /* Helps center the logo */
}

.header-center {
  flex: 1;
  display: flex;
  justify-content: center;
}

.header-right {
  justify-content: flex-end;
}

.language-selector {
  position: relative;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  margin-right: 15px;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--text-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  padding: 4px 0;
  white-space: nowrap;
}

.lang-btn svg {
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.lang-btn[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--bg-color, #0a0a0a);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 6px 0;
  min-width: 130px;
  z-index: 2000;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
  animation: dropFadeIn 0.18s ease;
}

@keyframes dropFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.lang-dropdown.open {
  display: block;
}

.lang-option {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 10px 16px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  cursor: pointer;
  text-align: left;
  gap: 10px;
  transition: color 0.2s;
}

.lang-option:hover {
  color: #fff;
}

.lang-option.active {
  color: #fff;
  font-weight: 600;
}

.lang-option.active::before {
  content: "✓";
  font-size: 0.8rem;
  margin-right: -2px;
}

.hamburger-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: none;
  /* Hidden on desktop */
  flex-direction: column;
  gap: 6px;
  padding: 10px;
}

.desktop-search {
  display: block;
}

.hamburger-btn span {
  display: block;
  width: 30px;
  height: 2px;
  background-color: var(--text-color);
  transition: var(--transition);
}

.hamburger-btn:hover span {
  background-color: var(--accent-color);
}

.logo img {
  width: 100px;
  height: auto;
  display: block;
}

.icon-btn {
  background: none;
  border: none;
  color: var(--text-color);
  cursor: pointer;
  padding: 5px;
}

.cart-btn {
  position: relative;
}

.cart-badge {
  position: absolute;
  top: -2px;
  right: -5px;
  background-color: var(--accent-color, #E8A155); /* Fallback to existing gold/orange accent if var fails */
  color: #000;
  font-size: 0.65rem;
  font-weight: 600;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none; /* Let clicks pass through to the button */
}

.icon-btn svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.2;
  fill: none;
  transition: var(--transition);
}

.icon-btn:hover {
  color: var(--accent-color);
}

.header-bottom-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  row-gap: 10px;
  column-gap: 1.5vw;
  margin-top: 25px;
  width: 100%;
  padding: 0 40px;
}

.header-bottom-nav a {
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  padding-bottom: 2px;
  white-space: nowrap;
}

.header-bottom-nav a.active {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.header-bottom-nav a:hover {
  color: var(--accent-color);
  opacity: 1;
}

/* =========================================
   SIDE DRAWER (MENU)
========================================= */
.side-drawer {
  position: fixed;
  top: 0;
  left: -100%;
  width: 350px;
  max-width: 100vw;
  height: 100vh;
  background-color: #111111;
  z-index: 999;
  transition: left 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  display: flex;
  flex-direction: column;
  padding: 80px 40px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.side-drawer.active {
  left: 0;
}

.close-drawer-btn {
  position: absolute;
  top: 30px;
  right: 30px;
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 30px;
  cursor: pointer;
  transition: var(--transition);
}

.close-drawer-btn:hover {
  color: var(--accent-color);
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
  overflow-y: auto;
}

.drawer-nav a {
  font-size: 1.5rem;
  font-weight: 500;
  text-transform: capitalize;
}

.drawer-nav a:hover {
  transform: translateX(10px);
  color: var(--accent-color);
  opacity: 1;
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 999;
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}



/* =========================================
   HERO SECTION
========================================= */
.hero {
  height: 100vh;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  z-index: 1;
  opacity: 0.8;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.8) 100%);
  z-index: 2;
}

/* =========================================
   PRODUCTS SECTION
========================================= */
.products-section {
  padding: 80px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 40px;
}

.products-section .product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

@media screen and (max-width: 990px) {
  .products-section .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 500px) {
  .products-section .product-grid {
    grid-template-columns: 1fr;
  }
}

.product-card {
  border: var(--card-border);
  border-radius: var(--border-radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.02);
}

.product-card:hover {
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.product-image-wrapper {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: calc(var(--border-radius) - 10px);
  overflow: hidden;
  margin-bottom: 20px;
  background-color: #111;
  /* fallback */
}

.product-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.product-card:hover .product-image-wrapper img {
  transform: scale(1.05);
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.product-title {
  font-size: 1.25rem;
  font-weight: 600;
}

.product-price {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.btn-pill {
  display: inline-block;
  padding: 12px 24px;
  border: 1px solid var(--text-color);
  border-radius: 50px;
  background: transparent;
  color: var(--text-color);
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  margin-top: auto;
}

.btn-pill:hover {
  background: var(--text-color);
  color: var(--bg-color);
}

/* =========================================
   FOOTER
========================================= */
.site-footer {
  padding: 80px 40px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 40px;
}

.footer-socials h3,
.footer-newsletter h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.social-icons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 400px;
  margin: 0 auto;
}

.newsletter-form input {
  padding: 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  background: transparent;
  color: var(--text-color);
  outline: none;
  flex-grow: 1;
  font-family: 'Inter', sans-serif;
}

.newsletter-form input:focus {
  border-color: var(--text-color);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 800px;
}

.copyright {
  font-size: 0.8rem;
  color: #666;
  margin-top: 20px;
}

/* =========================================
   PAGE UTILITIES (For sub-pages)
========================================= */
.page-container {
  padding: 60px 40px 80px;
  /* Reduced top padding since header is sticky, not absolute overlaying */
  max-width: 1100px;
  margin: 0 auto;
  min-height: 80vh;
}

.page-title {
  font-size: 3.2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 35px;
  text-align: center;
}

.content-block {
  background: rgba(255, 255, 255, 0.03);
  border: var(--card-border);
  border-radius: var(--border-radius);
  padding: 40px;
  margin-bottom: 40px;
  font-size: 1.1rem;
  color: #ccc;
}

/* =========================================
   ABOUT PAGE STYLES
========================================= */
.main-content-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.page-title.align-left {
  text-align: left;
  margin-bottom: 60px;
}

.about-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-hero-image {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin-bottom: 60px;
  display: block;
}

.about-text-content {
  max-width: 750px;
  width: 100%;
  color: var(--text-color);
  font-size: 1rem;
  line-height: 1.8;
}

.about-text-content p {
  margin-bottom: 25px;
  font-weight: 300;
}

/* =========================================
   COLLECTION PAGE STYLES (Shopify Match)
========================================= */
.page-width {
  max-width: 1400px;
  /* Matches exactly with the header navigation string width */
  margin: 0 auto;
  padding: 0 40px;
}

.collection-hero__inner {
  display: flex;
  align-items: stretch;
  margin-bottom: 80px;
  gap: 5rem;
}

.collection-hero__text-wrapper {
  flex: 1 1 50%;
  max-width: 50%;
  display: flex;
  flex-direction: column;
}

.collection-hero__title {
  font-family: 'Archivo', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  margin-top: -12px;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.collection-hero__description {
  color: rgba(255, 255, 255, 0.85);
}

.collection-hero__description p {
  margin-bottom: 25px;
  font-size: 1.15rem;
  line-height: 1.6;
  font-weight: 300;
}

.collection-hero__image-container {
  flex: 1 1 50%;
  max-width: 50%;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.collection-hero__image-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Facets / Toolbar */
.facets-wrapper {
  margin-bottom: 40px;
  font-size: 0.9rem;
  color: var(--text-color);
}

.facets-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.facets-left,
.facets-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.facets-left span,
.facets-right span {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.facet-filters__field {
  display: flex;
  align-items: center;
}

.product-count {
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.list-unstyled {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card-wrapper {
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.card {
  display: flex;
  flex-direction: column;
  background: transparent;
}

.card__media {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: calc(var(--border-radius) - 10px);
  overflow: hidden;
  margin-bottom: 20px;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.card-wrapper:hover .card__media img {
  transform: scale(1.03);
}

.card__information {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
  text-align: left;
}

.card__heading {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}

.full-unstyled-link {
  text-decoration: none;
  color: var(--text-color);
}

.price-item--regular {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.quick-add__submit {
  width: 100%;
  margin-top: 15px;
  padding: 12px 24px;
  border-radius: 50px;
  border: 1px solid var(--text-color);
  background: transparent;
  color: var(--text-color);
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.quick-add__submit:hover {
  background: var(--text-color);
  color: var(--bg-color);
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 768px) {
  .site-header {
    padding: 20px;
  }

  .header-top {
    justify-content: space-between;
  }

  .header-left {
    flex: none;
  }

  .header-right {
    flex: none;
  }

  .language-selector,
  .desktop-search,
  .header-bottom-nav {
    display: none;
    /* Hide on mobile */
  }

  .hamburger-btn {
    display: flex;
    /* Show hamburger on mobile */
  }

  .products-section {
    padding: 40px 20px;
  }

  .section-title {
    font-size: 2rem;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }

  .newsletter-form {
    flex-direction: column;
  }

  .side-drawer {
    width: 300px;
    padding: 60px 20px;
  }

  .collection-hero__inner {
    flex-direction: column;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-layout {
    flex-direction: column;
  }
}

/* =========================================
   PRODUCT DETAIL PAGE STYLES
========================================= */
.product-page {
  max-width: 1400px;
}

.product-layout {
  display: flex;
  gap: 50px;
  margin-top: 40px;
}

.product-media-wrapper {
  flex: 1;
}

.product-info-container {
  flex: 1;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-image-container img {
  width: 100%;
  border-radius: var(--border-radius);
  object-fit: cover;
}

.product-title-large {
  font-family: 'Archivo', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.product-price-large {
  font-size: 1.5rem;
  color: var(--text-color);
  opacity: 0.9;
}

.product-shipping-policy,
.product-availability {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.status-badge {
  display: inline-block;
  padding: 5px 15px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--text-color);
}

.product-description.rte {
  font-size: 1rem;
  line-height: 1.6;
  color: #ccc;
  font-weight: 300;
}

.product-description p {
  margin-bottom: 15px;
}

/* Product Form Controls */
.product-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 10px;
  margin-bottom: 20px;
}

.quantity-selector label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 8px;
  color: var(--text-color);
}

.quantity-input-wrapper {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  /* Shopify style */
  height: 45px;
  background: transparent;
}

.qty-btn {
  background: transparent;
  border: none;
  color: var(--text-color);
  width: 45px;
  height: 100%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
}

.qty-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.qty-input {
  background: transparent;
  border: none;
  color: var(--text-color);
  width: 50px;
  text-align: center;
  font-size: 1rem;
  outline: none;
  -moz-appearance: textfield;
  appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.product-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-primary,
.btn-secondary {
  width: 100%;
  padding: 15px 24px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

/* =========================================
   PRODUCT VARIANTS & GALLERY
   ========================================= */
.product-gallery-thumbnails {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
  position: relative;
}

.gallery-thumbnails-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
  flex: 1;
  padding-bottom: 5px; /* For focus rings if any */
}

.gallery-thumbnails-track::-webkit-scrollbar {
  display: none; /* Chrome/Safari/Edge */
}

.gallery-arrow {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-color);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: opacity 0.3s;
  flex-shrink: 0;
  width: 24px;
}

.gallery-arrow:hover {
  opacity: 0.7;
}

.thumbnail-btn {
  background: transparent;
  border: 1px solid transparent;
  padding: 0;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  flex: 0 0 calc(20% - 8px);
  opacity: 0.6;
  transition: opacity 0.3s, border-color 0.3s;
}

.thumbnail-btn img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.thumbnail-btn:hover {
  opacity: 0.8;
}

.thumbnail-btn.active {
  opacity: 1;
  border-color: var(--text-color);
  border-width: 1.5px;
}

.product-variants {
  margin: 20px 0;
}

.product-variant-selector {
  margin-bottom: 20px;
}

.form__label {
  font-size: 0.9rem;
  margin-bottom: 10px;
  display: block;
}

.color-swatch-container,
.size-selector-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.color-swatch {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: 1px solid #555;
  cursor: pointer;
  position: relative;
  transition: transform 0.2s;
}

.color-swatch:hover {
  transform: scale(1.1);
}

.color-swatch.active {
  border-color: var(--text-color);
  outline: 1px solid var(--text-color);
  outline-offset: 3px;
}

.size-button {
  background: transparent;
  border: 1px solid #555;
  color: var(--text-color);
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.size-button:hover {
  border-color: var(--text-color);
}

.size-button.active {
  background: var(--text-color);
  color: var(--bg-color);
  border-color: var(--text-color);
}

.product-payment-options-link {
  text-align: center;
  margin-top: 15px;
  margin-bottom: 30px;
}

.product-payment-options-link a {
  color: #ccc;
  font-size: 0.8rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.product-buy-btn {
    background-color: #ffc439 !important;
    border-color: #ffc439 !important;
    color: #000 !important;
    font-weight: 600;
}
.product-buy-btn:hover {
    background-color: #e5b033 !important;
}

.btn-primary {
  background: transparent;
  border: 1px solid var(--text-color);
  color: var(--text-color);
}

.btn-primary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-secondary {
  background: var(--text-color);
  border: 1px solid var(--text-color);
  color: var(--bg-color);
}

.btn-secondary:hover {
  opacity: 0.8;
}

/* Accordions */
.product-accordions {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.accordion {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.accordion summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  /* Hide default triangle */
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion-title {
  font-weight: 600;
  font-family: 'Archivo', sans-serif;
  font-size: 1.1rem;
}

.accordion .icon-caret {
  width: 12px;
  height: 12px;
  transition: transform 0.3s ease;
}

.accordion[open] .icon-caret {
  transform: rotate(180deg);
}

.accordion-content {
  padding-bottom: 20px;
}

.accordion-content ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.accordion-content a {
  color: #ccc;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: var(--transition);
}

.accordion-content a:hover {
  color: var(--text-color);
}

/* =========================================
   PRODUCT CARD HOVER EFFECTS (White Outline)
========================================= */

/* Wrap the entire card (image + text + button) in the outline */
.card-wrapper {
  padding: 15px;
  /* Give breathing room inside the outline */
  border-radius: 12px;
  border: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.card-wrapper:hover {
  border-color: #ffffff !important;
  box-shadow: 0 0 0 1px #ffffff !important;
}

/* Image zoom effect on card hover */
.card__inner {
  border-radius: var(--border-radius, 8px);
  overflow: hidden;
  /* Ensure rounded corners clip the image inside */
  /* Remove any existing border or outline here and handle on hover */
  transition: transform 0.3s ease;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  transition: transform 0.4s ease;
}

.card-wrapper:hover .card__media img {
  transform: scale(1.03);
  /* Subtle zoom in */
}

/* =========================================
   CHARITY PAGE STYLES
========================================= */
.page-width--narrow {
  max-width: 800px;
  margin: 0 auto;
}

.charity-page {
  padding-top: 60px;
  padding-bottom: 80px;
}

.charity-page .main-page-title {
  margin-bottom: 40px;
  font-size: 2.2rem;
  letter-spacing: -0.5px;
}

.charity-hero-image {
  text-align: center;
  margin-bottom: 40px;
}

.charity-hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.charity-page .rte {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-color);
  font-weight: 300;
}

.charity-page p {
  margin-bottom: 24px;
}

.charity-page .text-small {
  font-size: 0.85rem;
  opacity: 0.8;
}

.charity-page .signature-image {
  margin-top: 30px;
  margin-bottom: 15px;
}

.charity-page .signature-image img {
  max-width: 250px;
  height: auto;
  display: block;
}

/* =========================================
   RELATED PRODUCTS (PRODUCT PAGE)
   ========================================= */
.related-products-section {
  margin-top: 80px;
  padding-bottom: 60px;
}

.related-products-section .product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media screen and (max-width: 990px) {
  .related-products-section .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 500px) {
  .related-products-section .product-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================================
   Global Cart Drawer
   ========================================================================= */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    height: 100vh;
    background-color: #000;
    color: #fff;
    z-index: 1001;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    max-width: 100vw;
}

.cart-drawer.active {
    transform: translateX(0);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid #333;
}

.cart-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.5px;
}

#close-cart-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px 30px;
}

.empty-cart-msg {
    text-align: center;
    margin-top: 50px;
    color: #999;
}

.cart-item {
    display: flex;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #222;
}

.cart-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    background-color: #111;
    border-radius: 4px;
    overflow: hidden;
    margin-right: 20px;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.cart-item-brand {
    font-size: 0.65rem;
    letter-spacing: 1px;
    color: #aaa;
    margin-bottom: 3px;
    text-transform: uppercase;
}

.cart-item-title {
    font-size: 1rem;
    font-weight: 500;
    margin: 0 0 5px 0;
    line-height: 1.3;
}

.cart-item-price, .cart-item-variant {
    font-size: 0.85rem;
    color: #ccc;
    margin: 0 0 5px 0;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    margin-top: 10px;
    gap: 15px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid #444;
    border-radius: 20px;
    overflow: hidden;
    height: 36px;
}

.qty-btn {
    background: transparent;
    border: none;
    color: #fff;
    width: 36px;
    height: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.qty-input {
    width: 40px;
    background: transparent;
    border: none;
    color: #fff;
    text-align: center;
    font-size: 0.9rem;
    padding: 0;
}

.qty-input:focus {
    outline: none;
}

/* Hide number spin arrows natively */
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.qty-input[type=number] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.remove-btn {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.remove-btn:hover {
    color: #fff;
}

.cart-item-total {
    font-size: 0.95rem;
    font-weight: 500;
    margin-left: 15px;
}

.cart-footer {
    padding: 25px 30px;
    background-color: #050505;
    border-top: 1px solid #222;
}

.cart-special-instructions {
    margin-bottom: 25px;
    border-bottom: 1px solid #222;
    padding-bottom: 20px;
}

.cart-special-instructions summary {
    font-size: 0.9rem;
    cursor: pointer;
    color: #ccc;
    outline: none;
    list-style: none; /* remove default arrow in webkit */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-special-instructions summary::-webkit-details-marker {
    display: none;
}

.cart-special-instructions summary::after {
    content: '▼';
    font-size: 0.6rem;
}

.cart-special-instructions details[open] summary::after {
    content: '▲';
}

.cart-special-instructions textarea {
    width: 100%;
    background: transparent;
    border: 1px solid #444;
    color: #fff;
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    min-height: 80px;
    font-family: inherit;
    resize: vertical;
}

.cart-special-instructions textarea:focus {
    outline: none;
    border-color: #fff;
}

.cart-totals {
    margin-bottom: 20px;
}

.totals-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.tax-note {
    font-size: 0.8rem;
    color: #999;
    margin: 0;
}

.tax-note a {
    color: #fff;
    text-decoration: underline;
}

.btn-checkout {
    display: block;
    width: 100%;
    background-color: #fff;
    color: #000;
    border: none;
    padding: 16px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    text-align: center;
}

.btn-checkout:hover {
    background-color: #e0e0e0;
}

.btn-checkout:active {
    transform: scale(0.98);
}

@media (max-width: 480px) {
    .cart-drawer {
        width: 100%;
    }
}

/* Authentication Pages Styles */
.auth-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 200px);
  padding: 40px 20px;
}

.auth-container {
  background: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: var(--border-radius);
  border: var(--card-border);
  width: 100%;
  max-width: 400px;
  text-align: center;
}

.auth-container h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #fff;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.auth-form input {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  padding: 12px 20px;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: var(--transition);
}

.auth-form input:focus {
  border-color: var(--accent-color);
  background: rgba(255, 255, 255, 0.15);
}

.auth-btn {
  background: var(--accent-color);
  color: #000;
  border: none;
  border-radius: 25px;
  padding: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 10px;
}

.auth-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 204, 0, 0.3);
}

.auth-switch {
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.auth-switch a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
}

.auth-switch a:hover {
  text-decoration: underline;
}

.auth-error {
  color: #ff4444;
  font-size: 0.85rem;
  margin-top: 10px;
  display: none;
}

/* Account Page */
.account-info {
  text-align: left;
  margin-bottom: 30px;
}

.account-info p {
  margin: 10px 0;
  color: var(--text-muted);
}

.account-info strong {
  color: #fff;
}

.logout-btn {
  background: transparent !important;
  color: #ff4444 !important;
  border: 1px solid #ff4444 !important;
}

.logout-btn:hover {
  background: #ff4444 !important;
  color: #fff !important;
}

/* Admin Dashboard Styles */
.admin-dashboard-link {
  color: var(--accent-color) !important;
  font-weight: bold !important;
}

.dashboard-page {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.dashboard-header {
  margin-bottom: 40px;
  text-align: center;
}

.dashboard-header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: var(--border-radius);
  border: var(--card-border);
  text-align: center;
  transition: var(--transition);
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

.stat-card h3 {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-value {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-color);
}

.admin-section {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: var(--border-radius);
  border: var(--card-border);
  margin-bottom: 40px;
}

.admin-section h2 {
  margin-bottom: 25px;
  font-size: 1.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 15px;
}

/* Product Management */
.admin-actions {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.admin-btn {
  padding: 10px 20px;
  border-radius: 20px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.admin-btn.add {
  background: var(--accent-color);
  color: #000;
}

.admin-table-container {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.admin-table th, .admin-table td {
  padding: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-table th {
  color: var(--text-muted);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.product-manager-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.delete-btn {
    color: #ff4444;
    background: none;
    border: 1px solid #ff4444;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
}

.delete-btn:hover {
    background: #ff4444;
    color: #fff;
}

/* CMS & Admin Tools */
.admin-cms-tools {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 10000;
}

.cms-btn {
    padding: 12px 24px;
    border-radius: 30px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    transition: var(--transition);
}

.cms-btn.edit {
    background: var(--accent-color);
    color: #000;
}

.cms-btn.save {
    background: #44ff44;
    color: #000;
}

.cms-btn.cancel {
    background: #ff4444;
    color: #fff;
}

.cms-btn:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
}

[contenteditable="true"] {
    position: relative;
    outline: 2px dashed var(--accent-color) !important;
    outline-offset: 4px;
    background: rgba(255, 204, 0, 0.05) !important;
    min-height: 1em;
    cursor: text;
}

[contenteditable="true"]:hover {
    background: rgba(255, 204, 0, 0.1) !important;
}

.cms-saving-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10001;
    color: #fff;
    font-weight: bold;
}

