/* Egyptian Creativity Shop - Enhanced with Index Page Design */
/* CSS Variables - Egyptian Color Palette */
:root {
    /* Your specified color palette */
    --royal-dark-blue: #052077;
    --rich-blue: #2b2b90;
    --medium-blue-violet: #3535ab;
    --royal-orange: #e06427;
    --soft-yellow: #e5bbcb;
    --soft-gold: #cb8a58;
    --beige-gold: #dfbe8c;
    --dark-golden-brown: #ba8249;

    /* Additional Egyptian colors */
    --pyramid-gold: #FFD700;
    --desert-sand: #F4E4BC;
    --papyrus: #F7F3E3;
    --ancient-bronze: #CD7F32;

    /* Text colors */
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-light: #ffffff;
    --text-gold: var(--soft-gold);

    /* Shadows and effects */
    --shadow-primary: 0 10px 30px rgba(5, 32, 119, 0.3);
    --shadow-gold: 0 0 30px rgba(203, 138, 88, 0.5);
    --glow-gold: 0 0 20px rgba(255, 215, 0, 0.6);

    /* Typography */
    --font-primary: 'Cinzel', serif;
    --font-secondary: 'Cormorant Garamond', serif;

    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Reset & Base Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
html {
    scroll-behavior: smooth;
    font-size: 16px;
    cursor: url('../images/go3raann.cur'), auto !important;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--rich-blue) 0%, var(--medium-blue-violet) 100%);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    cursor: url('../images/go3raann.cur'), auto !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ANIMATED BACKGROUND (From Index Page) */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(135deg, var(--rich-blue) 0%, var(--medium-blue-violet) 50%, var(--royal-dark-blue) 100%);
}

.pyramid-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, transparent 50%, rgba(212, 175, 55, 0.05) 50%);
    animation: pyramidRotate 20s linear infinite;
}

@keyframes pyramidRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.sand-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.sand-particles::before,
.sand-particles::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--pyramid-gold);
    border-radius: 50%;
    animation: sandFloat 15s linear infinite;
}

.sand-particles::before {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.sand-particles::after {
    top: 60%;
    right: 15%;
    animation-delay: 5s;
}

@keyframes sandFloat {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10%, 90% {
        opacity: 1;
    }
    50% {
        transform: translateY(-100px) translateX(50px);
    }
}

.hieroglyph-symbols {
    position: absolute;
    width: 100%;
    height: 100%;
}

.symbol {
    position: absolute;
    font-size: 2rem;
    color: rgba(212, 175, 55, 0.1);
    animation: symbolFloat 20s ease-in-out infinite;
}

.symbol:nth-child(1) { top: 10%; left: 5%; animation-delay: 0s; }
.symbol:nth-child(2) { top: 20%; right: 10%; animation-delay: 3s; }
.symbol:nth-child(3) { bottom: 30%; left: 15%; animation-delay: 6s; }
.symbol:nth-child(4) { bottom: 20%; right: 20%; animation-delay: 9s; }
.symbol:nth-child(5) { top: 50%; left: 8%; animation-delay: 12s; }
.symbol:nth-child(6) { top: 70%; right: 5%; animation-delay: 15s; }

@keyframes symbolFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.1;
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
        opacity: 0.3;
    }
}

.golden-rays {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: conic-gradient(from 0deg, transparent, rgba(212, 175, 55, 0.1), transparent, rgba(212, 175, 55, 0.05), transparent);
    animation: raysRotate 30s linear infinite;
}

@keyframes raysRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.floating-artifacts {
    position: absolute;
    width: 100%;
    height: 100%;
}

.artifact {
    position: absolute;
    font-size: 3rem;
    color: rgba(212, 175, 55, 0.2);
    animation: artifactFloat 15s ease-in-out infinite;
}

