/*
==================================================
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. Cards & Components
4. Buttons & Interactive Elements
5. Cart & E-commerce
6. Footer Styles
7. Responsive Design For Logo & Footer
8. Product Variations & Forms
9. Product Gallery & Images & Badges
10. Product Cards & Hover Effects
11. Product Tabs
12. Responsive Design For Product Pages
13. Accessibility & Utilities
14. Hero Sections & Animations
15. Animated Hero Elements
16. Feature Blocks & Grid Layouts
17. About Us Page Styles
18. Hero & About Page Responsive Design
19. Success & Cancel Pages
20. Pagination Styles

	Usage Notes & Documentation
==================================================
*/

/*
==================================================
COLOR PALETTE
==================================================
Primary Colors:
- Background: #000000 (Black)
- Card Background: #1a1a1a (Dark Gray)
- Footer Background: #2b1818 (Dark Brown)

Text Colors:
- Primary Text: #bda47b (Light Brown/Tan)
- Headings: #ffd700 (Gold)
- Links Hover: #e6bc00

Accent Colors:
- Button Primary: #c75e53 (Red-Brown)
- Button Hover: #b83f33 (Darker Red-Brown)
- Borders: #333333 (Dark Gray)
- Subtle Borders: #444444 (Medium Gray)
==================================================
*/

/* ========================================
   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: black !important;
    color: #bda47b !important;
	height: 100%;
}

main {
    padding: 0 15px;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    color: #ffd700 !important;
	margin-bottom: 1.3rem;
}

.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; /* adjust this for how much vertical space you want centered */
  padding: 2rem 1rem;
}

/* Links */
a {
    color: #ffd700;
    transition: color 0.3s ease;
}

a:hover {
    color: #e6bc00;
}


.p-highlights strong {
    color:lightgrey;
}

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

.bg-primary {
    background-color: black !important;
}

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

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

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

/* Logo Styles */
.logo-container {
    flex: 0 0 auto;
    transition: all 0.3s ease;
}

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

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

.desktop-menu a {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.desktop-menu a:hover {
    color: #ffc107;
}

/* Navbar Bootstrap Override */
.navbar {
    background-color: black !important;
}

.navbar img {
    height: 55px;
    min-height: 55px;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: #ffd700 !important;
}

.navbar-nav .nav-link {
    color: #bda47b !important;
}

.navbar-nav .nav-link:hover {
    color: #ffd700 !important;
}

.navbar .btn {
    background: transparent;
    color: white;
}

.navbar .btn:hover {
    background: white;
    color: black;
}

.text-muted {
	color: gray !important;
}	

/* Mobile Navigation */
.mobile-toggle {
    display: none;
    background: transparent;
    border: 1px solid #6c757d;
    color: #fff;
    padding: 0.5rem;
    border-radius: 0.375rem;
    position: absolute;
    left: 15px;
    z-index: 1001;
}

.mobile-toggle:hover {
    border-color: #fff;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 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: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 1rem 0;
    display: block;
    border-bottom: 1px solid #444;
}

.mobile-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 2rem;
}

/* ========================================
   3. CARDS & COMPONENTS
   ======================================== */

.card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    background-color: #1a1a1a !important;
    border: 1px solid #333 !important;
    color: #bda47b !important;
}

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

.card-title {
    color: #ffd700 !important;
}

.card-text {
    color: #bda47b !important;
}

/* Product Card Hover Effects */
.card.h-100.product-card:hover .card-title a {
    color: #ffc107 !important;
}

.card.h-100.product-card:hover .product-description a {
    color: #ffc107 !important;
}

/* Breadcrumb */
.breadcrumb-item.active {
    color: white;
    opacity: 0.5;
}

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

.btn {
    border-radius: 25px;
    font-weight: 500;
    background-color: #c75e53;
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #b83f33;
}

.btn-primary {
    background-color: #c75e53;
    color: white;
    border: none;
    text-align: center;
}

.btn-primary:hover {
    background-color: #b83f33 !important;
}

.bg-danger {
    background-color: #c75e53 !important;
}

/* Outline Buttons */
.button.is-outline, 
input[type=button].is-outline, 
input[type=reset].is-outline, 
input[type=submit].is-outline {
    border: 2px solid;
    line-height: 2.19em;
}

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

#top-link:hover {
    background-color: #c75e53;
    color: white;
}

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

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #007cba;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.3s;
}

.back-to-top:hover {
    background: #b83f33 !important;
}

.custom-button-container {
    text-align: center; /* for centering */
}

.custom-button-container button {
    margin: 8px 5px; /* Creates uniform spacing */
}

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

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

.cart-button {
    background: transparent;
    border: 1px solid #6c757d;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    position: relative;
    transition: all 0.3s ease;
}

.cart-button:hover {
    border-color: #fff;
    color: #fff;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #c75e53;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#cart-count {
    font-size: 0.75rem;
}

