/* ===== MODERN STORE UI DESIGN – SKEUOMORPHIC SHOP ===== */

/* ----- 1. HANGING WOODEN SHOP SIGN HEADER ----- */
.store-sign-header {
    position: relative;
    margin-bottom: 25px;
    padding-top: 24px;
}

.sign-ropes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 24px;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    pointer-events: none;
}

.rope {
    width: 8px;
    height: 24px;
    background: linear-gradient(90deg, #5c4033 0%, #4a3528 30%, #6b5344 50%, #4a3528 70%, #5c4033 100%);
    border-radius: 4px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 1px 0 0 rgba(0,0,0,0.2), -1px 0 0 rgba(0,0,0,0.1);
}

.rope::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 10px;
    background: linear-gradient(180deg, #8b7355, #6b5344);
    border-radius: 50% 50% 0 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.store-sign-board {
    background:
        repeating-linear-gradient(45deg, rgba(0,0,0,0.04) 0px, transparent 2px, transparent 4px, rgba(0,0,0,0.04) 6px),
        repeating-linear-gradient(-45deg, rgba(0,0,0,0.03) 0px, transparent 2px, transparent 4px, rgba(0,0,0,0.03) 6px),
        linear-gradient(135deg, #8b7355 0%, #a08060 35%, #b8956e 50%, #a08060 65%, #8b7355 100%);
    border-radius: 20px;
    padding: 28px 30px 32px;
    box-shadow:
        0 18px 40px rgba(0,0,0,0.4),
        0 8px 18px rgba(0,0,0,0.25),
        inset 0 2px 0 rgba(255,255,255,0.2),
        inset 0 -2px 0 rgba(0,0,0,0.25),
        inset 2px 0 0 rgba(255,255,255,0.12),
        inset -2px 0 0 rgba(0,0,0,0.15);
    border: 3px solid #5c4033;
    position: relative;
}

.store-sign-board::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 2px dashed rgba(184, 149, 110, 0.4);
    border-radius: 16px;
    pointer-events: none;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.store-title-section {
    flex: 1;
    min-width: 300px;
}

.store-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #2d2520;
    margin: 0 0 8px 0;
    text-shadow:
        0 1px 0 rgba(255,255,255,0.7),
        0 2px 4px rgba(0,0,0,0.25);
    font-family: 'Audiowide', var(--default-font-family, 'Shrikhand'), sans-serif;
    letter-spacing: 0.04em;
}

.store-subtitle {
    font-size: 1.1rem;
    color: #3d352c;
    margin: 0;
    font-weight: 500;
    font-family: 'Special Elite', serif;
}

.header-stats {
    display: flex;
    gap: 20px;
}

/* Brass cash register panel bolted onto sign */
.aeros-cash-register {
    display: flex;
    align-items: center;
    min-width: 180px;
    position: relative;
}

.cash-register-face {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 22px;
    background: linear-gradient(145deg, #c9a227 0%, #b8860b 25%, #8b6914 50%, #b8860b 75%, #c9a227 100%);
    border-radius: 10px;
    box-shadow:
        0 6px 16px rgba(0,0,0,0.4),
        inset 0 2px 0 rgba(255,255,255,0.4),
        inset 0 -2px 0 rgba(0,0,0,0.3),
        inset 2px 0 0 rgba(255,255,255,0.2),
        inset -2px 0 0 rgba(0,0,0,0.2);
    border: 2px solid #6b5344;
    position: relative;
}

.cash-register-face::before,
.cash-register-face::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: radial-gradient(circle at 30% 30%, #d4af37, #8b6914);
    border-radius: 50%;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 2px 4px rgba(0,0,0,0.4);
    top: 6px;
}

.cash-register-face::before { left: 6px; }
.cash-register-face::after { right: 6px; left: auto; }

/* Legacy selector for any remaining aeros-display */
.aeros-display {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    background: linear-gradient(135deg, #b8956a 0%, #c4a574 50%, #b8956a 100%);
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25), inset 0 2px 0 rgba(255,255,255,0.25);
    border: 2px solid #8b7355;
    min-width: 180px;
    position: relative;
}

.aeros-icon {
    font-size: 2rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* ----- 7. PARCHMENT SEARCH BAR ----- */
.store-search-container {
    margin-top: 20px;
    width: 100%;
}

.store-search-box.parchment-scroll {
    position: relative;
    display: flex;
    align-items: center;
    background:
        repeating-linear-gradient(45deg, rgba(0,0,0,0.03) 0px, transparent 2px, transparent 4px, rgba(0,0,0,0.03) 6px),
        linear-gradient(135deg, #7a6349 0%, #8b7355 50%, #7a6349 100%);
    border-radius: 16px;
    padding: 14px 24px 14px 20px;
    box-shadow:
        0 8px 24px rgba(0,0,0,0.25),
        inset 0 2px 0 rgba(255,255,255,0.15),
        inset 0 -2px 0 rgba(0,0,0,0.2);
    border: 2px solid #5c4033;
    transition: all 0.3s ease;
}

.store-search-box.parchment-scroll::before,
.store-search-box.parchment-scroll::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 20px;
    background: linear-gradient(90deg, rgba(139,90,43,0.12), transparent);
    border-radius: 2px;
    pointer-events: none;
}

.store-search-box.parchment-scroll::before { left: 0; transform: skewY(-1deg); }
.store-search-box.parchment-scroll::after { right: 0; left: auto; background: linear-gradient(270deg, rgba(139,90,43,0.12), transparent); transform: skewY(1deg); }

.store-search-box:focus-within {
    box-shadow: 0 10px 28px rgba(0,0,0,0.3), inset 0 2px 0 rgba(255,255,255,0.2), 0 0 0 3px rgba(92,64,51,0.3);
    border-color: #3d2817;
}

.search-icon-quill {
    width: 24px;
    height: 24px;
    margin-right: 14px;
    flex-shrink: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232d2520'%3E%3Cpath d='M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z'/%3E%3C/svg%3E") center/contain no-repeat;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.15));
    pointer-events: none;
}

.search-icon {
    color: #64748b;
    font-size: 1.5rem;
    margin-right: 12px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
    pointer-events: none;
}

.store-search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 1.1rem;
    color: #2d2520;
    outline: none;
    font-family: inherit;
    padding: 0;
}

.store-search-input::placeholder {
    color: #6b5344;
    font-weight: 500;
    font-family: 'Special Elite', serif;
}

.search-clear-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #d4b896 0%, #e6d4b8 50%, #d4b896 100%);
    border: 2px solid #8b7355;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    cursor: pointer;
    padding: 0;
    margin-left: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.25);
    transition: all 0.2s ease;
    color: #2d2520;
}

.search-clear-btn:hover {
    border-color: #6d5a45;
    box-shadow: 0 3px 6px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.35);
    color: #2d2520;
}

.search-clear-btn:active {
    box-shadow:
        inset 0 2px 4px rgba(0, 0, 0, 0.2),
        inset 0 -1px 2px rgba(255, 255, 255, 0.5);
    transform: scale(0.95);
}

.search-clear-btn .material-icons {
    font-size: 1.2rem;
}

