/* ===================================================
   OCTOBER GALLERY — SECRET STORE
   Custom styles (supplements og_2025_styles.css)

   All classes prefixed ss- to avoid conflicts
   =================================================== */

/* ── STORE SUB-NAV (exact match of #artist-sub-nav from og_2025_styles) ── */
#store-sub-nav {
    display: block;
    position: relative;
    background-color: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    top: 0px;
    isolation: isolate;
    will-change: backdrop-filter;
    z-index: 100;
    font-family: 'Open Sans Condensed', sans-serif;
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 0.04em;
}
#store-sub-nav a {
    color: black;
    text-decoration: none;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
}
#store-sub-nav a:hover {
    color: #e41e33;
    text-decoration: none;
}

/* ── SUB-NAV CART LINK ─────────────────────────── */
/* Desktop: hide sub-nav cart (top-extras already shows it) */
.ss-sub-nav-cart {
    display: none !important;
}
@media (max-width: 767px) {
    .ss-sub-nav-cart {
        display: block !important;
    }
}
#ss-sub-nav-cart-count {
    color: #E41E33;
    font-weight: 600;
}

/* ── MOBILE STORE ICONS (left of burger) ──────── */
.ss-mobile-icons {
    display: none;
}
@media (max-width: 766px) {
    .ss-mobile-icons {
        display: flex;
        position: fixed;
        top: 10px;
        right: 50px;
        z-index: 1002;
        gap: 6px;
        align-items: center;
    }
    .ss-mobile-home,
    .ss-mobile-cart {
        display: block;
        font-size: 18px;
        color: #333;
        text-decoration: none;
        padding: 6px 8px;
        transition: color 0.3s;
        position: relative;
    }
    .ss-mobile-home:hover,
    .ss-mobile-home:visited,
    .ss-mobile-cart:hover,
    .ss-mobile-cart:visited {
        color: #333;
        text-decoration: none;
    }
    #ss-mobile-cart-count {
        position: absolute;
        top: 0;
        right: 0;
        font-size: 11px;
        font-weight: 700;
        color: #E41E33;
        font-family: 'Barlow Semi Condensed', sans-serif;
    }
}

/* ── SEARCH BAR ────────────────────────────────── */
.ss-search-bar {
    max-width: 500px;
    margin: 20px auto 30px;
    padding: 0 15px;
}
.ss-search-form {
    display: flex;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
    transition: border-color 0.3s;
}
.ss-search-form:focus-within {
    border-color: #E41E33;
}
.ss-search-input {
    flex: 1;
    border: 0;
    padding: 10px 14px;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #333;
    outline: none;
    background: transparent;
}
.ss-search-input::placeholder {
    color: #999;
}
.ss-search-btn {
    border: 0;
    background: #E41E33;
    color: #fff;
    padding: 10px 16px;
    cursor: pointer;
    font-size: 15px;
    transition: background-color 0.3s;
}
.ss-search-btn:hover {
    background: #c8102e;
}

/* ── SECTIONS ──────────────────────────────────── */
.ss-section {
    padding: 0 0 30px;
}
#content h1,
#content h2 {
    font-family: 'Open Sans Condensed', sans-serif;
    font-weight: 300;
    letter-spacing: normal;
}
.ss-section h1.larger_h2,
.ss-section h2.larger_h2 {
    margin-bottom: 20px;
}

/* ── BREADCRUMB ────────────────────────────────── */
.ss-breadcrumb {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 14px;
    color: #888;
    margin-bottom: 16px;
    padding: 0;
}
.ss-breadcrumb a {
    color: #888;
    text-decoration: none;
    transition: color 0.2s;
}
.ss-breadcrumb a:hover {
    color: #E41E33;
}
.ss-breadcrumb .fa-chevron-right {
    font-size: 10px;
    margin: 0 6px;
    color: #bbb;
}

/* ── SUB-NAV ACTIVE STATE ──────────────────────── */
#store-sub-nav .sub-nav-flex-item.ss-active a,
#store-sub-nav .sub-nav-flex-item.ss-active a:visited {
    color: #E41E33;
}
#store-sub-nav .sub-nav-flex-item a {
    white-space: nowrap;
}

