@charset "UTF-8";
/* CSS Document */


/* Tokie Bears Holiday Shop
   Main Stylesheet */

@font-face {
    font-family: "A Very Tokie Christmas";
    src: url("../assets/fonts/A Very Tokie Christmas.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

/* Edit the settings below. Each text role has a font and color.
   To style just one card, uncomment the example after this block.
   Typography settings. To use the shop font for headings, set
   --heading-font to "Tokie's Script", Arial, sans-serif. */
:root {
    --body-font: Arial, sans-serif;
    --heading-font: "A Very Tokie Christmas", Arial, sans-serif;

    --cart-count-color: #111;
    --cart-header-h2-color: #222;
    --cart-close-color: #333;
    --empty-cart-color: #777;
    --cart-shipping-note-color: #777;
    --checkout-button-color: #111;
    --hero-eyebrow-color: #F7D00E;
    --hero-content-h1-color: #FFFFFF;
    --hero-description-color: #FFFFFF;
    --hero-button-color: #111;
    --collection-heading-h2-color: #FFFFFF;
    --collection-heading-p-color: #FFFFFF;
    --product-info-h3-color: #222;
    --product-description-color: #666;
    --product-price-color: #333;
    --product-button-color: #111;
    --modal-close-color: #222;
    --modal-product-info-h2-color: #222;
    --modal-product-type-color: #777;
    --modal-product-description-color: #555;
    --modal-add-cart-color: #111;
    --gallery-prev-color: #222;
    --site-footer-color: #F5F0E8;
    --footer-description-color: #e2e8df;
    --site-footer-a-color: #F5F0E8;
    --footer-social-a-color: #ffe08a;
    --site-footer-a-hover-color: #ffe08a;
    --footer-bottom-span-color: #ffe08a;
    --holiday-faq-color: #263b2a;
    --holiday-faq-h2-color: #FFFFFF;
    --holiday-faq-intro-color: #FFFFFF;
    --holiday-faq-item-summary-color: #FFFFFF;
    --holiday-faq-icon-color: #3a5a40;
    --holiday-faq-answer-p-color: #FFFFFF;
    --campaign-color: #FFFFFF;
    --campaign-total-span-color: #FFFFFF;
    --campaign-milestones-span-color: #FFFFFF;
    --campaign-badge-color: #FFFFFF;
    --is-funded-campaign-badge-color: #FFFFFF;
    --campaign-campaign-note-color: #FFFFFF;
    --campaign-title-color: #FFFFFF;
    --campaign-eyebrow-color: #FFFFFF;
    --campaign-description-color: #FFFFFF;
    --campaign-total-color: #FFFFFF;
    --campaign-raised-color: #FFFFFF;
    --campaign-milestone-title-color: #FFFFFF;
    --campaign-status-color: #FFFFFF;
    --footer-tagline-color: inherit;
    --footer-nav-heading-color: inherit;
    --footer-social-heading-color: inherit;
    --footer-copyright-color: inherit;
    --footer-social-description-color: var(--footer-description-color);
    --modal-price-color: inherit;
    --quantity-value-color: inherit;
    --quantity-minus-color: ButtonText;
    --quantity-plus-color: ButtonText;
    --pack-name-color: inherit;
    --pack-quantity-color: inherit;
    --pack-step-color: ButtonText;
    --pack-count-color: inherit;
    --cart-items-color: inherit;
    --cart-row-color: inherit;
    --cart-name-color: inherit;
    --cart-action-color: var(--product-button-color);
    --subtotal-label-color: inherit;
    --subtotal-value-color: inherit;
    --gallery-next-color: var(--gallery-prev-color);

    --cart-count-font: var(--body-font);
    --cart-header-h2-font: var(--heading-font);
    --cart-close-font: var(--body-font);
    --empty-cart-font: var(--body-font);
    --cart-shipping-note-font: var(--body-font);
    --checkout-button-font: var(--body-font);
    --hero-eyebrow-font: var(--body-font);
    --hero-content-h1-font: var(--heading-font);
    --hero-description-font: var(--body-font);
    --hero-button-font: var(--body-font);
    --collection-heading-h2-font: var(--heading-font);
    --collection-heading-p-font: var(--body-font);
    --product-info-h3-font: var(--heading-font);
    --product-description-font: var(--body-font);
    --product-price-font: var(--body-font);
    --product-button-font: var(--body-font);
    --modal-close-font: var(--body-font);
    --modal-product-info-h2-font: var(--heading-font);
    --modal-product-type-font: var(--body-font);
    --modal-product-description-font: var(--body-font);
    --modal-add-cart-font: var(--body-font);
    --gallery-prev-font: var(--body-font);
    --site-footer-font: var(--body-font);
    --footer-description-font: var(--body-font);
    --site-footer-a-font: var(--body-font);
    --footer-social-a-font: var(--body-font);
    --footer-bottom-span-font: var(--body-font);
    --holiday-faq-font: var(--body-font);
    --holiday-faq-h2-font: var(--heading-font);
    --holiday-faq-intro-font: var(--body-font);
    --holiday-faq-item-summary-font: var(--body-font);
    --holiday-faq-icon-font: var(--body-font);
    --holiday-faq-answer-p-font: var(--body-font);
    --campaign-font: var(--body-font);
    --campaign-total-span-font: var(--body-font);
    --campaign-milestones-span-font: var(--body-font);
    --campaign-badge-font: var(--body-font);
    --is-funded-campaign-badge-font: var(--body-font);
    --campaign-campaign-note-font: var(--body-font);
    --campaign-title-font: var(--heading-font);
    --campaign-eyebrow-font: var(--body-font);
    --campaign-description-font: var(--body-font);
    --campaign-total-font: var(--body-font);
    --campaign-raised-font: var(--body-font);
    --campaign-milestone-title-font: var(--body-font);
    --campaign-status-font: var(--body-font);
    --footer-tagline-font: var(--body-font);
    --footer-nav-heading-font: var(--heading-font);
    --footer-social-heading-font: var(--heading-font);
    --footer-copyright-font: var(--body-font);
    --footer-social-description-font: var(--body-font);
    --modal-price-font: var(--body-font);
    --quantity-value-font: var(--body-font);
    --quantity-minus-font: var(--body-font);
    --quantity-plus-font: var(--body-font);
    --pack-name-font: var(--body-font);
    --pack-quantity-font: var(--body-font);
    --pack-step-font: var(--body-font);
    --pack-count-font: var(--body-font);
    --cart-items-font: var(--body-font);
    --cart-row-font: var(--body-font);
    --cart-name-font: var(--body-font);
    --cart-action-font: var(--product-button-font);
    --subtotal-label-font: var(--body-font);
    --subtotal-value-font: var(--body-font);
    --gallery-next-font: var(--body-font);
}

/* Example: only the Frostwood Pines product title.
.product-card:has([data-product="frostwood-pines"]) {
    --product-info-h3-font: Georgia, serif;
    --product-info-h3-color: #345a40;
}
*/


body {
    background-color: #780116;
    font-family: var(--body-font);
    margin: 0;
}

/* Sticky Holiday Shop Header */

/* Snow stays above the page background and below all shop content. */
body { isolation: isolate; }
#holidaySnow {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}
@media (prefers-reduced-motion: reduce) {
    #holidaySnow { display: none; }
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    display: grid;
    grid-template-columns: minmax(95px, 1fr) minmax(0, 360px) minmax(95px, 1fr);
    column-gap: 16px;
    align-items: center;

    min-height: 120px;
    padding: 0 20px;

    background-color: #3A5A40;
    border-bottom: 4px solid #f7D00E;
}

.header-logo {
    justify-self: start;
}

.header-logo img {
    display: block;
    width: 95px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.header-title {
    display: block;
    width: 100%;
    min-width: 0;
    text-decoration: none;
}

.cart-button {
    position: relative;
    justify-self: end;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;
    border: none;
    background: none;
    cursor: pointer;
}

.cart-button img {
    width: 50px;
    height: 50px;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;

    padding: 3px 6px;
    border-radius: 50%;

    background: #e6b800;
    color: var(--cart-count-color);
    font-family: var(--cart-count-font);
    font-size: 11px;
    font-weight: bold;
}

/* Mobile Header */

@media (max-width: 600px) {
    .site-header {
        grid-template-columns: 60px 1fr 60px;
        padding: 0 12px;
        min-height: 70px;
    }

    .header-logo img {
        width: 60px;
    }

    .header-title {
        font-size: 13px;
    }
}

/* ===================================
   TOKIE BEARS - SLIDE-OUT CART
=================================== */

/* Dark background overlay */

.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1999;

    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease,
                visibility 0.3s ease;
}

/* Overlay when cart is open */

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Shopping cart panel */

.cart-panel {
    position: fixed;
    top: 0;
    right: 0;

    width: 400px;
    max-width: 100%;
    height: 100vh;
    height: 100dvh;

    background: #ffffff;
    z-index: 2000;

    display: flex;
    flex-direction: column;

    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);

    transform: translateX(100%);
    visibility: hidden;

    transition: transform 0.3s ease,
                visibility 0.3s ease;
}

/* Cart open state */

.cart-panel.active {
    transform: translateX(0);
    visibility: visible;
}

/* Cart header */

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 24px;
    border-bottom: 1px solid #e5e5e5;
}