.aeros-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.aeros-label {
    font-size: 0.85rem;
    color: #2d2520;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.aeros-value {
    font-size: 1.8rem;
    color: #1c1917;
    font-weight: 800;
    text-shadow: 0 1px 2px rgba(255,255,255,0.35);
}

.cash-register-face .aeros-label {
    color: #1c1917;
}

.cash-register-face .aeros-value {
    color: #0f0f0f;
    text-shadow: 0 1px 0 rgba(255,255,255,0.3);
}

/* ----- 4. LEATHER DAILY OFFERS BANNER ----- */
.featured-banner {
    background:
        repeating-linear-gradient(45deg, rgba(0,0,0,0.03) 0px, transparent 2px, transparent 4px, rgba(0,0,0,0.03) 6px),
        linear-gradient(135deg, #7a6349 0%, #8b7355 45%, #7a6349 100%);
    border-radius: 16px;
    padding: 40px 35px;
    margin-bottom: 50px;
    box-shadow:
        0 15px 35px rgba(0,0,0,0.4),
        inset 0 2px 0 rgba(255,255,255,0.15),
        inset 0 -2px 0 rgba(0,0,0,0.2);
    border: 3px solid #5c4033;
    position: relative;
    overflow: visible;
    min-height: 160px;
    z-index: 1;
    clear: both;
}

.featured-banner::after {
    content: '';
    position: absolute;
    top: 10px; left: 10px; right: 10px; bottom: 10px;
    border: 2px dashed rgba(184, 149, 110, 0.4);
    pointer-events: none;
    z-index: 0;
    border-radius: 12px;
}

.featured-banner::before {
    content: '';
    position: absolute;
    top: 8px; right: 12px;
    width: 40px; height: 40px;
    border: 3px solid rgba(184,149,110,0.3);
    border-radius: 50%;
    opacity: 0.6;
    z-index: 1;
}

.banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
    position: relative;
    z-index: 3;
    min-height: 120px;
    width: 100%;
}

.banner-text {
    flex: 1;
    min-width: 250px;
    position: relative;
    z-index: 2;
}

.banner-text h2 {
    font-size: 2rem;
    color: #2d2520;
    margin: 0 0 8px 0;
    font-weight: 700;
    text-shadow: 0 1px 0 rgba(255,255,255,0.6), 0 2px 4px rgba(0,0,0,0.2);
    line-height: 1.2;
    font-family: var(--default-font-family, 'Shrikhand');
    letter-spacing: 0.03em;
}

.banner-text p {
    font-size: 1.1rem;
    color: #3d352c;
    margin: 0;
    font-weight: 500;
    line-height: 1.4;
    font-family: 'Special Elite', serif;
}

.offer-pricing-info {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.pricing-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background:
        repeating-linear-gradient(-45deg, rgba(0,0,0,0.04) 0px, transparent 2px, transparent 4px, rgba(0,0,0,0.04) 6px),
        linear-gradient(135deg, #6b5344 0%, #7a6349 50%, #6b5344 100%);
    padding: 10px 16px;
    border-radius: 8px;
    border: 2px solid #4a3525;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.12);
    position: relative;
    z-index: 1;
}

.pricing-item:first-child {
    background:
        repeating-linear-gradient(-45deg, rgba(0,0,0,0.04) 0px, transparent 2px, transparent 4px, rgba(0,0,0,0.04) 6px),
        linear-gradient(135deg, #5c4033 0%, #6b5344 50%, #5c4033 100%);
    border: 2px solid #3d2817;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.1);
}

.price-icon {
    font-size: 1.4rem;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.price-text {
    font-size: 1.4rem;
    color: #2d2520;
    font-weight: 700;
    text-shadow: 0 1px 0 rgba(255,255,255,0.5);
}

.banner-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;
    min-width: 200px;
}

/* Chalk-circled CTA */
.claim-daily-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.07) 25%, transparent 50%),
        linear-gradient(145deg, #67e8f9 0%, #22d3ee 25%, #06b6d4 55%, #0891b2 80%, #0e7490 100%);
    color: #0a1a20;
    border: none;
    border-radius: 999px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow:
        0 7px 0 0 #164e63,
        0 9px 20px rgba(0,0,0,0.4),
        inset 0 -2px 4px rgba(0,0,0,0.2);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    text-shadow: 0 1px 0 rgba(255,255,255,0.5);
    position: relative;
    white-space: nowrap;
    min-width: 220px;
    font-family: var(--default-font-family, 'Shrikhand');
    letter-spacing: 0.02em;
}

.claim-daily-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow:
        0 9px 0 0 #164e63,
        0 11px 24px rgba(0,0,0,0.45),
        inset 0 -2px 4px rgba(0,0,0,0.2);
}

.claim-daily-btn:active:not(:disabled) {
    transform: translateY(4px);
    box-shadow:
        0 2px 0 0 #164e63,
        0 4px 10px rgba(0,0,0,0.35),
        inset 0 3px 8px rgba(0,0,0,0.25);
}

.claim-daily-btn:disabled {
    background: linear-gradient(145deg, #2d4a52, #1a2e35);
    color: #4a7a85;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 0 0 #0d1e24, 0 4px 8px rgba(0,0,0,0.3);
    opacity: 0.8;
}

.btn-icon {
    font-size: 1.2rem;
}

.claim-message {
    color: #3d352c;
    font-size: 0.9rem;
    margin: 0;
    text-align: right;
    font-weight: 500;
    min-height: 1.2em;
    line-height: 1.3;
}

/* Advertisement Section */
.ad-section {
    margin-bottom: 25px;
    margin-top: 0;
    position: relative;
    z-index: 0;
    clear: both;
}

.ad-container {
    display: flex;
    justify-content: center;
}

.store-ad {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    border: 3px solid #8b7355;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25), inset 0 2px 0 rgba(255,255,255,0.2);
    transition: transform 0.3s ease;
}

.ad-container {
    position: relative;
    padding: 12px;
}

.ad-container::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 16px;
    right: 16px;
    height: 0;
    border-bottom: 2px dashed rgba(139, 90, 43, 0.5);
    pointer-events: none;
}

.store-ad:hover {
    transform: scale(1.02);
}

/* ----- 2. LEATHER DRAWER CATEGORY TABS ----- */
.store-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 16px;
    background:
        repeating-linear-gradient(45deg, rgba(0,0,0,0.04) 0px, transparent 2px, transparent 4px, rgba(0,0,0,0.04) 6px),
        linear-gradient(135deg, #5c4033 0%, #4a3525 50%, #3d2817 100%);
    border-radius: 16px;
    margin-bottom: 30px;
    margin-top: 0;
    clear: both;
    box-shadow:
        0 12px 30px rgba(0,0,0,0.4),
        inset 0 2px 0 rgba(255,255,255,0.1),
        inset 0 -2px 0 rgba(0,0,0,0.3);
    border: 2px solid #3d2817;
    position: relative;
    max-width: 100%;
    min-width: 0;
    min-height: 140px;
}

.store-nav .store-tab {
    width: 100%;
    margin: 0;
}