/* ── PRODUCT GRID ──────────────────────────────── */
.ss-product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 0;
}

@media (min-width: 500px) {
    .ss-product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}
@media (min-width: 768px) {
    .ss-product-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 22px;
    }
}
@media (min-width: 1280px) {
    .ss-product-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 24px;
    }
}

/* ── PRODUCT CARD ──────────────────────────────── */
.ss-product-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    transition: box-shadow 0.3s;
}
.ss-product-card:hover {
}
.ss-product-link {
    text-decoration: none;
    color: inherit;
}
.ss-product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
    background: #f5f5f5;
}
.ss-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 2s ease;
}
.ss-product-card:hover .ss-product-image img {
}
.ss-product-info {
    padding: 10px 0 6px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    text-align: center;
}
.ss-product-name {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
    cursor: pointer;
}
.ss-product-name:hover {
    color: #E41E33;
}
.ss-product-price {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #E41E33;
}

/* ── MINI THUMBNAILS (match store_preview_lightbox.php) ── */
.ss-mini-thumbs {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 12px;
}
.ss-mini-thumb {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.ss-mini-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.ss-mini-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Lightbox trigger cursor */
.ss-lightbox-trigger {
    cursor: pointer;
}

/* ── LIGHTBOX CAPTION STYLES (match store_preview_lightbox.php) ── */
.strp-caption {
    text-align: center !important;
    position: relative !important;
}
/* Description text inside lightbox caption */
.ss-lb-description {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: #666;
    text-align: center;
    margin-bottom: 14px;
}
.ss-lb-description p {
    margin: 0 0 8px;
}
.ss-lb-description b,
.ss-lb-description strong {
    color: #444;
}
@media (max-width: 600px) {
    .ss-lb-description {
        font-size: 12px;
    }
}
.store-product-info {
    text-align: center;
    margin-bottom: 15px;
}
.store-product-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}
.store-product-price {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}
.store-lightbox-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
}
.store-btn {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 15px;
    font-weight: 600;
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background-color 0.2s ease, opacity 0.2s ease;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
    outline: none;
    box-shadow: none;
}
.store-btn-add-cart {
    background-color: #e41e33;
    color: #fff;
}
.store-btn-add-cart:hover {
    background-color: #c8102e;
}
.store-btn-buy-now {
    background-color: #333;
    color: #fff;
}
.store-btn-buy-now:hover {
    background-color: #1a1a1a;
}
.store-btn-zoom {
    background-color: rgba(255,255,255,0.15);
    color: #fff;
    min-width: auto;
    padding: 8px 12px;
    font-size: 16px;
    border: 1px solid rgba(255,255,255,0.3);
}
.store-btn-zoom:hover {
    background-color: rgba(255,255,255,0.3);
}
.store-btn-loading {
    pointer-events: none;
    background-color: #999 !important;
    color: #ccc !important;
}
.store-btn-added {
    background-color: #2e7d32 !important;
}
.store-btn-error {
    background-color: #8b1a1a !important;
}
.store-lightbox-feedback {
    text-align: center;
    font-size: 12px;
    min-height: 18px;
    margin-top: 4px;
}
.store-lightbox-feedback a {
    color: #e41e33;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}
.store-lightbox-feedback a:hover {
    border-bottom-color: #e41e33;
}
.store-lightbox-feedback .fb-sep {
    color: #ccc;
    margin: 0 8px;
}
.store-lightbox-detail-link {
    display: block;
    text-align: center;
    margin-top: 8px;
    font-size: 12px;
    color: #999 !important;
    text-decoration: none;
    border-bottom: 1px dotted #ccc;
    font-weight: 400;
}
.store-lightbox-detail-link:hover {
    color: #666 !important;
    border-bottom-color: #999;
}
.store-cart-tally {
    display: none;
}
.store-cart-tally.active {
    display: inline;
}
.store-cart-badge-count {
    background: #e41e33;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 8px;
}
@media (max-width: 480px) {
    .store-lightbox-actions {
        flex-direction: column;
        align-items: center;
    }
    .store-btn {
        width: 100%;
        max-width: 220px;
        justify-content: center;
    }
}

/* ── "NEW" BADGE ──────────────────────────────── */
.ss-badge-new {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #E41E33;
    color: #fff;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 2px;
    z-index: 2;
    line-height: 1;
}

/* ── SECTION HEADER (heading + "See all" link) ── */
.ss-section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}
.ss-section-header h2.larger_h2 {
    margin-bottom: 0;
}
.ss-section-see-all {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #888;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s;
}
.ss-section-see-all:hover {
    color: #E41E33;
}
.ss-section-see-all .fa-arrow-right {
    font-size: 11px;
    margin-left: 4px;
    transition: transform 0.2s;
}
.ss-section-see-all:hover .fa-arrow-right {
    transform: translateX(3px);
}