.artifact-1 { top: 10%; left: 10%; animation-delay: 0s; }
.artifact-2 { top: 20%; right: 15%; animation-delay: 4s; }
.artifact-3 { bottom: 30%; left: 20%; animation-delay: 8s; }
.artifact-4 { bottom: 20%; right: 10%; animation-delay: 12s; }

@keyframes artifactFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.2;
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
        opacity: 0.4;
    }
}

/* Loading Screen */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--royal-dark-blue) 0%, var(--rich-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: all 1s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    color: var(--text-light);
}

.loading-pyramid {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    animation: pulse 1.5s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.6));
}

.loading-pyramid img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.loading-text {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--pyramid-gold);
}

.loading-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: var(--soft-yellow);
}

.loading-progress {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    margin: 0 auto 2rem;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--pyramid-gold), var(--soft-gold));
    border-radius: 2px;
    width: 0;
    transition: width 0.3s ease;
}

.skip-btn {
    background: transparent;
    border: 2px solid var(--pyramid-gold);
    color: var(--pyramid-gold);
    padding: 0.75rem 2rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.skip-btn:hover {
    background: var(--pyramid-gold);
    color: var(--royal-dark-blue);
    transform: translateY(-2px);
    box-shadow: var(--glow-gold);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(5, 32, 119, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(203, 138, 88, 0.3);
    transition: var(--transition-smooth);
}

.header.scrolled {
    background: rgba(5, 32, 119, 0.98);
    box-shadow: var(--shadow-primary);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.25rem 1.2rem;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--text-light);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--pyramid-gold);
    line-height: 1;
}

.logo-sub {
    font-size: 0.8rem;
    color: var(--soft-yellow);
    line-height: 1;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition-smooth);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--pyramid-gold);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--pyramid-gold);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-icon {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-light);
    padding: 0.75rem;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
}

.header-icon:hover {
    background: var(--pyramid-gold);
    color: var(--royal-dark-blue);
    transform: translateY(-2px);
    box-shadow: var(--glow-gold);
}

.badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--royal-orange);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    cursor: pointer;
    padding: 0.75rem;
    width: 44px;
    height: 44px;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.mobile-menu-btn span {
    width: 22px;
    height: 3px;
    background: var(--text-light);
    border-radius: 2px;
    transition: var(--transition-smooth);
    display: block;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Shop Section */
.hero-shop {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
    position: relative;
    background: transparent;
    text-align: center;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

.hero-ornaments {
    position: absolute;
    top: -40px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.ornament {
    font-size: 4rem;
    color: var(--pyramid-gold);
    opacity: 0.7;
    animation: float 4s ease-in-out infinite;
    text-shadow: var(--glow-gold);
}

.ornament.right {
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-text-center {
    color: var(--text-light);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #ffd700, #ffed4e) !important;
    border: 2px solid #ffd700 !important;
    border-radius: 50px !important;
    padding: 0.7rem 2rem !important;
    margin-bottom: 2rem !important;
    font-size: 1.15rem !important;
    color: #1a1a2e !important;
    backdrop-filter: blur(10px) !important;
    font-weight: 700 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4) !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin-top: 1.2rem !important;
}

.hero-title {
    margin-bottom: 2rem;
    color: var(--text-light);
    font-family: var(--font-primary);
}

.hero-title .line {
    display: block;
    line-height: 1.1;
}

.hero-title .golden {
    background: linear-gradient(45deg, var(--pyramid-gold), var(--soft-gold));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--soft-yellow);
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--pyramid-gold);
    line-height: 1;
    text-shadow: var(--glow-gold);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--soft-yellow);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    font-size: 2rem;
    color: var(--soft-gold);
    opacity: 0.6;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--soft-yellow);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-line {
    width: 1px;
    height: 30px;
    background: var(--pyramid-gold);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.5); }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile spacing to offset fixed header */
@media (max-width: 768px) {
  .hero-shop {
    margin-top: 40px; /* ensures space below fixed navbar */
  }
}

