/*
==================================================
HUGO DARK THEME - CUSTOM CSS
==================================================
Version: 1.0
Description: Dark theme with gold accents for Hugo sites
Author: [Your Name]
License: [Your License]
Created: 2025
==================================================
*/

/*
==================================================
TABLE OF CONTENTS
==================================================
1. Global Styles & Typography
2. Header & Navigation
3. Footer Styles
4. Pagination Styles
5. Search
6. Hero CM Sections & Animations
7. Hero CMA & Closing Hero Sections & Animations
8. Buttons & Interactive Elements
9. Product Cards & Hover Effects
10. Product Variations & Forms
11. Product Gallery & Images & Badges
12. Product Tabs
13. Cart & E-commerce
14. Share Buttons
15. About Us Page Styles
16. Success & Cancel Pages
==================================================
*/

/*
==================================================
COLOR PALETTE
==================================================
*/

:root {
  /* Primary Colors */
  --color-background: #000000; /* Black */
  --color-card-background: #1a1a1a; /* Dark Gray */
  --color-footer-background: #2b1818; /* Dark Brown */

  /* Text Colors */
  --color-primary-text: #bda47b; /* Light Brown/Tan */
  --color-headings: #ffd700; /* Gold */
  --color-search-header: #ffd700; /* Gold */
  --color-links-hover: #e6bc00; /* Gold (darker) */

  /* Accent Colors */
  --color-button-primary: #c75e53; /* Red-Brown */
  --color-button-hover: #b83f33; /* Darker Red-Brown */
  --color-button-active: #9c2c24; /* Even Darker Red-Brown */
  --color-borders: #333333; /* Dark Gray */
  --color-subtle-borders: #444444; /* Medium Gray */

  /* Theme-Invariant Colors */
  --color-always-gold: #ffd700; /* Special Gold elements */
  --color-always-white: white; /* Special White elements */
  --color-always-glowing-blue: #0073e6; /* For glowing sale badge text shadow */
  --color-white-button: white; /* #contact-form button, .btn-primary, .cart-count, .newsletter-submit-btn, .social-btn, .w1Ramzi (all of them), .search-submit, .newsletter-email-input */
  --color-black-cart: black; /* .cart_check */
  
  /* Additional Colors Found in CSS */
  --color-white: #ffffff;
  --color-light-grey: #d3d3d3; /* For p-highlights strong */
  --color-grey: #808080; /* For special-text, text-muted, card-description, breadcrumb-item */
  --color-dark-grey: #a9a9a9; /* For vinetka, disabled button text */
  --color-text-secondary: #666666; /* For pagination-disabled, search-input placeholder, search-no-results, pagination-ellipsis, social-share minimal-style */
  --color-medium-grey: #555555; /* For footer divider, newsletter border, dropdown hover, scrollbar thumb */
  --color-secondary-bg: #2a2a2a; /* For custom dropdown, thumbnail background, scrollbar track, main-image loading placeholder */
  --color-back-to-top-btn: #007cba; /* For back-to-top button background */
  --color-social-facebook: #1877f2;
  --color-social-twitter: #1da1f2;
  --color-social-pinterest: #bd081c;
  --color-social-whatsapp: #25d366;
  --color-social-email: #6c757d; /* Also used for cart-button border */
  --color-social-copy: #17a2b8;
  --color-badge-success: #9acd32;
  --color-light-background: #f8f9fa; /* For minimal social button hover background */
  --color-light-border: #dddddd; /* For minimal social button border */
  --color-word-ramzi-1: #505050;
  --color-word-ramzi-2: #556B2F;
  --color-word-ramzi-3: #336699;
  --color-word-ramzi-4: #6C3483;
  --color-word-ramzi-5: #6F4E37;
  --color-order-item-bg: #222222; /* For success page order item background */
  --color-spark-fallback: red; /* Default for hero-cm-sparks */
  --color-gold-accent: #ffc107; /* For desktop menu hover, pagination focus, product tabs hover */
  --color-light-grey-text: #cccccc; /* For footer menu links, payment icons */
  --color-light-dark-grey: #888888; /* For custom-dropdown label arrow */
  --color-tertiary-bg: #3a3a3a; /* For main-image loading gradient */
  --color-scroll-thumb-hover: #777777; /* For scrollbar thumb hover */

  /* RGB values for transparency (alpha channel) */
  --rgb-background: 0, 0, 0;
  --rgb-card-background: 26, 26, 26;
  --rgb-footer-background: 43, 24, 24;
  --rgb-primary-text: 189, 164, 123;
  --rgb-headings: 255, 215, 0;
  --rgb-links-hover: 230, 188, 0;
  --rgb-button-primary: 199, 94, 83;
  --rgb-button-hover: 184, 63, 51;
  --rgb-borders: 51, 51, 51;
  --rgb-subtle-borders: 68, 68, 68;
  --rgb-white: 255, 255, 255;
  --rgb-text-secondary: 102, 102, 102;
  --rgb-medium-grey: 85, 85, 85;
  --rgb-secondary-bg: 42, 42, 42;
  --rgb-back-to-top-btn: 0, 124, 186;
  --rgb-social-email: 108, 117, 125;
  --rgb-glowing-blue: 0, 115, 230;
  --rgb-gold-accent: 255, 193, 7;
  --rgb-sale-badge-gradient-shadow: 255, 71, 87;
}



/*
==================================================
LIGHT THEME OVERRIDE
==================================================
*/