/* ── ADD TO CART BUTTON (grid) ─────────────────── */
.ss-add-to-cart {
    display: block;
    width: 100%;
    padding: 8px 12px;
    margin-top: 6px;
    border: none;
    background: transparent;
    color: #333;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}
.ss-add-to-cart:hover {
    color: #E41E33;
}
.ss-add-to-cart.ss-added {
    background: transparent;
    color: #2e7d32;
    pointer-events: none;
}
.ss-add-to-cart.ss-adding {
    opacity: 0.6;
    pointer-events: none;
}

/* ── SEE ALL LINK ──────────────────────────────── */
.ss-see-all {
    text-align: center;
    padding: 24px 0 0;
}

/* ── BUTTONS ───────────────────────────────────── */
.ss-btn {
    display: inline-block;
    padding: 10px 24px;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid transparent;
    text-align: center;
}
.ss-btn-primary,
a.ss-btn-primary,
a.ss-btn-primary:link,
a.ss-btn-primary:visited {
    background: #E41E33;
    color: #fff;
    border-color: #E41E33;
}
.ss-btn-primary:hover,
a.ss-btn-primary:hover {
    background: #c8102e;
    border-color: #c8102e;
    color: #fff;
}
.ss-btn-outline {
    background: transparent;
    color: #333;
    border-color: #ccc;
}
.ss-btn-outline:hover {
    border-color: #E41E33;
    color: #E41E33;
}

/* ── CATEGORY GRID ─────────────────────────────── */
.ss-category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
@media (min-width: 500px) {
    .ss-category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (min-width: 768px) {
    .ss-category-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
.ss-category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    padding: 16px;
    border: 1px solid #eee;
    transition: all 0.3s;
    border-radius: 4px;
}
.ss-category-card:hover {
    border-color: #E41E33;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.ss-category-image {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    margin-bottom: 10px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ss-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ss-category-placeholder {
    color: #ccc;
    font-size: 40px;
}
.ss-category-name {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    text-align: center;
}
.ss-category-count {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #999;
    display: block;
    margin-top: 2px;
}
.ss-artist-count {
    font-size: 0.75em;
    font-weight: 400;
    color: #999;
    margin-left: 2px;
}

/* ── ARTIST GRID (matches /artists page style) ─── */
.ss-artist-grid {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: flex-start;
    padding: 0;
}
.ss-artist-card {
    width: 50%;
    margin-bottom: 30px;
    text-decoration: none;
    color: inherit;
    display: block;
}
.ss-artist-thumb {
    width: 95%;
    overflow: hidden;
    background: #f0f0f0;
}
.ss-artist-thumb img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 2s ease;
}
.ss-artist-card:hover .ss-artist-thumb img {
    transform: scale(1.5);
}
.ss-artist-name {
    border-left: 1px solid rgba(255, 0, 4, 1.00);
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-top: -5px;
    letter-spacing: 0.01em;
    font-weight: normal;
    font-size: 1.2em;
    font-family: 'Barlow Semi Condensed', sans-serif;
    width: 95%;
    display: block;
    text-align: left;
    color: #333;
    line-height: 1.3;
}

@media (min-width: 767px) {
    .ss-artist-card {
        width: 30%;
        margin-right: 3.3%;
    }
    .ss-artist-thumb {
        width: 100%;
    }
    .ss-artist-name {
        width: 100%;
    }
}

/* Full artist grid page — matches /artists page layout */
.ss-artist-grid-full .ss-artist-card {
    width: 50%;
    padding-right: 5%;
    box-sizing: border-box;
}
@media (min-width: 500px) {
    .ss-artist-grid-full .ss-artist-card {
        width: 33.33%;
        margin-right: 0;
    }
}
@media (min-width: 767px) {
    .ss-artist-grid-full .ss-artist-card {
        width: 25%;
        margin-right: 0;
    }
}
@media (min-width: 1280px) {
    .ss-artist-grid-full .ss-artist-card {
        width: 20%;
    }
}

/* ── PRODUCT DETAIL ────────────────────────────── */
.ss-product-detail {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
@media (min-width: 768px) {
    .ss-product-detail {
        flex-direction: row;
        gap: 40px;
    }
}

/* Gallery */
.ss-detail-gallery {
    flex: 1 1 50%;
    max-width: 100%;
}
@media (min-width: 768px) {
    .ss-detail-gallery {
        max-width: 50%;
    }
}
.ss-detail-main-image {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: #f5f5f5;
    cursor: pointer;
    margin-bottom: 12px;
}
.ss-detail-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.ss-detail-thumbs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}
.ss-detail-thumbs a {
    width: 64px;
    height: 64px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.ss-detail-thumbs a:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.ss-detail-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Info */
.ss-detail-info {
    flex: 1 1 50%;
}
.ss-detail-info h1 {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 24px;
    font-weight: 500;
    color: #333;
    margin: 0 0 12px;
    line-height: 1.3;
}
@media (min-width: 768px) {
    .ss-detail-info h1 {
        font-size: 28px;
    }
}
.ss-detail-price {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 26px;
    font-weight: 600;
    color: #E41E33;
    margin-bottom: 14px;
}
.ss-detail-model {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 13px;
    color: #999;
    margin-bottom: 10px;
}
.ss-detail-stock {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 14px;
    margin-bottom: 20px;
}
.ss-in-stock {
    color: #2e7d32;
}
.ss-out-of-stock {
    color: #c62828;
}

/* Quantity & add to cart */
.ss-detail-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.ss-qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 3px;
    overflow: hidden;
}
.ss-qty-btn {
    width: 36px;
    height: 38px;
    border: 0;
    background: #f5f5f5;
    color: #333;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.ss-qty-btn:hover {
    background: #e0e0e0;
}
.ss-qty-input {
    width: 48px;
    height: 38px;
    text-align: center;
    border: 0;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    -moz-appearance: textfield;
}
.ss-qty-input::-webkit-outer-spin-button,
.ss-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.ss-add-to-cart-main {
    padding: 9px 24px;
    border: 0;
    background: #E41E33;
    color: #fff;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 3px;
    transition: all 0.3s;
}
.ss-add-to-cart-main:hover {
    background: #c8102e;
}
.ss-add-to-cart-main.ss-added {
    background: transparent;
    color: #2e7d32;
    border-color: #2e7d32;
    pointer-events: none;
}
.ss-add-to-cart-main.ss-adding {
    opacity: 0.6;
    pointer-events: none;
}

/* Description */
.ss-detail-description {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    border-top: 1px solid #eee;
    padding-top: 20px;
    text-align: center;
}
@media (min-width: 768px) {
    .ss-detail-description {
        text-align: left;
    }
}
.ss-detail-description p {
    margin: 0 0 12px;
}
.ss-detail-description img {
    max-width: 100%;
    height: auto;
}

/* ── ARTIST BIO ON STORE ARTIST PAGE ────────────── */
.ss-artist-bio {
    border-top: 1px solid #eee;
    margin-top: 30px;
    padding-top: 30px;
}
.ss-artist-bio-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}
.ss-artist-bio-text {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4em;
    color: black;
    flex: 1;
    min-width: 0;
}
.ss-artist-bio-text p {
    margin: 0 0 12px;
}
.ss-artist-bio-cta {
    margin-top: 20px;
    font-family: 'Open Sans Condensed', sans-serif;
    font-size: 20px;
    font-weight: 300;
}
.ss-artist-bio-cta a {
    color: #e41e33;
    text-decoration: none;
    border-bottom: 1px solid #e41e33;
    padding-bottom: 4px;
    transition: color 0.3s;
}
.ss-artist-bio-cta a:hover {
    color: #4a4f51;
    border-bottom-color: #4a4f51;
}
.ss-artist-bio-figures {
    flex: 0 0 280px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.ss-artist-figure {
    margin: 0;
}
.ss-artist-figure img {
    width: 100%;
    height: auto;
    display: block;
}
.ss-artist-figure figcaption {
    font-family: 'century-gothic', sans-serif;
    font-size: 0.7em;
    font-weight: 400;
    color: black;
    line-height: 1.4em;
    padding: 10px;
    border-left: 1px solid #E41E33;
    margin-top: -6px;
}
.ss-photo-credit {
    display: block;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 11px;
    font-weight: 400;
    font-style: normal;
    width: 100%;
}
@media (max-width: 767px) {
    .ss-artist-bio-content {
        flex-direction: column;
    }
    .ss-artist-bio-figures {
        flex: none;
        width: 100%;
    }
}

/* ── CART ───────────────────────────────────────── */
.ss-cart-section {
    width: 100%;
}
.ss-cart-status {
    text-align: center;
    padding: 40px 0;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 16px;
    color: #888;
}
.ss-cart-status .fa-spinner {
    margin-right: 8px;
}

/* Cart item rows */
.ss-cart-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #eee;
}
.ss-cart-item-image {
    width: 140px;
    height: 140px;
    flex-shrink: 0;
    overflow: hidden;
    background: #f5f5f5;
}
.ss-cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ss-cart-item-details {
    flex: 1;
    min-width: 0;
}
.ss-cart-item-name {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    margin-bottom: 4px;
}
.ss-cart-item-name a {
    color: #333;
    text-decoration: none;
}
.ss-cart-item-name a:hover {
    color: #E41E33;
}
.ss-cart-item-qty {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 13px;
    color: #888;
}
.ss-cart-item-price {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}
.ss-cart-item-remove {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 16px;
    padding: 4px;
    transition: color 0.2s;
}
.ss-cart-item-remove:hover {
    color: #E41E33;
}