.cart-header h2 {
    margin: 0;
    font-size: 22px;
    color: var(--cart-header-h2-color);
    font-family: var(--cart-header-h2-font);
}

/* Close button */

.cart-close {
    border: none;
    background: transparent;
    font-size: 30px;
    cursor: pointer;
    color: var(--cart-close-color);
    font-family: var(--cart-close-font);
}

/* Cart products area */

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.empty-cart {
    text-align: center;
    color: var(--empty-cart-color);
    font-family: var(--empty-cart-font);
    margin-top: 40px;
}

/* Cart footer */

.cart-footer {
    padding: 24px;
    border-top: 1px solid #e5e5e5;
    background: #fafafa;
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: bold;
}

.cart-shipping-note {
    color: var(--cart-shipping-note-color);
    font-family: var(--cart-shipping-note-font);
    font-size: 13px;
    margin: 14px 0;
}

/* Checkout button */

.checkout-button {
    width: 100%;
    padding: 15px;

    border: none;
    border-radius: 4px;

    background: #e6b800;
    color: var(--checkout-button-color);

    font-family: var(--checkout-button-font);
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.checkout-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Mobile cart */

@media (max-width: 600px) {
    .cart-panel {
        width: 100%;
    }
}

/* Reduced motion accessibility */

@media (prefers-reduced-motion: reduce) {
    .cart-panel,
    .cart-overlay {
        transition: none;
    }
}

/* ===================================
   TOKIE BEARS - HOLIDAY HERO
=================================== */

html {
    scroll-behavior: smooth;
}

.holiday-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;

    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 40px;
    min-height: 500px;
}