html.theme-light {
  /* Primary Colors */
  --color-background: #ffffff; /* White */
  --color-card-background: #f8f8f8; /* Very Light Gray */
  --color-footer-background: #f0f0f0; /* Light Gray */

  /* Text Colors */
  --color-primary-text: #333333; /* Dark Gray */
  --color-headings: #a07a00; /* Darker Gold for visibility on light backgrounds */
  --color-search-header: black;
  --color-links-hover: #c99e00; /* Darker Gold for visibility on light backgrounds */

  /* Accent Colors */
  --color-button-primary: #d96d61; /* Similar Red-Brown, slightly brighter */
  --color-button-hover: #cc5a50; /* Darker Red-Brown */
  --color-button-active: #bb4a42; /* Even Darker Red-Brown */
  --color-borders: #e0e0e0; /* Light Gray */
  --color-subtle-borders: #f0f0f0; /* Very Light Gray */

  /* Additional Colors Found in CSS - adjusted for light theme */
  --color-white: #000000; /* Inverted: elements that were white on dark are now black on light */
  --color-light-grey: #555555; /* Darker gray for highlights */
  --color-grey: #777777; /* Standard gray */
  --color-dark-grey: #666666; /* Darker gray for vinetka, disabled btn text */
  --color-text-secondary: #999999; /* Lighter gray for secondary text */
  --color-medium-grey: #aaaaaa; /* Lighter grey for dividers */
  --color-secondary-bg: #eeeeee; /* Light background for specific elements (dropdown, thumbnail bg) */
  --color-back-to-top-btn: #006096; /* Darker blue */
  --color-social-facebook: #1877f2; /* Social colors typically remain consistent across themes */
  --color-social-twitter: #1da1f2;
  --color-social-pinterest: #bd081c;
  --color-social-whatsapp: #25d366;
  --color-social-email: #6c757d;
  --color-social-copy: #17a2b8;
  --color-badge-success: #6bb22b; /* Darker green */
  --color-light-background: #0d1a26; /* Darkened for hover background on light theme (was light on dark) */
  --color-light-border: #666666; /* Darkened for borders on light theme (was light on dark) */
  --color-word-ramzi-1: #666666; /* Darker variations for rotating words */
  --color-word-ramzi-2: #809c40;
  --color-word-ramzi-3: #4d80b3;
  --color-word-ramzi-4: #8c53a7;
  --color-word-ramzi-5: #996e4c;
  --color-order-item-bg: #f2f2f2; /* Light background for order items */
  --color-spark-fallback: red; /* Kept red for visual impact */
  --color-gold-accent: #a07a00; /* Stronger gold for contrast on light background */
  --color-light-grey-text: #666666; /* Darker text for footer menu links, payment icons */
  --color-light-dark-grey: #aaaaaa; /* Lighter for custom-dropdown label arrow */
  --color-tertiary-bg: #e0e0e0; /* Lighter for main-image loading gradient */
  --color-scroll-thumb-hover: #888888; /* Darker scrollbar thumb hover */

  /* RGB values for transparency (alpha channel) - updated to match new hex colors */
  --rgb-background: 255, 255, 255;
  --rgb-card-background: 248, 248, 248;
  --rgb-footer-background: 240, 240, 240;
  --rgb-primary-text: 51, 51, 51;
  --rgb-headings: 160, 122, 0;
  --rgb-links-hover: 201, 158, 0;
  --rgb-button-primary: 217, 109, 97;
  --rgb-button-hover: 204, 90, 80;
  --rgb-borders: 224, 224, 224;
  --rgb-subtle-borders: 240, 240, 240;
  --rgb-white: 0, 0, 0;
  --rgb-text-secondary: 153, 153, 153;
  --rgb-medium-grey: 170, 170, 170;
  --rgb-secondary-bg: 238, 238, 238;
  --rgb-back-to-top-btn: 0, 96, 150;
  --rgb-social-email: 108, 117, 125;
  --rgb-glowing-blue: 0, 91, 181;
  --rgb-gold-accent: 230, 184, 0;
  --rgb-sale-badge-gradient-shadow: 255, 71, 87; /* This value is often kept consistent for specific effects */
}



/*
========================================
1. GLOBAL STYLES & TYPOGRAPHY
========================================
*/

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  max-width: 1180px;
  font-size: 17px;
  line-height: 1.75;
  margin: 0 auto;
  background-color: var(--color-background);
  color: var(--color-primary-text);
  height: 100%;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-headings);
  margin-bottom: 1.3rem;
}

.product-h1 {
  font-size: 2rem;
}

.site {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site main {
  flex: 1;
}

.main-content {
  flex: 1;
  display: block;
}

.center-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  padding: 1rem 0rem;
}

a {
  color: var(--color-headings);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--color-links-hover);
}

/* Text Utilities */
.text-primary {
  color: var(--color-white) !important;
}

.bg-primary {
  background-color: var(--color-background) !important;
}

.p-highlights strong {
  color: var(--color-light-grey);
}

.special-text {
  color: var(--color-grey);
  font-weight: 600;
}

.vinetka {
  color: var(--color-dark-grey);
  font-weight: bold;
  text-align: center;
  padding: 10px 0px 20px;
}

.text-muted,
.card-description,
.card-description:hover {
  color: var(--color-grey);
}

/* Structural utilities */
.d-flex .btn {
  border: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.transition-all {
  transition: all 0.3s ease;
}

.transition-colors {
  transition:
    color 0.3s ease,
    background-color 0.3s ease,
    border-color 0.3s ease;
}



/*
========================================
2. HEADER & NAVIGATION
========================================
*/

.custom-header {
  background-color: transparent;
  padding: 10px 0px;
  position: relative;
  margin-bottom: 10px;
  box-shadow: 0 4px 15px rgba(var(--rgb-white), 0.2);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px 0 5px;
  position: relative;
}

.logo-container img {
  height: 40px;
  transition: height 0.3s ease;
}

/* Desktop Navigation */
.desktop-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.4rem;
}

.desktop-menu a {
  color: var(--color-white);
  text-decoration: none;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.desktop-menu a:hover {
  color: var(--color-gold-accent);
  transform: translateY(-2px);
}

.desktop-menu li {
  transition: transform 0.3s ease;
}

.desktop-menu li:hover {
  transform: translateY(-2px);
}

/* Mobile Navigation */
.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--color-social-email);
  color: var(--color-white);
  padding: 0.5rem;
  border-radius: 0.375rem;
  position: absolute;
  left: 15px;
  z-index: 1001;
}

.mobile-toggle:hover {
  border-color: var(--color-white);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(var(--rgb-background), 0.9);
  z-index: 1000;
  padding: 80px 20px 20px;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu-list li {
  margin-bottom: 1rem;
}

.mobile-menu-list a {
  color: var(--color-white);
  text-decoration: none;
  font-size: 1.2rem;
  padding: 1rem 0;
  display: block;
  border-bottom: 1px solid var(--color-subtle-borders);
}

.mobile-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--color-white);
  font-size: 2rem;
}

/* Tablet & Mobile */
@media (max-width: 991px) {
  #theme-toggle {
    display: none;
  }

  .desktop-menu {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .header-container {
    justify-content: center;
    position: relative;
  }

  .logo-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .cart-button {
    position: absolute;
    right: 15px;
    padding: 0.5rem;
  }

  .custom-header {
    padding: 2rem 0;
  }

  .header-actions .search-toggle-btn {
    display: none;
  }
}

/* Small Mobile Devices */
@media (max-width: 350px) {
  .logo-container img {
    height: 30px;
  }

  .mobile-toggle {
    left: 10px;
  }

  .cart-button {
    right: 10px;
  }
}

/* Theme Toggle */
#theme-toggle {
  background: transparent;
  border: 0px solid var(--border-color);
  padding: 0rem 0rem;
  font-size: 2rem;
  cursor: pointer;
  color: var(--color-white);
  transition: all 0.3s ease;
}

#theme-toggle:hover {
  color: var(--color-white);
  transform: translateY(-2px);
}

#theme-toggle label {
  cursor: pointer;
}

#theme-toggle input {
  display: none;
}



/*
========================================
3. FOOTER STYLES
========================================
*/

#footer {
  background: var(--color-footer-background);
}

.footer-wrapper {
  color: var(--color-white);
  padding: 40px 0px 0px;
}

.footer-widgets {
  padding: 0 20px;
}

.footer-block {
  flex: 1;
  min-width: 200px;
  margin-bottom: 20px;
}

.footer-primary {
  padding-top: 15px;
  float: right;
  padding: 7.5px 0;
  font-size: 14px;
}

.footer-secondary {
  padding: 7.5px 0;
}

.logo-footer {
  width: 90%;
  height: auto;
  max-width: 200px;
}