/* Cart footer */
.ss-cart-footer {
    padding: 20px 0 0;
}
.ss-cart-totals {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 15px;
    color: #555;
    margin-bottom: 20px;
}
.ss-cart-total-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
}
.ss-cart-total-row.ss-total-final {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    border-top: 2px solid #333;
    padding-top: 10px;
    margin-top: 6px;
}
.ss-cart-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.ss-cart-actions .ss-btn {
    flex: 1;
    min-width: 160px;
}

/* Empty cart */
#ss-cart-empty {
    text-align: center;
    padding: 60px 0;
}
.ss-empty-cart-icon {
    font-size: 60px;
    color: #ddd;
    margin-bottom: 16px;
}
#ss-cart-empty p {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 18px;
    color: #888;
    margin-bottom: 20px;
}

/* ── CHECKOUT ──────────────────────────────────── */
.ss-checkout-section {
    width: 100%;
}
/* Checkout 2-column layout: order summary left, checkout form right */
.ss-checkout-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
@media (min-width: 768px) {
    .ss-checkout-layout {
        flex-direction: row;
        gap: 30px;
    }
    .ss-checkout-summary {
        flex: 0 0 340px;
        position: sticky;
        top: 20px;
        align-self: flex-start;
    }
    .ss-checkout-form {
        flex: 1;
        min-width: 0;
    }
}
/* Order summary panel */
.ss-checkout-summary {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 20px;
}
.ss-checkout-summary h3 {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 14px;
}
.ss-checkout-summary-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}
.ss-checkout-summary-item:last-child {
    border-bottom: none;
}
.ss-checkout-summary-img {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    overflow: hidden;
    background: #fff;
    border-radius: 4px;
}
.ss-checkout-summary-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ss-checkout-summary-details {
    flex: 1;
    min-width: 0;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 13px;
    color: #555;
    line-height: 1.3;
}
.ss-checkout-summary-details .ss-co-item-name {
    font-weight: 500;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ss-checkout-summary-price {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    flex-shrink: 0;
}
.ss-checkout-totals {
    border-top: 2px solid #ddd;
    margin-top: 10px;
    padding-top: 10px;
}
.ss-checkout-totals-row {
    display: flex;
    justify-content: space-between;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 14px;
    color: #555;
    padding: 4px 0;
}
.ss-checkout-totals-row.ss-total-grand {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    border-top: 1px solid #ddd;
    padding-top: 8px;
    margin-top: 4px;
}
.ss-checkout-steps {
    margin-bottom: 30px;
}
.ss-checkout-step {
    border: 1px solid #eee;
    border-radius: 4px;
    margin-bottom: 12px;
    overflow: hidden;
}
.ss-checkout-step-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: #fafafa;
    cursor: pointer;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #333;
}
.ss-checkout-step-header .ss-step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ddd;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
}
.ss-checkout-step.ss-step-active .ss-step-number {
    background: #E41E33;
}
.ss-checkout-step.ss-step-complete .ss-step-number {
    background: #2e7d32;
}
.ss-checkout-step-body {
    padding: 18px;
    display: none;
}
.ss-checkout-step.ss-step-active .ss-checkout-step-body {
    display: block;
}
/* Style OpenCart form elements loaded into checkout */
.ss-checkout-step-body input[type="text"],
.ss-checkout-step-body input[type="email"],
.ss-checkout-step-body input[type="tel"],
.ss-checkout-step-body input[type="password"],
.ss-checkout-step-body select,
.ss-checkout-step-body textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 15px;
    margin-bottom: 10px;
    box-sizing: border-box;
}
.ss-checkout-step-body label {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    display: block;
    margin-bottom: 4px;
}
.ss-checkout-step-body .btn,
.ss-checkout-step-body button[type="submit"] {
    background: #E41E33;
    color: #fff;
    border: 0;
    padding: 10px 20px;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 3px;
    transition: background 0.3s;
}
.ss-checkout-step-body .btn:hover,
.ss-checkout-step-body button[type="submit"]:hover {
    background: #c8102e;
}