.cart-item {
    border-bottom: 1px solid #333;
    padding: 15px 0;
    color: #bda47b;
}

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

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

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-controls .btn {
  width: 20px;
  height: 20px;
  font-size: 20px;
  line-height: 1; /* important to avoid vertical misalignment */
  padding: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.quantity-btn:hover {
    background: #333;
    color: #ffd700;
}

.d-flex .btn {
    border: none;
}

/* ========================================
   6. FOOTER STYLES
   ======================================== */

#footer {
    background: #2b1818;
}

.footer-wrapper {
    background-color: #333;
    color: #fff;
    padding: 40px 0 0px;
}

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

.footer-main-content {
    display: flex;
    flex-wrap: wrap;
}

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

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

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

/* Footer Typography */
.widget-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
}

.is-divider {
    border-bottom: 2px solid #555;
    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: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.menu a:hover {
    color: #fff;
}

/* Newsletter Form */
.newsletter-email-input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #555;
    background: white;
    color: black;
}

.newsletter-submit-btn {
    background: #c75e53;
    color: #fff;
    border: none;
    padding: 5px 10px;
    margin-top: 10px;
    cursor: pointer;
    transition: background 0.3s;
}

.newsletter-submit-btn:hover {
    background: #b83f33;
}

/* Contact Form */
#contact-form button {
    background: #c75e53;
    color: #fff;
    transition: background 0.3s;
    width: 80px;
    height: 45px;
    border: none;
}

#contact-form button:hover {
    background: #b83f33;
}

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

.payment-icon svg {
    width: 40px;
    height: 20px;
    fill: #ccc;
}

/* Footer Bottom */
.absolute-footer {
    background: transparent;
    padding: 20px 50px;
    border-top: 1px solid #444;
}

/* Logo in Footer */
.logo-white img {
    max-width: 150px !important;
    display: none !important;
}

/* Clearfix Utility */
.container.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

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