/* Currency Switcher */
.currency-switcher {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1rem auto;
    gap: 2rem;
    width: 100%;
    padding: 0.5rem;
    background: rgba(5, 32, 119, 0.2);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(203, 138, 88, 0.2);
}

.currency-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.currency-title {
    color: var(--pyramid-gold);
    font-size: 1rem;
    font-weight: 500;
    text-shadow: 0 0 8px rgba(203, 138, 88, 0.4);
    margin: 0;
    transition: all 0.3s ease;
}

.currency-btn {
    background: rgba(5, 32, 119, 0.5);
    border: 1px solid var(--pyramid-gold);
    color: var(--text-light);
    padding: 0.5rem 1.2rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    min-width: 90px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.currency-btn:hover {
    background: rgba(203, 138, 88, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.currency-btn.active {
    background: linear-gradient(135deg, var(--pyramid-gold), #e8b56b);
    color: var(--royal-dark-blue);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(203, 138, 88, 0.4);
}

.currency-switch-active {
    animation: pulse 0.5s ease-out;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Filter Section */
.filter-section {
    padding: 2rem 0;
    background: rgba(53, 53, 171, 0.2);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(203, 138, 88, 0.3);
}

.filter-bar {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(203, 138, 88, 0.3);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-primary);
}

.filter-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.filter-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: nowrap;
    width: 100%;
    justify-content: space-between;
}

.search-container {
    position: relative;
    width: 100%;
    max-width: 350px;
    min-width: 220px;
}

.filter-controls .filter-select,
.filter-controls .price-filter,
.filter-controls .view-toggle {
    order: 1;
}

.search-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(203, 138, 88, 0.5);
    color: var(--text-light);
    padding: 1rem 2.5rem 1rem 1rem;
    border-radius: 25px;
    font-size: 1rem;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
    box-sizing: border-box;
}

.search-input::placeholder {
    color: var(--soft-yellow);
}

.search-input:focus {
    outline: none;
    border-color: var(--pyramid-gold);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.search-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--soft-gold);
    pointer-events: none;
    z-index: 2;
}

.filter-select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(203, 138, 88, 0.5);
    color: var(--text-light);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    min-width: 150px;
}

.filter-select:focus {
    outline: none;
    border-color: var(--pyramid-gold);
}

.filter-select option {
    background: var(--royal-dark-blue);
    color: var(--text-light);
}

.price-filter {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(203, 138, 88, 0.5);
    border-radius: 12px;
    padding: 0.5rem;
    backdrop-filter: blur(10px);
}

.price-input {
    background: transparent;
    border: none;
    color: var(--text-light);
    padding: 0.25rem 0.5rem;
    width: 80px;
    font-size: 0.9rem;
}

.price-input::placeholder {
    color: var(--soft-yellow);
}

.price-input:focus {
    outline: none;
}

.price-separator {
    color: var(--soft-gold);
    font-weight: bold;
}

.apply-btn {
    background: var(--royal-orange);
    color: var(--text-light);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition-smooth);
    font-size: 0.9rem;
}

.apply-btn:hover {
    background: #d55a1f;
    transform: translateY(-1px);
}

.view-toggle {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 4px;
    border: 1px solid rgba(203, 138, 88, 0.3);
}