/* ── CHECKOUT CONTAINER ────────────────────────── */
.ss-checkout-container {
    min-height: 600px;
    position: relative;
}
.ss-checkout-container iframe {
    width: 100%;
    border: none;
    border-radius: 4px;
}
.ss-checkout-fallback {
    text-align: center;
    padding: 20px 0;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 15px;
    color: #888;
}
.ss-checkout-fallback p {
    margin-bottom: 12px;
}

/* ── ARTIST HEADER BANNER ─────────────────────── */
.ss-artist-header {
    width: 100%;
    max-height: 400px;
    overflow: hidden;
    margin-bottom: 0;
}
.ss-artist-header picture {
    display: block;
    width: 100%;
}
.ss-artist-header img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 400px;
}
@media (max-width: 766px) {
    .ss-artist-header {
        max-height: 250px;
    }
    .ss-artist-header img {
        max-height: 250px;
    }
}

/* ── ACCOUNT FRAME ────────────────────────────── */
.ss-account-frame-container {
    min-height: 400px;
    position: relative;
}
.ss-account-frame-container iframe {
    width: 100%;
    border: none;
    border-radius: 4px;
}

/* ── RESULT COUNT ──────────────────────────────── */
.ss-result-count {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 14px;
    color: #999;
    margin: -10px 0 16px;
}

