/* WPCode 71065 — Product Details – Attribute Icons on Single Product Page */
/* =========================================================
   CLASSIC TRANSFERS - PRODUCT SPECIFICATIONS
   ========================================================= */

.ct-product-specifications {
    width: 100%;
    margin-top: 40px;
}


/* =========================================================
   HEADING
   ========================================================= */

.ct-product-specifications h2 {
    margin: 0 0 8px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
}


/* =========================================================
   TABLE
   ========================================================= */

.ct-product-specifications table {
    width: 100% !important;
    border-collapse: collapse !important;
    border: 0 !important;
    margin: 0 !important;
}

.ct-product-specifications tr {
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid #e5e5e5 !important;
}

.ct-product-specifications tr:last-child {
    border-bottom: 0 !important;
}

.ct-product-specifications th,
.ct-product-specifications td {
    border: 0 !important;
    vertical-align: middle !important;
}


/* =========================================================
   ICON COLUMN
   ========================================================= */

.ct-product-specifications th {
    width: 64px !important;
    min-width: 64px !important;
    max-width: 64px !important;
    height: 64px !important;
    padding: 0 !important;
    position: relative !important;
    vertical-align: middle !important;
}

.ct-spec-icon {
    position: absolute !important;
    width: 24px;
    height: 24px;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 !important;
    padding: 0 !important;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}


/* Vertical divider beside icon */
.ct-product-specifications th::after {
    content: "";
    position: absolute;
    right: 4px;
    top: 14px;
    bottom: 14px;
    width: 1px;
    background: #dedede;
}


/* =========================================================
   ATTRIBUTE VALUE
   ========================================================= */

.ct-product-specifications td {
    height: 64px !important;
    padding: 0 0 0 24px !important;
    text-align: left !important;
    vertical-align: middle !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    color: #111 !important;
}


/* =========================================================
   ATTRIBUTE ICONS
   ========================================================= */


/* POSITION */
.ct-spec-pa_position .ct-spec-icon {
    background-image: url("https://custom-transfers.co.uk/wp-content/uploads/2026/09/arrows.png");
}

/* SIZE */
.ct-spec-pa_size .ct-spec-icon {
    background-image: url("https://custom-transfers.co.uk/wp-content/uploads/2026/09/ruler.png");
}

/* COLOUR */
.ct-spec-pa_colour .ct-spec-icon {
    background-image: url("https://custom-transfers.co.uk/wp-content/uploads/2026/09/pantone.png");
}

/* YEARS */
.ct-spec-pa_years .ct-spec-icon {
    background-image: url("https://custom-transfers.co.uk/wp-content/uploads/2026/09/timer.png");
}

/* =========================================================
   TRANSFER TYPE - DYNAMIC ICONS
   ========================================================= */

/* Waterslide */
.ct-spec-pa_transfer-type.is-waterslide .ct-spec-icon {
    background-image: url("https://custom-transfers.co.uk/wp-content/uploads/2026/09/WATERSLIDE-ICON.png");
}

/* Digital Waterslide */
.ct-spec-pa_transfer-type.is-digital-waterslide .ct-spec-icon {
    background-image: url("https://sandbox.classictransfers.co.uk/wp-content/uploads/2026/09/WATERSLIDE-ICON.png");
}

/* Vinyl */
.ct-spec-pa_transfer-type.is-vinyl .ct-spec-icon {
    background-image: url("https://sandbox.classictransfers.co.uk/wp-content/uploads/2026/09/VINYL-ICON.png");
}

/* Stencil Paintmask */
.ct-spec-pa_transfer-type.is-stencil .ct-spec-icon {
    background-image: url("https://sandbox.classictransfers.co.uk/wp-content/uploads/2026/09/spray-can.png");
}


/* =========================================================
   PRODUCT GALLERY
   IMPORTANT:
   Do not alter the dimensions of WooCommerce's individual
   gallery slides - FlexSlider needs to control those.
   ========================================================= */


/* Main gallery viewport / visible image box */
.single-product .woocommerce-product-gallery .flex-viewport {
    background: #ffffff !important;

    border: 1px solid #e2e2e2 !important;
    border-radius: 10px !important;

    box-sizing: border-box !important;
    overflow: hidden !important;
}


/* Leave FlexSlider's wrapper alone */
.single-product .woocommerce-product-gallery__wrapper {
    margin: 0 !important;
}