.store-tab {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 16px 20px;
    background:
        repeating-linear-gradient(45deg, rgba(0,0,0,0.03) 0px, transparent 2px, transparent 4px, rgba(0,0,0,0.03) 6px),
        linear-gradient(180deg, #8b7355 0%, #7a6349 30%, #6b5344 70%, #5c4033 100%);
    border: 2px solid #4a3525;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    color: #2d2520;
    position: relative;
    text-shadow: 0 1px 0 rgba(255,255,255,0.5);
    white-space: nowrap;
    min-height: 64px;
    width: 100%;
    box-shadow:
        0 4px 0 rgba(0,0,0,0.25),
        0 6px 14px rgba(0,0,0,0.2),
        inset 0 2px 0 rgba(255,255,255,0.15),
        inset 0 -2px 0 rgba(0,0,0,0.15);
    overflow: hidden;
    font-family: var(--default-font-family, 'Shrikhand');
}

/* Inner dashed border on each tab */
.store-tab::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    border: 1px dashed rgba(184,149,110,0.35);
    border-radius: 6px;
    pointer-events: none;
}

.store-tab:hover::before,
.store-tab.active::before {
    left: 100%;
}

.store-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    transition: left 0.5s ease;
}

/* Inactive = flush (closed drawer); active = pulled out */
.store-tab.active {
    background:
        repeating-linear-gradient(45deg, rgba(0,0,0,0.04) 0px, transparent 2px, transparent 4px, rgba(0,0,0,0.04) 6px),
        linear-gradient(180deg, #b8956e 0%, #a08060 20%, #8b7355 55%, #7a6349 100%);
    color: #1c1510;
    border: 2px solid #3d2817;
    box-shadow:
        0 8px 0 rgba(0,0,0,0.2),
        0 12px 24px rgba(0,0,0,0.3),
        inset 0 2px 0 rgba(255,255,255,0.25),
        inset 0 -3px 8px rgba(0,0,0,0.2);
    transform: translateY(-6px) translateZ(0);
    z-index: 10;
    text-shadow: 0 1px 0 rgba(255,255,255,0.6);
}

.store-tab.active .tab-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
}

.store-tab.active .tab-text {
    font-weight: 700;
}

.store-tab:hover:not(.active) {
    border-color: #3d2817;
    box-shadow:
        0 5px 0 rgba(0,0,0,0.2),
        0 8px 16px rgba(0,0,0,0.2),
        inset 0 2px 0 rgba(255,255,255,0.2),
        inset 0 -2px 0 rgba(0,0,0,0.15);
    transform: translateY(-2px);
    color: #1c1510;
}

.store-tab:hover:not(.active) .tab-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.tab-icon {
    font-size: 1.3rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), filter 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
}

.tab-icon img {
    transition: transform 0.3s ease;
}

.store-tab:hover .tab-icon img {
    transform: scale(1.1) rotate(5deg);
}

.tab-text {
    font-size: 1.05rem;
    transition: font-weight 0.3s ease, text-shadow 0.3s ease;
    flex: 1;
    text-align: left;
}

.tab-count {
    display: none;
}

.tab-count::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.store-tab:hover .tab-count::before {
    left: 100%;
}

.store-tab.active .tab-count {
    display: none;
}

/* Special styling for zero counts */
.tab-count:empty,
.tab-count:has-text("0") {
    background: linear-gradient(145deg, #9e9e9e, #757575);
    box-shadow:
        0 2px 6px rgba(158, 158, 158, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.2),
        inset 0 -1px 2px rgba(0, 0, 0, 0.2);
}

.store-tab.active .tab-count:empty,
.store-tab.active .tab-count:has-text("0") {
    background: linear-gradient(145deg, #66bb6a, #4caf50);
}

/* Store Content Sections */
.store-content {
    position: relative;
    clear: both;
    margin-top: 0;
}

.store-section {
    display: none;
    animation: fadeIn 0.3s ease;
}

.store-section.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* Section Headers */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

/* ----- 5. LEATHER PLAQUE SECTION TITLES ----- */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2d2520;
    margin: 0 0 12px 0;
    padding: 16px 30px 18px;
    text-shadow: 0 1px 0 rgba(255,255,255,0.6), 0 2px 4px rgba(0,0,0,0.2);
    background:
        repeating-linear-gradient(45deg, rgba(0,0,0,0.03) 0px, transparent 2px, transparent 4px, rgba(0,0,0,0.03) 6px),
        linear-gradient(160deg, #8b7355 0%, #a08060 25%, #8b7355 60%, #7a6349 100%);
    border-radius: 10px;
    border: 2px solid #5c4033;
    box-shadow:
        0 6px 16px rgba(0,0,0,0.3),
        inset 0 2px 0 rgba(255,255,255,0.2),
        inset 0 -2px 0 rgba(0,0,0,0.2);
    position: relative;
    display: inline-block;
}

.section-title::before,
.section-title::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: radial-gradient(circle at 30% 30%, #d4b896, #8b7355);
    border-radius: 50%;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 2px 4px rgba(0,0,0,0.4);
    top: 8px;
}

.section-title::before { left: 8px; }
.section-title::after { right: 8px; left: auto; }

.section-filters {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.filter-dropdown {
    padding: 14px 20px;
    background:
        repeating-linear-gradient(45deg, rgba(0,0,0,0.03) 0px, transparent 2px, transparent 4px, rgba(0,0,0,0.03) 6px),
        linear-gradient(135deg, #8b7355 0%, #7a6349 50%, #8b7355 100%);
    border: 2px solid #5c4033;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    color: #2d2520;
    cursor: pointer;
    box-shadow:
        0 4px 10px rgba(0,0,0,0.2),
        inset 0 2px 0 rgba(255,255,255,0.15),
        inset 0 -1px 2px rgba(0,0,0,0.15);
    transition: all 0.2s ease;
    min-height: 48px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232d2520' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.filter-dropdown:hover {
    border-color: #3d2817;
    box-shadow: 0 6px 15px rgba(0,0,0,0.25), inset 0 2px 0 rgba(255,255,255,0.2);
}

.filter-dropdown:focus {
    outline: none;
    border-color: #3d2817;
    box-shadow: 0 0 0 3px rgba(92,64,51,0.25);
}

/* Items Grid */
.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    padding: 0;
    margin-top: 0;
    clear: both;
}

/* Cards per row layouts */
.items-grid.cards-2 {
    grid-template-columns: repeat(2, 1fr);
}

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

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

.items-grid.cards-5 {
    grid-template-columns: repeat(5, 1fr);
}

.items-grid.cards-6 {
    grid-template-columns: repeat(6, 1fr);
}

/* Enhanced Theme Grid - Better Layout for Themes */
#theme-shelf.items-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* Theme cards per row (themes are larger, so adjust minmax) */
#theme-shelf.items-grid.cards-2 {
    grid-template-columns: repeat(2, 1fr);
}

#theme-shelf.items-grid.cards-3 {
    grid-template-columns: repeat(3, 1fr);
}

#theme-shelf.items-grid.cards-4 {
    grid-template-columns: repeat(4, 1fr);
}

#theme-shelf.items-grid.cards-5 {
    grid-template-columns: repeat(5, 1fr);
}