/* Variations Section */
.variations-section {
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}
.variations-section:hover {
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.1);
}
.variations-section:focus-within {
    border-color: #ffd700;
    box-shadow: 0 0 0 0.1rem rgba(255, 215, 0, 0.15);
}
.variations-section h5 {
    color: #ffd700 !important;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Variation Groups */
.variation-group {
    margin-bottom: 15px;
}
.variation-group label {
    color: #bda47b !important;
    font-weight: 500;
    margin-bottom: 5px;
}

/* ========================================
   Custom Dropdown (Replaces Native Select)
   ======================================== */
   
/* Container that replaces the native select */
.custom-dropdown {
    position: relative;
    background-color: #2a2a2a;
    border: 1px solid #444;
    color: #bda47b;
    border-radius: 8px;
    padding: 10px 15px;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    user-select: none;
}

/* Focus & open state mimic native select focus */
.custom-dropdown:focus,
.custom-dropdown.open {
    background-color: #333;
    border-color: #ffd700;
    box-shadow: 0 0 0 0.2rem rgba(255, 215, 0, 0.25);
    color: #ffd700;
    outline: none;
}

/* Dropdown label (visible part) */
.custom-dropdown .dropdown-label {
    display: block;
    color: inherit;
    font-weight: 500;
}
.custom-dropdown .dropdown-label::after {
    content: '▾';
    float: right;
    color: #888;
    font-size: 18px;
    pointer-events: none;
}

/* Dropdown options container */
.custom-dropdown .dropdown-options {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #2a2a2a;
    border: 1px solid #444;
    border-radius: 8px;
    margin-top: 4px;
    padding: 0;
    list-style: none;
    z-index: 999;
    max-height: 250px;
    overflow-y: auto;
}
.custom-dropdown.open .dropdown-options {
    display: block;
}

/* Individual option styles */
.custom-dropdown .dropdown-options li {
    padding: 10px 15px;
    color: #bda47b;
    font-size: 16px;
    transition: background-color 0.2s ease;
}
.custom-dropdown .dropdown-options li:hover {
    background-color: #555;
    color: white;
}

/* Additional Variation-Related Styles */
/* Additional Variation-Related Styles */
/* Cart Variations Display */
.variations-display {
    margin-top: 5px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.variation-tag {
    background-color: #333;
    color: #ffd700;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    border: 1px solid #444;
}

/* Product Card Variations Preview */
.variations-preview {
    background-color: rgba(189, 164, 123, 0.1);
    border: 1px solid rgba(189, 164, 123, 0.2);
    border-radius: 6px;
    padding: 8px;
    margin-bottom: 10px;
    display: none;
}
.text-muted.text-center {
    display: none;
}
.variations-preview small {
    color: #bda47b !important;
    font-size: 12px;
    line-height: 1.3;
}
.variations-preview i {
    color: #ffd700;
    margin-right: 4px;
}

/* Enhanced Cart Item Styling */
.cart-item .variations-display {
    margin-top: 8px;
    padding-top: 5px;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}
.cart-item .variation-tag {
    background-color: rgba(255, 215, 0, 0.15);
    color: #ffd700;
    border: 1px solid rgba(255, 215, 0, 0.3);
    font-size: 10px;
    padding: 1px 6px;
}

/* Enhanced Button States for Variation Products */
.btn:disabled {
    background-color: #444 !important;
    border-color: #444 !important;
    color: #999 !important;
    cursor: not-allowed;
}

/* Validation Styling (for custom dropdown errors) */
.custom-dropdown.invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

/* Loading State (if applicable) */
.custom-dropdown.loading {
    background-image: url("data:image/svg+xml,%3csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M10 3.5a6.5 6.5 0 0 0-6.5 6.5H2a8 8 0 1 1 8 8v-1.5a6.5 6.5 0 0 0 0-13z' fill='%23bda47b'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}

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

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

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

.main-image {
    cursor: zoom-in;
}

/* Main Gallery Container */
.product-gallery {
    width: 100%;
    max-width: 800px;
    margin: 0;
    /* Prevent flash of unstyled content */
    visibility: hidden;
	padding-right: calc(var(--bs-gutter-x) * .5);
}

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

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

/* Main Image Styles */
.main-image-container {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background-color: #1a1a1a;
    border: 1px solid #333;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

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

/* Thumbnail Container - Vertical Layout (Default) */
.thumbnail-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 90px;
    min-width: 60px;
    /* Remove fixed max-height to prevent flash */
    overflow-x: hidden;
    overflow-y: auto;
    padding-left: 100px;
    order: -1;
    /* Initial size constraint */
    max-height: 100vh;
}

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

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

/* Improved centering for few images */
.thumbnail-container.few-images {
    justify-content: center;
    overflow: visible;
}

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

/* Dynamic centering based on image count */
.thumbnail-container.center-thumbnails {
    justify-content: center;
}

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

/* Scrollbar Styles */
.thumbnail-container::-webkit-scrollbar {
    height: 10px;
    width: 10px;
}

.thumbnail-container::-webkit-scrollbar-track {
    background: #2a2a2a;
    border-radius: 2px;
}

.thumbnail-container::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 32px;
}

.thumbnail-container::-webkit-scrollbar-thumb:hover {
    background: #777;
}

/* Individual Thumbnail Styles */
.thumbnail {
    width: 80px;
    aspect-ratio: 1;
    min-width: 60px;
    min-height: 60px;
    cursor: pointer;
    border-radius: 6px;
    overflow: visible; /* Changed from hidden to prevent clipping */
    position: relative;
    transition: all 0.3s ease;
    opacity: 0.6;
    border: 2px solid transparent;
    background-color: #2a2a2a;
    flex-shrink: 0;
    /* Add margin to prevent clipping when scaled */
    margin: 2px;
}

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

/* Active Thumbnail */
.thumbnail.active {
    opacity: 1;
    transform: scale(1.05);
    border-color: #ffd700;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    z-index: 2;
}

/* Thumbnail Hover Effects */
.thumbnail:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

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

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

/* HORIZONTAL LAYOUT - PURE HORIZONTAL ONLY */
.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: 5px 5px 20px 5px;
    order: 1;
    justify-content: flex-start;
    gap: 0.75rem;
    /* Add margin for scaled thumbnails */
    padding-top: 8px;
    padding-bottom: 12px;
}

.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;
    /* Add margin for horizontal layout too */
    margin: 4px 2px;
}

.product-gallery.horizontal-layout .thumbnail-container::-webkit-scrollbar {
    height: 10px;
    width: auto;
}

.product-gallery.horizontal-layout .thumbnail-container::-webkit-scrollbar-track {
    background: #2a2a2a;
    border-radius: 2px;
}

.product-gallery.horizontal-layout .thumbnail-container::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 2px;
}

.product-gallery.horizontal-layout .thumbnail-container::-webkit-scrollbar-thumb:hover {
    background: #777;
}

/* Loading State */
.main-image[src=""] {
    background: linear-gradient(90deg, #2a2a2a 25%, #3a3a2a 50%, #2a2a2a 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

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

/* Badges */
.badge.bg-warning {
    background-color: #ffd700 !important;
    color: #000;
}

.badge.bg-success {
    background-color: #9ACD32 !important;
    color: #000;
}

/* Glowing Sale Badge */
.sale-badge.glowing {
    position: absolute;
    top: 8px;
    left: 8px;   
    padding: 4px 8px;
    font-size: 120%;
    font-weight: bold;
    z-index: 10;
    color: white;
    text-shadow: 0 0 1px #fff, 0 0 10px #fff, 0 0 2px #0073e6, 0 0 20px #0073e6, 0 0 4px #0073e6, 0 0 30px #0073e6, 0 0 8px #0073e6;
    background-color: transparent;
    animation: pulse-sale 2s infinite;
    letter-spacing: 0.5px;
}

/* Gradient Sale Badge (an example) */
.sale-badge.gradient {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 4px;
    z-index: 10;
    background: linear-gradient(45deg, #c75e53, #c75e53);
    color: white;
    box-shadow: 0 2px 6px rgba(255, 71, 87, 0.4);
    animation: pulse-sale 2s infinite;
    letter-spacing: 0.5px;
}

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

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

.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;
}

.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 - Base styles with explicit positioning */
.lightbox-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.9) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 9999 !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    /* Ensure it's not affected by parent visibility */
    transform: none !important;
}