/* =========================================================
   MAIN PRODUCT IMAGE
   Creates visual breathing room WITHOUT changing slide width
   ========================================================= */

.single-product .woocommerce-product-gallery__image img {
    display: block !important;

    width: calc(100% - 40px) !important;
    max-width: calc(100% - 40px) !important;
    height: auto !important;

    margin: 20px !important;

    object-fit: contain !important;

    border-radius: 6px !important;
    box-sizing: border-box !important;
}


/* =========================================================
   THUMBNAIL BOX
   ========================================================= */

.single-product .flex-control-thumbs {
    margin-top: 12px !important;
    padding: 8px !important;

    background: #ffffff !important;

    border: 1px solid #e2e2e2 !important;
    border-radius: 10px !important;

    box-sizing: border-box !important;
}


/* Individual thumbnail slots */
.single-product .flex-control-thumbs li {
    padding: 0 4px !important;
    box-sizing: border-box !important;
}


/* Thumbnail appearance */
.single-product .flex-control-thumbs li img {
    border-radius: 6px !important;
    cursor: pointer !important;
}


/* Active thumbnail */
.single-product .flex-control-thumbs li img.flex-active {
    opacity: 1 !important;
}


/* Inactive thumbnails */
.single-product .flex-control-thumbs li img:not(.flex-active) {
    opacity: 0.75 !important;
}


/* Hover */
.single-product .flex-control-thumbs li img:hover {
    opacity: 1 !important;
}


/* =========================================================
   MOBILE
   Slightly less internal image spacing
   ========================================================= */

@media (max-width: 781px) {

    .single-product .woocommerce-product-gallery__image img {
        width: calc(100% - 24px) !important;
        max-width: calc(100% - 24px) !important;
        margin: 12px !important;
    }
}
/* =========================================================
   SINGLE PRODUCT - MAKE GALLERY FILL IMAGE COLUMN
   ========================================================= */

/* Gallery block fills the available left column */
.single-product .wp-block-woocommerce-product-image-gallery {
    width: 100% !important;
    max-width: none !important;
}

/* WooCommerce gallery itself fills the block */
.single-product .woocommerce-product-gallery {
    width: 100% !important;
    max-width: none !important;
}

/* Gallery viewport fills available width */
.single-product .woocommerce-product-gallery .flex-viewport {
    width: 100% !important;
    max-width: none !important;
}
/* =========================================================
   SINGLE IMAGE PRODUCT - GREY OUTLINE
   ========================================================= */

.single-product .woocommerce-product-gallery:not(:has(.flex-viewport))
.woocommerce-product-gallery__image {
    border: 1px solid #e2e2e2 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
}

.single-product .woocommerce-product-gallery:not(:has(.flex-viewport))
.woocommerce-product-gallery__image img {
    border: 0 !important;
    border-radius: 0 !important;
}
/* =========================================================
   BREADCRUMBS - VERTICAL CENTRING
   ========================================================= */

