
/* =========================================
   EPICSHREDS PRODUCT PAGE
   Developed by WHYATT Media
   ========================================= */

/* =========================================
   1. PRODUCT BANNER
   ========================================= */

.es-product-preview .es-product-banner {
    padding: 28px 20px 48px;
}

.es-product-preview .es-product-banner h1 {
    font-size: clamp(36px, 4vw, 64px);
    font-style: italic;
    font-weight: 900;
    letter-spacing: -2px;
    color: #FFFFFF;
}

.es-product-preview .es-product-banner h1 span {
    color: #D4FF00;
}

.es-product-preview .es-product-banner .es-shop-eyebrow {
    margin-bottom: 8px;
    font-size: 11px;
    letter-spacing: 3px;
}

.es-product-preview .es-product-banner .es-shop-torn-edge {
    height: 24px;
}


/* =========================================
   2. PRODUCT CONTAINER
   ========================================= */

.es-product-preview .es-product-content {
    background: #F8F5F2;
    padding: 30px 24px 40px;
}

.es-product-preview .es-product-container {
    max-width: 1450px;
    width: 100%;
    margin: 0 auto;
}

.es-product-preview .es-product-container .woocommerce,
.es-product-preview .es-product-container div.product {
    width: 100%;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}


/* =========================================
   3. BREADCRUMBS
   ========================================= */

.es-product-preview .woocommerce-breadcrumb {
    margin: 0 0 24px;
    font-size: 13px;
    line-height: 1.6;
    color: #777777;
}

.es-product-preview .woocommerce-breadcrumb a {
    color: #590078;
    text-decoration: none;
}

.es-product-preview .woocommerce-breadcrumb a:hover {
    text-decoration: underline;
}


/* =========================================
   4. PRODUCT GALLERY
   ========================================= */

.es-product-preview .woocommerce-product-gallery {
    width: 48% !important;
}

.es-product-preview .woocommerce-product-gallery__wrapper {
    border-radius: 6px;
    overflow: hidden;
}

.es-product-preview .woocommerce-product-gallery img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 6px;
}

.es-product-preview .flex-control-thumbs {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 12px 0 0 !important;
    padding: 0 !important;
}

.es-product-preview .flex-control-thumbs::before,
.es-product-preview .flex-control-thumbs::after {
    display: none !important;
}

.es-product-preview .flex-control-thumbs li {
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
    list-style: none;
}

.es-product-preview .flex-control-thumbs img {
    border: 2px solid transparent;
    border-radius: 5px;
    box-sizing: border-box;
    cursor: pointer;
    opacity: .85;
}

.es-product-preview .flex-control-thumbs img:hover,
.es-product-preview .flex-control-thumbs img.flex-active {
    border-color: #8009A6;
    opacity: 1;
}


/* =========================================
   5. PRODUCT SUMMARY
   ========================================= */

.es-product-preview div.product .summary {
    width: 48% !important;
    color: #141414;
}

.es-product-preview .summary h1.product_title {
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(30px, 3vw, 48px) !important;
    font-weight: 900 !important;
    font-style: italic !important;
    text-transform: uppercase !important;
    line-height: 1.1 !important;
    letter-spacing: -1px;
    color: #141414;
    margin: 0 0 14px !important;
}

.es-product-preview .summary h1.product_title::after {
    content: "";
    display: block;
    width: 125px;
    height: 9px;
    margin-top: 12px;
    background: url('../images/purple-brushstroke.webp')
                center / 100% 100% no-repeat;
}

.es-product-preview .summary > .price,
.es-product-preview .summary > .price .amount {
    font-size: 30px !important;
    font-weight: 800 !important;
    line-height: 1.3;
    color: #590078 !important;
}

.es-product-preview .summary > .price {
    margin: 0 0 20px !important;
}

.es-product-preview
.woocommerce-product-details__short-description {
    font-size: 16px;
    line-height: 1.7;
    color: #333333;
    margin: 0 0 20px !important;
    padding: 0 !important;
}

.es-product-preview
.woocommerce-product-details__short-description p {
    margin: 0 0 12px;
}

.es-product-preview
.woocommerce-product-details__short-description p:last-child {
    margin-bottom: 0;
}


/* =========================================
   6. PURCHASE PANEL
   ========================================= */