/* Active state */
.lightbox-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Lightbox Content */
.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 Image - Ensuring Proper Visibility */
.lightbox-img {
    max-width: 90vw !important;
    max-height: 90vh !important;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    opacity: 1 !important;
    display: block !important;
    visibility: visible !important;
}

/* Close Button - Pure Red */
.lightbox-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background: #c75e53 !important;
    border: 2px solid #c75e53 !important;
    border-radius: 50%;
    color: white !important;
    font-size: 20px;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10000;
    visibility: visible !important;
    opacity: 1 !important;
}

.lightbox-close:hover {
    background: #b83f33 !important;
    border-color: #ff0000 !important;
    transform: scale(1.1);
}


/* ========================================
   10. PRODUCT TABS
   ======================================== */

/* Product Tabs Styling - Fixed Version */
.product-tabs-container {
    margin-top: 2rem;
    /* Add padding-top to prevent tab cutoff */
    padding-top: 10px;
}

.product-info-tabs {
    border-bottom: 2px solid #333333;
    /* Add overflow visible to prevent cutoff */
    overflow: visible;
}

.product-info-tabs .nav-tabs {
    border-bottom: none;
    background-color: #1a1a1a;
    border-radius: 8px 8px 0 0;
    overflow: visible; /* Changed from hidden to visible */
    /* Add z-index to ensure tabs appear above other content */
    position: relative;
    z-index: 10;
}

.product-info-tabs .nav-link {
    background-color: #1a1a1a;
    color: #bda47b;
    border: 1px solid #333333;
    border-bottom: none;
    padding: 1rem 1.5rem;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    margin-right: 2px;
    /* Ensure tabs have higher z-index when hovered */
    z-index: 5;
}

.product-info-tabs .nav-link:hover {
    background-color: #2a2a2a;
    color: #ffc107;
    border-color: #444444;
    /* Remove transform that causes cutoff */
    /* transform: translateY(-2px); */
    /* Instead, add subtle shadow for hover effect */
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.2);
    z-index: 15; /* Higher z-index on hover */
}

.product-info-tabs .nav-link.active {
    background-color: #000000;
    color: #ffd700;
    border-color: #c75e53;
    border-bottom: 2px solid #c75e53;
    z-index: 20; /* Highest z-index for active tab */
}

.product-info-tabs .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #c75e53;
}

.tab-content {
    background-color: #000000;
    border: 1px solid #333333;
    border-top: none;
    border-radius: 0 0 8px 8px;
    padding: 2rem;
    min-height: 200px;
    /* Ensure content doesn't overlap tabs */
    position: relative;
    z-index: 1;
}

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


/* Additional Information List Styling */
.info-desc {
    margin: 0;
    padding: 0;
}

.info-desc li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #333333;
    display: flex;
    align-items: flex-start;
}

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

.info-desc strong {
    color: #ffd700;
    min-width: 150px;
    flex-shrink: 0;
}

.info-desc span {
    color: #bda47b;
    flex: 1;
}

/* Reviews Styling */
.tab-content {
    padding-bottom: 10px;
    margin-bottom: 40px;
}

.review-item {
    background-color: #1a1a1a;
    border: 1px solid #333333 !important;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

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

.star-filled {
    color: #e6bc00 ;
}

.star-empty {
    color: #444444;
}



.review-author strong {
    color: lightgrey;
    font-size: 1.1rem;
}





/* ========================================
   11. RESPONSIVE DESIGN FOR PRODUCT PAGES
   ======================================== */

/* tablet and mobile navigation */
@media (max-width: 991px) {
    .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 0.5rem;
    }
    .custom-header {
        padding: 2.0rem 0;
    }
	.header-actions .search-toggle-btn {
		display: none;
	}
}

/* footer 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;
    }
}

/* footer responsive mobile */
@media (max-width: 849px) {
    .footer-main-content {
        flex-direction: column;
    }
    .footer-block {
        flex: none;
        width: 100%;
        margin-right: 0;
        margin-bottom: 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%;
    }
}

/* small mobile devices */
@media (max-width: 400px) {
    .logo-container img {
        height: 30px;
    }
    .mobile-toggle {
        left: 10px;
    }
    .cart-button {
        right: 10px;
    }
}

/* Responsive design for product pages - variations (medium devices) */
@media (min-width: 768px) and (max-width: 991px) {
    .variations-section h5 {
        margin-bottom: 20px;
        margin-top: 5px;
        position: relative;
        top: 6px;
        float: right;
    }
    .variations-section {
		padding: 20px 20px 5px;
    }
    .form-label {
        display: none;
    }
    .thumbnail-container .thumbnail {
        direction: ltr;
    }
	.custom-dropdown .dropdown-label {
    white-space: nowrap;
	}	
}