/* Footer Typography */
.widget-title {
  font-size: 18px;
  font-weight: bold;
}

.is-divider {
  border-bottom: 2px solid var(--color-medium-grey);
  width: 30px;
  margin: 10px 0 20px 0;
}

/* Footer Navigation */
.menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu li {
  margin-bottom: 8px;
}

.menu a {
  color: var(--color-light-grey-text);
  text-decoration: none;
  transition: color 0.3s;
}

.menu a:hover {
  color: var(--color-white);
}

/* Newsletter Form */
.newsletter-email-input {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid var(--color-medium-grey);
  background: var(--color-white-button);
  color: var(--color-background);
}

.newsletter-submit-btn {
  background: var(--color-button-primary);
  color: var(--color-white-button);
  border: none;
  padding: 5px 10px;
  margin-top: 10px;
  cursor: pointer;
  transition: background 0.3s;
}

.newsletter-submit-btn:hover {
  background: var(--color-button-hover);
}

/* Contact Form */
#contact-form button {
  background: var(--color-button-primary);
  color: var(--color-white-button);
  transition: background 0.3s;
  width: 80px;
  height: 45px;
  border: none;
}

#contact-form button:hover {
  background: var(--color-button-hover);
}

/* Payment Icons */
.payment-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.payment-icon svg {
  width: 40px;
  height: 20px;
  fill: var(--color-light-grey-text);
}

/* Footer Bottom */
.absolute-footer {
  background: transparent;
  padding: 20px 50px;
  border-top: 1px solid var(--color-subtle-borders);
}

/* Responsive - Desktop */
@media (min-width: 850px) {
  .footer-main-content {
    display: flex;
    justify-content: space-between;
  }

  .footer-block {
    flex: 0 1 23%;
    margin-right: 2%;
  }

  .footer-block:last-child {
    margin-right: 0;
  }
}

/* Responsive - Mobile */
@media (max-width: 849px) {
  .footer-main-content {
    flex-direction: column;
  }

  .footer-block {
    flex: none;
    width: 100%;
    margin: 0 0 30px;
  }

  .absolute-footer .container {
    text-align: center;
  }

  .footer-secondary,
  .footer-primary {
    float: none !important;
    display: block;
    margin: 10px 0;
  }

  .payment-icons {
    justify-content: center;
    width: 100%;
  }
}



/*
========================================
4. PAGINATION STYLES
========================================
*/

.pagination-wrapper {
  margin: 2.5rem 0 1.5rem;
  padding: 0;
}

.pagination-container,
.pagination-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin: 0 0.5rem;
}

.pagination-btn,
.pagination-number,
.pagination-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-card-background);
  color: var(--color-primary-text);
  border: 1px solid var(--color-borders);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  min-height: 44px;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
}

.pagination-btn:hover:not(.pagination-disabled),
.pagination-number:hover {
  background-color: var(--color-button-primary);
  color: var(--color-white);
  border-color: var(--color-button-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(var(--rgb-button-primary), 0.2);
}

.pagination-btn:focus,
.pagination-number:focus,
.pagination-btn:focus-visible,
.pagination-number:focus-visible {
  outline: 2px solid var(--color-gold-accent);
  outline-offset: 2px;
}

.pagination-btn.pagination-disabled {
  color: var(--color-text-secondary);
  cursor: not-allowed;
  opacity: 0.6;
}

.pagination-number.pagination-current {
  background-color: var(--color-headings);
  color: var(--color-background);
  border-color: var(--color-gold-accent);
  font-weight: 700;
  cursor: default;
  box-shadow: 0 2px 4px rgba(var(--rgb-headings), 0.3);
  transform: none;
}

.pagination-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.pagination-info {
  text-align: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-subtle-borders);
}

.pagination-info-text {
  font-size: 0.875rem;
  color: var(--color-primary-text);
}

.pagination-ellipsis {
  color: var(--color-text-secondary);
  font-weight: bold;
  user-select: none;
}

.pagination-loading {
  opacity: 0.6;
  pointer-events: none;
  position: relative;
}

.pagination-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px;
  border: 2px solid var(--color-primary-text);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Media Queries */
