*
{
    box-sizing: border-box;
}

h1
{
    margin: 0 0 8px 0;
    font-size: 24px;
    text-align: left;
}

h2 {
    margin-top: 0;
    margin-bottom: 0;
}

h3 {
    margin-top: 0;
    margin-bottom: 0;
}

h4 {
    margin-top: 0;
    margin-bottom: 0;
}

ul {
    margin-top: 0;
}

html {
    margin: 0;
    padding: 0;
    background: #000;     /* prevents white bounce flash */
}

body
{
    margin: 0;
    padding: 0;   /* TOP RIGHT BOTTOM LEFT */
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background-image: url("../images/gshStarFieldBackground.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #111;
    font-size: 14px; 
    line-height: 1.50;
}

.available-country {
    color: #ff6600;
    font-size: 8px;
    text-align: left;    
}

.free-shipping {
    font-style: italic;
    color: #3b82f6;   /* medium blue */
    font-size: 12px;
    text-align: center;    
}

.top-nav-container {
	padding: 16px 0 0 0;
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.top-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
}

.top-nav .sep {
    color: #ffffff;
    margin: 0 0.4rem;
}

/* Optional hover effect */
.top-nav a:hover {
    text-decoration: underline;
}

.page-container
{
    max-width: 800px;
    margin: 0 auto;
    padding: 0 16px 24px 16px;
    background: rgba(245, 245, 247, 0.96);
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.page-subtitle
{
    margin-bottom: 20px;
    font-size: 14px;
    color: #555;
}

/* Everything is top-down single column */

.main-column
{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Hoodie selector row: 1 x 4, no wrapping */

.hoodie-grid
{
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    margin-bottom: 8px;
    padding-bottom: 6px;
    overflow-x: auto;
}

.hoodie-tile
{
    position: relative;
    background: #fff;
    border-radius: 12px;
    padding: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: box-shadow 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
    flex: 0 0 150px;
}

.hoodie-tile:hover
{
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.hoodie-tile.selected
{
    border-color: #00ff70;
    box-shadow: 0 0 0 2px rgba(0, 255, 112, 0.3);
}

.hoodie-tile img
{
    width: 100%;
    display: block;
    border-radius: 8px;
}

.hoodie-tile-title
{
    margin-top: 6px;
    font-size: 12px;
    text-align: center;
    color: #333;
}

.hoodie-count-badge
{
    position: absolute;
    right: 8px;
    top: 8px;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    border-radius: 999px;
    background: #ff3b30;
    border: 2px solid #111;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: none;
    align-items: center;
    justify-content: center;
}

.hoodie-count-badge.visible
{
    display: inline-flex;
}


/* Video selector row: 1 x 4, no wrapping */

.video-grid
{
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
    padding-bottom: 6px;
    overflow-x: auto;
}

.video-tile
{
    position: relative;
    background: #fff;
    border-radius: 12px;
    padding: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: box-shadow 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
    flex: 0 0 360px;
}

.video-tile:hover
{
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.video-tile.selected
{
    border-color: #00ff70;
    box-shadow: 0 0 0 2px rgba(0, 255, 112, 0.3);
}

.video-tile img
{
    width: 100%;
    display: block;
    border-radius: 8px;
}

.video-tile-title
{
    margin-top: 6px;
    font-size: 12px;
    text-align: center;
    color: #333;
}

/* AUDION GRIDS */

/* Song Auditions grid – 3 columns by N rows */
#auditionGrid
{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    overflow-x: visible;
    white-space: normal;
}

/* Tablet: 2 columns */
@media (max-width: 768px)
{
    #auditionGrid
    {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile: 1 column */
@media (max-width: 480px)
{
    #auditionGrid
    {
        grid-template-columns: 1fr;
    }
}

/* Ensure tiles scale correctly */
#auditionGrid .video-tile
{
    width: 100%;
}


/* Active product card */

.active-product-card
{
    background: #ffffff;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.active-product-card p
{
    margin-top: 0px;
    margin-bottom: 0px;
}

.active-product-header
{
    margin-bottom: 12px;
}

.active-product-title
{
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}

.active-product-subtitle
{
    margin-top: 4px;
    font-size: 12px;
    color: #666;
}

.active-product-main
{
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.active-product-main p
{
    margin-top: 0px;
}

/* Gallery */

.gallery
{
    background: #f1f1f4;
    border-radius: 18px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.videoGallery
{
    background: #f1f1f4;
    border-radius: 18px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    max-width: 300px;
    margin: 0 auto; /* optional: centers it */
    width: 100%;    /* keeps it responsive */
}

.active-product-image
{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.active-product-image img
{
    width: 100%;
    max-width: 420px;
    border-radius: 14px;
    display: block;
}

.gallery-dots
{
    margin-top: 12px;
    display: flex;
    gap: 6px;
    justify-content: center;
}

.gallery-dot
{
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: none;
    padding: 0;
    background: #d0d0d4;
    cursor: pointer;
    transition: transform 0.12s ease, background 0.12s ease;
}

.gallery-dot.active
{
    background: #111;
    transform: scale(1.4);
}

/* Size / qty tables – narrower columns, bigger inputs & rows */

.size-qty-grid
{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.size-qty-table
{
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    table-layout: fixed;
}

.size-qty-table th,
.size-qty-table td
{
    padding: 6px 4px;
    text-align: left;
}

.size-qty-table th
{
    border-bottom: 1px solid #ddd;
    font-weight: 600;
    color: #444;
    background: #fafafa;
}

.size-qty-table td
{
    border-bottom: 1px solid #eee;
}

.size-qty-table tr:last-child td
{
    border-bottom: none;
}

.size-qty-table th:first-child,
.size-qty-table td:first-child
{
    width: 20%;
}

.size-qty-table th:last-child,
.size-qty-table td:last-child
{
    width: 80%;
}

.size-qty-table td:last-child,
.size-qty-table th:last-child {
    width: auto;
    text-align: center;    
}

/* Qty control: minus / value / plus */

.qty-control
{
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.qty-btn
{
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid #ccc;
    background: #f4f4f4;
    font-size: 18px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.qty-btn:active
{
    background: #e0e0e0;
}

.qty-input
{
    width: 50px;
    padding: 6px 4px;
    font-size: 16px;
    border-radius: 10px;
    border: 1px solid #ccc;
    text-align: center;
}

/* Remove default browser spin buttons for number inputs */
.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button
{
    -webkit-appearance: none;
    margin: 0;
}

.qty-input
{
    -moz-appearance: textfield; /* Firefox */
}


/* Special instructions */

.special-instructions
{
    margin-top: 8px;
}

.special-instructions label
{
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #333;
}

.special-instructions textarea
{
    width: 100%;
    min-height: 72px;
    max-height: 160px;
    padding: 8px 10px;
    font-size: 12px;
    border-radius: 10px;
    border: 1px solid #ccc;
    resize: vertical;
}

/* Order Page Summary */

.order-page-summary
{
    margin-top: 8px;
    font-size: 24px;
    color: #ff9500;
    text-align: center;
    font-weight: 700;
}

/* Checkout button + status */

.checkout-row
{
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

#orderNowButtonOne
{
    padding: 14px 32px;
    font-size: 16px;
    border-radius: 999px;
    border: none;
    background: #00c853;
    color: white;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 6px 14px rgba(0, 200, 83, 0.55);
}

#orderNowButtonOne:disabled
{
    background: #7f8c8d;
    box-shadow: none;
    cursor: default;
}

#orderNowButtonTwo
{
    padding: 14px 32px;
    font-size: 16px;
    border-radius: 999px;
    border: none;
    background: #00c853;
    color: white;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 6px 14px rgba(0, 200, 83, 0.55);
}

#orderNowButtonTwo:disabled
{
    background: #7f8c8d;
    box-shadow: none;
    cursor: default;
}

#orderNowButtonThree
{
    padding: 14px 32px;
    font-size: 16px;
    border-radius: 999px;
    border: none;
    background: #00c853;
    color: white;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 6px 14px rgba(0, 200, 83, 0.55);
}

#orderNowButtonThree:disabled
{
    background: #7f8c8d;
    box-shadow: none;
    cursor: default;
}




#buyButton
{
    padding: 14px 32px;
    font-size: 16px;
    border-radius: 999px;
    border: none;
    background: #00c853;
    color: white;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 6px 14px rgba(0, 200, 83, 0.55);
}

#buyButton:disabled
{
    background: #7f8c8d;
    box-shadow: none;
    cursor: default;
}

#status
{
    font-size: 12px;
    color: #444;
    text-align: center;
}

/* Accordions – stacked */

.accordion
{
    background: #ffffff;
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.accordion-header
{
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}

.accordion-header span.label
{
    color: #222;
}

.accordion-header span.chevron
{
    font-size: 14px;
    color: #666;
}

.accordion-content
{
    display: none;
    padding: 10px 14px 14px 14px;
    border-top: 1px solid #eee;
    font-size: 12px;
    color: #444;
}

.accordion.open .accordion-content
{
    display: block;
}

/* Bigger product description text */

#descriptionContent
{
    font-size: 14px;
    line-height: 1.5;
}

/* Size guide table */

.size-guide-table
{
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.size-guide-table th,
.size-guide-table td
{
    padding: 4px 6px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.size-guide-table th
{
    background: #f7f7fa;
}

.tos-links {
    display: block !important;
    margin-top: 0.35rem;
}

#status {
    color: #d33;          /* strong red */
    font-weight: bold;
}


/* STITCHMAN */

.stitchman-wrapper
{
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.stitchman-img
{
    width: 120px;
    max-width: 40vw;
    animation: stitch-shake 0.15s infinite;
    transform-origin: center center;
}

.stitchman-caption
{
    text-align: center;
    font-size: 12px;
    opacity: 0.9;
    margin-top: 0.25rem;
}

@keyframes stitch-shake
{
    0%
    {
        transform: translate(0, 0) rotate(0deg);
    }
    25%
    {
        transform: translate(-2px, -1px) rotate(-2deg);
    }
    50%
    {
        transform: translate(2px, 1px) rotate(2deg);
    }
    75%
    {
        transform: translate(-1px, 2px) rotate(-1deg);
    }
    100%
    {
        transform: translate(1px, -2px) rotate(1deg);
    }
}


/* Footer */
.site-footer {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

.site-footer .footer-text {
    margin-bottom: 1rem;
    line-height: 1.5;
    color: #ffffff;
}

.site-footer .footer-nav {
    margin-top: 0.5rem;
    font-size: 0.95rem;
}

.site-footer .footer-nav a {
    color: #fff; /* inherits your site theme – tweak if needed */
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.site-footer .footer-nav a:hover {
    opacity: 0.7;
}

.site-footer .footer-nav .sep {
    margin: 0 0.4rem;
    opacity: 0.6;
}