.view-btn {
    background: transparent;
    border: none;
    color: var(--soft-yellow);
    padding: 0.5rem;
    cursor: pointer;
    border-radius: 8px;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-btn.active,
.view-btn:hover {
    background: var(--pyramid-gold);
    color: var(--royal-dark-blue);
}

.results-info {
    text-align: center;
    margin-top: 1rem;
    color: var(--soft-yellow);
    font-size: 0.9rem;
    font-style: italic;
}

/* Products Section */
.products-section {
    padding: 4rem 0;
    background: transparent;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.products-grid.list-view {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-card {
    background: rgba(223, 190, 140, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(203, 138, 88, 0.3);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-smooth);
    cursor: pointer;
    position: relative;
}

/* Box Selector Styles */
.box-selector-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.box-selector-wrapper .checkbox-label {
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-family: var(--font-secondary);
    font-size: 0.9rem;
}

.box-selector {
    padding: 0.5rem;
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    color: var(--text-light);
    border: 1px solid rgba(203, 138, 88, 0.5);
    font-family: var(--font-secondary);
    cursor: pointer;
    transition: var(--transition-smooth);
    width: 100%;
}

.box-selector:hover {
    border-color: var(--pyramid-gold);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.box-selector:focus {
    outline: none;
    border-color: var(--pyramid-gold);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.box-selector option {
    background: rgba(5, 32, 119, 0.9);
    color: var(--text-light);
    padding: 10px;
}

.buy-with-box-container {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(203, 138, 88, 0.3);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--pyramid-gold);
}

.product-card.list {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 1.5rem;
    gap: 2rem;
}

.product-image-container {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.product-card.list .product-image-container {
    height: 200px;
    width: 200px;
    flex-shrink: 0;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: var(--transition-smooth);
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 32, 119, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 2;
}

.product-badge {
    background: var(--pyramid-gold);
    color: var(--royal-dark-blue);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-badge.badge-sale {
    background: var(--royal-orange);
    color: var(--text-light);
}

.product-badge.badge-new {
    background: #16a34a;
    color: var(--text-light);
}

.product-badge.badge-featured {
    background: var(--pyramid-gold);
    color: var(--royal-dark-blue);
}

.product-actions {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    transform: translateX(20px);
    transition: var(--transition-smooth);
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.product-action-btn {
    background: rgba(255, 255, 255, 0.95);
    color: var(--royal-dark-blue);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.product-action-btn:hover {
    background: var(--pyramid-gold);
    transform: scale(1.1);
    box-shadow: var(--glow-gold);
}

.product-content {
    padding: 1.5rem;
}

.product-card.list .product-content {
    padding: 0;
    flex: 1;
}

.product-category {
    color: var(--pyramid-gold);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.product-title {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    color: var(--text-light);
}

.product-description {
    color: var(--soft-yellow);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.rating-stars {
    display: flex;
    gap: 2px;
}

.star {
    width: 16px;
    height: 16px;
    color: var(--pyramid-gold);
}

.star.empty {
    color: var(--soft-yellow);
    opacity: 0.3;
}

.rating-text {
    color: var(--soft-yellow);
    font-size: 0.8rem;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
    gap: 1rem;
}

.product-card.list .product-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-current {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--pyramid-gold) !important;
    text-shadow: var(--glow-gold);
}

.price-original {
    font-size: 0.9rem;
    color: var(--soft-yellow);
    text-decoration: line-through;
    opacity: 0.7;
}

/* Fix for price container to always show golden color */
.price-container,
.price-container .price-current,
.product-price .price-current {
    color: var(--pyramid-gold) !important;
}

.add-to-cart-btn {
    background: var(--pyramid-gold);
    color: var(--royal-dark-blue);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.15);
}

.add-to-cart-btn:hover {
    background: #ffd700cc;
    color: #052077;
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.25);
}

.wishlist-btn {
    background: #fff;
    color: #e53935;
    border: 2px solid #e53935;
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 10px rgba(229, 57, 53, 0.10);
    white-space: nowrap;
    outline: none;
}

.wishlist-btn:focus {
    outline: none;
}

/* No Products State */
.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--soft-yellow);
}

.no-products .empty-icon {
    margin-bottom: 1.5rem;
    color: var(--pyramid-gold);
    opacity: 0.6;
}

.no-products h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.no-products p {
    color: var(--soft-yellow);
    margin: 0;
}

/* Pagination */
.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pagination-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(203, 138, 88, 0.3);
    color: var(--text-light);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.pagination-btn:hover:not(:disabled) {
    background: var(--pyramid-gold);
    color: var(--royal-dark-blue);
    border-color: var(--pyramid-gold);
    transform: translateY(-2px);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-numbers {
    display: flex;
    gap: 0.5rem;
}

.pagination-number {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(203, 138, 88, 0.3);
    color: var(--text-light);
    width: 40px;
    height: 40px;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.pagination-number:hover,
.pagination-number.active {
    background: var(--pyramid-gold);
    color: var(--royal-dark-blue);
    border-color: var(--pyramid-gold);
    transform: translateY(-2px);
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 32, 119, 0.8);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    background: rgba(223, 190, 140, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(203, 138, 88, 0.3);
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    margin: 5vh auto;
    transform: translateY(-20px);
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-primary);
    overflow-x: hidden;
}

.quick-view-content {
    max-width: 1000px;
    overflow-x: hidden;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(203, 138, 88, 0.3);
}

.modal-header h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--pyramid-gold);
    margin: 0;
}

.modal-close {
    background: transparent;
    border: none;
    color: var(--soft-yellow);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.modal-close:hover {
    background: rgba(255, 215, 0, 0.1);
    color: var(--pyramid-gold);
}

/* Search Modal */
.search-input-container {
    position: relative;
    padding: 1.5rem;
}

.search-suggestions {
    padding: 0 1.5rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.suggestion-item {
    background: rgba(255, 255, 255, 0.1);
    color: var(--soft-yellow);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid rgba(203, 138, 88, 0.3);
}

.suggestion-item:hover {
    background: var(--pyramid-gold);
    color: var(--royal-dark-blue);
}

/* Sidebar Styles */
.sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: rgba(223, 190, 140, 0.1);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(203, 138, 88, 0.3);
    z-index: 2000;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-primary);
}

.sidebar.active {
    right: 0;
}

.sidebar-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 32, 119, 0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.sidebar-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(203, 138, 88, 0.3);
    background: rgba(5, 32, 119, 0.8);
}

.sidebar-header h3 {
    font-family: var(--font-primary);
    color: var(--pyramid-gold);
    margin: 0;
}

.sidebar-close {
    background: transparent;
    border: none;
    color: var(--soft-yellow);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.sidebar-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--pyramid-gold);
}

.sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.cart-empty,
.wishlist-empty {
    text-align: center;
    padding: 3rem 1rem;
}

.empty-icon {
    color: var(--pyramid-gold);
    margin-bottom: 1rem;
    opacity: 0.6;
}

.cart-empty h4,
.wishlist-empty h4 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.cart-empty p,
.wishlist-empty p {
    color: var(--soft-yellow);
    margin: 0;
}

.cart-item,
.wishlist-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(203, 138, 88, 0.3);
    position: relative;
}

.cart-item:last-child,
.wishlist-item:last-child {
    border-bottom: none;
}

.cart-item-image,
.wishlist-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-details,
.wishlist-item-details {
    flex: 1;
}

.cart-item-title,
.wishlist-item-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.cart-item-price,
.wishlist-item-price {
    color: var(--pyramid-gold) !important;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cart-item-quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(203, 138, 88, 0.3);
    border-radius: 8px;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
}

.cart-item-remove,
.wishlist-item-remove {
    background: transparent;
    border: none;
    color: var(--soft-yellow);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: var(--transition-smooth);
    position: absolute;
    top: 0.5rem;
    right: 0;
}

.cart-item-remove:hover,
.wishlist-item-remove:hover {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.sidebar-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(203, 138, 88, 0.3);
    background: rgba(5, 32, 119, 0.3);
}

.cart-summary {
    margin-bottom: 1.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    color: var(--soft-yellow);
}

.summary-row.total {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-light);
    border-top: 1px solid rgba(203, 138, 88, 0.3);
    padding-top: 0.5rem;
}