/* Responsive design for product pages - variations (small devices) */
@media (max-width: 768px) {
    .variations-section {
        padding: 15px;
    }
    .variation-group {
        margin-bottom: 12px;
    }
    /* Custom Dropdown adjustments for smaller screens */
    .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;
    }
}

/* responsive design for product pages - gallery (vertical layout on medium screens) */
@media (min-width: 768px) and (max-width: 900px) {
    .custom-margin:has(.product-gallery.vertical-layout) {
        position: relative;
        margin-bottom: 100px;
    }
    .custom-margin:has(.product-gallery.vertical-layout) .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;
    }
    /* fallback for browsers that don't support :has() */
    .custom-margin.vertical-active {
        position: relative;
        margin-bottom: 100px;
    }
    .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;
    }
}

/* responsive design for product pages - gallery (small devices) */
@media (max-width: 768px) {
    .gallery-container {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 20px;
    }
    .thumbnail-container {
        flex-direction: row;
        width: 100%;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        padding-right: 0;
        padding-bottom: 14px;
        order: 1;
        padding-top: 8px;
        padding-bottom: 12px;
    }
    .product-gallery {
        padding-right: 0;
    }
    .thumbnail-container::-webkit-scrollbar {
        height: 10px;
        width: auto;
    }
    .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. ACCESSIBILITY & UTILITIES
   ======================================== */

/* Accessibility Improvements */
.thumbnail:focus {
    outline: 2px solid #ffd700;
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .thumbnail {
        border-color: #fff;
    }
    
    .thumbnail.active {
        border-color: #ffd700;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .thumbnail,
    .thumbnail img,
    .main-image,
    .product-image-primary,
    .product-image-secondary {
        transition: none;
    }
    
    .thumbnail:hover img {
        transform: none;
    }
    
    .sale-badge {
        animation: none;
    }
}

/* Remove default borders where needed */
.d-flex .btn {
    border: none;
}

/* Ensure proper spacing and alignment */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Transition utilities for smooth animations */
.transition-all {
    transition: all 0.3s ease;
}

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

/* ========================================
   13. 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 inline style for direct color support */
}

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

/* Image Positioning - Full height, stick to edges */
.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-left {
  left: 0;
}

.hero-cm-image-right {
  right: 0;
}

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

/* Content Wrapper - Takes remaining space */
.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 */
.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);
  margin: 0 0 1rem;
  line-height: 1.1;
  font-weight: bold;
  /* Color will be handled by theme or inherit from parent */
}

.hero-cm-subtitle {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.4;
  /* Color will be handled by theme or inherit from parent */
}

/* Call to Action Button - Now supports both <a> and <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;
  backdrop-filter: blur(10px);
}

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

/* Ensure button elements get proper styling */
button.hero-cm-cta {
  font-family: inherit;
}

/* 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, #ffd700) 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 Design - Default breakpoint AND JavaScript-triggered mobile class */
@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 devices */
@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;
  }
}

/* ========================================
   14. HERO CMA $ HERO BOTTOM SECTIONS & ANIMATIONS
   ======================================== */

/* Hero Section Base Styles */

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

/* Hero Typography */
.h1, h1 {
    font-size: 1.5rem;
}

.h2, h2 {
    font-size: 1.6rem;
}

/* Main Hero Message Container */
.GlavPageFirstMessage {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 0 !important;
}

.GlavPageFirstMEssage {
    margin: 0 auto;
}

.GlavPageFirstMEssage th, 
.GlavPageFirstMEssage td {
    padding: 0.5em;
    text-align: left;
    border-bottom: 0px solid #ececec;
    line-height: 1.3;
    font-size: .9em;
}

/* Hero Content Sections */
.FirstHalf {
    padding-right: 0;
    width: 150px !important;
}

.FirstHalf h1 {
    font-size: 1.2rem;
}

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

.hero-bottom img {
    opacity: 0.5;
}

/* Hero Text Elements */
.quoteHush {
    opacity: 0.5;
}

.vinetka {
    color: white;
    opacity: 0.3;
    padding: 10px 0px 20px;
}

.vrezka {
    color: white;
    opacity: 0.5;
}

.golden_h2 {
    color: yellow;
	margin-top: 30px;
}

.second-hero-text {
    color: #bda47b;
}

/* Spinning Text Animation */
#spin {
    color: yellow;
}

#spin:after {
    content: "";
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { content: "ipsum"; }
    10% { content: "dolor"; }
    20% { content: "sit"; }
    30% { content: "amet"; }
    40% { content: "consectetur"; }
    50% { content: "adipisicing"; }
    60% { content: "elit"; }
    70% { content: "Hic"; }
    80% { content: "atque"; }
    90% { content: "fuga"; }
}

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

