/* Store specific styles */
.store-hero {
    position: relative;
    padding: 6rem 2rem;
    text-align: center;
    background: url('../images/BL_PromoImage1.jpg') no-repeat center center/cover;
    border-bottom: 2px solid var(--primary-dark);
}

.store-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(18,18,18,1));
    z-index: 1;
}

.store-hero__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.store-hero__eyebrow {
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.store-hero__title {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
}

.store-hero__sub {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.store-empty {
    text-align: center;
    padding: 3rem;
    background: var(--bg-card);
    border: 1px dashed #444;
    border-radius: 8px;
}

.store-empty__icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    border-color: var(--primary-dark);
}

.product-card--oos {
    opacity: 0.7;
}
.product-card--oos:hover {
    transform: none;
    box-shadow: none;
    border-color: #333;
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 10px;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 4px;
    z-index: 2;
    text-transform: uppercase;
}

.product-badge--available {
    background: #4caf50;
    color: #fff;
}

.product-badge--oos {
    background: #f44336;
    color: #fff;
}

.product-card__img {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.product-card__img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--bg-card), transparent);
}

.product-card__body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-type {
    font-size: 0.75rem;
    color: var(--secondary-color);
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.product-card__name {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 0.5rem;
    font-family: var(--font-body);
}

.product-card__desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex: 1;
}

.product-prices {
    display: flex;
    gap: 10px;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    background: rgba(0,0,0,0.2);
    padding: 10px;
    border-radius: 6px;
    justify-content: space-around;
}

.discount-tag {
    background: #4caf50;
    color: #000;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-right: 5px;
}

.product-price {
    font-weight: bold;
    font-size: 1.1rem;
}