/* Ensure cart total prices stay golden */
#cartSubtotal,
#cartTotal {
    color: var(--pyramid-gold) !important;
}

.cart-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    justify-content: center;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--royal-orange);
    color: var(--text-light);
}

.btn-primary:hover {
    background: #d55a1f;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--pyramid-gold);
    border: 1px solid rgba(203, 138, 88, 0.5);
}

.btn-secondary:hover {
    background: rgba(203, 138, 88, 0.1);
    color: var(--pyramid-gold);
}

.btn-outline {
    background: transparent;
    color: var(--text-light);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--pyramid-gold);
    color: var(--pyramid-gold);
}

.checkout-btn {
    width: 100%;
}

/* Buy with Box Checkbox Styles */
.buy-with-box-container {
    border: 1px solid rgba(203, 138, 88, 0.5);
    border-radius: 12px;
    background: rgba(58, 54, 153, 0.3);
    padding: 0.75rem 1.2rem;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    width: fit-content;
}

.buy-with-box-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    user-select: none;
    font-size: 1.1rem;
}

.buy-with-box-input {
    appearance: none;
    -webkit-appearance: none;
    background-color: transparent;
    border: 2px solid #c38a58;
    border-radius: 5px;
    width: 22px;
    height: 22px;
    margin-right: 0.5rem;
    cursor: pointer;
    position: relative;
    outline: none;
    transition: border-color 0.2s;
}
.buy-with-box-input:checked {
    background-color: #ffd700;
    border-color: #ffd700;
}
.buy-with-box-input:checked::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid #3a3699;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
    display: block;
}