#theme-shelf.items-grid.cards-6 {
    grid-template-columns: repeat(6, 1fr);
}

/* Performance optimizations - GPU acceleration hints */
#theme-shelf .theme-card-enhanced,
.shelf-container {
    will-change: transform;
    transform: translateZ(0);
    /* Force GPU acceleration */
    backface-visibility: hidden;
}

/* Optimize image rendering */
.shelf-item,
.theme-thumbnail {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Reduce repaints during animations */
.items-grid {
    contain: layout style paint;
}

/* ----- 3. PRICE TAG ITEM CARDS ----- */
.shelf-container {
    background-image: url('../Paper.png');
    background-size: cover;
    background-position: center;
    border-radius: 12px 4px 14px 3px / 3px 14px 4px 12px;
    padding: 25px 20px 28px;
    box-shadow:
        2px 4px 0 1px rgba(120,90,50,0.25),
        0 10px 24px rgba(0,0,0,0.35),
        0 4px 10px rgba(0,0,0,0.2),
        inset 0 1px 0 rgba(255,255,255,0.5);
    border: 1px solid rgba(160,120,70,0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
    margin-bottom: 2px;
    transform: rotate(-0.8deg);
    filter: drop-shadow(2px 6px 14px rgba(0,0,0,0.3));
}

.shelf-container:nth-child(even) {
    transform: rotate(0.6deg);
    border-radius: 3px 14px 2px 12px / 14px 3px 12px 2px;
}

.shelf-container:hover {
    transform: rotate(-0.4deg) translateY(-6px);
    box-shadow:
        2px 2px 0 1px rgba(120,90,50,0.2),
        0 18px 32px rgba(0,0,0,0.45),
        0 8px 14px rgba(0,0,0,0.25),
        inset 0 1px 0 rgba(255,255,255,0.6);
    filter: drop-shadow(3px 10px 18px rgba(0,0,0,0.4));
}

.shelf-container:nth-child(even):hover {
    transform: rotate(0.4deg) translateY(-6px);
}

.shelf-container:active {
    transform: rotate(-0.8deg) translateY(-2px);
}

/* Theme cards and sticker pack: no rotation, no tag hole/string */
.shelf-container.theme-card-enhanced,
.shelf-container.sticker-pack-item {
    transform: none;
}

.shelf-container.theme-card-enhanced::before,
.shelf-container.theme-card-enhanced::after,
.shelf-container.sticker-pack-item::before,
.shelf-container.sticker-pack-item::after {
    display: none;
}

.shelf-container.theme-card-enhanced:hover,
.shelf-container.sticker-pack-item:hover {
    transform: translateY(-4px);
}

/* Punched hole + string loop at top */
.shelf-container::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 18px;
    background: radial-gradient(circle at 30% 30%, #d4b896, #8b7355);
    border-radius: 50%;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.3), 0 1px 2px rgba(0,0,0,0.2);
    border: 2px solid #6b5344;
    z-index: 2;
}

.shelf-container::after {
    content: '';
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 14px;
    border: 3px solid #5c4033;
    border-bottom: none;
    border-radius: 24px 24px 0 0;
    background: transparent;
    z-index: 1;
}

/* SOLD rubber stamp overlay for owned items */
.shelf-container .sold-stamp {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-12deg);
    font-size: 2.2rem;
    font-weight: 900;
    color: rgba(180, 20, 20, 0.6);
    font-family: 'Special Elite', serif;
    letter-spacing: 0.2em;
    z-index: 5;
    pointer-events: none;
    text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

.shelf-container.owned::before {
    background: radial-gradient(circle at 30% 30%, #b8956a, #6b5344);
}

/* Skeuomorphic Item Content */
.shelf-items {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 140px;
    margin-bottom: 20px;
    background: rgba(255,255,255,0.45);
    border-radius: 10px 3px 12px 2px / 2px 12px 3px 10px;
    border: 1px solid rgba(140,100,50,0.3);
    position: relative;
    overflow: hidden;
    box-shadow:
        inset 0 2px 8px rgba(0,0,0,0.12),
        inset 0 -1px 2px rgba(255,255,255,0.7);
}

.shelf-items::before {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.6));
    border-radius: 14px 14px 0 0;
}

.shelf-items::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.shelf-item {
    max-width: 90%;
    max-height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transition: transform 0.2s ease;
    position: relative;
    z-index: 1;
}

.shelf-container:hover .shelf-item {
    transform: scale(1.05);
}

/* Item Info */
.item-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1008;
    margin: 0 0 8px 0;
    text-align: center;
    text-shadow: 0 1px 0 rgba(255,255,255,0.5);
    word-break: break-word;
    line-height: 1.4;
    font-family: var(--default-font-family, 'Shrikhand');
}

.item-price,
.shelf-container .item-price .current-price,
.shelf-container .item-price .offer-price,
.shelf-container .offer-price {
    font-size: 1.35rem;
    font-weight: 800;
    color: #b91c1c;
    margin: 0 0 8px 0;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    font-family: 'Special Elite', serif;
}

.item-quantity-owned {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2d2520;
    margin: 0 0 15px 0;
    text-align: center;
    padding: 6px 12px;
    background: linear-gradient(145deg, #e6d4b8, #d4b896);
    border-radius: 8px;
    border: 1px solid #8b7355;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
    box-shadow:
        inset 0 1px 2px rgba(255, 255, 255, 0.5),
        inset 0 -1px 2px rgba(92,64,51,0.15);
}

/* Purchase Section */
.purchase-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.quantity-input {
    width: 60px;
    padding: 10px 8px;
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    color: #475569;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.quantity-input:focus {
    outline: none;
    border-color: #16a34a;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* ----- 6. WAX SEAL BUY BUTTON ----- */
.purchase-btn,
.claim-btn {
    padding: 12px 22px;
    border: none;
    border-radius: 999px;
    min-height: 44px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    text-shadow: 0 1px 0 rgba(255,255,255,0.35);
    position: relative;
    font-family: var(--default-font-family, 'Shrikhand');
}

.purchase-btn {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.07) 25%, transparent 50%),
        linear-gradient(145deg, #bef264 0%, #a3e635 25%, #84cc16 50%, #65a30d 75%, #4d7c0f 100%);
    color: #0f1a00;
    box-shadow:
        0 7px 0 0 #166534,
        0 9px 20px rgba(0,0,0,0.4),
        0 3px 6px rgba(0,0,0,0.25),
        inset 0 -2px 4px rgba(0,0,0,0.2);
    border-radius: 999px;
    min-width: 100px;
}

.purchase-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 9px 0 0 #166534,
        0 11px 24px rgba(0,0,0,0.45),
        inset 0 -2px 4px rgba(0,0,0,0.2);
}

.purchase-btn:active {
    transform: translateY(4px);
    box-shadow:
        0 2px 0 0 #166534,
        0 4px 10px rgba(0,0,0,0.35),
        inset 0 3px 8px rgba(0,0,0,0.3);
}