.hero-content {
    max-width: 580px;
}

.hero-eyebrow {
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--hero-eyebrow-color);
    font-family: var(--hero-eyebrow-font);
}

.hero-content h1 {
    letter-spacing: -0.02em;
    font-size: clamp(36px, 5vw, 68px);
    line-height: 1.1;
    margin: 20px 0;
    color: var(--hero-content-h1-color);
    font-family: var(--hero-content-h1-font);
}

.hero-description {
    font-size: 18px;
    line-height: 1.7;
    color: var(--hero-description-color);
    font-family: var(--hero-description-font);
    margin-bottom: 30px;
}

.hero-button {
    display: inline-block;
    padding: 16px 30px;

    background: #e6b800;
    color: var(--hero-button-color);

    font-family: var(--hero-button-font);
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;

    transition: background 0.2s ease;
}

.hero-button:hover {
    background: #f5cb22;
}

.hero-artwork img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

/* Holiday Collection Placeholder */

.holiday-products {
    max-width: 1400px;
    margin: 0 auto;
    padding: 70px 40px;
    scroll-margin-top: 110px;
}

.holiday-products h2 {
    font-size: 40px;
    margin-bottom: 12px;
}

/* Mobile Hero */

@media (max-width: 768px) {
    .holiday-hero {
        grid-template-columns: 1fr;
        padding: 50px 24px;
        gap: 30px;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .hero-description {
        font-size: 16px;
    }

    .holiday-products {
        padding: 50px 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* ===================================
   TOKIE BEARS - PRODUCT CATALOG
=================================== */

.collection-heading {
    text-align: center;
    margin-bottom: 45px;
}

.collection-heading h2 {
    font-size: 46px;
    margin-bottom: 12px;
	color: var(--collection-heading-h2-color);
    font-family: var(--collection-heading-h2-font);
}

.collection-heading p {
    color: var(--collection-heading-p-color);
    font-family: var(--collection-heading-p-font);
    font-size: 17px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.product-card {
    background: #fff;
    border: 1px solid #e5e0d8;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease,
                box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.product-image {
    aspect-ratio: 7 / 5;
    background: #f1eee8;
    overflow: hidden;
}

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

.product-info {
    padding: 24px;
}

.product-info h3 {
    margin: 0 0 10px;
    font-size: 22px;
    color: var(--product-info-h3-color);
    font-family: var(--product-info-h3-font);
}

.product-description {
    font-size: 14px;
    color: var(--product-description-color);
    font-family: var(--product-description-font);
    margin-bottom: 18px;
}

.product-price {
    font-size: 18px;
    font-weight: bold;
    color: var(--product-price-color);
    font-family: var(--product-price-font);
    margin-bottom: 20px;
}

.product-button {
    width: 100%;
}

.product-button,
.cart-card-row button {
    padding: 13px 20px;
    border: none;
    border-radius: 5px;
    background: #e6b800;
    color: var(--product-button-color);
    font-family: var(--product-button-font);
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
}

.product-button:hover,
.cart-card-row button:enabled:hover {
    background: #f5cb22;
}

/* Tablet layout */

@media (max-width: 900px) {
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile layout */

@media (max-width: 600px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-info {
        padding: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .product-card {
        transition: none;
    }
}

/* ===================================
   TOKIE BEARS - PRODUCT DETAIL MODAL
=================================== */

/* Dark background overlay */

.product-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2999;

    opacity: 0;
    visibility: hidden;

    transition: opacity 0.3s ease,
                visibility 0.3s ease;
}

.product-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Modal container */

.product-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 3000;

    width: min(900px, 92vw);
    max-height: 90vh;
    max-height: 90dvh;
    overflow-y: auto;

    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);

    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -48%);

    transition: opacity 0.3s ease,
                transform 0.3s ease,
                visibility 0.3s ease;
}

.product-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%);
}

/* Product layout */

.product-modal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
}