@media (max-width: 768px) {
  .pagination-btn,
  .pagination-number {
    min-width: 36px;
    min-height: 36px;
    font-size: 0.8125rem;
    padding: 0.5rem 0.75rem;
  }

  .pagination-numbers {
    gap: 0.125rem;
    margin: 0 0.25rem;
  }

  .pagination-info-text {
    font-size: 0.8125rem;
  }

  .customer_r1 {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .pagination-btn-text {
    display: none;
  }

  .pagination-container {
    flex-direction: column;
    gap: 0.75rem;
  }

  .pagination-numbers {
    order: 1;
    margin: 0;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .pagination-numbers::-webkit-scrollbar {
    display: none;
  }

  .pagination-prev {
    order: 2;
  }

  .pagination-next {
    order: 3;
  }
}

@media (min-width: 769px) {
  .customer_r2 {
    display: none !important;
  }
}

@media (prefers-contrast: high) {
  .pagination-btn,
  .pagination-number {
    border-width: 2px;
  }

  .pagination-number.pagination-current {
    border-width: 3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pagination-btn,
  .pagination-number {
    transition: none;
  }

  .pagination-btn:hover:not(.pagination-disabled),
  .pagination-number:hover {
    transform: none;
  }
}



/*
========================================
5. SEARCH
========================================
*/

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Header */
.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Search Toggle Button */
.search-toggle-btn {
  width: 18px;
  height: 34px;
  background: var(--rgb-white);
  border: 0px solid var(--color-social-email);
  color: var(--color-white);
  border-radius: 50%;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.search-toggle-btn:hover {
  border-color: var(--color-white);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* Search Overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(var(--rgb-background), 0.95);
  backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 100px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Search Container */
.search-container {
  background: var(--color-card-background);
  border: 1px solid var(--color-borders);
  border-radius: 20px;
  width: 90%;
  max-width: 600px;
  padding: 30px;
  box-shadow: 0 20px 40px rgba(var(--rgb-background), 0.5);
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Search Header */
.search-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.search-header h3 {
  font-size: 24px;
  margin: 0;
  color: var(--color-headings);
}

/* Close Button */
.search-close {
  background: none;
  border: none;
  color: var(--color-primary-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  padding: 5px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 32px;
  height: 32px;
}

.search-close:hover {
  background: rgba(var(--rgb-white), 0.1);
  color: var(--color-headings);
}

/* Input Field */
.search-input-container {
  position: relative;
  margin-bottom: 30px;
}

#search-input {
  width: 100%;
  padding: 15px 50px 15px 20px;
  font-size: 16px;
  background: rgba(var(--rgb-background), 0.5);
  border: 2px solid var(--color-subtle-borders);
  border-radius: 12px;
  color: var(--color-primary-text);
  outline: none;
  transition: all 0.3s ease;
}

#search-input:focus {
  border-color: var(--color-headings);
  box-shadow: 0 0 0 3px rgba(var(--rgb-headings), 0.1);
}

#search-input::placeholder {
  color: var(--color-text-secondary);
}

/* Submit */
.search-submit {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-button-primary);
  border: none;
  border-radius: 8px;
  width: 35px;
  height: 35px;
  color: var(--color-white-button);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.search-submit:hover {
  background: var(--color-button-hover);
  transform: translateY(-50%) scale(1.05);
}

.search-form button {
  margin-top: 15px;
  background: var(--color-button-primary);
  color: var(--color-white-button);
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
}

.search-form button:hover {
  background: var(--color-button-hover);
}

/* Results */
.search-results {
  max-height: 400px;
  overflow-y: auto;
}

.search-result-item {
  display: flex;
  align-items: center;
  padding: 15px;
  border-bottom: 1px solid var(--color-borders);
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-result-item:hover {
  background: rgba(var(--rgb-white), 0.05);
}

.search-result-image {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  margin-right: 15px;
  object-fit: cover;
}

.search-result-content {
  flex: 1;
}

.search-result-title {
  font-size: 16px;
  margin-bottom: 5px;
  color: var(--color-primary-text);
}

.search-result-price {
  color: var(--color-headings);
  font-weight: bold;
}

.search-no-results {
  text-align: center;
  padding: 40px 20px;
  color: var(--color-text-secondary);
}

.search-no-results i {
  font-size: 48px;
  margin-bottom: 15px;
  color: var(--color-subtle-borders);
}

/* Suggestions */
.search-suggestions h4 {
  font-size: 16px;
  margin-bottom: 15px;
  color: var(--color-headings);
}

.suggestion-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.suggestion-tag {
  background: rgba(var(--rgb-headings), 0.1);
  border: 1px solid rgba(var(--rgb-headings), 0.3);
  color: var(--color-headings);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.suggestion-tag:hover {
  background: rgba(var(--rgb-headings), 0.2);
  border-color: var(--color-headings);
  transform: translateY(-2px);
}

.search-results-page .search-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  margin-bottom: 40px;
}

.search-results-page {
  margin: 3rem 0px 6rem;
}

/* Responsive */
@media (max-width: 768px) {
  .search-overlay {
    padding-top: 50px;
  }

  .search-container {
    width: 95%;
    padding: 20px;
  }

  .search-header h3 {
    font-size: 20px;
  }

  .header-actions {
    gap: 10px;
  }

  .search-toggle-btn {
    width: 40px;
    height: 40px;
  }

  .search-toggle-btn i {
    font-size: 14px;
  }
}



/*
========================================
6. HERO CM SECTIONS & ANIMATIONS
========================================
*/

.hero-cm {
  position: relative;
  width: 100%;
  height: clamp(300px, 60vw, 600px);
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  /* Background color is now handled via config.yaml */
}

.hero-cm-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

/* Image Positioning */
.hero-cm-image {
  position: absolute;
  top: 0;
  bottom: 0;
  height: 100%;
  width: auto;
  z-index: 1;
  animation: hero-cm-pop-in 1s ease-out forwards;
}

.hero-cm-image img {
  height: 100%;
  width: auto;
  object-fit: cover;
  object-position: center;
  filter: drop-shadow(0 0 20px rgba(var(--rgb-background), 0.2));
}

/* Content Wrapper */
.hero-cm-content {
  position: relative;
  z-index: 2;
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 2rem;
  margin-left: 0;
  margin-right: 0;
}

/* Text Alignment Options - handled via config.yaml*/
.hero-cm-text-left {
  justify-content: flex-start;
  text-align: left;
}

.hero-cm-text-center {
  justify-content: center;
  text-align: center;
}

.hero-cm-text-right {
  justify-content: flex-end;
  text-align: right;
}

.hero-cm-text-wrapper {
  position: relative;
  max-width: var(--text-wrapper-max-width, 50%);
}

.hero-cm-text {
  position: relative;
  z-index: 3;
  animation: hero-cm-fade-in 1s ease 0.5s forwards;
  opacity: 0;
  transform: translateY(20px);
}

/* Typography */
.hero-cm-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.1;
  font-weight: bold;
  color: var(--color-always-gold);
}

.hero-cm-subtitle {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.4;
  color: var(--color-always-white);
  font-weight: bold;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.1);
}

/* Call to Action Button */
.hero-cm-cta {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  border: 2px solid currentColor;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 0.25rem;
}

.hero-cm-cta:hover {
  transform: scale(1.05);
  text-decoration: none;
}

/* Spark Effect */
.hero-cm-sparks {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 100px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  background: radial-gradient(circle, var(--spark-color, var(--color-spark-fallback)) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0.6;
  animation: hero-cm-pulse-spark 1.8s infinite ease-in-out;
  z-index: 1;
}

/* Animations */
@keyframes hero-cm-pulse-spark {
  0%, 100% {
    opacity: 0.4;
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.6);
  }
}

@keyframes hero-cm-fade-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-cm-pop-in {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Mobile Responsive */
@media (max-width: 768px), .hero-cm.hero-cm-mobile {
  .hero-cm {
    height: auto;
    min-height: 500px;
  }

  .hero-cm-container {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cm-image {
    position: relative;
    height: auto;
    width: 100%;
    order: 1;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
  }

  .hero-cm-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hero-cm-content {
    order: 2;
    padding: 2rem 1rem;
    min-height: 200px;
  }

  .hero-cm-text-wrapper {
    max-width: 100%;
  }

  .hero-cm-text-left,
  .hero-cm-text-center,
  .hero-cm-text-right {
    justify-content: center;
    text-align: center;
  }

  .hero-cm-title {
    font-size: 2.2rem;
  }

  .hero-cm-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }

  .hero-cm-sparks {
    width: 80px;
    height: 80px;
  }
}

/* Extra small mobile */
@media (max-width: 480px) {
  .hero-cm {
    min-height: 400px;
  }

  .hero-cm-image {
    height: auto;
  }

  .hero-cm-title {
    font-size: 1.8rem;
  }

  .hero-cm-subtitle {
    font-size: 1rem;
  }

  .hero-cm-cta {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }

  .hero-cm-content {
    padding: 1.5rem 1rem;
  }
}



/*
========================================
7. HERO CMA & CLOSING HERO SECTIONS & ANIMATIONS
========================================
*/

/* Main Hero_CMA Message Container */
.GlavPageFirstMessage {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

/* Hero_CMA Content Sections */
.FirstHalf {
  width: 150px !important;
}

.FirstHalf h1 {
  font-size: 1.4rem;
  color: var(--color-white);
  opacity: 0.8;
}

.SecondHalf img {
  height: auto;
  max-width: 100%;
}

/* Rotating Words Container */
.containerRamzi {
  width: 250px;
  height: 100px;
}

.wordRamzi {
  font-size: 1.1em;
  font-weight: bold;
  opacity: 0;
  padding: 6px 15px;
  text-align: center;
  position: absolute;
}

/* Rotating Words Color Themes */
.w1Ramzi {
  animation: w1anim 20s infinite;
  background: var(--color-word-ramzi-1);
  color: var(--color-white-button);
}

.w2Ramzi {
  animation: w2anim 20s infinite;
  background: var(--color-word-ramzi-2);
  color: var(--color-white-button);
}

.w3Ramzi {
  animation: w3anim 20s infinite;
  background: var(--color-word-ramzi-3);
  color: var(--color-white-button);
}

.w4Ramzi {
  animation: w4anim 20s infinite;
  background: var(--color-word-ramzi-4);
  color: var(--color-white-button);
}

.w5Ramzi {
  animation: w5anim 20s infinite;
  background: var(--color-word-ramzi-5);
  color: var(--color-white-button);
}

/* Rotating Words Keyframes */
@keyframes w1anim {
  0% {
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  20% {
    opacity: 0;
  }
}

@keyframes w2anim {
  20% {
    opacity: 0;
  }

  30% {
    opacity: 1;
  }

  40% {
    opacity: 0;
  }
}

@keyframes w3anim {
  40% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  60% {
    opacity: 0;
  }
}

@keyframes w4anim {
  60% {
    opacity: 0;
  }

  70% {
    opacity: 1;
  }

  80% {
    opacity: 0;
  }
}

@keyframes w5anim {
  80% {
    opacity: 0;
  }

  90% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

/* Hero CMA Quote styles */
.quote-section {
  background: linear-gradient(135deg, var(--color-card-background) 0%, var(--color-footer-background) 100%);
  padding: 40px 20px 27px;
  margin-bottom: 30px;
  border-radius: 5px;
  box-shadow: 0 10px 30px rgba(var(--rgb-background), 0.5);
  border: 1px solid var(--color-borders);
  width: 100%;
}

.quote-container {
  text-align: center;
  margin: 0 auto;
}

.quote-text {
  font-style: italic;
  margin: 0 0 20px 0;
  line-height: 1.4;
}

.quote-author {
  font-size: 1.2rem;
  font-weight: 600;
}

/* Hero_CMA Feature Clocks & Grid Layouts */
#feature-container {
  display: flex;
  justify-content: center;
  width: 100%;
}

#feature-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2px;
  width: 100%;
  padding: 0 15px;
}

.golden_h2,
.GlavPageFirstMessage {
  padding: 0 15px;
}

.feature-text {
  margin-bottom: 8px;
}

.feature-block {
  flex: 1 1 calc(25% - 10px);
  max-width: calc(25% - 10px);
  padding: 10px 0px;
  box-sizing: border-box;
}

.featured-left {
  text-align: left;
  float: left;
}

.featured-right {
  text-align: right;
}

/* Emoji Styling */
.feature-emoji {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.1em;
}

/* Closing Hero */

.hero-section .btn {
  animation: pulse 2s infinite ease-in-out;
}

.hero-section.bg-primary.py-5 {
  padding-top: 0rem !important;
}

/* Pulsing Button Animation */
@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

/* Hero CMA & Closing Hero Responsive Design */
@media screen and (max-width: 600px) {
  .feature-block {
    flex: 1 1 calc(50% - 10px);
    max-width: calc(50% - 10px);
  }

  .featured-right {
    text-align: left;
  }
}

/* Hero CMA Message Mobile Layout */
@media (max-width: 701px) {
  .GlavPageFirstMessage {
    display: block;
  }

  .FirstHalf {
    position: absolute;
    background: radial-gradient(
      circle,
      rgba(var(--rgb-background), 1) 0%,
      rgba(var(--rgb-background), 0.9) 50%,
      rgba(var(--rgb-background), 0) 100%
    );
  }
}

/* Hero CMA Small Mobile Fixes */
@media (max-width: 510px) {
  .GlavPageFirstMessage .vinetka {
    display: none;
  }

  .containerRamzi {
    height: 60px;
  }
}

@media (max-width: 378px) {
  .FirstHalf {
    display: none;
  }
}

@media (max-width: 300px) {
  .feature-block {
    flex: 1 1 calc(100% - 5px);
    max-width: calc(100% - 5px);
  }
}



/*
========================================
8. BUTTONS & INTERACTIVE ELEMENTS
========================================
*/

.btn,
.btn-primary {
  border-radius: 25px;
  font-weight: 500;
  background-color: var(--color-button-primary);
  color: var(--color-white-button);
  border: none;
  transition: all 0.3s ease;
  text-align: center;
}

.btn:hover,
.btn-primary:hover {
  background-color: var(--color-button-hover);
}

.btn-primary:active,
.btn-success:active,
.btn-secondary:active,
.btn-outline-primary:active,
.btn-outline-secondary:active,
:not(.btn-check)+.btn:active {
  background-color: var(--color-button-active) !important;
  border-color: var(--color-button-active) !important;
}

.btn-hero {
  --b: 2px;   /* border thickness */
  --s: .45em; /* size of the corner */
  --color: var(--color-text-secondary);
  display: inline-block;
  position: relative;
  margin-top: 10px;

  padding: calc(.5em + var(--s)) calc(.9em + var(--s));
  color: var(--color);
  --_p: var(--s);

  background:
    conic-gradient(from 90deg at var(--b) var(--b), #0000 90deg, var(--color) 0)
    var(--_p) var(--_p) / calc(100% - var(--b) - 2*var(--_p)) calc(100% - var(--b) - 2*var(--_p));

  transition: .3s linear, color 0s, background-color 0s;
  outline: var(--b) solid #0000;
  outline-offset: .6em;
  font-size: 16px;
  font-weight: 500;

  border: 0;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.btn-hero:hover,
.btn-hero:focus-visible {
  --_p: 0px;
  outline-color: var(--color);
  outline-offset: .05em;
  transform: translateY(-3px);
}

.btn-hero:active {
  background: var(--color);
  color: #fff;
}

.modal-open {
  overflow: hidden;
  padding: 5px !important;
}

.modal-dialog {
  max-width: 800px; /* or any width you prefer */
  width: 90%;       /* optional, for responsiveness */
}

#stripeTestingModal .modal-content {
  background-color: var(--color-background);
  color: var(--color-primary-text);
  border-color: var(--color-borders);
  border-width: 2px;
}

#stripeTestingModal .modal-header {
  border-bottom: 1px solid var(--color-borders) !important;
}

#stripeTestingModal .btn-close {
  background-color: var(--color-text-secondary);
}

.btn-light {
  color: var(--color-white-button) !important;
}

/* Outline Button */
.is-outline {
  border: 2px solid;
  line-height: 2.19em;
}

/* Back to Top Button */
#top-link {
  background-color: transparent;
  transition: background-color 0.3s ease;
  z-index: 10;
}

#top-link:hover {
  background-color: var(--color-button-primary);
  color: var(--color-white);
}

.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-back-to-top-btn);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.3s ease;
}