/* Rotating Words Container */
.containerRamzi {
    position: relative;
    text-align: center;
    width: 250px;
    line-height: 30px;
    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: #505050;
    color: #fff;
}

.w2Ramzi {
    animation: w2anim 20s infinite;
    background: #556B2F;
    color: #fff;
}

.w3Ramzi {
    animation: w3anim 20s infinite;
    background: #336699;
    color: #fff;
}

.w4Ramzi {
    animation: w4anim 20s infinite;
    background: #6C3483;
    color: #fff;
}

.w5Ramzi {
    animation: w5anim 20s infinite;
    background: #6F4E37;
    color: #fff;
}

/* 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 Quote styles */
.quote-section {
  background: linear-gradient(135deg, #1a1a1a 0%, #2b1818 100%);
  padding: 40px 20px 27px;
  margin: 20px 0 30px;
  border-radius: 5px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  border: 1px solid #333333;
  width: 100%;
}
.quote-container {
  text-align: center;
  margin: 0 auto;
}
.quote-text {
  font-size: 1.8rem;
  color: #ffd700;
  font-style: italic;
  margin: 0 0 20px 0;
  line-height: 1.4;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}
.quote-author {
  font-size: 1.2rem;
  font-weight: 600;
  display: block;
  margin-top: 15px;
}

/* ========================================
   15. FEATURE BLOCKS & GRID LAYOUTS
   ======================================== */

/* Feature Container */
#feature-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

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

.feature-block {
    flex: 1 1 calc(25% - 10px);
    max-width: calc(25% - 10px);
    padding: 10px 0px;
    box-sizing: border-box;
    text-align: left;
    color: #bda47b;
    border-radius: 10px;
}

/* Emoji Styling */
.feature-emoji {
    display: inline-block;
    width: 1em !important;
    height: 1em !important;
    vertical-align: -0.1em;
    margin: 0 0.07em;
    border: none;
    box-shadow: none;
    background: none;
    padding: 0;
}

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

/* About Page Header */
.about-header {
    background-color: #c75e53;
    color: white;
    text-align: center;
    padding: 10px;
    margin: 30px 0;
    border-radius: 6px;
}

.about-header h1 {
    color: white !important;
    margin: 0;
}

.about-header p {
    color: white !important;
    font-size: 80%;
    font-style: italic;
    margin: 10px 0 0 0;
}

/* About Introduction Section */
.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 Section */
.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 */

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

/* Contact Section */
.contact-section {
    text-align: center;
    padding: 0px 10px 10px;
}

/* About Page Mobile */
@media (max-width: 768px) {
    .about-intro {
        flex-direction: column;
    }
    
    .about-image {
        flex: none;
        width: 100%;
    }
    
    .about-content {
        min-width: auto;
    }
}

/* ========================================
   17. HERO RESPONSIVE DESIGN
   ======================================== */

/* Hero Section Mobile */
@media (max-width: 768px) {
    .hero-section {
        padding: 0rem 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
}

/* Feature Blocks Responsive */
@media screen and (max-width: 849px) {
    .feature-block {
        flex: 1 1 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }
}

/* Hero Message Mobile Layout */
@media (max-width: 701px) {
    .GlavPageFirstMessage {
        display: block;
    }
    
    .FirstHalf {
        position: absolute;
        background: radial-gradient(
            circle,
            rgba(0, 0, 0, 1) 0%,
            rgba(0, 0, 0, 0.9) 50%,
            rgba(0, 0, 0, 0) 100%
        );
    }
    
    .SecondHalf {
        width: 100%;
        margin-bottom: 20px;
        transition: all 0.5s ease;
    }
    
    .GlavPageFirstMessage h1 br {
        display: none;
    }
}

/* Small Mobile Adjustments */
@media (max-width: 481px) {
    .GlavPageFirstMessage .vinetka {
        display: none;
    }
    
    .containerRamzi {
        height: 60px;
    }
}

@media (max-width: 350px) {
    .containerRamzi br {
        display: none;
        font-size: 16px;
        position: fixed;
        width: 250px;
        line-height: 25px;
    }
    
    .containerRamzi {
        height: 40px;
    }
    
    .wordRamzi {
        margin-top: -5px;
    }
}

/* ========================================
   18. SUCCESS & CANCEL PAGES
   ======================================== */
/* Success page product images - Desktop and Mobile responsive */

/* Combined styling for Cancel and Success pages */
body.cancel .main-content,
body.success .main-content {
    padding: 4vh 1rem;
}

body.cancel .center-wrap,
body.success .center-wrap {
    background-color: #1a1a1a;             /* Card Background (Dark Gray) */
    border: 1px solid #333333;           /* Dark Gray border */
    border-radius: 6px;
    padding: 2rem;
    max-width: 600px;
    margin: 5rem auto;                  /* Centers horizontally with vertical margins */
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.06);  /* Subtle goldish shadow */
    color: #bda47b;                     /* Primary text (Light Brown/Tan) */
    text-align: center;
}

/* Override list styles within the card so that bullet/numbered lists are left aligned */
body.cancel .center-wrap ul,
body.cancel .center-wrap ol,
body.success .center-wrap ul,
body.success .center-wrap ol {
    text-align: left;                   /* Left align the text in lists */
    display: inline-block;              /* Shrink wrap the list to its content */
    margin: 1rem auto;                  /* Center the list block horizontally */
    padding-left: 1.5rem;               /* Add left padding for proper bullet/number rendering */
    width: 100%;
}

/* Headings inside the card */
body.cancel .center-wrap h1,
body.cancel .center-wrap h2,
body.cancel .center-wrap h3,
body.success .center-wrap h1,
body.success .center-wrap h2,
body.success .center-wrap h3 {
    color: #ffd700;                     /* Gold for headings */
}

/* Link styling inside the card */
body.cancel .center-wrap a,
body.success .center-wrap a {
    color: #c75e53;                     /* Button Primary: Red-Brown */
    text-decoration: underline;
    transition: color 0.2s ease;
}

body.cancel .center-wrap a:hover,
body.success .center-wrap a:hover {
    color: #ffc107;                     /* Link hover: Amber */
}

/* Success page product images - ONLY styling for order items, not affecting layout */

/* Container for all order items */
body.success .order-items-container {
    margin: 1rem 0;
    width: 100%;
}

/* Individual order item styling */
body.success .order-item {
    border: 1px solid #333;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 6px;
    background: #222;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
}

/* Product image container */
body.success .product-image-container {
    flex-shrink: 0;
}

/* Product image styling */
body.success .product-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

/* Product details container */
body.success .product-details {
    flex: 1;
    min-width: 0; /* Prevents flex item from overflowing */
}

/* Mobile responsive styles - screens smaller than 600px */
@media (max-width: 600px) {
    /* Change layout to vertical on mobile */
    body.success .order-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }
    
    /* Center image container */
    body.success .product-image-container {
        align-self: center;
    }
    
    /* Double image size on mobile */
    body.success .product-image {
        width: 160px;  /* Double the desktop size */
        height: 160px; /* Double the desktop size */
    }
    
    /* Full width for product details */
    body.success .product-details {
        width: 100%;
    }
    
    /* Extra spacing between products on mobile */
    body.success .order-item + .order-item {
        margin-top: 2rem;
    }
}

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

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

