/* ============================================
   SHOP - E-Commerce Design System
   Colors: Forest Green + Light Gold Accent
   ============================================ */

/* === CSS Variables === */
:root {
    --primary: #2D6A4F;
    --primary-light: #40916C;
    --primary-dark: #1B4332;
    --primary-bg: rgba(45, 106, 79, 0.08);

    --accent: #D4AF37;
    --accent-light: #E8D48B;

    --black: #0a0a0a;
    --dark: #1a1a1a;
    --dark-light: #2a2a2a;
    --gray-900: #111111;
    --gray-800: #1f1f1f;
    --gray-700: #333333;
    --gray-600: #555555;
    --gray-500: #777777;
    --gray-400: #999999;
    --gray-300: #bbbbbb;
    --gray-200: #dddddd;
    --gray-100: #f0f0f0;
    --white: #ffffff;
    --red: #e74c3c;
    --green: #2ecc71;
    --blue: #3498db;
    --orange: #f39c12;

    /* Legacy alias for backward compatibility */
    --gold: var(--primary);

    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.2);
    --shadow-primary: 0 4px 20px rgba(45, 106, 79, 0.3);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
}

/* === Reset & Base === */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    outline: none;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

/* === Typography === */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.section-subtitle {
    text-align: center;
    color: var(--gray-500);
    margin-bottom: 2.5rem;
    font-size: 1rem;
}

/* === Layout === */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 4rem 0;
}

.section-dark {
    background: var(--primary-dark);
    color: var(--white);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* === Header / Navbar === */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(27, 67, 50, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(64, 145, 108, 0.2);
    padding: 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.navbar-brand {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.navbar-brand span {
    color: var(--white);
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.navbar-menu a {
    color: var(--gray-300);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 0.5rem 0;
}

.navbar-menu a:hover,
.navbar-menu a.active {
    color: var(--accent);
}

.navbar-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.navbar-menu a:hover::after,
.navbar-menu a.active::after {
    width: 100%;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.navbar-actions a,
.navbar-actions button {
    color: var(--gray-300);
    background: none;
    font-size: 1.1rem;
    position: relative;
    transition: var(--transition-fast);
}

.navbar-actions a:hover,
.navbar-actions button:hover {
    color: var(--accent);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--accent);
    color: var(--black);
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* === Mobile Sidebar === */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1100;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    max-width: 80vw;
    height: 100vh;
    background: var(--primary-dark);
    z-index: 1200;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-sidebar.open {
    transform: translateX(0);
}

.mobile-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(64, 145, 108, 0.2);
}

.mobile-sidebar-header .navbar-brand {
    font-size: 1.5rem;
}

.mobile-sidebar-close {
    background: none;
    border: none;
    color: var(--gray-300);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.25rem;
}

.mobile-sidebar-close:hover {
    color: var(--white);
}

.mobile-sidebar-nav {
    padding: 1rem 0;
    flex: 1;
}

.mobile-sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-fast);
    border-left: 3px solid transparent;
}

.mobile-sidebar-nav a:hover {
    background: rgba(64, 145, 108, 0.1);
    color: var(--white);
}

.mobile-sidebar-nav a.active {
    background: rgba(64, 145, 108, 0.15);
    color: var(--accent);
    border-left-color: var(--accent);
}

.mobile-sidebar-nav a i {
    width: 20px;
    text-align: center;
    font-size: 1rem;
}

.mobile-cart-badge {
    margin-left: auto;
    background: var(--primary);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 50px;
}

/* === Hero Slider === */
.hero-slider {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 400px;
    max-height: 700px;
    overflow: hidden;
}

.hero-slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    position: relative;
}

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

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.6) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide-content {
    text-align: center;
    max-width: 700px;
    padding: 2rem;
    z-index: 2;
}

.hero-slide-content .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--accent);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.25rem;
}

.hero-slide-content h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-slide-content h1 .accent {
    color: var(--accent);
}

.hero-slide-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.hero-slide-content .hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Slider Controls */
.hero-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.hero-slider-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
}

.hero-slider-arrow.prev {
    left: 1.5rem;
}

.hero-slider-arrow.next {
    right: 1.5rem;
}

.hero-slider-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.hero-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.hero-slider-dot.active {
    background: var(--accent);
    width: 28px;
    border-radius: 5px;
}

/* Fallback static hero (no slides) */
.hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-dark) 100%);
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero h1 .gold,
.hero h1 .accent {
    color: var(--accent);
}

.hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    box-shadow: var(--shadow-primary);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-dark {
    background: var(--dark);
    color: var(--white);
    border-color: var(--dark);
}

.btn-dark:hover {
    background: var(--dark-light);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--primary-dark);
    border-color: var(--white);
}

.btn-white:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

.btn-danger {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.8rem;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* === Category Cards === */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.category-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 350px;
    cursor: pointer;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.category-card:hover img {
    transform: scale(1.08);
}

.category-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(27, 67, 50, 0.9) 0%, rgba(27, 67, 50, 0.3) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    transition: var(--transition);
}

.category-card:hover .category-card-overlay {
    background: linear-gradient(to top, rgba(27, 67, 50, 0.95) 0%, rgba(27, 67, 50, 0.4) 50%, transparent 100%);
}

.category-card h3 {
    color: var(--white);
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
}

.category-card p {
    color: var(--gray-300);
    font-size: 0.9rem;
}

.category-card .explore-link {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.category-card:hover .explore-link {
    opacity: 1;
    transform: translateY(0);
}

/* === Product Cards === */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.product-card-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--gray-100);
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-card-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 0.25rem 0.65rem;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
}

.badge-sale {
    background: var(--red);
    color: var(--white);
}

.badge-new-product {
    background: var(--primary);
    color: var(--white);
}

.badge-featured {
    background: var(--primary-dark);
    color: var(--accent);
}

.product-card-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition);
    z-index: 2;
}

.product-card:hover .product-card-actions {
    opacity: 1;
    transform: translateX(0);
}

.product-card-actions button {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--white);
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.product-card-actions button:hover {
    background: var(--primary);
    color: var(--white);
}

.product-card-body {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card-brand {
    font-size: 0.7rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.product-card-title {
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-title a:hover {
    color: var(--primary);
}

.product-card-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.price-current {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
}

.price-original {
    font-size: 0.85rem;
    color: var(--gray-400);
    text-decoration: line-through;
}

.btn-cart-icon {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--dark);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
    z-index: 3;
}

.btn-cart-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.5);
}

.product-card-footer {
    display: none;
}

/* === Promo Banner === */
.promo-banner {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    border-radius: var(--radius-lg);
    padding: 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 100%;
    background: radial-gradient(circle at right, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
}

.promo-content h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.promo-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.promo-highlight {
    color: var(--accent);
    font-size: 3rem;
    font-family: var(--font-heading);
    font-weight: 700;
}

/* === Product Listing Page === */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.page-header h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 0.25rem;
}

.page-header .breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    overflow: hidden;
    word-break: break-word;
}

.page-header .breadcrumb a:hover {
    color: var(--accent);
}

.page-header .breadcrumb .sep {
    color: rgba(255, 255, 255, 0.3);
}

.filters-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 0;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--gray-200);
    flex-wrap: wrap;
}

.filters-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.filter-chip {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 1px solid var(--gray-200);
    background: var(--white);
    font-size: 0.85rem;
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-chip:hover,
.filter-chip.active {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-bg);
}

.search-box {
    position: relative;
    min-width: 300px;
}

.search-box input {
    width: 100%;
    padding: 0.65rem 1rem 0.65rem 2.5rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    background: var(--white);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
}

.search-box .search-icon {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-size: 0.9rem;
}

.sort-select {
    padding: 0.65rem 1rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    background: var(--white);
    font-size: 0.85rem;
    color: var(--gray-600);
    cursor: pointer;
}

.sort-select:focus {
    outline: none;
    border-color: var(--primary);
}

/* === Sidebar Filters === */
.listing-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 2rem;
}

.sidebar-filters {
    position: sticky;
    top: 90px;
    height: fit-content;
}

.filter-group {
    margin-bottom: 1.75rem;
}

.filter-group h4 {
    font-family: var(--font-main);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dark);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.filter-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0;
    font-size: 0.9rem;
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-group label:hover {
    color: var(--dark);
}

.filter-group input[type="checkbox"] {
    accent-color: var(--primary);
    width: 16px;
    height: 16px;
}

.price-range {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.price-range input {
    width: 80px;
    padding: 0.5rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    text-align: center;
}

.price-range input:focus {
    outline: none;
    border-color: var(--primary);
}

.price-range span {
    color: var(--gray-400);
}

/* === Product Detail === */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 2rem 0 4rem;
}

.product-gallery {
    position: sticky;
    top: 90px;
    height: fit-content;
}