.es-product-preview .summary form.cart {
    background: #FFFFFF;
    border: 1px solid #E4E0DC !important;
    border-radius: 6px;
    padding: 24px !important;
    margin: 20px 0 0 !important;
    box-sizing: border-box;
}

.es-product-preview .summary table.variations,
.es-product-preview .summary table.variations tbody {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

.es-product-preview .summary table.variations tr {
    display: block !important;
    width: 100% !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
    border: 0 !important;
}

.es-product-preview .summary table.variations th,
.es-product-preview .summary table.variations td {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: left !important;
    border: 0 !important;
    background: transparent !important;
}

.es-product-preview .summary table.variations label {
    display: block;
    margin: 0 0 5px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    color: #141414;
}

.es-product-preview .summary .variations select {
    min-height: 46px;
    padding: 10px 12px;
    line-height: 1.5;
    background: #FFFFFF;
    border: 1px solid #CCCCCC;
    border-radius: 4px;
    color: #141414;
}

.es-product-preview select.es-enhanced-select {
    display: none !important;
}


/* =========================================
   7. VARIATION CONTROLS
   ========================================= */

.es-product-preview .es-variation-control {
    margin: 0 !important;
    padding: 0 !important;
}

.es-product-preview .es-variation-selected {
    margin: 0 0 8px !important;
    font-size: 13px;
    font-weight: 500;
    color: #666666;
}

.es-product-preview .es-variation-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.es-product-preview .es-variation-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    cursor: pointer;
    box-shadow: none;
    transition: background-color .15s,
                border-color .15s;
}

/* Colour swatches */

.es-product-preview .es-colour-swatch {
    width: 44px;
    height: 44px;
    padding: 4px;
    background: transparent;
    border: 2px solid transparent;
    border-radius: 50%;
}

.es-product-preview .es-swatch-fill {
    display: block;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(0,0,0,.18);
    border-radius: 50%;
}

.es-product-preview .es-colour-swatch:hover,
.es-product-preview .es-colour-swatch.is-selected {
    border-color: #8009A6;
    background: transparent;
}

/* Size and fallback colour buttons */

.es-product-preview .es-text-swatch {
    min-width: 46px;
    min-height: 44px;
    padding: 8px 12px;
    background: #FFFFFF;
    border: 1px solid #CCCCCC;
    border-radius: 4px;
    color: #141414;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
}

.es-product-preview .es-text-swatch:hover {
    border-color: #8009A6;
    color: #8009A6;
    background: #FFFFFF;
}

.es-product-preview .es-text-swatch.is-selected {
    background: #D4FF00;
    border-color: #141414;
    color: #141414;
}

/* Unavailable combinations */

.es-product-preview .es-variation-button.is-unavailable {
    opacity: .35;
    cursor: not-allowed;
}

.es-product-preview .es-text-swatch.is-unavailable {
    text-decoration: line-through;
    background: #E5E5E5;
    color: #777777;
}

.es-product-preview .es-colour-swatch.is-unavailable::after {
    content: "";
    position: absolute;
    width: 80%;
    height: 2px;
    background: #141414;
    transform: rotate(-45deg);
}

/* Keyboard accessibility */

.es-product-preview .es-variation-button:focus-visible {
    outline: 2px solid #8009A6;
    outline-offset: 3px;
}

/* Reset selection */

.es-product-preview .reset_variations {
    display: inline-block;
    margin-top: 10px !important;
    color: #8009A6 !important;
    font-size: 13px;
    text-decoration: underline;
}


/* =========================================
   8. QUANTITY AND ADD TO BASKET
   ========================================= */