.back-to-top:hover {
  background: var(--color-button-hover);
}

.icon-angle-up {
  font-style: normal;
}

.custom-button-container {
  text-align: center;
}

.custom-button-container button {
  margin: 8px 5px;
}



/*
========================================
9. PRODUCT CARDS & HOVER EFFECTS
========================================
*/

.card {
  background: var(--color-card-background);
  border: 1px solid var(--color-borders);
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(var(--rgb-headings), 0.15);
}

.breadcrumb-item + .breadcrumb-item::before,
.breadcrumb-item.active {
  content: "/";
  color: var(--color-grey);
  opacity: 0.7;
}

.product-card-image-container {
  position: relative;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
}

.product-image-primary,
.product-image-secondary {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.product-image-secondary {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transform: scale(1.05);
}

.product-card-image-container:hover .product-image-primary {
  opacity: 0;
  transform: scale(0.95);
}

.product-card-image-container:hover .product-image-secondary {
  opacity: 1;
  transform: scale(1);
}

.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(var(--rgb-background), 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.lightbox-overlay.active .lightbox-content {
  transform: scale(1);
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(var(--rgb-background), 0.5);
  display: block;
}

.lightbox-close {
  all: unset;
}



/*
========================================
10. PRODUCT VARIATIONS & FORMS
========================================
*/

.variations-section {
  background: var(--color-card-background);
  border: 1px solid var(--color-borders);
  border-radius: 10px;
  padding: 20px;
  transition: all 0.3s ease;
}

.variations-section:hover {
  border-color: rgba(var(--rgb-headings), 0.3);
  box-shadow: 0 2px 8px rgba(var(--rgb-headings), 0.1);
}

.variations-section:focus-within {
  border-color: var(--color-headings);
  box-shadow: 0 0 0 0.1rem rgba(var(--rgb-headings), 0.15);
}

.variation-group label {
  font-weight: 500;
  margin-bottom: 15px;
}

.custom-dropdown {
  position: relative;
  background: var(--color-secondary-bg);
  border: 1px solid var(--color-subtle-borders);
  border-radius: 8px;
  padding: 10px 15px;
  font-size: 16px;
  cursor: pointer;
  user-select: none;
  transition: all 0.3s ease;
}

.custom-dropdown:focus,
.custom-dropdown.open {
  background: var(--color-borders);
  border-color: var(--color-headings);
  box-shadow: 0 0 0 0.2rem rgba(var(--rgb-headings), 0.25);
  color: var(--color-search-header);
  outline: none;
}

.dropdown-label {
  display: block;
  color: inherit;
  font-weight: 500;
}

.dropdown-label::after {
  content: '▾';
  float: right;
  color: var(--color-light-dark-grey);
  font-size: 18px;
  pointer-events: none;
}

/* Dropdown Options */
.dropdown-options {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--color-secondary-bg);
  border: 1px solid var(--color-subtle-borders);
  border-radius: 8px;
  margin-top: 4px;
  list-style: none;
  padding: 0;
  z-index: 999;
  max-height: 250px;
  overflow-y: auto;
}

.custom-dropdown.open .dropdown-options {
  display: block;
}

.dropdown-options li {
  padding: 10px 15px;
  color: var(--color-primary-text);
  font-size: 16px;
  transition: background-color 0.2s ease;
}

.dropdown-options li:hover {
  background: var(--color-medium-grey);
  color: var(--color-always-white);
}

.variations-preview {
  background: rgba(var(--rgb-primary-text), 0.1);
  border: 1px solid rgba(var(--rgb-primary-text), 0.2);
  border-radius: 6px;
  padding: 8px;
  margin-bottom: 10px;
  display: none;
}

.variations-preview small {
  color: var(--color-primary-text);
  font-size: 12px;
  line-height: 1.3;
}

.variations-preview i {
  color: var(--color-headings);
  margin-right: 4px;
}

.text-muted.text-center {
  display: none;
}

.cart-item .variations-display {
  margin-top: 8px;
  padding-top: 5px;
  border-top: 1px solid rgba(var(--rgb-headings), 0.1);
}

.cart-item .variation-tag {
  background: rgba(var(--rgb-headings), 0.15);
  color: var(--color-headings);
  border: 1px solid rgba(var(--rgb-headings), 0.3);
  font-size: 10px;
  padding: 1px 6px;
}

/* Disabled Button State */
.btn:disabled {
  background: var(--color-subtle-borders);
  border-color: var(--color-subtle-borders);
  color: var(--color-dark-grey);
  cursor: not-allowed;
}

/* Responsive - Medium Devices */
@media (min-width: 768px) and (max-width: 991px) {
  .variations-section {
    padding: 20px 20px 5px;
  }

  .variations-section h5,
  .form-label {
    display: none;
  }

  .thumbnail-container .thumbnail {
    direction: ltr;
  }

  .custom-dropdown .dropdown-label {
    white-space: nowrap;
  }
}

/* Responsive - Small Devices */
@media (max-width: 768px) {
  .variations-section {
    padding: 15px;
  }

  .variation-group {
    margin-bottom: 12px;
  }

  .custom-dropdown {
    font-size: 14px;
    padding: 8px 12px;
  }

  .custom-dropdown .dropdown-options li {
    font-size: 14px;
    padding: 8px 12px;
  }

  .variations-display {
    flex-direction: column;
    gap: 3px;
  }

  .variation-tag {
    font-size: 10px;
    padding: 1px 6px;
  }
}



/*
========================================
11. PRODUCT GALLERY & IMAGES & BADGES
========================================
*/

.col-md-7 {
  padding: 0;
}

.product-gallery {
  width: 100%;
  max-width: 800px;
  margin: 0;
  visibility: hidden;
  padding-right: calc(var(--bs-gutter-x) * 0.5);
}

.product-gallery.initialized {
  visibility: visible;
}

.gallery-container {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.main-image-container {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--color-card-background);
  border: 1px solid var(--color-borders);
  box-shadow: 0 4px 12px rgba(var(--rgb-background), 0.3);
}

.main-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  cursor: zoom-in;
  transition: opacity 0.3s ease-in-out;
}