/* ================================
   19. PAGINATION STYLES
   ================================ */

/* Pagination Wrapper */
.pagination-wrapper {
    margin: 3rem 0 2rem;
    padding: 0;
}

/* Main Pagination Container */
.pagination-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

/* Pagination Buttons (Previous/Next) */
.pagination-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background-color: #1a1a1a;
    color: #bda47b;
    text-decoration: none;
    border: 1px solid #333333;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    min-height: 44px; /* Accessibility: minimum touch target */
}

.pagination-btn:hover:not(.pagination-disabled) {
    background-color: #c75e53;
    color: #ffffff;
    border-color: #b83f33;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(199, 94, 83, 0.2);
}

.pagination-btn:focus {
    outline: 2px solid #ffc107;
    outline-offset: 2px;
}

.pagination-btn.pagination-disabled {
    background-color: #1a1a1a;
    color: #666666;
    border-color: #333333;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Pagination Button Icons */
.pagination-icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

/* Hide button text on mobile, show icons only */
@media (max-width: 480px) {
    .pagination-btn-text {
        display: none;
    }
    
    .pagination-btn {
        padding: 0.75rem;
        min-width: 44px;
        justify-content: center;
    }
}

/* Page Numbers Container */
.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin: 0 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Individual Page Numbers */
.pagination-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0.75rem 0.5rem;
    background-color: #1a1a1a;
    color: #bda47b;
    text-decoration: none;
    border: 1px solid #333333;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination-number:hover {
    background-color: #c75e53;
    color: #ffffff;
    border-color: #b83f33;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(199, 94, 83, 0.2);
}

.pagination-number:focus {
    outline: 2px solid #ffc107;
    outline-offset: 2px;
}

/* Current Page */
.pagination-number.pagination-current {
    background-color: #ffd700;
    color: #000000;
    border-color: #ffc107;
    font-weight: 700;
    cursor: default;
    box-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
}

.pagination-number.pagination-current:hover {
    background-color: #ffd700;
    color: #000000;
    transform: none;
}

/* Ellipsis */
.pagination-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    color: #666666;
    font-weight: bold;
    cursor: default;
    user-select: none;
}

/* Pagination Info */
.pagination-info {
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #444444;
}

.pagination-info-text {
    color: #bda47b;
    font-size: 0.875rem;
}

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