/* Close button */

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;

    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;

    background: #f5f0e8;
    color: var(--modal-close-color);
    font-family: var(--modal-close-font);
    font-size: 26px;
    cursor: pointer;
}

/* Product image */

.modal-product-image {
    background: #f5f0e8;
    min-width: 0;
}

.modal-product-image img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 650px;
    object-fit: contain;
}

/* Product information */

.modal-product-info {
    padding: 55px 35px 35px;
}

.modal-product-info h2 {
    font-size: 32px;
    margin: 0 0 12px;
    color: var(--modal-product-info-h2-color);
    font-family: var(--modal-product-info-h2-font);
}

.modal-product-type {
    color: var(--modal-product-type-color);
    font-family: var(--modal-product-type-font);
    font-size: 14px;
}

.modal-product-price {
    font-size: 22px;
    font-weight: bold;
    margin: 25px 0;
}

.modal-product-description {
    color: var(--modal-product-description-color);
    font-family: var(--modal-product-description-font);
    line-height: 1.7;
}

/* Quantity controls */

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 30px 0;
}

.quantity-selector button {
    width: 38px;
    height: 38px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: white;
    cursor: pointer;
    font-size: 20px;
}

#productQuantity {
    font-weight: bold;
    font-size: 18px;
}

/* Add to Cart button */

.modal-add-cart {
    width: 100%;
    padding: 16px;
    background: #e6b800;
    color: var(--modal-add-cart-color);
    font-family: var(--modal-add-cart-font);
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.modal-add-cart:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Mobile layout */

@media (max-width: 700px) {
    .product-modal-content {
        grid-template-columns: 1fr;
    }

    .modal-product-image img {
        max-height: 300px;
    }

    .modal-product-info {
        padding: 25px;
    }

    .modal-product-info h2 {
        font-size: 26px;
    }
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
    .product-modal,
    .product-modal-overlay {
        transition: none;
    }
}

/* ===================================
   TOKIE BEARS - PRODUCT IMAGE GALLERY
=================================== */

.modal-product-gallery {
    min-width: 0;
    padding: 20px;
    background: #f5f0e8;
}

.gallery-main {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

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

/* Navigation arrows */

.gallery-prev,
.gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;

    width: 40px;
    height: 40px;

    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: var(--gallery-prev-color);
    font-family: var(--gallery-prev-font);
    font-size: 22px;
    cursor: pointer;
}

.gallery-prev {
    left: 10px;
}

.gallery-next {
    right: 10px;
}

.gallery-prev:hover,
.gallery-next:hover {
    background: #e6b800;
}

/* Thumbnail strip */

.gallery-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    overflow-x: auto;
    padding: 4px;
}

.gallery-thumbnail {
    flex: 0 0 70px;
    width: 70px;
    height: 70px;

    padding: 3px;
    border: 2px solid transparent;
    border-radius: 6px;
    background: white;
    cursor: pointer;
}

.gallery-thumbnail.active {
    border-color: #e6b800;
}

.gallery-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 3px;
}

/* Mobile adjustments */

@media (max-width: 700px) {
    .modal-product-gallery {
        padding: 12px;
    }

    .gallery-thumbnail {
        flex-basis: 60px;
        width: 60px;
        height: 60px;
    }
}

.gallery-prev[hidden],
.gallery-next[hidden],
.gallery-thumbnails[hidden] {
    display: none;
}



.cart-card-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
    padding: .85rem 0;
    border-bottom: 1px solid #ddd;
}
.cart-card-row img { height: 4rem; object-fit: contain; }
.cart-card-row button:disabled { opacity: .5; cursor: default; }

.product-image.pack-covers { display: flex; align-items: center; justify-content: center; }
.product-image.pack-covers img { width: 46%; height: auto; object-fit: contain; }
#singleQuantity[hidden] { display: none; }
.pack-row strong { flex: 1; }
.pack-row button:disabled { opacity: .4; cursor: default; }
#packCount { margin-bottom: 1rem; }