.checkbox-label {
    color: #ffd700;
    font-weight: bold;
    font-family: inherit;
}

/* Cart item box indicator styles */
.box-indicator {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--soft-gold);
    margin-top: 0.25rem;
    background: rgba(203, 138, 88, 0.2);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    border: 1px solid rgba(203, 138, 88, 0.3);
}

.cart-item-total {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--pyramid-gold);
    margin-top: 0.5rem;
}

.read-more-link {
    color: var(--pyramid-gold, #FFD700) !important;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s;
}
.read-more-link:hover {
    color: #ffe066 !important;
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--royal-dark-blue);
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(203, 138, 88, 0.3);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-description {
    color: var(--soft-yellow);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.social-link:hover {
    background: var(--pyramid-gold);
    color: var(--royal-dark-blue);
    transform: translateY(-2px);
}

.footer-section h4 {
    color: var(--pyramid-gold);
    font-family: var(--font-primary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--soft-yellow);
    text-decoration: none;
    transition: var(--transition-smooth);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--pyramid-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--soft-yellow);
}

/* Notifications */
.notification-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 3000;
}

.notification {
    background: rgba(5, 32, 119, 0.9);
    backdrop-filter: blur(15px);
    border: 1px solid var(--pyramid-gold);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    min-width: 300px;
    transform: translateX(100%);
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-primary);
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.notification.error {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.notification.info {
    border-color: var(--pyramid-gold);
}

/* Overlay action icons for product card */
.product-overlay-actions {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    z-index: 3;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.product-card:hover .product-overlay-actions {
    opacity: 1;
    pointer-events: auto;
}
.product-action-btn {
    background: rgba(255,255,255,0.95);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(27,41,81,0.10);
    cursor: pointer;
    transition: box-shadow 0.2s, background 0.2s;
    outline: none;
    margin: 0;
    padding: 0;
}
.product-action-btn svg {
    color: #1b2951;
    width: 24px;
    height: 24px;
}
.product-action-btn:hover {
    background: #e6e6e6;
    box-shadow: 0 4px 16px rgba(203,138,88,0.15);
}
.product-action-btn.preview-btn svg {
    color: #1b2951;
}
.product-action-btn.add-to-wishlist-btn svg {
    color: #c98a58;
}
.product-action-btn.add-to-cart-btn svg {
    color: #f7b500;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-ornaments {
        display: none;
    }

    .filter-controls {
        flex-wrap: wrap;
    }

    .search-container {
        min-width: 150px;
        max-width: 100%;
        flex: 1 1 100%;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    /* Reduce animation sizes for tablets */
    .golden-rays {
        width: 400px;
        height: 400px;
    }

    .symbol {
        font-size: 1.5rem;
    }

    .artifact {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none !important;
        flex-direction: column !important;
        width: 100% !important;
        background: linear-gradient(135deg, var(--royal-dark-blue) 0%, var(--rich-blue) 100%) !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1500 !important;
        padding: 2rem 0 !important;
        text-align: center !important;
        box-shadow: 0 12px 40px rgba(5, 32, 119, 0.3) !important;
        border-bottom-left-radius: 16px !important;
        border-bottom-right-radius: 16px !important;
        backdrop-filter: blur(20px) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-top: none !important;
    }
    .nav-menu.active {
        display: block !important;
        animation: slideDown 0.3s ease-out !important;
    }
    .nav-link {
        display: block !important;
        padding: 1.2rem 2rem !important;
        font-size: 1.1rem !important;
        color: var(--text-light) !important;
        border: none !important;
        background: none !important;
        text-align: center !important;
        text-decoration: none !important;
        font-weight: 500 !important;
        letter-spacing: 0.5px !important;
        transition: all 0.3s ease !important;
        position: relative !important;
        margin: 0.25rem 1rem !important;
        border-radius: 8px !important;
    }
    .nav-link:hover,
    .nav-link.active {
        background: rgba(255, 255, 255, 0.1) !important;
        color: var(--pyramid-gold) !important;
        transform: translateY(-2px) !important;
    }
    .nav-link::after {
        content: '' !important;
        position: absolute !important;
        bottom: 0 !important;
        left: 50% !important;
        width: 0 !important;
        height: 2px !important;
        background: var(--pyramid-gold) !important;
        transition: all 0.3s ease !important;
        transform: translateX(-50%) !important;
    }
    .nav-link:hover::after,
    .nav-link.active::after {
        width: 60% !important;
    }

    .mobile-menu-btn {
        display: flex !important;
    }

    /* Ensure mobile menu button is always visible on mobile */
    .header-actions .mobile-menu-btn {
        order: 999;
    }

    .hero-shop {
        padding: 100px 0 60px;
        min-height: 60vh;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .stat-divider {
        display: none;
    }

    .filter-main {
        gap: 1rem;
    }

    .filter-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-select,
    .price-filter,
    .view-toggle {
        width: 100%;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .product-card.list {
        flex-direction: column;
        text-align: center;
    }

    .product-card.list .product-image-container {
        width: 100%;
        height: 200px;
    }

    .sidebar {
        width: 100%;
        right: -100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-brand {
        max-width: none;
    }

    /* Mobile animations adjustments */
    .symbol {
        font-size: 1.2rem;
    }

    .artifact {
        font-size: 1.5rem;
    }

    .golden-rays {
        width: 300px;
        height: 300px;
    }

    .pyramid-bg {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .modal-content {
        margin: 2vh auto;
        width: 95%;
    }

    .search-container {
        max-width: 100%;
    }

    .filter-bar {
        padding: 1rem;
    }

    /* Small screen animations adjustments */
    .symbol {
        font-size: 1rem;
    }

    .artifact {
        font-size: 1.2rem;
    }

    .golden-rays {
        width: 250px;
        height: 250px;
    }

    .pyramid-bg {
        width: 100px;
        height: 100px;
    }

    /* Responsive styles for buy with box */
    .buy-with-box-container {
        margin: 0.75rem 0;
        padding: 0.5rem;
    }

    .buy-with-box-checkbox {
        gap: 0.5rem;
    }

    .checkbox-label {
        font-size: 0.85rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; } 
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --pyramid-gold: #FFD700;
        --soft-gold: #FFA500;
        --text-light: #000000;
    }
} 