.woocommerce-breadcrumb,
.wc-block-breadcrumbs,
.wp-block-woocommerce-breadcrumbs {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Centre breadcrumb content vertically in its row */
.single-product .wp-block-cover .wp-block-group-is-layout-flex {
    align-items: center !important;
}
/* =========================================================
   SINGLE PRODUCT - REF & CATEGORY META
   ========================================================= */

/* REF block */
.single-product .wp-block-woocommerce-product-sku {
    font-size: 18px !important;
    line-height: 1.5 !important;
    font-weight: 400 !important;
}


/* REF number */
.single-product .wp-block-woocommerce-product-sku .sku {
    color: #008657 !important;
    font-weight: 400 !important;
}


/* Category block */
.single-product .taxonomy-product_cat {
    font-size: 18px !important;
    line-height: 1.5 !important;
    font-weight: 400 !important;
}


/* Category name */
.single-product .taxonomy-product_cat a {
    color: #008657 !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    text-decoration: none !important;
}


/* Category hover */
.single-product .taxonomy-product_cat a:hover {
    text-decoration: underline !important;
}
/* =========================================================
   SINGLE PRODUCT - PRICE
   ========================================================= */

.single-product .wp-block-woocommerce-product-price,
.single-product .wp-block-woocommerce-product-price .woocommerce-Price-amount,
.single-product .wp-block-woocommerce-product-price .woocommerce-Price-currencySymbol {
    font-size: 22px !important;
    line-height: 1.3 !important;
    font-weight: 400 !important;
    color: #008657 !important;
}
/* =========================================================
   SINGLE PRODUCT - ADD TO BASKET
   ========================================================= */

/* Add to basket button */
.single-product .single_add_to_cart_button,
.single-product .wp-block-add-to-cart-form .button {
    background: #008657 !important;
    color: #ffffff !important;

    min-height: 42px !important;
    padding: 0 26px !important;

    border: 2px solid #008657 !important;
    border-radius: 7px !important;

    font-size: 17px !important;
    font-weight: 600 !important;
    line-height: 1 !important;

    cursor: pointer !important;
    transition: background 0.2s ease, border-color 0.2s ease !important;
}


/* Hover */
.single-product .single_add_to_cart_button:hover,
.single-product .wp-block-add-to-cart-form .button:hover {
    background: #006f49 !important;
    border-color: #006f49 !important;
    color: #ffffff !important;
}


/* =========================================================
   QUANTITY BOX
   ========================================================= */

.single-product .quantity .qty {
    width: 58px !important;
    height: 42px !important;

    padding: 0 8px !important;

    background: #ffffff !important;
    color: #111 !important;

    border: 1px solid #d6d6d6 !important;
    border-radius: 7px !important;

    font-size: 17px !important;
    text-align: center !important;

    box-sizing: border-box !important;
}


/* Space between quantity and button */
/* =========================================================
   CART LAYOUT - SIMPLE + VARIABLE PRODUCTS
   ========================================================= */

/* Reset cart form - DO NOT make whole form flex */
.single-product form.cart {
    margin-left: 0 !important;
    padding-left: 0 !important;
}


/* =========================================================
   SIMPLE PRODUCT
   ========================================================= */

.single-product form.cart:not(.variations_form) .quantity {
    display: inline-block !important;
    vertical-align: middle !important;
    margin: 0 10px 0 0 !important;
}

.single-product form.cart:not(.variations_form) .single_add_to_cart_button {
    display: inline-block !important;
    vertical-align: middle !important;
    margin: 0 !important;
}


/* =========================================================
   VARIABLE PRODUCT - ATTRIBUTE CHOICES
   ========================================================= */

.single-product form.variations_form .variations {
    width: 100% !important;
    margin: 0 0 20px 0 !important;
}

.single-product form.variations_form .variations th {
    padding-left: 0 !important;
    text-align: left !important;
    vertical-align: middle !important;
}

.single-product form.variations_form .variations td {
    text-align: left !important;
    vertical-align: middle !important;
}


/* Quantity + Add to basket underneath attributes */
.single-product form.variations_form .woocommerce-variation-add-to-cart {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;

    margin: 0 !important;
    padding: 0 !important;
}

.single-product form.variations_form .quantity {
    margin: 0 !important;
}

.single-product form.variations_form .single_add_to_cart_button {
    margin: 0 !important;
}
/* =========================================================
   SINGLE PRODUCT - TOP PRODUCT INFO SPACING
   ========================================================= */

/* REF */
.single-product .wp-block-woocommerce-product-sku {
    margin-top: 6px !important;
    margin-bottom: 4px !important;
}

/* Category */
.single-product .taxonomy-product_cat {
    margin-top: 0 !important;
    margin-bottom: 12px !important;
}

/* Product short description */
.single-product .woocommerce-product-details__short-description {
    margin-top: 0 !important;
    margin-bottom: 22px !important;
}

.single-product .woocommerce-product-details__short-description p {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    line-height: 1.5 !important;
}
/* =========================================================
   SINGLE PRODUCT - BUY BOX
   ========================================================= */

.single-product .ct-product-buy-box {
    background: #f7f7f7 !important;
    border: 1px solid #e4e4e4 !important;
    border-radius: 10px !important;

    padding: 28px 30px 6px !important;

    box-sizing: border-box !important;
    width: 100% !important;
}

/* Remove unwanted margin from first item */
.single-product .ct-product-buy-box > :first-child {
    margin-top: 0 !important;
}

/* Remove unwanted margin from final item */
.single-product .ct-product-buy-box > :last-child {
    margin-bottom: 0 !important;
}
/* =========================================================
   SINGLE PRODUCT - MOBILE
   ========================================================= */

@media (max-width: 781px) {

    /* -----------------------------------------
       PRODUCT IMAGE
       ----------------------------------------- */

    .single-product .wp-block-woocommerce-product-image-gallery,
    .single-product .woocommerce-product-gallery {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Slightly tighter image padding */
    .single-product .woocommerce-product-gallery__image img {
        width: calc(100% - 24px) !important;
        max-width: calc(100% - 24px) !important;
        margin: 12px !important;
    }


    /* -----------------------------------------
       BUY BOX
       ----------------------------------------- */

    .single-product .ct-product-buy-box {
        width: 100% !important;
        padding: 22px 20px 0px 20px !important;
        border-radius: 8px !important;
    }


    /* -----------------------------------------
       PRODUCT TITLE
       ----------------------------------------- */

    .single-product .wp-block-post-title {
        font-size: 26px !important;
        line-height: 1.2 !important;
        margin-bottom: 12px !important;
    }


    /* -----------------------------------------
       REF + CATEGORY
       ----------------------------------------- */

    .single-product .wp-block-woocommerce-product-sku,
    .single-product .taxonomy-product_cat,
    .single-product .taxonomy-product_cat a {
        font-size: 17px !important;
        line-height: 1.45 !important;
    }

    .single-product .wp-block-woocommerce-product-sku {
        margin-top: 0 !important;
        margin-bottom: 4px !important;
    }

    .single-product .taxonomy-product_cat {
        margin-bottom: 12px !important;
    }


    /* -----------------------------------------
       SHORT DESCRIPTION
       ----------------------------------------- */

    .single-product .woocommerce-product-details__short-description {
        font-size: 15px !important;
        line-height: 1.5 !important;
        margin-bottom: 18px !important;
    }


    /* -----------------------------------------
       PRICE
       ----------------------------------------- */

    .single-product .wp-block-woocommerce-product-price,
    .single-product .wp-block-woocommerce-product-price .woocommerce-Price-amount,
    .single-product .wp-block-woocommerce-product-price .woocommerce-Price-currencySymbol {
        font-size: 22px !important;
    }


    /* -----------------------------------------
       VARIATION OPTIONS
       ----------------------------------------- */

    .single-product form.variations_form .variations {
        margin-bottom: 16px !important;
    }

    .single-product form.variations_form .variations th,
    .single-product form.variations_form .variations td {
        display: block !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        text-align: left !important;
    }

    .single-product form.variations_form .variations th {
        padding-bottom: 7px !important;
    }

    .single-product form.variations_form select {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 46px !important;
    }


    /* -----------------------------------------
       QUANTITY + ADD TO BASKET
       ----------------------------------------- */

    .single-product .quantity .qty {
        width: 55px !important;
        height: 48px !important;
        font-size: 16px !important;
    }

    .single-product .single_add_to_cart_button,
    .single-product .wp-block-add-to-cart-form .button {
        min-height: 48px !important;
        padding: 0 20px !important;
        font-size: 16px !important;
    }

    .single-product form.cart:not(.variations_form),
    .single-product form.variations_form .woocommerce-variation-add-to-cart {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 10px !important;
    }

    .single-product form.cart:not(.variations_form) .quantity {
        margin: 0 !important;
    }


    /* -----------------------------------------
       PRODUCT DETAILS
       ----------------------------------------- */

    .ct-product-specifications {
        margin-top: 30px !important;
    }

    .ct-product-specifications h2 {
        font-size: 22px !important;
        margin-bottom: 12px !important;
    }

    .ct-product-specifications th {
        width: 58px !important;
        min-width: 58px !important;
        max-width: 58px !important;
        height: 66px !important;
    }

    .ct-spec-icon {
        width: 28px !important;
        height: 28px !important;
        left: 4px !important;
    }

    .ct-product-specifications td {
        height: 66px !important;
        padding-left: 18px !important;
        font-size: 17px !important;
    }


    /* -----------------------------------------
       THUMBNAILS
       ----------------------------------------- */

    .single-product .flex-control-thumbs {
        margin-top: 8px !important;
        padding: 6px !important;
    }
}
/* =========================================================
   SINGLE PRODUCT - MOBILE OUTER LAYOUT
   ========================================================= */

@media (max-width: 781px) {

    .single-product .ct-single-product-main {
        padding-left: 24px !important;
        padding-right: 24px !important;
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }

}
/* =========================================================
   PRODUCT IMAGE - HOVER ZOOM
   ========================================================= */

/* =========================================================
   PRODUCT IMAGE - HOVER ZOOM
   ========================================================= */

/* Each individual gallery slide clips its own zoom */
.single-product .woocommerce-product-gallery__image {
    overflow: hidden !important;
    position: relative !important;
}

/* Smooth zoom */
.single-product .woocommerce-product-gallery__image img {
    transition: transform 0.15s ease;
}
/* Disable WooCommerce's own zoom overlay */
.single-product .woocommerce-product-gallery .zoomImg {
    display: none !important;
}
/* =========================================================
   PRODUCT INFORMATION TABS
   ========================================================= */

.ct-product-info-tabs {
    width: 100%;
    margin-top: 35px;

    background: #ffffff;
    border: 0px solid #e2e2e2;
    border-radius: 10px;

    padding: 0 28px 28px;
    box-sizing: border-box;

    overflow: hidden;
}


/* TAB BAR */

.ct-product-info-tabs__nav {
    display: flex;
    align-items: flex-end;
    gap: 0;
    border-bottom: 1px solid #dcdcdc;
    margin-bottom: 30px;
}

.ct-product-info-tabs__button {
    appearance: none;
    background: transparent;
    border: 0;
    border-bottom: 3px solid transparent;
    padding: 14px 22px;
    margin: 0 0 -1px 0;

    font: inherit;
    font-weight: 600;
    color: #333;

    cursor: pointer;

    transition:
        color 0.2s ease,
        border-color 0.2s ease;
}

.ct-product-info-tabs__button:hover {
    color: #008657;
}

.ct-product-info-tabs__button.is-active {
    color: #008657;
    border-bottom-color: #008657;
}


/* CONTENT */

.ct-product-info-tabs__panel {
    max-width: 900px;
    font-size: 15px;
}

.ct-product-info-tabs__panel[hidden] {
    display: none !important;
}

.ct-product-info-tabs__panel h2 {
    margin-top: 0;
    margin-bottom: 18px;
    font-size: 22px;
}

.ct-product-info-tabs__panel p {
    font-size: 15px;
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: 16px;
}


/* PRODUCT'S OWN LONG DESCRIPTION */

.ct-product-info-tabs__description {
    margin-bottom: 25px;
}

.ct-product-info-tabs__divider {
    height: 1px;
    background: #e5e5e5;
    margin: 28px 0;
}


/* PRODUCT DETAILS TABLE */

.ct-product-info-table {
    width: 100%;
    max-width: 750px;
    border-top: 1px solid #e5e5e5;
}

.ct-product-info-table__row {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 18px;

    padding: 12px 8px;

    border-bottom: 1px solid #e5e5e5;
    background: transparent !important;
}

.ct-product-info-table__row strong {
    font-weight: 600;
    color: #333;
}

.ct-product-info-table__row span {
    color: #111;
}

/* INSTRUCTIONS BUTTON */

.ct-instructions-button {
    display: inline-block !important;

    margin-top: 5px !important;
    margin-bottom: 5px !important;

    padding: 0px 14px 14px !important;

    background: #008657 !important;
    color: #ffffff !important;

    border: 0 !important;
    border-radius: 6px !important;

    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 16px !important;

    box-sizing: border-box !important;
}

.ct-instructions-button:hover {
    background: #006f49;
    color: #ffffff !important;
}

.ct-instructions-button:hover {
    opacity: 0.88;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 781px) {

    .ct-product-info-tabs {
        margin-top: 25px;
    }

    .ct-product-info-tabs__nav {
        overflow-x: auto;
        white-space: nowrap;

        margin-bottom: 25px;

        scrollbar-width: none;
    }

    .ct-product-info-tabs__nav::-webkit-scrollbar {
        display: none;
    }

    .ct-product-info-tabs__button {
        flex: 0 0 auto;

        padding: 12px 15px;

        font-size: 14px;
    }

    .ct-product-info-tabs__panel {
        max-width: none;
    }

    .ct-product-info-tabs__panel h2 {
        font-size: 22px;
    }

    .ct-product-info-table__row {
        grid-template-columns: 120px 1fr;
        gap: 15px;

        padding: 13px 8px;
    }

}