/* TOKIE BEARS - SITE FOOTER */
.site-footer {
    margin-top: 30px;
    background: #3A5A40;
    color: var(--site-footer-color);
    font-family: var(--site-footer-font);
    border-top: 4px solid #e6b800;
}
.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 56px 40px 44px;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
}
.footer-logo { display: inline-block; }
.footer-logo img { display: block; width: 110px; height: auto; }
.footer-tagline { margin: 20px 0 12px; font-size: 20px; font-weight: bold; line-height: 1.4; }
.footer-description, .footer-social p { max-width: 360px; margin: 0; line-height: 1.7; color: var(--footer-description-color); font-family: var(--footer-description-font); }
.site-footer h2 { font-size: 16px; margin: 0 0 18px; line-height: 1.4; }
.site-footer a { color: var(--site-footer-a-color); font-family: var(--site-footer-a-font);text-underline-offset: 5px; }
.footer-nav a { display: block; width: fit-content; padding: 12px 0; }
.footer-social > a { display: inline-block; padding: 12px 0; margin-top: 10px; color: var(--footer-social-a-color); font-family: var(--footer-social-a-font); }
.site-footer a:hover { color: var(--site-footer-a-hover-color);  }
.site-footer a:focus-visible { outline: 3px solid #ffe08a; outline-offset: 5px; border-radius: 2px; }
.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px 40px;
    border-top: 1px solid rgba(245, 240, 232, .25);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    line-height: 1.6;
}
.footer-bottom small { font-size: 13px; }
.footer-bottom > span { font-size: 13px; color: var(--footer-bottom-span-color); font-family: var(--footer-bottom-span-font); }
.footer-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
#main-content { scroll-margin-top: 140px; }
@media (max-width: 768px) {
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; padding: 40px 24px 32px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-bottom { padding: 24px; }
}
@media (max-width: 480px) {
    .footer-inner { grid-template-columns: minmax(0, 1fr); }
    .footer-brand { grid-column: auto; }
    .footer-bottom { flex-direction: column; gap: 8px; }
}