.main-image[src=""] {
  background: linear-gradient(90deg, var(--color-secondary-bg) 25%, var(--color-tertiary-bg) 50%, var(--color-secondary-bg) 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.thumbnail-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 90px;
  min-width: 60px;
  max-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  padding-left: 100px;
  order: -1;
}

.product-gallery:not(.horizontal-layout) .thumbnail-container {
  direction: rtl;
}

.product-gallery:not(.horizontal-layout) .thumbnail-container .thumbnail {
  direction: ltr;
}

.thumbnail-container.few-images,
.thumbnail-container.center-thumbnails {
  justify-content: center;
}

.thumbnail-container.few-images {
  overflow: visible;
}

.thumbnail-container.few-images .thumbnail {
  transform-origin: center;
}

.thumbnail-container.align-right {
  justify-content: flex-start;
}

/* Scrollbars */
.thumbnail-container::-webkit-scrollbar,
.product-gallery.horizontal-layout .thumbnail-container::-webkit-scrollbar {
  height: 10px;
  width: 8px;
}

.thumbnail-container::-webkit-scrollbar-track,
.product-gallery.horizontal-layout .thumbnail-container::-webkit-scrollbar-track {
  background: var(--color-secondary-bg);
  border-radius: 2px;
}

.thumbnail-container::-webkit-scrollbar-thumb,
.product-gallery.horizontal-layout .thumbnail-container::-webkit-scrollbar-thumb {
  background: var(--color-medium-grey);
  border-radius: 32px;
}

.thumbnail-container::-webkit-scrollbar-thumb:hover,
.product-gallery.horizontal-layout .thumbnail-container::-webkit-scrollbar-thumb:hover {
  background: var(--color-scroll-thumb-hover);
}

.thumbnail {
  width: 80px;
  aspect-ratio: 1;
  min-width: 60px;
  min-height: 60px;
  cursor: pointer;
  border-radius: 6px;
  position: relative;
  transition: all 0.3s ease;
  opacity: 0.6;
  border: 2px solid transparent;
  background: var(--color-secondary-bg);
  flex-shrink: 0;
  margin: 2px;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 4px;
  transition: transform 0.3s ease;
}

.thumbnail.active {
  opacity: 1;
  transform: scale(1.05);
  border-color: var(--color-headings);
  box-shadow: 0 2px 8px rgba(var(--rgb-headings), 0.3);
  z-index: 2;
}

.thumbnail:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

.thumbnail:hover img {
  transform: scale(1.06);
}

.thumbnail.active:hover {
  opacity: 1;
  transform: scale(1.08) translateY(-1px);
}

/* Horizontal Layout */
.product-gallery.horizontal-layout .gallery-container {
  flex-direction: column;
}

.product-gallery.horizontal-layout .thumbnail-container {
  flex-direction: row;
  width: 100%;
  max-height: none;
  overflow-x: auto;
  overflow-y: visible;
  padding: 8px 5px 12px;
  order: 1;
  justify-content: flex-start;
  gap: 0.75rem;
}

.product-gallery.horizontal-layout .thumbnail-container.center-thumbnails {
  justify-content: center;
}

.product-gallery.horizontal-layout .thumbnail-container.align-right {
  justify-content: flex-start;
}

.product-gallery.horizontal-layout .thumbnail {
  flex-shrink: 0;
  width: 90px;
  height: 90px;
  min-width: 60px;
  max-width: 120px;
  margin: 4px 2px;
}

/* Badges */
.badge.bg-warning {
  background: var(--color-headings) !important;
  color: var(--color-background);
}

.badge.bg-success {
  background: var(--color-badge-success) !important;
  color: var(--color-background);
}

.sale-badge.glowing,
.sale-badge.gradient {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 4px 8px;
  font-weight: bold;
  z-index: 10;
  animation: pulse-sale 2s infinite;
  letter-spacing: 0.5px;
}

.sale-badge.glowing {
  font-size: 120%;
  color: var(--color-always-white);
  background: transparent;
  text-shadow:
    0 0 1px var(--color-always-white),
    0 0 10px var(--color-always-white),
    0 0 2px var(--color-always-glowing-blue),
    0 0 20px var(--color-always-glowing-blue),
    0 0 4px var(--color-always-glowing-blue),
    0 0 30px var(--color-always-glowing-blue),
    0 0 8px var(--color-always-glowing-blue);
}

.sale-badge.gradient {
  font-size: 14px;
  text-transform: uppercase;
  border-radius: 4px;
  background: linear-gradient(45deg, var(--color-button-primary), var(--color-button-primary));
  color: var(--color-always-white);
  box-shadow: 0 2px 6px rgba(var(--rgb-sale-badge-gradient-shadow), 0.4);
}

@keyframes pulse-sale {
  0%, 100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

/* Medium Screens */
@media (min-width: 768px) and (max-width: 900px) {
  .custom-margin:has(.product-gallery.vertical-layout),
  .custom-margin.vertical-active {
    position: relative;
    margin-bottom: 100px;
  }

  .custom-margin:has(.product-gallery.vertical-layout) .custom-button-container,
  .custom-margin.vertical-active .custom-button-container {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 10;
    background-color: inherit;
    padding: 1rem 0;
    float: left !important;
    text-align: left;
  }
}

/* Small Devices */
@media (max-width: 768px) {
  .gallery-container {
    flex-direction: column;
    gap: 0.2rem;
    margin-bottom: 20px;
  }

  .thumbnail-container {
    flex-direction: row;
    width: 100%;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px 0 12px;
    order: 1;
  }

  .thumbnail-container::-webkit-scrollbar {
    height: 10px;
  }

  .product-gallery {
    padding-right: 0;
  }

  .product-gallery.horizontal-layout .thumbnail {
    margin-bottom: 0;
  }

  .product-gallery:not(.horizontal-layout) .thumbnail-container {
    direction: ltr;
  }

  .thumbnail-container {
    padding-left: 0;
  }

  .col-md-7 {
    padding: 0 12px 30px;
  }

  .main-image-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-top: 87.5%;
    overflow: hidden;
  }

  .main-image-container .main-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}



/*
========================================
12. PRODUCT TABS
========================================
*/

.product-tabs-container {
  margin-top: 2rem;
  padding-top: 10px;
}

.product-info-tabs {
  border-bottom: 2px solid var(--color-borders);
  overflow: visible;
}

.product-info-tabs .nav-tabs {
  border: none;
  background: var(--color-card-background);
  border-radius: 8px 8px 0 0;
  position: relative;
  z-index: 10;
  overflow: visible;
}

/* Tab Links */
.product-info-tabs .nav-link {
  background: var(--color-card-background);
  color: var(--color-primary-text);
  border: 1px solid var(--color-borders);
  border-bottom: none;
  padding: 1rem 1.5rem;
  font-weight: 500;
  font-size: 1.1rem;
  transition: box-shadow 0.3s ease, color 0.3s ease, background 0.3s ease;
  position: relative;
  margin-right: 2px;
  z-index: 5;
}

.product-info-tabs .nav-link:hover {
  background: var(--color-secondary-bg);
  color: var(--color-gold-accent);
  border-color: var(--color-subtle-borders);
  box-shadow: 0 2px 8px rgba(var(--rgb-gold-accent), 0.2);
  z-index: 15;
}

.product-info-tabs .nav-link.active {
  background: var(--color-background);
  color: var(--color-headings);
  border-color: var(--color-button-primary);
  border-bottom: 2px solid var(--color-button-primary);
  z-index: 20;
}

.product-info-tabs .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-button-primary);
}