/* ── EMPTY STATES ──────────────────────────────── */
.ss-empty {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 16px;
    color: #888;
    text-align: center;
    padding: 40px 0;
}

/* ── NOTIFICATION TOAST ────────────────────────── */
.ss-toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #333;
    color: #fff;
    padding: 12px 20px;
    border-radius: 4px;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 14px;
    font-weight: 400;
    z-index: 100002;
    transform: translateY(80px);
    opacity: 0;
    transition: all 0.4s ease;
    max-width: 320px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.ss-toast.ss-toast-visible {
    transform: translateY(0);
    opacity: 1;
}
.ss-toast.ss-toast-success {
    background: #2e7d32;
}
.ss-toast a {
    color: #fff;
    text-decoration: underline;
    margin-left: 8px;
    font-weight: 500;
}

/* ── MOBILE ADJUSTMENTS ────────────────────────── */
@media (max-width: 450px) {
    .ss-search-bar {
        margin: 12px auto 20px;
    }
    .ss-product-grid {
        gap: 10px;
    }
    .ss-product-name {
        font-size: 13px;
    }
    .ss-product-price {
        font-size: 14px;
    }
    .ss-add-to-cart {
        font-size: 12px;
        padding: 6px 8px;
    }
    .ss-detail-info h1 {
        font-size: 20px;
    }
    .ss-detail-price {
        font-size: 22px;
    }
    .ss-cart-item {
        gap: 10px;
    }
    .ss-cart-item-image {
        width: 100px;
        height: 100px;
    }
    .ss-cart-actions {
        flex-direction: column;
    }
    .ss-cart-actions .ss-btn {
        min-width: unset;
    }
    .ss-artist-name {
        font-size: 12px;
    }
}