/* TOKIE BEARS — HOLIDAY PREORDER FAQ */
/* Scoped styles preserve the shop's existing layout and controls. */
.holiday-faq {
    box-sizing: border-box;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 32px 40px 80px;
    color: var(--holiday-faq-color, #FFFFFF);
    font-family: var(--holiday-faq-font);
    scroll-margin-top: 140px;
}
.holiday-faq h2 {
    margin: 0 0 12px;
    color: var(--holiday-faq-h2-color);
    font-family: var(--holiday-faq-h2-font);
    font-size: clamp(1.75rem, 4vw, 2.4rem);
    line-height: 1.2;
    text-align: center;
}
.holiday-faq-intro {
    margin: 0 0 32px;
    color: var(--holiday-faq-intro-color);
    font-family: var(--holiday-faq-intro-font);
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
}
.holiday-faq-list { display: grid; gap: 12px; }
.holiday-faq-item {
    background: transparent;
    border: 1px solid transparent;
    border-radius: 10px;
}
.holiday-faq-item[open] { border-color: transparent; }
.holiday-faq-item summary {
    background: #3A5A40;
    border-radius: 9px; /* Inside the 10px curve and 1px border. */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 56px;
    box-sizing: border-box;
    padding: 18px 22px;
    color: var(--holiday-faq-item-summary-color);
    font-family: var(--holiday-faq-item-summary-font);
    font: inherit;
    font-family: var(--holiday-faq-item-summary-font);
    font-weight: 700;
    line-height: 1.5;
    list-style: none;
    cursor: pointer;
}
.holiday-faq-item summary::-webkit-details-marker { display: none; }
.holiday-faq-item[open] summary { box-shadow: none; border-radius: 9px; }
.holiday-faq-item summary:hover { background: #8FAF94; }
.holiday-faq-item summary:focus-visible {
    outline: 3px solid #3a5a40;
    outline-offset: 3px;
}
.holiday-faq-icon {
    position: relative;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    color: var(--holiday-faq-icon-color);
    font-family: var(--holiday-faq-icon-font);
}
.holiday-faq-icon::before,
.holiday-faq-icon::after {
    content: '';
    position: absolute;
    inset: 10px 3px auto;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
}
.holiday-faq-icon::after { transform: rotate(90deg); }
.holiday-faq-item[open] .holiday-faq-icon::after { display: none; }
.holiday-faq-answer { padding: 0 22px 22px; }
.holiday-faq-answer p {
    margin: 0;
    max-width: 75ch;
    color: var(--holiday-faq-answer-p-color);
    font-family: var(--holiday-faq-answer-p-font);
    font-size: 1rem;
    line-height: 1.75;
}
@media (max-width: 600px) {
    .holiday-faq { padding: 24px 20px 48px; scroll-margin-top: 90px; }
    .holiday-faq-item summary { padding: 16px; gap: 14px; }
    .holiday-faq-answer { padding: 0 16px 18px; }
}

/* TOKIE BEARS — CAMPAIGN PROGRESS */
.campaign { box-sizing: border-box; max-width: 1120px; margin: 0 auto 24px; padding: 36px; border: 1px solid #cbd4c6; border-top: 5px solid #e6b800; border-radius: 16px; background: #3A5A40; color: var(--campaign-color); font-family: var(--campaign-font); }
.campaign h2 { font-size: clamp(25px, 3vw, 36px); margin: 12px 0; line-height: 1.2; }
.campaign p { line-height: 1.6; }
.campaign .campaign-eyebrow { font-size: 12px; font-weight: bold; text-transform: uppercase; letter-spacing: 1.2px; }
.campaign-total strong { font-size: 36px; }
.campaign-total span { color: var(--campaign-total-span-color); font-family: var(--campaign-total-span-font); }
.campaign-track { position: relative; margin: 22px 0; }
.campaign progress { display: block; appearance: none; -webkit-appearance: none; width: 100%; height: 22px; border: 0; border-radius: 20px; overflow: hidden; background: #e2e7dd; accent-color: #F7D00E; }
.campaign progress::-webkit-progress-bar { background: #e2e7dd; border-radius: 20px; }
.campaign progress::-webkit-progress-value { background: #F7D00E; border-radius: 20px; }
.campaign progress::-moz-progress-bar { background: #F7D00E; border-radius: 20px; }
.campaign-marker { position: absolute; left: 58.333333%; top: -5px; bottom: -5px; width: 3px; background: #866700; pointer-events: none; }
.campaign-milestones { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 0; margin: 24px 0; }
.campaign-milestones li { padding: 20px; border: 1px solid #cbd4c6; border-radius: 10px; }
.campaign-milestones strong, .campaign-milestones span { display: block; line-height: 1.5; }
.campaign-milestones span { margin-top: 8px; color: var(--campaign-milestones-span-color); font-family: var(--campaign-milestones-span-font); }
.campaign-badge { display: inline-block; margin-top: 14px; padding: 4px 10px; font-size: 12px; border-radius: 20px; background: #520110; color: var(--campaign-badge-color); font-family: var(--campaign-badge-font); }
.campaign-milestones .is-funded { background: #650113; border-color: #F7D00E; }
.is-funded .campaign-badge { background: #3a5a40; color: var(--is-funded-campaign-badge-color); font-family: var(--is-funded-campaign-badge-font); }
#campaign-status { font-weight: bold; }
.campaign .campaign-note { font-size: 13px; color: var(--campaign-campaign-note-color); font-family: var(--campaign-campaign-note-font); }
.campaign a:focus-visible { outline: 3px solid #3a5a40; outline-offset: 5px; }
@media (max-width: 1200px) { .campaign { margin-left: 24px; margin-right: 24px; } }
@media (max-width: 600px) { .campaign { padding: 24px 20px; } .campaign-milestones { grid-template-columns: 1fr; } .campaign-total span { display: block; } }

/* Holiday title artwork scales with the center header column. */
.header-title img { display: block; width: 100%; height: auto; }
.header-title:focus-visible { outline: 3px solid #ffe08a; outline-offset: 6px; }

.campaign h2 {
    font-family: var(--campaign-title-font);
    color: var(--campaign-title-color);
}

.campaign .campaign-eyebrow {
    font-family: var(--campaign-eyebrow-font);
    color: var(--campaign-eyebrow-color);
}

.campaign > p:not([class]):not([id]) {
    font-family: var(--campaign-description-font);
    color: var(--campaign-description-color);
}

.campaign-total {
    font-family: var(--campaign-total-font);
    color: var(--campaign-total-color);
}

#campaign-raised {
    font-family: var(--campaign-raised-font);
    color: var(--campaign-raised-color);
}

.campaign-milestones strong {
    font-family: var(--campaign-milestone-title-font);
    color: var(--campaign-milestone-title-color);
}

#campaign-status {
    font-family: var(--campaign-status-font);
    color: var(--campaign-status-color);
}

.footer-tagline {
    font-family: var(--footer-tagline-font);
    color: var(--footer-tagline-color);
}

.footer-nav h2 {
    font-family: var(--footer-nav-heading-font);
    color: var(--footer-nav-heading-color);
}

.footer-social h2 {
    font-family: var(--footer-social-heading-font);
    color: var(--footer-social-heading-color);
}

.footer-bottom small {
    font-family: var(--footer-copyright-font);
    color: var(--footer-copyright-color);
}

.footer-social p {
    font-family: var(--footer-social-description-font);
    color: var(--footer-social-description-color);
}

.modal-product-price {
    font-family: var(--modal-price-font);
    color: var(--modal-price-color);
}

#productQuantity {
    font-family: var(--quantity-value-font);
    color: var(--quantity-value-color);
}

.quantity-minus {
    font-family: var(--quantity-minus-font);
    color: var(--quantity-minus-color);
}

.quantity-plus {
    font-family: var(--quantity-plus-font);
    color: var(--quantity-plus-color);
}

.pack-row strong {
    font-family: var(--pack-name-font);
    color: var(--pack-name-color);
}

.pack-row span {
    font-family: var(--pack-quantity-font);
    color: var(--pack-quantity-color);
}

.pack-row button {
    font-family: var(--pack-step-font);
    color: var(--pack-step-color);
}

#packCount {
    font-family: var(--pack-count-font);
    color: var(--pack-count-color);
}

.cart-items {
    font-family: var(--cart-items-font);
    color: var(--cart-items-color);
}

.cart-card-row {
    font-family: var(--cart-row-font);
    color: var(--cart-row-color);
}

.cart-card-row strong {
    font-family: var(--cart-name-font);
    color: var(--cart-name-color);
}

.cart-card-row button {
    font-family: var(--cart-action-font);
    color: var(--cart-action-color);
}

.cart-subtotal > span:first-child {
    font-family: var(--subtotal-label-font);
    color: var(--subtotal-label-color);
}

#cartSubtotal {
    font-family: var(--subtotal-value-font);
    color: var(--subtotal-value-color);
}

.gallery-next {
    font-family: var(--gallery-next-font);
    color: var(--gallery-next-color);
}

/* Slide native FAQ answers to their full text height. */
@media (prefers-reduced-motion: no-preference) {
    @supports selector(details::details-content) and (transition-behavior: allow-discrete) {
        .holiday-faq-item::details-content {
            display: grid;
            grid-template-rows: 0fr;
            transition: grid-template-rows 280ms ease-in-out,
                        content-visibility 280ms allow-discrete;
        }

        .holiday-faq-item[open]::details-content {
            grid-template-rows: 1fr;
        }

        .holiday-faq-answer {
            min-height: 0;
            overflow: hidden;
            padding-bottom: 0;
        }

        .holiday-faq-answer p { padding-bottom: 22px; }

        @media (max-width: 600px) {
            .holiday-faq-answer p { padding-bottom: 18px; }
        }
    }
}

/* Keep the header in the page layout while sliding it out of view. */
.site-header.header-hidden { transform: translateY(-100%); }
.site-header.header-hidden:has(:focus-visible) { transform: none; }

@media (prefers-reduced-motion: no-preference) {
    .site-header { transition: transform 180ms ease-out; }
}

/* Decorative funding tip. The native progress element supplies its position. */
.frostfire-tip {
    position: absolute;
    top: 50%;
    width: 7px;
    height: 16px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: #d3f7ff;
    box-shadow: 0 0 5px #97d9ef;
    pointer-events: none;
}
.frostfire-tip i:nth-child(5),
.frostfire-tip i:nth-child(8),
.frostfire-tip i:last-child {
    --particle-size: var(--spark-size, 3px);
}
.frostfire-tip i {
    position: absolute;
    left: 50%;
    top: 50%;
    width: var(--particle-size);
    height: var(--particle-size);
    --particle-size: var(--frost-size, 3px);
    margin-left: calc(var(--particle-size) / -2);
    margin-top: calc(var(--particle-size) / -2);
    background: #b6eafa;
    opacity: 0;
    --drift: -17px;
    animation: tokie-frost-drift var(--frost-cycle, 3s) ease-out infinite;
}
.frostfire-tip i:nth-child(2) {
    --drift: 10px;
    animation-delay: -1.1s;
}
.frostfire-tip i:last-child {
    --drift: -3px;
    background: #ffca75;
    animation-duration: var(--spark-cycle, 5s);
    animation-delay: -2s;
}
@keyframes tokie-frost-drift {
    0% { opacity: 0; transform: translate(0, 0) rotate(45deg); }
    6% { opacity: var(--particle-opacity, .45); }
    78%, 100% { opacity: 0; transform: translate(calc(var(--drift) * var(--trail-scale, 1)), calc(var(--rise, -20px) * var(--trail-scale, 1))) rotate(100deg) scale(.5); }
}
@media (prefers-reduced-motion: reduce) {
    .frostfire-tip i { animation: none; }
}

.frostfire-tip i:nth-child(3) { --drift: -20px; --rise: 8px; animation-delay: -.5s; }
.frostfire-tip i:nth-child(4) { --drift: 6px; --rise: -24px; animation-delay: -.8s; }
.frostfire-tip i:nth-child(5) { --drift: 13px; --rise: -15px; background: #ffca75; animation-duration: var(--spark-cycle, 5s); animation-delay: -.7s; }
@media (prefers-reduced-motion: no-preference) {
    .frostfire-tip { animation: tokie-tip-glow 1.8s ease-in-out infinite alternate; }
}
@keyframes tokie-tip-glow { to { box-shadow: 0 0 var(--glow-radius, 4px) 2px #9adfff; } }

/* Extra frost and ember trails fan out on both sides of the fill tip. */
.frostfire-tip i:nth-child(6) { --drift: -12px; --rise: -27px; animation-delay: -.37s; }
.frostfire-tip i:nth-child(7) { --drift: 8px; --rise: 10px; animation-delay: -.67s; }
.frostfire-tip i:nth-child(8) {
    --drift: -14px;
    --rise: -23px;
    background: #ffca75;
    box-shadow: 0 0 3px #ffc067;
    animation-duration: var(--spark-cycle, 3.6s);
    animation-delay: -.34s;
}
.frostfire-tip i:nth-child(9) { --drift: -25px; --rise: -9px; animation-delay: -.19s; }

.frostfire-finale { display: none; }
@media (prefers-reduced-motion: no-preference) {
    .frostfire-tip.is-full + .frostfire-finale {
        display: block;
        position: absolute;
        right: 0;
        top: 50%;
        pointer-events: none;
    }
    .frostfire-finale i {
        position: absolute;
        width: 8px;
        height: 5px;
        border-radius: 1px;
        background: #d6faff;
        box-shadow: 0 0 5px #68dfff;
        --x: -58px;
        --y: -15px;
        animation: tokie-finale-burst 1.45s ease-out infinite;
    }
    .frostfire-finale i:nth-child(even) {
        width: 10px;
        height: 3px;
        border-radius: 50%;
        background: #ffdf76;
        box-shadow: 0 0 6px #ffad42;
        animation-duration: 1.15s;
    }
    .frostfire-finale i:nth-child(2) { --x: -70px; --y: 7px; animation-delay: -.28s; }
    .frostfire-finale i:nth-child(3) { --x: -28px; --y: -29px; animation-delay: -.65s; }
    .frostfire-finale i:nth-child(4) { --x: -45px; --y: 23px; animation-delay: -.82s; }
    .frostfire-finale i:nth-child(5) { --x: 9px; --y: -25px; animation-delay: -.33s; }
    .frostfire-finale i:nth-child(6) { --x: -52px; --y: -25px; animation-delay: -.55s; }
    .frostfire-finale i:nth-child(7) { --x: -14px; --y: 23px; animation-delay: -1s; }
    .frostfire-finale i:nth-child(8) { --x: 8px; --y: 19px; animation-delay: -.98s; }
}
@keyframes tokie-finale-burst {
    0% { opacity: 0; transform: translate(-50%, -50%) rotate(35deg) scale(.5); }
    12% { opacity: 1; }
    85%, 100% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(150deg) scale(.5); }
}

.frostfire-spray {
    position: absolute;
    top: 50%;
    pointer-events: none;
}
.frostfire-spray i {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #d5faff;
    box-shadow: 0 0 3px #81dcff;
    animation: tokie-finale-burst var(--cycle) ease-out infinite;
}
.frostfire-spray i:nth-child(3n) {
    width: 7px;
    height: 3px;
    border-radius: 50%;
    background: #ffdc69;
    box-shadow: 0 0 4px #ffac42;
}
@media (prefers-reduced-motion: reduce) {
    .frostfire-spray { display: none; }
}

.frostfire-cloud {
    position: absolute;
    top: 50%;
    width: 180px;
    height: 104px;
    transform: translate(-84%, -50%);
    pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
    .frostfire-cloud { display: none; }
}

/* A soft gold edge marks each earned campaign milestone. */
.campaign-milestones .is-funded {
    box-shadow: 0 0 5px rgba(247, 208, 14, .38),
                0 0 15px rgba(247, 208, 14, .22);
}

/* Gentle shop reveals; keep keyboard focus outlines independent of animation. */
.product-modal { transform: translate(-50%, calc(-50% + 12px)) scale(.985);
    transition: opacity 420ms ease, transform 420ms cubic-bezier(.22,1,.36,1),
                visibility 420ms; }
.product-modal.active { transform: translate(-50%, -50%) scale(1); }
.product-modal-overlay { transition: opacity 420ms ease, visibility 420ms; }
.holiday-faq-answer a, .holiday-faq-answer a:visited { color: #F7D00E; }
.holiday-faq-answer a:hover { text-decoration-thickness: 2px; }
@keyframes tokie-photo-reveal {
    from { opacity: 0; transform: translateY(10px) scale(.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes tokie-backdrop-reveal { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
    .tokie-photo-viewer[open] { animation: tokie-photo-reveal 420ms cubic-bezier(.22,1,.36,1) both; }
    .tokie-photo-viewer[open]::backdrop { animation: tokie-backdrop-reveal 420ms ease both; }
}
@media (prefers-reduced-motion: reduce) {
    .product-modal, .product-modal-overlay { transition: none; }
}

.product-modal, .product-modal-overlay { transition: opacity 420ms ease, transform 420ms cubic-bezier(.22,1,.36,1), visibility 0s linear 420ms; }
.product-modal.active, .product-modal-overlay.active { transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) { .product-modal, .product-modal-overlay { transition: none; } }

@media (prefers-reduced-motion: no-preference) {
    .product-card { opacity:1; transition:opacity 650ms ease, transform 200ms ease, box-shadow 200ms ease; }
    .product-card.product-awaiting-reveal { opacity:0; }
}
@media print { .product-card.product-awaiting-reveal { opacity:1; } }