@media (max-width: 768px) {
    .pagination-container {
        gap: 0.25rem;
    }
    
    .pagination-numbers {
        margin: 0 0.25rem;
        gap: 0.125rem;
    }
    
    .pagination-number {
        min-width: 36px;
        min-height: 36px;
        padding: 0.5rem 0.25rem;
        font-size: 0.8125rem;
    }
    
    .pagination-btn {
        padding: 0.5rem 0.75rem;
        min-height: 36px;
        font-size: 0.8125rem;
    }
    
    .pagination-info-text {
        font-size: 0.8125rem;
    }
    
    .customer_r1 {
	display: none !important;    
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .pagination-wrapper {
        margin: 2rem 0 1.5rem;
    }
    
    .pagination-container {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .pagination-numbers {
        order: 1;
        margin: 0;
    }
    
    .pagination-prev {
        order: 2;
    }
    
    .pagination-next {
        order: 3;
    }
    
    /* Limit visible page numbers on very small screens */
    .pagination-numbers {
        max-width: 100%;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .pagination-numbers::-webkit-scrollbar {
        display: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .pagination-btn,
    .pagination-number {
        border-width: 2px;
    }
    
    .pagination-number.pagination-current {
        border-width: 3px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .pagination-btn,
    .pagination-number {
        transition: none;
    }
    
    .pagination-btn:hover:not(.pagination-disabled),
    .pagination-number:hover {
        transform: none;
    }
}

/* Dark mode specific adjustments (if you have a dark mode toggle) */
@media (prefers-color-scheme: dark) {
    .pagination-wrapper {
        /* Already optimized for dark theme */
    }
}

/* Focus visible for better keyboard navigation */
.pagination-btn:focus-visible,
.pagination-number:focus-visible {
    outline: 2px solid #ffc107;
    outline-offset: 2px;
}

/* Loading state (optional - for dynamic pagination) */
.pagination-loading {
    opacity: 0.6;
    pointer-events: none;
}

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

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

/* ================================
   20. SHARE BUTTONS
   ================================ */
   
.social-share {
    margin: 15px 0;
    display: {{ if and .Site.Params.socialShare.enabled (ne .Params.hideSocialShare true) }}block{{ else }}none{{ end }};
}

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

.social-share-label {
    font-weight: 600;
    color: #666;
    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: white;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    color: white;
    text-decoration: none;
}

.social-btn.facebook { background-color: #1877f2; }
.social-btn.twitter { background-color: #1da1f2; }
.social-btn.pinterest { background-color: #bd081c; }
.social-btn.whatsapp { background-color: #25d366; }
.social-btn.email { background-color: #6c757d; }
.social-btn.copy { background-color: #17a2b8; }

/* Button style variant */
.social-share.button-style .social-btn {
    width: auto;
    height: auto;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
}

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

/* Minimal style variant */
.social-share.minimal-style .social-btn {
    background-color: transparent;
    color: #666;
    border: 1px solid #ddd;
}

.social-share.minimal-style .social-btn:hover {
    background-color: #f8f9fa;
    color: #333;
}

/* Floating position */
.social-share.floating {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.social-share.floating .social-share-buttons {
    flex-direction: column;
}

/* ================================
   21. SEARCH
   ================================ */
/* Header Actions Container */
/* Header Actions Container */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Search Toggle Button */
.search-toggle-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.8);
}

.search-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffd700;
    transform: scale(1.05);
}

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

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 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 {
    background: #1a1a1a;
    border: 1px solid #333333;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    animation: slideDown 0.3s ease;
}

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

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

.search-header h3 {
    color: #ffd700;
    font-size: 24px;
    margin: 0;
}

.search-close {
    background: none;
    border: none;
    color: #bda47b;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.search-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffd700;
}

.search-input-container {
    position: relative;
    margin-bottom: 30px;
}

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

#search-input:focus {
    border-color: #ffd700;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

#search-input::placeholder {
    color: #666666;
}

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

.search-submit:hover {
    background: #b83f33;
    transform: translateY(-50%) scale(1.05);
}

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

.search-suggestions h4 {
    color: #ffd700;
    font-size: 16px;
    margin-bottom: 15px;
}

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

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

.suggestion-tag:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: #ffd700;
    transform: translateY(-2px);
}

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

.search-result-item:hover {
    background: rgba(255, 255, 255, 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 {
    color: #bda47b;
    font-size: 16px;
    margin-bottom: 5px;
}

.search-result-price {
    color: #ffd700;
    font-weight: bold;
}

.search-no-results {
    text-align: center;
    padding: 40px 20px;
    color: #666666;
}

.search-no-results i {
    font-size: 48px;
    margin-bottom: 15px;
    color: #444444;
}

/* Mobile Responsiveness */
@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;
    }
}

/* Full-page /search/ header layout adjustments (no impact on overlay)        */
.search-results-page .search-header {
  /* keep centering + spacing, but stack vertically */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;        /* space between H1 and form */
  margin-bottom: 40px;
}

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

/*
==================================================
THEME COMPLETION NOTICE
==================================================
This completes the Hugo Dark Theme custom CSS file.
The theme includes:
- Modern dark design with gold accents
- 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.
==================================================
*/