/* Store sub-nav responsive — match #artist-sub-nav breakpoints */
@media (max-width: 900px) {
    #store-sub-nav {
        font-size: 18px;
        letter-spacing: 0.00em;
    }
    #store-sub-nav a {
        font-size: 18px;
    }
}
@media (max-width: 766px) {
    #store-sub-nav {
        font-size: 16px;
        letter-spacing: 0.01em;
    }
    #store-sub-nav a {
        font-size: 16px;
    }
    #store-sub-nav .sub-nav-flex-parent {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        flex-wrap: nowrap;
        padding-bottom: 4px;
    }
    #store-sub-nav .sub-nav-flex-parent::-webkit-scrollbar {
        display: none;
    }
    #store-sub-nav .sub-nav-flex-item {
        flex-shrink: 0;
        margin-left: 3px;
        margin-right: 10px;
    }
}

/* ── CART PAGE MOBILE ──────────────────────────── */
@media (max-width: 600px) {
    .ss-cart-item {
        flex-wrap: wrap;
    }
    .ss-cart-item-price {
        width: 100%;
        text-align: right;
        margin-top: -8px;
    }
}

/* ── ADDED TO CART ANIMATION ───────────────────── */
@keyframes ss-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
.ss-add-to-cart.ss-added,
.ss-add-to-cart-main.ss-added {
    animation: ss-pulse 0.4s ease;
}

/* ── VIEW ALL PRODUCTS (home page with all=1) ──── */
.ss-all-products .ss-product-grid {
    margin-bottom: 20px;
}

/* ── HOME CATEGORY SECTIONS ──────────────────── */
.ss-home-category-section .ss-product-grid {
    margin-bottom: 8px;
}

/* ── PRODUCT IMAGE LOADING PLACEHOLDER ───────── */
.ss-product-image {
    background: linear-gradient(135deg, #f5f5f5 25%, #ebebeb 50%, #f5f5f5 75%);
    background-size: 200% 200%;
}
.ss-product-image img[src=""] {
    visibility: hidden;
}

/* ── MY ACCOUNT DROPDOWN ─────────────────────── */
.ss-account-menu {
    display: inline-block;
    position: relative;
}
.ss-account-toggle {
    color: #666;
    text-decoration: none;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 15px;
    font-weight: 400;
    cursor: pointer;
    transition: color 0.2s;
}
.ss-account-toggle:hover {
    color: #E41E33;
    text-decoration: none;
}
.ss-account-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    min-width: 160px;
    z-index: 10001;
    padding: 6px 0;
    margin-top: 0;
}
.ss-account-menu::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 12px;
}
.ss-account-menu:hover .ss-account-dropdown,
.ss-account-menu.ss-open .ss-account-dropdown {
    display: block;
}
.ss-account-dropdown a {
    display: block;
    padding: 8px 16px;
    color: #333;
    text-decoration: none;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 14px;
    font-weight: 400;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}
.ss-account-dropdown a:hover {
    background: #f5f5f5;
    color: #E41E33;
}

@media (max-width: 766px) {
    .ss-account-dropdown {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        border-radius: 12px 12px 0 0;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
        padding: 12px 0 20px;
        margin-top: 0;
    }
}

/* ── SMOOTH SCROLL ANCHOR OFFSET ─────────────── */
html {
    scroll-behavior: smooth;
}