.product-price--usd { color: #4caf50; }
.product-price--brl { color: #2196f3; }
.product-price--eur { color: #ff9800; }

.product-card__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--primary-color);
    color: white;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.product-card__btn:hover {
    background: var(--primary-dark);
    box-shadow: 0 0 10px rgba(211,47,47,0.5);
    color: white;
}

.product-card__btn--disabled {
    background: #555;
    cursor: not-allowed;
}

.product-card__btn--disabled:hover {
    background: #555;
    box-shadow: none;
}

.store-trust {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    border-top: 1px solid #333;
    padding-top: 2rem;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.trust-badge__icon {
    font-size: 1.2rem;
}

/* Checkout Page */
.checkout-wrapper {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    margin-top: 2rem;
}

@media (max-width: 900px) {
    .checkout-wrapper {
        grid-template-columns: 1fr;
    }
}

.checkout-heading {
    font-size: 1.5rem;
    border-bottom: 1px solid #333;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.checkout-summary, .checkout-payment {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #333;
}

.checkout-product-card {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.checkout-product-img {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.checkout-product-info h3 {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 0.5rem;
    font-family: var(--font-body);
}

.checkout-product-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.checkout-currency-row {
    margin-bottom: 1.5rem;
}

.checkout-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.currency-selector {
    display: flex;
    gap: 10px;
}

.currency-btn {
    flex: 1;
    background: #2a2a2a;
    border: 1px solid #444;
    color: #ccc;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s;
}

.currency-btn:hover {
    background: #333;
    color: #fff;
}

.currency-btn.active {
    background: rgba(255, 160, 0, 0.1);
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.checkout-price-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid #333;
    color: var(--text-muted);
}

.checkout-price-row--total {
    border-bottom: none;
    color: #fff;
    font-weight: bold;
    font-size: 1.2rem;
}

.checkout-price-value {
    color: #fff;
}

.checkout-price-total {
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.checkout-features {
    list-style: none;
    margin-top: 2rem;
    background: rgba(0,0,0,0.2);
    padding: 1.5rem;
    border-radius: 8px;
}

.checkout-features li {
    margin-bottom: 0.8rem;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.checkout-features li:last-child {
    margin-bottom: 0;
}

.checkout-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.05);
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 1.5rem;
}

.checkout-message {
    padding: 15px;
    border-radius: 6px;
    margin-top: 1rem;
    font-size: 0.95rem;
    text-align: center;
}

.checkout-message--info { background: rgba(33, 150, 243, 0.1); color: #64b5f6; border: 1px solid #1e88e5; }
.checkout-message--success { background: rgba(76, 175, 80, 0.1); color: #81c784; border: 1px solid #43a047; }
.checkout-message--error { background: rgba(244, 67, 54, 0.1); color: #e57373; border: 1px solid #e53935; }

.checkout-secure-badge {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.checkout-login-prompt {
    text-align: center;
    padding: 2rem 1rem;
}

.checkout-login-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.checkout-login-prompt h3 {
    margin-bottom: 0.5rem;
    color: #fff;
}

.checkout-login-prompt p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.checkout-login-btn {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    transition: background 0.2s;
    width: 100%;
}

.checkout-login-btn:hover {
    background: var(--primary-dark);
    color: #fff;
}

.checkout-login-sub {
    margin-top: 1rem;
    font-size: 0.8rem !important;
}

.checkout-oos {
    text-align: center;
    padding: 3rem 1rem;
}

/* Success Page */
.success-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: 8px;
    padding: 3rem;
    border: 1px solid #333;
    text-align: center;
}

.success-icon-wrap {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.success-checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #4caf50;
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px #4caf50;
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
    position: relative;
    top: 5px;
    right: 5px;
   margin: 0 auto;
}
.success-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #4caf50;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.success-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}
@keyframes scale {
    0%, 100% {
        transform: none;
    }
    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

.success-title {
    font-size: 2.5rem;
    color: #4caf50;
    margin-bottom: 0.5rem;
    font-family: var(--font-main);
}

.success-sub {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.success-order-ref {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 2rem;
    padding: 8px;
    background: rgba(255,255,255,0.05);
    display: inline-block;
    border-radius: 4px;
}

.key-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.key-card {
    background: #111;
    border: 1px dashed var(--secondary-color);
    border-radius: 8px;
    padding: 1.5rem;
    position: relative;
}

.key-card__label {
    position: absolute;
    top: -12px;
    left: 20px;
    background: var(--bg-card);
    padding: 0 10px;
    font-size: 0.8rem;
    color: var(--secondary-color);
    font-weight: bold;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 5px;
}

.key-code-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.key-code {
    font-family: monospace;
    font-size: 1.8rem;
    color: #fff;
    background: rgba(255,255,255,0.05);
    padding: 10px 20px;
    border-radius: 4px;
    letter-spacing: 2px;
}

.key-copy-btn {
    background: transparent;
    border: 1px solid #555;
    color: #ccc;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.key-copy-btn:hover {
    background: #333;
    color: #fff;
    border-color: #777;
}

.redeem-steps {
    background: rgba(255,255,255,0.02);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: left;
    margin-bottom: 3rem;
}

.redeem-steps__title {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #333;
    padding-bottom: 0.5rem;
}

.redeem-steps__list {
    color: var(--text-muted);
    padding-left: 1.5rem;
    line-height: 1.8;
}

.redeem-steps__list strong {
    color: #ddd;
}

.success-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 2rem;
}

.btn-secondary-cta {
    background: transparent;
    color: var(--text-main);
    padding: 1rem 2rem;
    font-size: 1.2rem;
    border: 2px solid #555;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-secondary-cta:hover {
    border-color: #888;
    color: #fff;
    background: rgba(255,255,255,0.05);
}

.success-note {
    font-size: 0.9rem;
    color: #777;
}

/* Auth / Login / Register pages (for Checkout) */
.checkout-auth-banner {
    background: rgba(255, 160, 0, 0.1);
    border: 1px solid rgba(255, 160, 0, 0.3);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.checkout-auth-banner__icon {
    font-size: 2rem;
}

.checkout-auth-back {
    margin-left: auto;
    font-size: 0.85rem;
    color: var(--secondary-color);
    text-decoration: underline;
}

.auth-tabs-container {
    max-width: 450px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
}

.auth-tabs {
    display: flex;
    border-bottom: 1px solid #333;
}

.auth-tab {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 15px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
}

.auth-tab:hover {
    color: #fff;
    background: rgba(255,255,255,0.02);
}

.auth-tab.active {
    color: var(--secondary-color);
    border-bottom: 2px solid var(--secondary-color);
    background: rgba(255,255,255,0.05);
}

.auth-form-panel {
    display: none;
    padding: 2rem;
}

.auth-form-panel.active {
    display: block;
}

.auth-label {
    display: block;
    margin-bottom: 0.5rem;
    color: #ccc;
    font-size: 0.9rem;
}

.auth-input {
    background: #1a1a1a;
}

.auth-submit-btn {
    width: 100%;
    background: var(--primary-color);
    color: white;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 1rem;
    transition: background 0.2s;
}

.auth-submit-btn:hover {
    background: var(--primary-dark);
}

.auth-switch-text {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.auth-switch-text a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.auth-alert {
    padding: 10px 15px;
    margin: 1.5rem 1.5rem 0;
    border-radius: 4px;
    font-size: 0.9rem;
}

.auth-alert--error {
    background: rgba(244, 67, 54, 0.1);
    color: #e57373;
    border: 1px solid #e53935;
}