.gallery-main {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--gray-100);
    aspect-ratio: 1;
    margin-bottom: 1rem;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
    width: 100%;
}

.gallery-thumb {
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-fast);
    box-sizing: border-box;
    min-width: 0;
}

.gallery-thumb:hover,
.gallery-thumb.active {
    border-color: var(--primary);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-info {
    padding-top: 1rem;
}

.product-info .brand {
    font-size: 0.85rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-info h1 {
    font-size: 2.25rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.product-info .price-block {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.product-info .price-current {
    font-size: 2rem;
    font-weight: 700;
}

.product-info .price-original {
    font-size: 1.25rem;
}

.product-info .discount-tag {
    background: var(--red);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-info .description {
    color: var(--gray-600);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.product-meta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.product-meta div {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.product-meta .label {
    color: var(--gray-500);
    min-width: 80px;
}

.product-meta .value {
    color: var(--dark);
    font-weight: 500;
}

.stock-in {
    color: var(--green) !important;
}

.stock-out {
    color: var(--red) !important;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 1.5rem;
}

.quantity-selector button {
    width: 44px;
    height: 44px;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    color: var(--dark);
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.quantity-selector button:first-child {
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.quantity-selector button:last-child {
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.quantity-selector button:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.quantity-selector input {
    width: 60px;
    height: 44px;
    text-align: center;
    border: 1px solid var(--gray-200);
    border-left: none;
    border-right: none;
    font-size: 1rem;
    font-weight: 600;
}

.quantity-selector input:focus {
    outline: none;
}

.add-to-cart-section {
    display: flex;
    gap: 1rem;
}

.add-to-cart-section .btn {
    flex: 1;
}

/* === Cart === */
.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th {
    text-align: left;
    padding: 1rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-500);
    border-bottom: 2px solid var(--gray-200);
}

.cart-table td {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid var(--gray-100);
    vertical-align: middle;
}

.cart-item-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--gray-100);
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-title {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
}

.cart-item-brand {
    font-size: 0.8rem;
    color: var(--gray-500);
}

.cart-item-remove {
    color: var(--gray-400);
    background: none;
    font-size: 0.85rem;
    transition: var(--transition-fast);
}

.cart-item-remove:hover {
    color: var(--red);
}

.cart-summary {
    background: var(--gray-100);
    border-radius: var(--radius-md);
    padding: 2rem;
    margin-top: 2rem;
    max-width: 400px;
    margin-left: auto;
}

.cart-summary h3 {
    font-family: var(--font-main);
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.cart-summary-row.total {
    font-size: 1.15rem;
    font-weight: 700;
    border-top: 2px solid var(--gray-300);
    padding-top: 0.75rem;
    margin-top: 0.75rem;
}

.cart-empty {
    text-align: center;
    padding: 4rem 2rem;
}

.cart-empty .icon {
    font-size: 4rem;
    color: var(--gray-300);
    margin-bottom: 1rem;
}

.cart-empty h2 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.cart-empty p {
    color: var(--gray-500);
    margin-bottom: 1.5rem;
}

/* === Checkout === */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    padding: 2rem 0 4rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.4rem;
}

.form-group .required {
    color: var(--red);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    transition: var(--transition-fast);
    background: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
}

.form-control.error {
    border-color: var(--red);
}

.form-error {
    font-size: 0.8rem;
    color: var(--red);
    margin-top: 0.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.order-summary-card {
    background: var(--gray-100);
    border-radius: var(--radius-md);
    padding: 2rem;
    height: fit-content;
    position: sticky;
    top: 90px;
}

.order-summary-card h3 {
    font-family: var(--font-main);
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.order-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    font-size: 0.9rem;
}

.order-summary-item .item-name {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.order-summary-item .item-qty {
    background: var(--gray-200);
    width: 22px;
    height: 22px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    flex-shrink: 0;
}

.payment-method {
    background: var(--white);
    border: 2px solid var(--primary);
    border-radius: var(--radius-sm);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1rem 0;
}

.payment-method .icon {
    font-size: 1.5rem;
}

.payment-method span {
    font-weight: 600;
}

/* === Order Confirmation === */
.confirmation-box {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.confirmation-box .check-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(45, 106, 79, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    animation: scaleIn 0.5s ease;
}

.confirmation-box h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.confirmation-box .order-number {
    font-size: 1.25rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.confirmation-details {
    background: var(--gray-100);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: left;
    margin: 2rem 0;
}

.confirmation-details .detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.confirmation-details .detail-row:last-child {
    border-bottom: none;
}

/* === Order Tracking === */
.tracking-form-box {
    max-width: 500px;
    margin: 0 auto;
    padding: 3rem 2rem;
    text-align: center;
}

.tracking-form-box h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.tracking-form-box>p {
    color: var(--gray-500);
    margin-bottom: 2rem;
}

.tracking-result {
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem;
}

.tracking-timeline {
    position: relative;
    padding-left: 2rem;
}

.tracking-timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gray-200);
}

.timeline-step {
    position: relative;
    padding-bottom: 2rem;
    padding-left: 1.5rem;
}

.timeline-step::before {
    content: '';
    position: absolute;
    left: -1.55rem;
    top: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--gray-200);
    border: 3px solid var(--white);
}

.timeline-step.completed::before {
    background: var(--primary);
}

.timeline-step.current::before {
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(45, 106, 79, 0.3);
}

.timeline-step h4 {
    font-family: var(--font-main);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.timeline-step p {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* === Footer === */
.footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.6);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(64, 145, 108, 0.2);
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--accent);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.footer-brand span {
    color: var(--white);
}

.footer p {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer h4 {
    font-family: var(--font-main);
    font-size: 0.85rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

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

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(64, 145, 108, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-300);
    transition: var(--transition-fast);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

/* === Pagination === */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--gray-200);
    color: var(--gray-600);
    transition: var(--transition-fast);
}

.pagination a:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.pagination .active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    font-weight: 700;
}

/* === Status Badges === */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-new {
    background: rgba(52, 152, 219, 0.1);
    color: var(--blue);
}

.badge-confirmed {
    background: rgba(243, 156, 18, 0.1);
    color: var(--orange);
}

.badge-shipped {
    background: rgba(155, 89, 182, 0.1);
    color: #9b59b6;
}

.badge-delivered {
    background: rgba(46, 204, 113, 0.1);
    color: var(--green);
}

.badge-canceled {
    background: rgba(231, 76, 60, 0.1);
    color: var(--red);
}

/* === Alerts / Toasts === */
.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-success {
    background: rgba(46, 204, 113, 0.1);
    color: #27ae60;
    border: 1px solid rgba(46, 204, 113, 0.2);
}

.alert-error {
    background: rgba(231, 76, 60, 0.1);
    color: #c0392b;
    border: 1px solid rgba(231, 76, 60, 0.2);
}

.alert-warning {
    background: rgba(243, 156, 18, 0.1);
    color: #d68910;
    border: 1px solid rgba(243, 156, 18, 0.2);
}

.alert-info {
    background: rgba(52, 152, 219, 0.1);
    color: #2980b9;
    border: 1px solid rgba(52, 152, 219, 0.2);
}

/* === Toast Notification === */
.toast-container {
    position: fixed;
    top: 90px;
    right: 1.5rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.toast {
    background: var(--dark);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 300px;
    animation: slideInRight 0.3s ease;
    border-left: 4px solid var(--primary);
}

.toast.success {
    border-left-color: var(--green);
}

.toast.error {
    border-left-color: var(--red);
}

/* === Loading Skeleton === */
.skeleton {
    background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
    background-size: 400% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}

.skeleton-text {
    height: 14px;
    margin-bottom: 0.5rem;
}

.skeleton-title {
    height: 24px;
    width: 70%;
    margin-bottom: 0.75rem;
}

.skeleton-image {
    aspect-ratio: 1;
}

/* === Animations === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

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

@keyframes shimmer {
    0% {
        background-position: -400% 0;
    }

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

/* === Responsive === */
@media (max-width: 1024px) {

    .grid-4,
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .listing-layout {
        grid-template-columns: 1fr;
    }

    .sidebar-filters {
        display: none;
    }

    .product-detail {
        gap: 2rem;
    }

    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .search-box {
        min-width: 200px;
    }

    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {

    .grid-3,
    .categories-grid {
        grid-template-columns: 1fr;
    }

    .grid-4,
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .navbar-menu {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    /* Hero slider mobile */
    .hero-slider {
        height: 55vh;
        min-height: 320px;
        max-height: 500px;
    }

    .hero-slide-content h1 {
        font-size: 2rem;
    }

    .hero-slide-content p {
        font-size: 0.95rem;
    }

    .hero-slider-arrow {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .hero-slider-arrow.prev {
        left: 0.75rem;
    }

    .hero-slider-arrow.next {
        right: 0.75rem;
    }

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

    .hero {
        min-height: 50vh;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .product-detail {
        grid-template-columns: 1fr;
    }

    .product-gallery {
        position: static;
    }

    .gallery-thumbs {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 0.5rem;
    }

    .promo-banner {
        flex-direction: column;
        text-align: center;
        padding: 2.5rem 1.5rem;
    }

    .promo-content h2 {
        font-size: 1.75rem;
    }

    .promo-highlight {
        font-size: 2rem;
    }

    .cart-table thead {
        display: none;
    }

    .cart-table tr {
        display: flex;
        flex-wrap: wrap;
        padding: 1rem 0;
        border-bottom: 1px solid var(--gray-100);
    }

    .cart-table td {
        padding: 0.5rem;
        border: none;
    }

    .cart-summary {
        max-width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section {
        padding: 3rem 0;
    }

    .page-header h1 {
        font-size: 1.75rem;
    }

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

    .confirmation-box {
        padding: 2rem 1rem;
    }

    .confirmation-box h1 {
        font-size: 1.5rem;
    }

    .tracking-form-box {
        padding: 2rem 1rem;
    }

    .search-box {
        min-width: 100%;
        order: 3;
    }

    .filters-bar {
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 1rem;
    }

    .gallery-thumbs {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 0.4rem;
    }

    /* Hero slider small mobile */
    .hero-slider {
        height: 45vh;
        min-height: 280px;
    }

    .hero-slide-content h1 {
        font-size: 1.5rem;
    }

    .hero-slide-content p {
        font-size: 0.85rem;
        margin-bottom: 1.25rem;
    }

    .hero-slide-content .hero-badge {
        font-size: 0.65rem;
        padding: 0.35rem 0.85rem;
    }

    .hero-slide-content .btn {
        padding: 0.6rem 1.25rem;
        font-size: 0.75rem;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .hero {
        min-height: 45vh;
    }

    .category-card {
        height: 250px;
    }

    .category-card h3 {
        font-size: 1.25rem;
    }

    .navbar .container {
        height: 60px;
    }

    .navbar-brand {
        font-size: 1.35rem;
    }

    .order-summary-card {
        position: static;
    }

    .product-card-body {
        padding: 0.85rem;
    }

    .product-card-title {
        font-size: 0.9rem;
    }

    .price-current {
        font-size: 1rem;
    }
}

/* === Utility === */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary);
}

.text-accent {
    color: var(--accent);
}

.text-gold {
    color: var(--primary);
}

.text-muted {
    color: var(--gray-500);
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.d-flex {
    display: flex;
}

.align-center {
    align-items: center;
}

/* === Toast Notifications === */
#toastContainer {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: none;
}

.toast {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 20px rgba(27, 67, 50, 0.4);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    font-weight: 500;
    min-width: 280px;
    max-width: 400px;
    pointer-events: auto;
    border: 1px solid rgba(212, 175, 55, 0.3);
    animation: slideDown 0.3s ease-out;
    transition: all 0.3s ease;
}

.toast i {
    color: var(--accent);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.toast.success {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.toast.error {
    background: linear-gradient(135deg, #8B0000 0%, #DC143C 100%);
    border-color: rgba(255, 100, 100, 0.3);
}

.toast.error i {
    color: #FFB6C1;
}

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

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

/* === Responsive Breakpoints === */
@media (max-width: 992px) {
    .listing-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .sidebar-filters {
        position: static;
        display: none;
        /* Hide sidebar on tablets and mobile */
    }
}

@media (max-width: 768px) {
    .filters-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box {
        min-width: auto;
        width: 100%;
    }

    .sort-select {
        width: 100%;
    }

    .page-header h1 {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    #toastContainer {
        top: 70px;
        left: 1rem;
        right: 1rem;
        transform: none;
    }

    .toast {
        min-width: auto;
        width: 100%;
        font-size: 0.85rem;
        padding: 0.65rem 1.25rem;
    }

    .filter-chip {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    #toastContainer {
        top: 70px;
        left: 1rem;
        right: 1rem;
        transform: none;
    }

    .toast {
        min-width: auto;
        width: 100%;
        font-size: 0.85rem;
        padding: 0.65rem 1.25rem;
    }
}

.gap-1 {
    gap: 0.5rem;
}

.gap-2 {
    gap: 1rem;
}

.hidden {
    display: none !important;
}