.claim-btn {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.07) 25%, transparent 50%),
        linear-gradient(145deg, #bef264 0%, #a3e635 25%, #84cc16 50%, #65a30d 75%, #4d7c0f 100%);
    color: #0f1a00;
    box-shadow:
        0 7px 0 0 #166534,
        0 9px 20px rgba(0,0,0,0.4),
        inset 0 -2px 4px rgba(0,0,0,0.2);
    border-radius: 999px;
}

.claim-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 9px 0 0 #166534,
        0 11px 24px rgba(0,0,0,0.45),
        inset 0 -2px 4px rgba(0,0,0,0.2);
}

.claim-btn:active {
    transform: translateY(4px);
    box-shadow:
        0 2px 0 0 #166534,
        0 4px 10px rgba(0,0,0,0.35),
        inset 0 3px 8px rgba(0,0,0,0.3);
}

/* Green approval stamp instead of buy button when owned */
.owned-stamp.approval-stamp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    background: linear-gradient(145deg, rgba(34,197,94,0.9), rgba(22,163,74,0.95));
    color: #f0fdf4;
    font-size: 1rem;
    font-weight: 800;
    font-family: 'Special Elite', serif;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: 2px solid #166534;
    border-radius: 4px;
    box-shadow:
        inset 0 2px 0 rgba(255,255,255,0.3),
        0 2px 6px rgba(0,0,0,0.2);
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* Badges */
.daily-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(145deg, #f59e0b, #d97706);
    color: white;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow:
        0 4px 10px rgba(245, 158, 11, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.item-name[data-new="true"]::after {
    content: 'NEW';
    font-size: 0.9rem;
    color: white;
    background: linear-gradient(145deg, #10b981, #059669);
    padding: 4px 8px;
    border-radius: 8px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
    white-space: nowrap;
    display: inline-block;
    margin-left: 8px;
    vertical-align: middle;
}

/* Daily Rotation Info */
.daily-rotation-info {
    background:
        repeating-linear-gradient(45deg, rgba(0,0,0,0.03) 0px, transparent 2px, transparent 4px, rgba(0,0,0,0.03) 6px),
        linear-gradient(135deg, #7a6349 0%, #8b7355 50%, #7a6349 100%);
    border: 2px solid #5c4033;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 25px;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0,0,0,0.3), inset 0 2px 0 rgba(100,200,150,0.08);
    position: relative;
}

.daily-rotation-info::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 14px;
    right: 14px;
    height: 0;
    border-bottom: 2px dashed rgba(139, 90, 43, 0.5);
    pointer-events: none;
}

.daily-rotation-info p {
    margin: 8px 0;
    color: #3d352c;
    font-weight: 600;
}

.daily-rotation-info p:first-child {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2d2520;
}

/* Resale Market Styling */
.resale-pricing {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.resale-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: linear-gradient(145deg, #f59e0b, #d97706);
    color: white;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 800;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    box-shadow:
        0 4px 10px rgba(245, 158, 11, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.4);
    border: 2px solid white;
    width: fit-content;
}

.item-card.resale-active {
    border: 3px solid #f59e0b;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.2);
}

.item-card.resale-active:hover {
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.25);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .items-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }

    /* Responsive cards per row - reduce on medium screens */
    .items-grid.cards-6,
    .items-grid.cards-5 {
        grid-template-columns: repeat(4, 1fr);
    }

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

@media (max-width: 768px) {
    .store-sign-header .header-content {
        flex-direction: column;
        text-align: center;
    }

    .store-title {
        font-size: 2.2rem;
    }

    .sign-ropes {
        padding: 0 15px;
    }

    .banner-content {
        flex-direction: column;
        text-align: center;
        gap: 25px;
        min-height: auto;
    }

    .banner-action {
        align-items: center;
        min-width: auto;
        width: 100%;
    }

    .claim-daily-btn {
        min-width: auto;
        width: 100%;
        max-width: 300px;
    }

    .store-nav {
        flex-direction: column;
        gap: 8px;
    }

    .store-tab {
        width: 100%;
        justify-content: center;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .items-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 15px;
    }

    /* On mobile, limit cards per row to 2 max */
    .items-grid.cards-6,
    .items-grid.cards-5,
    .items-grid.cards-4,
    .items-grid.cards-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .shelf-container {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .modern-store-header {
        padding: 20px;
    }

    .store-title {
        font-size: 1.8rem;
    }

    .featured-banner {
        padding: 35px 20px;
        min-height: 180px;
    }

    .banner-content {
        min-height: 140px;
        gap: 20px;
    }

    .banner-text {
        min-width: auto;
    }

    .banner-text h2 {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }

    .banner-text p {
        font-size: 1rem;
        line-height: 1.5;
    }

    .items-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .shelf-container {
        padding: 15px;
    }

    .purchase-section {
        flex-direction: column;
        gap: 10px;
    }

    .purchase-btn,
    .claim-btn {
        width: 100%;
    }
}

/* Loading States */
.loading-skeleton {
    background: linear-gradient(90deg, #d4b896 25%, #e6d4b8 50%, #d4b896 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 8px;
}

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

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

/* Empty State – leather panel with stitch */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #3d352c;
    background: repeating-linear-gradient(45deg, rgba(0,0,0,0.03) 0px, transparent 2px, transparent 4px, rgba(0,0,0,0.03) 6px), linear-gradient(135deg, #d4b896 0%, #e6d4b8 50%, #d4b896 100%);
    border: 2px solid #8b7355;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2), inset 0 2px 0 rgba(255,255,255,0.25);
    position: relative;
}

.empty-state::after {
    content: '';
    position: absolute;
    bottom: 16px;
    left: 20px;
    right: 20px;
    height: 0;
    border-bottom: 2px dashed rgba(139, 90, 43, 0.5);
    pointer-events: none;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #2d2520;
    text-shadow: 0 1px 2px rgba(255,255,255,0.3);
}

.empty-state p {
    font-size: 1.1rem;
    margin: 0;
}

/* Coming Soon Containers */
.coming-soon-container {
    background:
        repeating-linear-gradient(45deg, rgba(0,0,0,0.04) 0px, transparent 2px, transparent 4px, rgba(0,0,0,0.04) 6px),
        repeating-linear-gradient(-45deg, rgba(0,0,0,0.03) 0px, transparent 2px, transparent 4px, rgba(0,0,0,0.03) 6px),
        linear-gradient(135deg, #8b7355 0%, #a08060 35%, #b8956e 50%, #a08060 65%, #8b7355 100%);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 12px 25px rgba(0,0,0,0.3), inset 0 2px 0 rgba(255,255,255,0.2), inset 0 -2px 0 rgba(0,0,0,0.2);
    border: 3px solid #5c4033;
    position: relative;
    margin: 20px 0;
}

.coming-soon-container::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 2px dashed rgba(184,149,110,0.4);
    border-radius: 16px;
    pointer-events: none;
}

.coming-soon-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.coming-soon-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2d2520;
    margin: 0 0 15px 0;
    text-shadow: 0 1px 0 rgba(255,255,255,0.6), 0 2px 4px rgba(0,0,0,0.2);
    font-family: var(--default-font-family, 'Shrikhand');
}

.coming-soon-description {
    font-size: 1.2rem;
    color: #3d352c;
    line-height: 1.6;
    margin: 0 0 30px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.coming-soon-features {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 25px;
}

.feature-item {
    background:
        repeating-linear-gradient(-45deg, rgba(0,0,0,0.04) 0px, transparent 2px, transparent 4px, rgba(0,0,0,0.04) 6px),
        linear-gradient(145deg, #7a6349, #6b5344);
    color: #2d2520;
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow:
        0 4px 8px rgba(0,0,0,0.2),
        inset 0 2px 0 rgba(255,255,255,0.12),
        inset 0 -1px 2px rgba(0,0,0,0.15);
    border: 1px solid #5c4033;
    text-shadow: 0 1px 0 rgba(255,255,255,0.4);
}

/* Milestone Requirements */
.milestone-requirements {
    background: linear-gradient(145deg, #fef3c7, #fde68a);
    border: 2px solid #f59e0b;
    border-radius: 16px;
    padding: 25px;
    margin: 25px 0;
    box-shadow:
        0 6px 12px rgba(245, 158, 11, 0.2),
        inset 0 2px 4px rgba(255, 255, 255, 0.7),
        inset 0 -2px 4px rgba(0, 0, 0, 0.1);
}

.milestone-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 20px;
    background: linear-gradient(145deg, #fff7ed, #fed7aa);
    border: 1px solid #fb923c;
    border-radius: 10px;
    margin: 10px 0;
    font-weight: 600;
    color: #9a3412;
    box-shadow:
        0 3px 6px rgba(251, 146, 60, 0.2),
        inset 0 1px 2px rgba(255, 255, 255, 0.8);
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
}

.milestone-icon {
    font-size: 1.3rem;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.milestone-text {
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

/* Tab count hidden */
.tab-count { display: none; }

/* Daily Offer Styling */
.shelf-container.daily-offer {
    position: relative;
    background-image: url('../Paper.png');
    background-size: cover;
    border: 3px solid #c97a00;
    box-shadow:
        0 12px 25px rgba(180,120,0,0.35),
        0 6px 12px rgba(180,120,0,0.2),
        inset 0 2px 4px rgba(255,255,255,0.5),
        0 0 22px rgba(200,150,0,0.3);
    animation: daily-offer-glow 2s ease-in-out infinite alternate;
}

@keyframes daily-offer-glow {
    0% {
        box-shadow:
            0 12px 25px rgba(245, 158, 11, 0.3),
            0 6px 12px rgba(245, 158, 11, 0.2),
            inset 0 3px 6px rgba(255, 255, 255, 0.8),
            inset 0 -3px 6px rgba(0, 0, 0, 0.1),
            0 0 20px rgba(245, 158, 11, 0.4);
    }

    100% {
        box-shadow:
            0 12px 25px rgba(245, 158, 11, 0.4),
            0 6px 12px rgba(245, 158, 11, 0.3),
            inset 0 3px 6px rgba(255, 255, 255, 0.9),
            inset 0 -3px 6px rgba(0, 0, 0, 0.1),
            0 0 30px rgba(245, 158, 11, 0.6);
    }
}

.shelf-container.daily-offer::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    height: 4px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.9));
    border-radius: 12px 12px 0 0;
    z-index: 1;
}

.offer-pricing {
    text-align: center;
    margin: 10px 0;
}

.offer-badge {
    display: inline-block;
    background: linear-gradient(145deg, #dc2626, #b91c1c);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow:
        0 3px 6px rgba(220, 38, 38, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.2);
    margin-bottom: 8px;
    animation: badge-pulse 1.5s ease-in-out infinite;
}

@keyframes badge-pulse {

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

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

.price-comparison {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.regular-price {
    color: #6b7280;
    text-decoration: line-through;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.8;
}

.offer-price {
    color: #dc2626;
    font-weight: 700;
    font-size: 1.1rem;
    text-shadow: 0 1px 2px rgba(220, 38, 38, 0.2);
}

.daily-offer .purchase-btn {
    background: linear-gradient(145deg, #dc2626, #b91c1c);
    border: 2px solid #991b1b;
    color: white;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow:
        0 6px 12px rgba(220, 38, 38, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.2),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2);
}

.daily-offer .purchase-btn:hover {
    background: linear-gradient(145deg, #ef4444, #dc2626);
    box-shadow:
        0 8px 16px rgba(220, 38, 38, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.daily-offer .purchase-btn:active {
    transform: translateY(0);
    box-shadow:
        0 4px 8px rgba(220, 38, 38, 0.3),
        inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Responsive Design for Coming Soon */
@media (max-width: 768px) {
    .coming-soon-container {
        padding: 30px 20px;
    }

    .coming-soon-icon {
        font-size: 3rem;
        margin-bottom: 15px;
    }

    .coming-soon-title {
        font-size: 1.8rem;
    }

    .coming-soon-description {
        font-size: 1.1rem;
    }

    .coming-soon-features {
        gap: 12px;
    }

    .feature-item {
        font-size: 0.9rem;
        padding: 8px 16px;
    }

    .milestone-requirements {
        padding: 20px 15px;
    }

    .milestone-item {
        padding: 10px 15px;
        gap: 10px;
    }

    .milestone-text {
        font-size: 1rem;
    }

    /* Daily offer responsive adjustments */
    .price-comparison {
        flex-direction: column;
        gap: 5px;
    }

    .offer-badge {
        font-size: 0.9rem;
        padding: 3px 8px;
    }
}

/* Premium Price Styling (2x price for non-hourly selected stickers) */
.shelf-container.premium-price {
    position: relative;
    background: linear-gradient(145deg, #f3f4f6, #e5e7eb, #d1d5db);
    border: 3px solid #9ca3af;
    box-shadow:
        0 8px 16px rgba(156, 163, 175, 0.2),
        0 4px 8px rgba(156, 163, 175, 0.15),
        inset 0 2px 4px rgba(255, 255, 255, 0.7),
        inset 0 -2px 4px rgba(0, 0, 0, 0.1);
}

.shelf-container.hourly-selected {
    position: relative;
    background-image: url('../Paper.png');
    background-size: cover;
    border: 3px solid #22c55e;
    box-shadow:
        0 8px 16px rgba(34,197,94,0.2),
        0 4px 8px rgba(34,197,94,0.15),
        inset 0 2px 4px rgba(255,255,255,0.5);
}

.premium-pricing {
    text-align: center;
    margin: 10px 0;
}

.premium-badge {
    display: inline-block;
    background: linear-gradient(145deg, #6b7280, #4b5563);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow:
        0 2px 4px rgba(107, 114, 128, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.2);
    margin-bottom: 8px;
}

.premium-pricing .price-comparison {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.premium-pricing .original-price {
    color: #6b7280;
    text-decoration: line-through;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.8;
}

.premium-pricing .current-price {
    color: #374151;
    font-weight: 700;
    font-size: 1.1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.premium-price .purchase-btn {
    background: linear-gradient(145deg, #6b7280, #4b5563);
    border: 2px solid #374151;
    color: white;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow:
        0 4px 8px rgba(107, 114, 128, 0.2),
        inset 0 2px 4px rgba(255, 255, 255, 0.1),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2);
}

.premium-price .purchase-btn:hover {
    background: linear-gradient(145deg, #9ca3af, #6b7280);
    box-shadow:
        0 6px 12px rgba(107, 114, 128, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.2),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

.premium-price .purchase-btn:active {
    transform: translateY(0);
    box-shadow:
        0 2px 4px rgba(107, 114, 128, 0.2),
        inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

@media (max-width: 480px) {
    .coming-soon-features {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .feature-item {
        width: 100%;
        max-width: 200px;
    }

    .milestone-item {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

/* Subscriptions Section Styles */
.subscriptions-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.subscriptions-info-card {
    background-image: url('../Paper.png');
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 12px 25px rgba(0,0,0,0.4), inset 0 2px 0 rgba(100,160,220,0.1), inset 0 -2px 0 rgba(0,0,0,0.2);
    border: 3px solid #8b7355;
    position: relative;
    text-align: center;
}

.subscriptions-info-card::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    height: 3px;
    background: linear-gradient(90deg, rgba(255,255,255,0.4), rgba(255,255,255,0.2), rgba(255,255,255,0.4));
    border-radius: 18px 18px 0 0;
}

.subscriptions-info-card::after {
    content: '';
    position: absolute;
    bottom: 14px;
    left: 20px;
    right: 20px;
    height: 0;
    border-bottom: 2px dashed rgba(139, 90, 43, 0.55);
    pointer-events: none;
}

.subscriptions-info-card h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #2d2520;
    margin: 0 0 15px 0;
    text-shadow: 0 1px 2px rgba(255,255,255,0.3);
}

.subscriptions-info-card p {
    font-size: 1.1rem;
    color: #3d352c;
    margin: 0 0 25px 0;
    line-height: 1.6;
}

.view-subscriptions-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 25%, transparent 50%), linear-gradient(145deg, #bef264 0%, #a3e635 25%, #84cc16 50%, #65a30d 75%, #4d7c0f 100%);
    color: #0f0f0f;
    text-decoration: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 6px 0 0 #166534, 0 8px 18px rgba(0,0,0,0.35), inset 0 -2px 4px rgba(0,0,0,0.2);
    border: 2px solid #4d7c0f;
    text-shadow: 0 1px 0 rgba(255,255,255,0.4);
}

.view-subscriptions-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 0 0 #166534, 0 10px 22px rgba(0,0,0,0.4), inset 0 -2px 4px rgba(0,0,0,0.2);
}

.view-subscriptions-btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 0 #166534, 0 4px 10px rgba(0,0,0,0.3), inset 0 2px 8px rgba(0,0,0,0.25);
}

@media (max-width: 768px) {
    .subscriptions-info-card {
        padding: 25px 20px;
    }
}

/* Aeros Package Styling */
.aeros-package {
    text-align: center;
}

.aeros-package .shelf-items {
    background: linear-gradient(145deg, #fef08a, #fbbf24, #f472b6, #ec4899);
    border: 2px solid #ec4899;
}

.aeros-package.best-value {
    background: linear-gradient(145deg, #fef3c7, #fde68a, #fcd34d);
    border: 3px solid #f59e0b;
    box-shadow:
        0 12px 25px rgba(245, 158, 11, 0.3),
        0 6px 12px rgba(245, 158, 11, 0.2),
        inset 0 3px 6px rgba(255, 255, 255, 0.8),
        inset 0 -3px 6px rgba(0, 0, 0, 0.1),
        0 0 20px rgba(245, 158, 11, 0.4);
}

.aeros-package.best-value::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    height: 4px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.9));
    border-radius: 18px 18px 0 0;
    z-index: 1;
}

.aeros-bonus {
    background: linear-gradient(145deg, #10b981, #059669);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    margin: 8px 0;
    display: inline-block;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow:
        0 3px 6px rgba(16, 185, 129, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.aeros-value-text {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 600;
    margin: 4px 0 12px 0;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
}

.purchase-aeros-btn {
    padding: 12px 24px;
    background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 25%, transparent 50%), linear-gradient(145deg, #bef264 0%, #a3e635 25%, #84cc16 50%, #65a30d 75%, #4d7c0f 100%);
    color: #0f0f0f;
    border: 2px solid #4d7c0f;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-shadow: 0 1px 0 rgba(255,255,255,0.4);
    position: relative;
    width: 100%;
    box-shadow: 0 5px 0 0 #166534, 0 6px 14px rgba(0,0,0,0.3), inset 0 -2px 4px rgba(0,0,0,0.2);
}

.purchase-aeros-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 0 0 #166534, 0 8px 18px rgba(0,0,0,0.35), inset 0 -2px 4px rgba(0,0,0,0.2);
}

.purchase-aeros-btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 0 #166534, 0 4px 10px rgba(0,0,0,0.3), inset 0 2px 8px rgba(0,0,0,0.25);
}

.purchase-aeros-btn:disabled {
    background: linear-gradient(145deg, #9ca3af, #6b7280);
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.aeros-package.best-value .purchase-aeros-btn {
    background: linear-gradient(145deg, #f59e0b, #d97706);
    border: 2px solid #b45309;
    box-shadow:
        0 6px 12px rgba(245, 158, 11, 0.4),
        0 3px 6px rgba(0, 0, 0, 0.2),
        inset 0 2px 4px rgba(255, 255, 255, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2);
}

.aeros-package.best-value .purchase-aeros-btn:hover {
    background: linear-gradient(145deg, #d97706, #b45309);
    box-shadow:
        0 8px 16px rgba(245, 158, 11, 0.5),
        0 4px 8px rgba(0, 0, 0, 0.25),
        inset 0 2px 4px rgba(255, 255, 255, 0.4),
        inset 0 -2px 4px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
    .aeros-package .purchase-aeros-btn {
        width: 100%;
    }
}

/* ===== STICKER PACKS SECTION ===== */

.sticker-packs-container {
    margin-bottom: 2rem;
    padding: 1.25rem 1.5rem;
    background-image: url('../Paper.png');
    background-size: cover;
    background-position: center;
    border: 3px solid #8b7355;
    border-radius: 18px;
    box-shadow:
        0 10px 22px rgba(0, 0, 0, 0.25),
        inset 0 2px 0 rgba(255, 255, 255, 0.3),
        inset 0 -2px 0 rgba(0, 0, 0, 0.18);
    position: relative;
}

.sticker-pack-item {
    background-image: url('../Paper.png');
    background-size: cover;
    background-position: center;
    border: 2px solid #c4a574;
    box-shadow:
        0 8px 18px rgba(0, 0, 0, 0.18),
        inset 0 2px 4px rgba(255, 255, 255, 0.85);
}

.sticker-pack-item:hover {
    transform: translateY(-4px);
    box-shadow:
        0 12px 24px rgba(0, 0, 0, 0.25),
        inset 0 3px 6px rgba(255, 255, 255, 0.95);
}

.pack-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    background: linear-gradient(135deg, #4b5563 0%, #111827 100%);
    color: #e5e7eb;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    z-index: 2;
    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.sticker-pack-tagline {
    font-size: 0.9rem;
    color: #7c2d12;
    text-align: center;
    margin: 4px 0 10px;
    font-family: 'Special Elite', serif;
}

/* ===== STICKER PACK RESULTS MODAL ===== */

.sticker-pack-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.82);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
    contain: layout style paint;
    transform: translateZ(0);
    animation: modalFadeIn 0.2s ease-out;
}

.sticker-pack-modal {
    background: linear-gradient(145deg, #fef3c7, #fde68a, #fcd34d);
    border-radius: 20px;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 15px 35px rgba(0, 0, 0, 0.2),
        inset 0 3px 6px rgba(255, 255, 255, 0.9),
        inset 0 -3px 6px rgba(0, 0, 0, 0.1);
    border: 3px solid #d97706;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    animation: modalSlideIn 0.4s ease-out;
    position: relative;
}

.sticker-pack-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b, #d97706, #b45309, #92400e);
    border-radius: 17px 17px 0 0;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

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

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

.sticker-pack-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 30px 15px;
    border-bottom: 2px solid rgba(217, 119, 6, 0.3);
    position: relative;
}

.sticker-pack-modal-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.sticker-pack-modal-title {
    font-size: 2rem;
    font-weight: 800;
    color: #92400e;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex: 1;
    text-align: center;
    font-family: var(--default-font-family, 'Shrikhand');
}

.sticker-pack-modal-close {
    background: linear-gradient(145deg, #dc2626, #b91c1c);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow:
        0 4px 8px rgba(220, 38, 38, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.sticker-pack-modal-close:hover {
    background: linear-gradient(145deg, #b91c1c, #991b1b);
    transform: scale(1.1);
    box-shadow:
        0 6px 12px rgba(220, 38, 38, 0.5),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.sticker-pack-modal-close .material-icons {
    color: white;
    font-size: 24px;
}

.sticker-pack-modal-content {
    padding: 25px 30px;
}

.sticker-pack-modal-subtitle {
    font-size: 1.2rem;
    color: #a16207;
    text-align: center;
    margin: 0 0 25px 0;
    font-weight: 600;
}

.sticker-pack-stickers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
    max-height: 300px;
    overflow-y: auto;
    padding: 10px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    border: 1px solid rgba(217, 119, 6, 0.3);
}

.sticker-pack-sticker-item {
    background: linear-gradient(145deg, #ffffff, #f9fafb);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.1),
        inset 0 2px 4px rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(217, 119, 6, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sticker-pack-sticker-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b, #d97706);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sticker-pack-sticker-item:hover {
    transform: translateY(-3px);
    box-shadow:
        0 8px 16px rgba(0, 0, 0, 0.15),
        inset 0 2px 4px rgba(255, 255, 255, 0.8);
}

.sticker-pack-sticker-item:hover::before {
    opacity: 1;
}

.sticker-pack-sticker-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin: 0 auto 10px;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.sticker-pack-sticker-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #92400e;
    margin: 0 0 5px 0;
    line-height: 1.2;
}

.sticker-pack-sticker-price {
    font-size: 0.8rem;
    color: #a16207;
    font-weight: 500;
    margin: 0;
}

.sticker-pack-modal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.sticker-pack-view-inventory-btn,
.sticker-pack-buy-another-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 160px;
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.2),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.sticker-pack-view-inventory-btn {
    background: linear-gradient(145deg, #16a34a, #15803d);
    color: white;
}

.sticker-pack-view-inventory-btn:hover {
    background: linear-gradient(145deg, #15803d, #166534);
    transform: translateY(-2px);
    box-shadow:
        0 6px 12px rgba(22, 163, 74, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.sticker-pack-buy-another-btn {
    background: linear-gradient(145deg, #f59e0b, #d97706);
    color: white;
}

.sticker-pack-buy-another-btn:hover {
    background: linear-gradient(145deg, #d97706, #b45309);
    transform: translateY(-2px);
    box-shadow:
        0 6px 12px rgba(245, 158, 11, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .sticker-pack-modal {
        width: 95%;
        max-height: 90vh;
    }

    .sticker-pack-modal-header {
        padding: 20px;
        flex-direction: column;
        gap: 15px;
    }

    .sticker-pack-modal-title {
        font-size: 1.5rem;
        text-align: center;
    }

    .sticker-pack-modal-content {
        padding: 20px;
    }

    .sticker-pack-stickers-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 10px;
        max-height: 250px;
    }

    .sticker-pack-sticker-item {
        padding: 10px;
    }

    .sticker-pack-sticker-image {
        width: 50px;
        height: 50px;
    }

    .sticker-pack-modal-actions {
        flex-direction: column;
        align-items: center;
    }

    .sticker-pack-view-inventory-btn,
    .sticker-pack-buy-another-btn {
        width: 100%;
        max-width: 250px;
    }
}

/* ===== TEST PAGE STYLES ===== */

.test-section {
    margin-bottom: 30px;
}

.test-card {
    background: linear-gradient(145deg, #f0f2f5, #e8eaed, #ddd);
    border-radius: 20px;
    padding: 30px;
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.25),
        0 5px 15px rgba(0, 0, 0, 0.12),
        inset 0 3px 6px rgba(255, 255, 255, 0.9),
        inset 0 -3px 6px rgba(0, 0, 0, 0.15),
        inset 1px 0 2px rgba(255, 255, 255, 0.7),
        inset -1px 0 2px rgba(0, 0, 0, 0.1);
    border: 3px solid #c0c4c8;
    position: relative;
}

.test-card::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    height: 3px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.8));
    border-radius: 18px 18px 0 0;
}

.test-card h2 {
    color: #1e293b;
    margin: 0 0 15px 0;
    font-size: 2rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-family: var(--default-font-family, 'Shrikhand');
}

.test-card p {
    color: #64748b;
    font-size: 1.1rem;
    margin: 0 0 25px 0;
    line-height: 1.6;
}

.test-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.test-btn {
    padding: 15px 25px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow:
        0 8px 16px rgba(0, 0, 0, 0.2),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
    min-width: 200px;
}

.test-btn.primary {
    background: linear-gradient(145deg, #16a34a, #2563eb);
    color: white;
}

.test-btn.primary:hover {
    background: linear-gradient(145deg, #84cc16, #166534);
    transform: translateY(-2px);
    box-shadow:
        0 12px 24px rgba(59, 130, 246, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.test-btn.secondary {
    background: linear-gradient(145deg, #6b7280, #4b5563);
    color: white;
}

.test-btn.secondary:hover {
    background: linear-gradient(145deg, #4b5563, #374151);
    transform: translateY(-2px);
    box-shadow:
        0 12px 24px rgba(107, 114, 128, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.test-info {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.test-info h3 {
    color: #1e293b;
    margin: 0 0 15px 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.test-info ul {
    margin: 0 0 20px 0;
    padding-left: 20px;
}

.test-info li {
    color: #374151;
    margin-bottom: 8px;
    line-height: 1.5;
}

.test-info li strong {
    color: #1e293b;
}

@media (max-width: 768px) {
    .test-card {
        padding: 20px;
    }

    .test-card h2 {
        font-size: 1.5rem;
    }

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

    .test-btn {
        width: 100%;
        max-width: 300px;
    }
}