.es-product-preview .woocommerce-variation-add-to-cart {
    display: flex !important;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.es-product-preview .summary .quantity {
    margin: 0 !important;
}

.es-product-preview .summary .quantity input.qty {
    height: 54px !important;
    min-height: 54px;
    width: 75px;
    background: #FFFFFF;
    color: #141414;
    border: 1px solid #CCCCCC;
    border-radius: 4px;
    font-weight: 700;
}

.es-product-preview .summary button.single_add_to_cart_button {
    flex: 1;
    min-height: 54px;
    padding: 14px 24px !important;
    margin: 0 !important;
    background: #D4FF00 !important;
    color: #141414 !important;
    border: 2px solid #141414 !important;
    border-radius: 4px !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    font-style: italic !important;
    text-transform: uppercase;
    letter-spacing: .5px;
    box-shadow: none !important;
}

.es-product-preview .summary button.single_add_to_cart_button:hover {
    background: #8009A6 !important;
    color: #FFFFFF !important;
}

.es-product-preview .summary button.single_add_to_cart_button.disabled,
.es-product-preview .summary button.single_add_to_cart_button:disabled {
    background: #E2E2E2 !important;
    color: #888888 !important;
    border-color: #CCCCCC !important;
    opacity: 1 !important;
    cursor: not-allowed;
}


/* =========================================
   9. PRODUCT METADATA
   ========================================= */

.es-product-preview .product_meta {
    margin: 18px 0 0 !important;
    padding-top: 14px !important;
    border-top: 1px solid #DDDAD6;
    font-size: 13px;
    color: #777777;
}

.es-product-preview .product_meta .sku_wrapper {
    display: none !important;
}

.es-product-preview .product_meta a {
    color: #590078;
}


/* =========================================
   10. PRODUCT INFORMATION TABS
   ========================================= */

.es-product-preview .woocommerce-tabs {
    clear: both;
    padding-top: 35px;
    margin-bottom: 40px !important;
}

.es-product-preview .woocommerce-tabs ul.tabs {
    display: flex !important;
    flex-wrap: wrap;
    gap: 0;
    padding: 0 !important;
    margin: 0 !important;
    background: #141414;
    border: 0 !important;
    border-radius: 5px 5px 0 0;
}

.es-product-preview .woocommerce-tabs ul.tabs::before,
.es-product-preview .woocommerce-tabs ul.tabs::after,
.es-product-preview .woocommerce-tabs ul.tabs li::before,
.es-product-preview .woocommerce-tabs ul.tabs li::after {
    display: none !important;
}

.es-product-preview .woocommerce-tabs ul.tabs li {
    display: block !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

.es-product-preview .woocommerce-tabs ul.tabs li a {
    display: block !important;
    padding: 18px 24px !important;
    color: #FFFFFF !important;
    font-size: 14px;
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
    text-decoration: none;
}

.es-product-preview .woocommerce-tabs ul.tabs li.active,
.es-product-preview .woocommerce-tabs ul.tabs li:hover {
    background: #8009A6 !important;
}

.es-product-preview .woocommerce-tabs .woocommerce-Tabs-panel {
    background: #FFFFFF;
    border: 1px solid #E4E0DC;
    border-top: 0;
    border-radius: 0 0 5px 5px;
    padding: 30px !important;
    margin: 0 !important;
    color: #333333;
    font-size: 15px;
    line-height: 1.8;
}

.es-product-preview .woocommerce-Tabs-panel > h2 {
    font-size: 28px;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    color: #141414;
    margin: 0 0 22px;
}

.es-product-preview .woocommerce-Tabs-panel > h2::after {
    content: "";
    display: block;
    width: 100px;
    height: 7px;
    margin-top: 10px;
    background: url('../images/purple-brushstroke.webp')
                center / 100% 100% no-repeat;
}


/* =========================================
   11. RELATED PRODUCTS
   Shared card styling comes from shop.css
   ========================================= */

.es-product-preview section.related.products,
.es-product-preview section.upsells.products {
    clear: both;
    margin: 40px 0 0 !important;
    padding: 30px 0 0 !important;
    border-top: 1px solid #DDDAD6;
}

.es-product-preview section.related.products > h2,
.es-product-preview section.upsells.products > h2 {
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    text-align: center;
    color: #141414;
    margin: 0 0 30px;
}

.es-product-preview section.related.products > h2 span {
    color: #8009A6;
}

.es-product-preview section.related.products > h2::after,
.es-product-preview section.upsells.products > h2::after {
    content: "";
    display: block;
    width: 145px;
    height: 9px;
    margin: 12px auto 0;
    background: url('../images/purple-brushstroke.webp')
                center / 100% 100% no-repeat;
}

.es-product-preview section.related.products ul.products,
.es-product-preview section.upsells.products ul.products {
    margin-bottom: 0 !important;
}


/* =========================================
   12. MOBILE
   ========================================= */

@media (max-width: 767px) {

    .es-product-preview .es-product-banner {
        padding: 22px 12px 35px;
    }

    .es-product-preview .es-product-banner h1 {
        font-size: 34px;
        letter-spacing: -1px;
    }

    .es-product-preview .es-product-banner .es-shop-torn-edge {
        height: 16px;
    }

    .es-product-preview .es-product-content {
        padding: 20px 15px 30px;
    }

    .es-product-preview .woocommerce-product-gallery,
    .es-product-preview div.product .summary {
        width: 100% !important;
        float: none !important;
    }

    .es-product-preview div.product .summary {
        margin-top: 25px;
    }

    .es-product-preview .summary h1.product_title {
        font-size: 32px !important;
    }

    .es-product-preview .summary > .price,
    .es-product-preview .summary > .price .amount {
        font-size: 26px !important;
    }

    .es-product-preview
    .woocommerce-product-details__short-description {
        font-size: 15px;
    }

    .es-product-preview .flex-control-thumbs {
        gap: 6px;
    }

    .es-product-preview .summary form.cart {
        padding: 16px !important;
    }

    .es-product-preview .summary table.variations tr {
        margin-bottom: 14px !important;
    }

    .es-product-preview .es-variation-buttons {
        gap: 6px;
    }

    .es-product-preview .es-text-swatch {
        min-width: 42px;
    }

    .es-product-preview .summary button.single_add_to_cart_button {
        font-size: 14px !important;
        padding: 12px 16px !important;
    }

    .es-product-preview .woocommerce-tabs {
        padding-top: 20px;
        margin-bottom: 25px !important;
    }

    .es-product-preview .woocommerce-tabs ul.tabs li {
        flex: 1 1 auto;
    }

    .es-product-preview .woocommerce-tabs ul.tabs li a {
        font-size: 11px;
        padding: 14px 10px !important;
        text-align: center;
    }

    .es-product-preview .woocommerce-tabs .woocommerce-Tabs-panel {
        padding: 18px !important;
        font-size: 14px;
    }

    .es-product-preview .woocommerce-Tabs-panel > h2 {
        font-size: 24px;
    }

    .es-product-preview section.related.products,
    .es-product-preview section.upsells.products {
        margin-top: 25px !important;
        padding-top: 25px !important;
    }

}
/* ==================================================
   EPICSHREDS - PRODUCT PAGE REFINEMENTS
   ================================================== */




/* Product title */

.es-product-preview .summary h1.product_title {
    font-family: Arial, Helvetica, sans-serif !important;
    font-weight: 900 !important;
    font-style: italic !important;
    text-transform: uppercase !important;
    letter-spacing: -1.5px;
    line-height: 1.05;
    color: #141414;
    margin-bottom: 14px;
}


/* Product price */

.es-product-preview .summary > .price,
.es-product-preview .summary > .price .amount {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 900 !important;
    color: #8009A6 !important;
    font-size: 32px;
}


/* Product description */

.es-product-preview
.woocommerce-product-details__short-description > h3:first-child {
    display: none;
}

.es-product-preview
.woocommerce-product-details__short-description > p:last-child {
    margin-bottom: 0;
}

.es-product-preview
.woocommerce-product-details__short-description {
    margin-bottom: 20px;
    line-height: 1.7;
}


/* Purchase section */

.es-product-preview .summary form.cart {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #DDDAD6;
}

.es-product-preview .summary .single_add_to_cart_button {
    background: #D4FF00 !important;
    color: #141414 !important;
    border: 2px solid #141414 !important;
    border-radius: 4px;
    font-weight: 900 !important;
    text-transform: uppercase;
    min-height: 52px;
    padding: 14px 28px;
    transition: background 0.2s, color 0.2s;
}

.es-product-preview
.summary .single_add_to_cart_button:not(.disabled):hover {
    background: #8009A6 !important;
    color: #FFFFFF !important;
}

.es-product-preview
.summary .single_add_to_cart_button.disabled {
    opacity: 0.45;
    cursor: not-allowed;
}


/* Product metadata */

.es-product-preview .product_meta .sku_wrapper {
    display: none !important;
}

.es-product-preview .product_meta {
    font-size: 12px;
    line-height: 1.7;
    color: #777777;
}

.es-product-preview .product_meta a,
.es-product-preview .summary form.cart a {
    color: #8009A6;
}


/* Jetpack social sharing */

.es-product-preview .summary .sharedaddy {
    margin-top: 20px;
}

.es-product-preview .summary .sharedaddy .sd-title {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.es-product-preview .summary .sharedaddy .sd-title::before {
    display: none;
}

.es-product-preview .summary .sharedaddy .share-end {
    display: none !important;
}


/* Mobile refinements */

@media (max-width: 767px) {


    .es-product-preview .summary h1.product_title {
        font-size: 32px !important;
        letter-spacing: -1px;
    }

    .es-product-preview .summary > .price,
    .es-product-preview .summary > .price .amount {
        font-size: 26px;
    }

    .es-product-preview .summary .single_add_to_cart_button {
        padding: 12px 20px;
        min-height: 48px;
    }

}
/* Hide redundant navigation when only one product tab exists */

.es-product-preview .woocommerce-tabs ul.tabs:has(> li:only-child) {
    display: none !important;
}

.es-product-preview .woocommerce-tabs ul.tabs:has(> li:only-child)
~ .woocommerce-Tabs-panel {
    border-radius: 5px;
}
/* =========================================
   VARIATION HEADINGS AND SIZE GUIDE
   ========================================= */

.es-product-preview .es-variation-heading {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px 12px;
    width: 100%;
    margin: 0 0 8px !important;
    padding: 0 !important;
}

.es-product-preview .es-variation-heading-text {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
}

/* Prevent inherited theme clearfix spacing. */

.es-product-preview .es-variation-heading::before,
.es-product-preview .es-variation-heading::after,
.es-product-preview .es-variation-heading-text::before,
.es-product-preview .es-variation-heading-text::after {
    display: none !important;
    content: none !important;
}

/* Attribute label. */

.es-product-preview .es-variation-heading label {
    display: inline !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #141414;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
}

/* Selected colour or size. */

.es-product-preview .es-variation-heading .es-variation-selected {
    display: inline !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #666666;
    text-transform: none !important;
}

/* Printful Size Guide link. */

.es-product-preview a.es-size-guide-link,
.es-product-preview a.es-size-guide-link:visited {
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #8009A6 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: none !important;
    text-decoration: underline !important;
    white-space: nowrap;
    cursor: pointer;
}

.es-product-preview a.es-size-guide-link:hover {
    color: #590078 !important;
}

/* Remove redundant spacing. */

.es-product-preview .variations tr.es-colour-row .label,
.es-product-preview .variations tr.es-size-row .label {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.es-product-preview .es-variation-control {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Mobile adjustments. */

@media (max-width: 767px) {

    .es-product-preview .es-variation-heading {
        gap: 6px;
    }

    .es-product-preview a.es-size-guide-link {
        font-size: 12px !important;
    }

}
/* =========================================
   PURCHASE PANEL - FINAL REFINEMENTS
   ========================================= */

/* Align swatches with attribute headings. */

.es-product-preview .es-variation-buttons {
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.es-product-preview .es-variation-buttons::before,
.es-product-preview .es-variation-buttons::after {
    display: none !important;
    content: none !important;
}

/* Reduce space above the purchase buttons. */

.es-product-preview .single_variation_wrap {
    margin-top: 16px !important;
    padding-top: 0 !important;
}

/* Align quantity and Add to Basket. */

.es-product-preview .woocommerce-variation-add-to-cart {
    display: flex !important;
    align-items: stretch !important;
    gap: 12px;
    padding: 0 !important;
    margin-top: 0 !important;
}

.es-product-preview .woocommerce-variation-add-to-cart::before,
.es-product-preview .woocommerce-variation-add-to-cart::after {
    display: none !important;
    content: none !important;
}

.es-product-preview .woocommerce-variation-add-to-cart .quantity {
    display: flex !important;
    align-items: stretch;
    margin: 0 !important;
}

.es-product-preview .quantity input.qty {
    height: 64px !important;
    width: 75px !important;
    margin: 0 !important;
    box-sizing: border-box;
}

.es-product-preview .single_add_to_cart_button {
    flex: 1;
    min-height: 64px !important;
    margin: 0 !important;
    box-sizing: border-box;
}
/* =========================================
   SIZE GUIDE BUTTON
   ========================================= */

.es-product-preview a.es-size-guide-link,
.es-product-preview a.es-size-guide-link:visited {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 14px !important;
    background: #F8F0FA !important;
    color: #8009A6 !important;
    border: 1.5px solid #8009A6 !important;
    border-radius: 4px;
    font-size: 12px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    line-height: 1.2;
    transition: background .2s, color .2s;
}

/* Ruler icon */

.es-product-preview a.es-size-guide-link::before {
    content: "" !important;
    display: block !important;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    background-color: currentColor;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='7' width='20' height='10' rx='1'/%3E%3Cpath d='M6 7v4M10 7v3M14 7v4M18 7v3'/%3E%3C/svg%3E") center / contain no-repeat;
}

.es-product-preview a.es-size-guide-link::after {
    display: none !important;
    content: none !important;
}

/* Hover */

.es-product-preview a.es-size-guide-link:hover,
.es-product-preview a.es-size-guide-link:focus-visible {
    background: #8009A6 !important;
    color: #FFFFFF !important;
}

/* Mobile */

@media (max-width: 767px) {

    .es-product-preview a.es-size-guide-link {
        padding: 8px 10px !important;
        font-size: 11px !important;
    }

}
/* =========================================
   RELATED PRODUCTS REFINEMENTS
   ========================================= */

.es-product-preview .related.products
h2.es-related-heading {
    margin-bottom: 12px !important;
}

.es-product-preview .es-related-heading span {
    color: #8009A6;
}

.es-product-preview .es-related-subtitle {
    margin: 0 0 28px !important;
    padding: 0;
    font-size: 15px;
    line-height: 1.5;
    color: #555555;
    text-align: center;
}

/* Reduce spacing beneath related products */

.es-product-preview section.related.products {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.es-product-preview section.related.products ul.products {
    margin-bottom: 0 !important;
}

.es-product-preview .es-product-content {
    padding-bottom: 40px;
}

/* Mobile refinements */

@media (max-width: 767px) {

    .es-product-preview .es-related-subtitle {
        font-size: 13px;
        margin-bottom: 20px !important;
    }

    .es-product-preview .es-product-content {
        padding-bottom: 25px;
    }

}
/* Remove divider above related products */

.es-product-preview section.related.products {
    border-top: none !important;
}

.es-product-preview section.related.products::before {
    display: none !important;
    content: none !important;
}
/* =========================================
   MOBILE PRODUCT PAGE REFINEMENTS
   ========================================= */

@media (max-width: 767px) {

    /* Breadcrumb spacing */

    .es-product-preview .es-product-content {
        padding-top: 20px !important;
    }

    .es-product-preview .woocommerce-breadcrumb {
        margin-bottom: 18px !important;
    }

    /* Centre product title brushstroke */

    .es-product-preview .product_title::after {
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
    }

    /* Short description readability */

    .es-product-preview
    .woocommerce-product-details__short-description {
        text-align: left !important;
        line-height: 1.6;
        margin-bottom: 18px !important;
    }

    .es-product-preview
    .woocommerce-product-details__short-description p {
        text-align: left !important;
        margin-bottom: 12px !important;
    }

    .es-product-preview
    .woocommerce-product-details__short-description p:last-child {
        margin-bottom: 0 !important;
    }

    /* Reduce space above purchase panel */

    .es-product-preview form.cart {
        margin-top: 18px !important;
    }

    /* Compact size selectors */

    .es-product-preview .es-size-buttons {
        gap: 6px !important;
    }

    .es-product-preview
    .es-size-buttons .es-variation-button {
        min-width: 38px !important;
        padding: 0 8px !important;
        height: 44px !important;
        font-size: 13px !important;
    }

    /* Match quantity and basket button heights */

    .es-product-preview
    .woocommerce-variation-add-to-cart {
        align-items: stretch !important;
    }

    .es-product-preview
    .woocommerce-variation-add-to-cart input.qty,

    .es-product-preview
    .woocommerce-variation-add-to-cart
    .single_add_to_cart_button {
        height: 58px !important;
        min-height: 58px !important;
        box-sizing: border-box !important;
        margin: 0 !important;
    }

    /* Reduce gap above description */

    .es-product-preview .woocommerce-tabs {
        margin-top: 24px !important;
    }

    /* Compact related product cards */

    .es-product-preview
    .related.products .ope-woo-card-content {
        padding-top: 12px !important;
        padding-bottom: 12px !important;
    }

    .es-product-preview
    .related.products .woocommerce-loop-product__title {
        margin-bottom: 8px !important;
    }

    .es-product-preview
    .related.products .price {
        margin-top: 8px !important;
        margin-bottom: 12px !important;
    }

}
/* Centre mobile product title brushstroke */

@media (max-width: 767px) {

    .es-product-preview .product_title {
        position: relative !important;
        text-align: center !important;
    }

    .es-product-preview .product_title::after {
        left: 0 !important;
        right: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
        transform: none !important;
    }

}
/* Native WooCommerce gallery compatibility */

.es-product-preview .woocommerce-product-gallery__wrapper {
    display: block !important;
    grid-template-columns: none !important;
    gap: 0 !important;
}

.es-product-preview .woocommerce-product-gallery
.flex-viewport {
    overflow: hidden !important;
    border-radius: 6px;
}

.es-product-preview .woocommerce-product-gallery__wrapper
> .woocommerce-product-gallery__image {
    border: 0 !important;
    border-radius: 0 !important;
    grid-column: auto !important;
}

.es-product-preview .woocommerce-product-gallery__image
a > img {
    display: block;
    width: 100%;
    height: auto;
}

/* Native thumbnail navigation */

.es-product-preview .woocommerce-product-gallery
.flex-control-thumbs {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 12px 0 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.es-product-preview .flex-control-thumbs::before,
.es-product-preview .flex-control-thumbs::after {
    display: none !important;
    content: none !important;
}

.es-product-preview .woocommerce-product-gallery
.flex-control-thumbs li {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.es-product-preview .flex-control-thumbs li img {
    display: block;
    width: 100%;
    height: auto;
    box-sizing: border-box;
    border: 2px solid #E4E0DC;
    border-radius: 5px;
    background: #FFFFFF;
    opacity: 1 !important;
    cursor: pointer;
}

.es-product-preview .flex-control-thumbs li img:hover,
.es-product-preview .flex-control-thumbs li img.flex-active {
    border-color: #8009A6;
}

@media (max-width: 767px) {
    .es-product-preview .woocommerce-product-gallery
    .flex-control-thumbs {
        gap: 6px;
    }
}

/* ========================================
   EPICSHREDS PRODUCT SUCCESS NOTIFICATION
   ======================================== */

.es-product-preview .woocommerce-message {
    background: #141414 !important;
    color: #FFFFFF !important;
    border: none !important;
    border-left: 5px solid #D4FF00 !important;
    border-radius: 4px !important;
    padding: 20px 24px 20px 52px !important;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.6;
    box-shadow: none !important;
}

.es-product-preview .woocommerce-message::before {
    color: #D4FF00 !important;
    top: 20px !important;
    line-height: 24px !important;
    left: 20px;
    margin-top: 0 !important;
}

.es-product-preview .woocommerce-message .button {
    background: #D4FF00 !important;
    color: #141414 !important;
    border: none !important;
    border-radius: 3px !important;
    padding: 13px 22px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: none !important;
    transition: background 0.2s, color 0.2s;
}

.es-product-preview .woocommerce-message .button:hover {
    background: #8009A6 !important;
    color: #FFFFFF !important;
}

@media (max-width: 767px) {

    .es-product-preview .woocommerce-message {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .es-product-preview .woocommerce-message .button {
        float: none !important;
        order: 2;
        width: 100%;
        text-align: center;
        margin: 0 !important;
        box-sizing: border-box;
    }

}


/* Simple product quantity and basket alignment */

.es-product-preview .product-type-simple form.cart {
    display: flex !important;
    align-items: center !important;
    gap: 12px;
    flex-wrap: wrap;
}

.es-product-preview .product-type-simple form.cart .quantity {
    display: flex !important;
    align-items: center;
    float: none !important;
    margin: 0 !important;
}

.es-product-preview .product-type-simple form.cart .quantity input.qty {
    height: 64px !important;
    min-height: 64px !important;
    width: 75px;
    box-sizing: border-box;
    margin: 0 !important;
}

.es-product-preview .product-type-simple form.cart .single_add_to_cart_button {
    min-height: 64px !important;
    margin: 0 !important;
    box-sizing: border-box;
}