/* Tab Content */
.tab-content {
  background: var(--color-background);
  border: 1px solid var(--color-borders);
  border-top: none;
  border-radius: 0 0 8px 8px;
  padding: 2rem 1rem 10px;
  min-height: 200px;
  position: relative;
  z-index: 1;
  margin-bottom: 40px;
}

.tab-pane p {
  margin-bottom: 1rem;
}

/* Info List */
.info-desc {
  margin: 0;
  padding: 0;
}

.info-desc li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-borders);
  display: flex;
  align-items: flex-start;
}

.info-desc li:last-child {
  border-bottom: none;
}

.info-desc strong {
  color: var(--color-headings);
  min-width: 150px;
  flex-shrink: 0;
}

.info-desc span {
  color: var(--color-primary-text);
  flex: 1;
}

.review-item {
  background: var(--color-card-background);
  border: 1px solid var(--color-borders) !important;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.star {
  font-size: 1.2rem;
  margin-right: 2px;
}

.star-filled {
  color: var(--color-links-hover);
}

.star-empty {
  color: var(--color-subtle-borders);
}

.review-author strong {
  color: var(--color-light-grey);
  font-size: 1.1rem;
}

.reviews-highlights {
  color: var(--color-grey);
}



/*
========================================
13. CART & E-COMMERCE
========================================
*/

.cart_check,
#cart-total,
#cart-items h6,
#cart-items span {
  color: var(--color-black-cart) !important;
}

.cart-button {
  background: transparent;
  border: 2px solid var(--color-social-email);
  color: var(--color-white);
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  transition: all 0.3s ease;
  will-change: transform;
  transform: translateZ(0);
}

.cart-button:hover {
  border-color: var(--color-white);
  color: var(--color-white);
  background: rgba(var(--rgb-headings), 0.1);
  transform: translateY(-2px);
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -16px;
  background: var(--color-button-primary);
  color: var(--color-white-button);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
}

.btn-close:focus {
  box-shadow: none;
}

.cart-item {
  border-bottom: 1px solid var(--color-borders);
  padding: 15px 0;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-image {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}

.quantity-controls {
  gap: 10px;
}

.quantity-controls .btn {
  width: 20px;
  height: 20px;
  font-size: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.quantity-controls .btn div {
  position: relative;
  bottom: 2px; /* tweak this up or down slightly */
}

.quantity-btn:hover {
  background: var(--color-borders);
}

/*
================================
14. SHARE BUTTONS
================================
*/
.social-share {
  display: block;
}

.social-share-buttons {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.social-share-label {
  margin-right: 8px;
  font-size: 14px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  text-decoration: none;
  color: var(--color-white-button)  !important;
  font-size: 14px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.social-btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.social-btn.facebook {
  background-color: var(--color-social-facebook);
}

.social-btn.twitter {
  background-color: var(--color-social-twitter);
}

.social-btn.pinterest {
  background-color: var(--color-social-pinterest);
}

.social-btn.whatsapp {
  background-color: var(--color-social-whatsapp);
}

.social-btn.email {
  background-color: var(--color-social-email);
}

.social-btn.copy {
  background-color: var(--color-social-copy);
}

.social-share.icons-style .social-btn {
  width: 35px;
  height: 35px;
  border-radius: 50%;
}

.social-share.buttons-style .social-btn {
  width: auto;
  height: auto;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 12px;
}

.social-share.buttons-style .social-btn i {
  margin-right: 5px;
}

.social-share.minimal-style .social-btn {
  background-color: transparent;
  color: var(--color-text-secondary);
  border: 2px solid var(--color-light-border);
}

.social-share.minimal-style .social-btn:hover {
  background-color: var(--color-light-background);
  color: var(--color-borders);
}



/*
========================================
15. ABOUT US PAGE STYLES
========================================
*/

.about-header,
.about-footer {
  background-color: var(--color-button-primary);
  color: var(--color-white);
  text-align: center;
  padding: 30px 10px;
  margin: 30px 0;
  border-radius: 6px;
}

.about-header h2,
.about-footer h2 {
  color: var(--color-white-button) !important;
  margin: 0;
}

.about-header p,
.about-footer p {
  font-style: italic;
  color: var(--color-white-button) !important;
  margin: 10px 0 0 0;
}

.about-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 20px;
  margin: 40px 0;
}

.about-image {
  flex: 0 0 300px;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.about-content {
  flex: 1;
  min-width: 300px;
}

.team-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin: 40px 0;
}

.team-member {
  text-align: center;
  flex: 1;
  min-width: 98px;
  max-width: 550px;
}

.team-photo {
  margin: 0 auto 15px;
  border-radius: 50%;
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-info h6 {
  margin: 10px 0 5px;
}

.team-info p {
  font-size: 14px;
}

.values-section p {
  margin-bottom: 20px;
}

.contact-section {
  text-align: center;
  padding: 0px 10px 10px;
}

/* Mobile */
@media (max-width: 768px) {
  .about-intro {
    flex-direction: column;
  }

  .about-image {
    flex: none;
    width: 100%;
  }

  .about-content {
    min-width: auto;
  }
}



/*
========================================
16. SUCCESS & CANCEL PAGES
========================================
*/

body.success .main-content,
body.cancel .main-content {
  padding: 4vh 1rem;
}

body.success .center-wrap,
body.cancel .center-wrap {
  background-color: var(--color-card-background);
  border: 1px solid var(--color-borders);
  border-radius: 6px;
  max-width: 600px;
  margin: 5rem auto;
  padding: 2rem;
  box-shadow: 0 0 20px rgba(var(--rgb-headings), 0.06);
  text-align: center;
}

body.success .center-wrap ul,
body.success .center-wrap ol,
body.cancel .center-wrap ul,
body.cancel .center-wrap ol {
  text-align: left;
  display: inline-block;
  margin: 1rem auto;
  padding-left: 1.5rem;
  width: 100%;
}

body.success .order-items-container {
  margin: 1rem 0;
  width: 100%;
}

body.success .order-item {
  border: 1px solid var(--color-borders);
  padding: 1rem;
  margin: 1rem 0;
  border-radius: 6px;
  background: var(--color-order-item-bg);
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  box-sizing: border-box;
}

body.success .product-details {
  flex: 1;
  min-width: 0;
}

/* Variation Tags */
body.success .variations {
  margin: 0.5rem 0;
}

body.success .variation-tag {
  display: inline-block;
  background: var(--color-borders);
  padding: 0.25rem 0.5rem;
  margin: 0.2rem 0.2rem 0.2rem 0;
  border-radius: 3px;
  font-size: 0.85em;
}

.order-summary {
  max-width: 800px;
  margin: 0 auto;
  padding: 0rem 1rem;
  text-align: center;
}

.order-summary-confirmed {
  background: var(--color-card-background);
  padding: 1.5rem;
  border-radius: 6px;
  border: 1px solid var(--color-borders);
  margin: 2rem 0;
}

.success-highlights {
  font-weight: 700;
  color: var(--color-headings);
}

.order-summary h3 {
  text-align: center;
}

.order-items-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.product-image-container {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border-radius: 6px;
  overflow: hidden;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.product-details {
  flex: 1;
  min-width: 0;
}

.success-unexpected-events {
  background: var(--color-card-background);
  padding: 2rem;
  border: 1px solid var(--color-borders);
  border-radius: 6px;
  text-align: center;
}

/* Mobile Responsive */
@media (max-width: 600px) {
  body.success .order-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    margin-top: 2rem;
  }

  body.success .product-image-container {
    align-self: center;
  }

  body.success .product-image {
    width: 100%;
    height: 100%;
  }

  body.success .product-details {
    width: 100%;
  }

  body.success .center-wrap {
    padding: 2rem 0px;
  }
}



/*
========================================
END OF CUSTOM CSS
========================================
*/

/*
==================================================
THEME COMPLETION NOTICE
==================================================
This completes the Hugo Dark/Light Theme custom CSS file.

The theme includes:
- Modern dark/light design with gold accents
- Seamless light mode integration
- Fully responsive layout
- Animated hero elements
- E-commerce ready components
- Product galleries and variations
- Comprehensive page templates
- Accessibility considerations
- Cross-browser compatibility

For support and updates, please refer to the theme documentation.
==================================================
*/
