/* ================================================
   AMP SINGLE PRODUCT Ã¢â‚¬â€ amp-product
   ================================================ */

.amp-product {
    padding: 40px 0 80px;
}

/* ----- Inner grid ----- */
.amp-product__inner {
    gap: 0;
    align-items: flex-start;
}

/* ================================================
   GALLERY
   ================================================ */

.amp-product__gallery-column {
    padding-right: 40px;
}
.amp-product__gallery-column {
    position: sticky;
    top: 0;
    height: 100vh;
}
.amp-product__gallery {
    position: sticky;
    top: 120px;
}

/* Main image */
.amp-product__gallery-main {
    background: #fff;
    width: 100%;
    aspect-ratio: 1 / 1;
    /* overflow: hidden; */
    display: flex;
    align-items: center;
    justify-content: center;
}

.amp-product__gallery-main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: opacity 0.25s ease;
}

.amp-product__gallery-main-image.is-loading {
    opacity: 0;
}

/* Thumbnails */
.amp-product__gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.amp-product__gallery-thumb {
    width: calc(25% - 8px);
    aspect-ratio: 1 / 1;
    background: #fff;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s ease;
    flex-shrink: 0;
}

.amp-product__gallery-thumb.is-active,
.amp-product__gallery-thumb:hover {
    border-color: #8a3737;
}

.amp-product__gallery-thumb-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* ================================================
   SUMMARY COLUMN
   ================================================ */

.amp-product__summary-column {
    padding-left: 40px;
    border-left: 1px solid rgba(126, 44, 44, 0.1);
}

.amp-product__summary {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Eyebrow / Category */
.amp-product__eyebrow {
    margin-bottom: 8px;
}

.amp-product__eyebrow p {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0;
}

/* Title */
.amp-product__title-wrap {
    margin-bottom: 14px;
}

.amp-product__title {
    margin: 0;
}

/* Price */
.amp-product__price {
    margin-bottom: 24px;
}

.amp-product__price .woocommerce-Price-amount {
    display: block;
}

/* Section label */
.amp-product__section-label {
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #DADADA;
}

.amp-product__section-label p {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.amp-product__eyebrow p a,
.amp-product__section-label p {
    color: #777;
    font-size: 14px;
    font-style: normal;
    line-height: 22px;
    font-family: tt-commons-pro-thin, sans-serif;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.amp-product__eyebrow p a:hover {
    color: #7e2c2c;
}

h1.amp-product__title {
    color: #7E2C2C;
    font-family: 'Source Serif 4', serif;
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: 25px; 
}

.amp-product__price,
.amp-product__cart .variations_form .single_variation_wrap span.price{
    color: #7E2C2C;
    font-family: tt-commons-pro, sans-serif;
    font-size: 25px;
    font-style: normal;
    font-weight: 700;
    line-height: 22px;
}
.amp-product__measurement-col p{
    font-family: tt-commons-pro, sans-serif;  
    color: #000;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 25px;
}
span.amp-measurement__letter {
    color: #7E2C2C;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 25px; 
}

/* ======================================
   SINGLE PRODUCT — REQUIRED FIELDS ERROR STATES
====================================== */

/* Container με σφάλμα → highlight */
.amp-product__field-error input[type="text"],
.amp-product__field-error select {
    border-color: #c0392b !important;
    background-color: #fdf2f2;
}

.amp-product__field-error .amp-product__size-select {
    border-color: #c0392b !important;
}

/* Error message κάτω από το πεδίο */
.amp-product__measurement-col .amp-product__validation-error {
    color: #c0392b;
    margin-top: 6px;
    margin-bottom: 0;
}

/* Checkbox terms error → κόκκινο το label text */
.amp-product__measurement-terms.amp-product__field-error label {
    color: #c0392b;
}

.amp-product__measurement-terms.amp-product__field-error input[type="checkbox"] + span {
    color: #c0392b;
}

/* ================================================
   SHORT DESCRIPTION
   ================================================ */

.amp-product__description-block {
    margin-bottom: 24px;
}

.amp-product__description p {
    margin: 0;
    line-height: 1.6;
}

.amp-product__attribute-block {
    margin-bottom: 20px;
}
 
.amp-product__attribute-value {
    margin-top: 6px;
}

/* ======================================
   SINGLE PRODUCT — VARIATIONS MIRROR
   Custom attribute selectors πάνω από τις μετρήσεις.
   Τα native WooCommerce dropdowns κρύβονται και
   συγχρονίζονται από JS.
====================================== */

.amp-product__variations-mirror {
    margin-bottom: 24px;
}

.amp-product__variation-block {
    margin-bottom: 16px;
}

.amp-product__variation-current {
    font-weight: normal;
    opacity: 0.85;
}

.amp-product__variation-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.amp-product__variation-option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    background: transparent;
    border: 1px solid #c9c2bc;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.amp-product__variation-option:hover {
    border-color: #8a3737;
}

.amp-product__variation-option.is-selected {
    border-color: #8a3737;
    border-width: 1px;
    box-shadow: inset 0 0 0 1px #8a3737;
}

.amp-product__variation-option.is-disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ======================================
   ΚΡΥΨΙΜΟ ΤΩΝ NATIVE WC ATTRIBUTE DROPDOWNS
   ΜΕΣΑ ΣΤΗ FORM (αλλά κρατάμε λειτουργικά)
====================================== */

.amp-product__cart .variations_form .variations {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Κρατάμε ορατό το reset link & το single_variation (τιμή/απόθεμα/messages) */
.amp-product__cart .variations_form .single_variation,
.amp-product__cart .variations_form .single_variation_wrap {
    display: block;
}

/* ======================================
   SINGLE PRODUCT — PRICE RANGE HIGHLIGHT
   Όταν επιλεγεί variation, η ταιριασμένη τιμή υπογραμμίζεται
   και η άλλη γίνεται dimmed.
====================================== */

.amp-product__price[data-amp-price-range] {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.amp-product__price-segment {
    transition: opacity 0.25s ease, text-decoration-color 0.25s ease;
}

/* Όταν υπάρχει ενεργή επιλογή, η μη-επιλεγμένη πέφτει σε opacity */
.amp-product__price[data-amp-price-range].has-active-variation .amp-product__price-segment:not(.is-active),
.amp-product__price[data-amp-price-range].has-active-variation .amp-product__price-separator {
    opacity: 0.35;
}

/* Η επιλεγμένη τιμή υπογραμμίζεται */
.amp-product__price-segment.is-active {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}
/* ================================================
   COLOR SWATCHES
   ================================================ */

.amp-product__colors-block {
    margin-bottom: 24px;
}

.amp-product__swatches {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.amp-product__swatch {
    display: block;
    width: 32px;
    height: 28px;
    /*border-radius: 50%;*/
    cursor: pointer;
    border: 1px solid transparent;
    outline: 1px solid transparent;
    outline-offset: 3px;
    transition: outline-color 0.2s ease;
}

.amp-product__swatch:hover,
.amp-product__swatch.is-active {
    outline-color: #8a3737;
}
/* ======================================
   VARIATIONS MIRROR — COLOR SWATCH STYLE
   Όταν το attribute είναι pa_color, εμφανίζουμε στρογγυλά swatches
   αντί για κουμπιά με κείμενο.
====================================== */

.amp-product__variation-options--color {
    gap: 10px;
}

.amp-product__variation-option--color {
    width: 30px;
    height: 30px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 0;
    box-shadow: none;
    position: relative;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.amp-product__variation-option--color:hover {
    transform: scale(1.08);
    border-color: transparent;
}

/* Selected state — outline με μικρή απόσταση από το χρώμα (όπως στα κανονικά swatches) */
.amp-product__variation-option--color.is-selected {
    border-color: transparent;
    box-shadow: 0 0 0 2px #fff, 0 0 0 3px #8a3737;
}

.amp-product__variation-option--color.is-disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none;
}
/* ================================================
   MEASUREMENTS
   ================================================ */

.amp-product__measurements-block {
    margin-bottom: 24px;
}

.amp-product__measurement-fields {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.amp-product__measurement-row {
    display: flex;
    gap: 16px;
}

.amp-product__measurement-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.amp-product__measurement-col label p {
    margin: 0;
}

.amp-product__measurement-col input[type="text"] {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1px solid #DADADA;
    background: #fff;
    outline: none;
    transition: border-color 0.2s ease;
    font-size: 14px;
    box-shadow: none;
}

.amp-product__measurement-col input[type="text"]:focus {
    border-color: #8a3737;
}

.amp-product__measurement-terms {
    margin-top: 4px;
}

.amp-product__measurement-terms label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}
.amp-product__measurement-terms label input#amp_measurement_terms {
    margin: 0;
}
.amp-product__measurement-terms input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #8a3737;
    flex-shrink: 0;
    cursor: pointer;
}

.amp-product__measurement-terms span {
    line-height: 1.4;
}

/* ================================================
   MEASUREMENT GUIDE
   ================================================ */

.amp-product__guide {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 28px;
    padding: 20px;
    /*background: #faf8f5;*/
    /*border: 1px solid rgba(126, 44, 44, 0.08);*/
}

.amp-product__guide-image-wrap {
    flex: 0 0 auto;
width: 100%;
    max-width: 100%;
}

.amp-product__guide-image {
    width: 100%;
    height: auto;
    display: block;
}

.amp-product__guide-points {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.amp-product__guide-point {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.amp-product__guide-letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #8a3737;
    color: #fff;
    flex-shrink: 0;
    font-size: 12px;
}

.amp-product__guide-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.amp-product__guide-title {
    margin: 0;
    line-height: 1.3;
}

.amp-product__guide-text {
    margin: 0;
    line-height: 1.4;
    opacity: 0.75;
}

/**/
.amp-product__guide-legend {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 16px;
    align-items: start; 
}

.amp-product__guide-legend .amp-product__guide-image {
    display: flex;
    align-items: flex-start; 
}

.amp-product__guide-legend-item {
    display: flex;
    flex-direction: row;
    gap: 7px;
    align-items: flex-start; 
}

span.amp-product__guide-legend-letter {
    color: white;
    background: #7E2C2C;
    border-radius: 20px;
    padding: 5px 10px;
    font-size: 18px;
    font-style: normal;
    line-height: 22px;
    font-family: tt-commons-pro, sans-serif;
    font-weight: 300;
    flex-shrink: 0; 
}

p.amp-product__guide-legend-title {
    margin: 0;
}

.amp-product__guide-legend-content * {
    font-size: 16px;
    font-style: normal;
    line-height: 19px;
    font-family: tt-commons-pro, sans-serif;
    font-weight: 300;
    color: black;
}

.amp-product__guide-legend-content p.amp-product__guide-legend-title {
    font-weight: bold;
    margin-bottom: 5px;
}

p.amp-product__guide-legend-text {
    letter-spacing: 0.5px;
}
/* ================================================
   ADD TO CART
   ================================================ */

.amp-product__cart {
    margin-top: 8px;
}

.amp-product__cart-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
}

/* Quantity */
/* ================================================
   AMP QUANTITY â€” +/- buttons
   ================================================ */

.quantity {
    display: inline-flex;
    align-items: stretch;
    border: 1px solid rgba(126, 44, 44, 0.25);
    background: #fff;
    height: 58px;
    overflow: hidden;
}

.amp-quantity__btn {
    width: 44px;
    height: 100%;
    background: transparent;
    border: 0;
    color: #8a3737;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s ease;
    box-shadow: none;
    padding: 0;
    margin: 0;
}

.amp-quantity__btn:hover,
.amp-quantity__btn:focus {
    background: rgba(126, 44, 44, 0.06);
    color: #8a3737;
    outline: none;
    box-shadow: none;
}

.quantity .qty {
    width: 52px;
    height: 100%;
    border: 0;
    text-align: center;
    font-size: 16px;
    outline: none;
    background: #fff;
    padding: 0;
    box-shadow: none;
    -moz-appearance: textfield;
}

.quantity .qty:focus {
    outline: none;
    box-shadow: none;
}

/* ÎšÏÏÎ²ÎµÎ¹ Ï„Î± native Î²ÎµÎ»Î¬ÎºÎ¹Î± ÏƒÎµ ÏŒÎ»Î± Ï„Î± browsers */
.quantity .qty::-webkit-inner-spin-button,
.quantity .qty::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Mobile */
@media screen and (max-width: 767px) {
    .quantity {
        width: 100%;
    }

    .quantity .qty {
        flex: 1;
        width: auto;
    }
}

/* Add to cart button */
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt {
    background: #7E2C2C;
}

.woocommerce div.product form.cart .button {
    padding: 16px 45px;
    border-radius: 0;
    color: #FFF;
    text-align: center;
    font-family: tt-commons-pro, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt:hover ,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt.disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt.disabled:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:disabled:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:disabled[disabled], .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:disabled[disabled]:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt.disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt.disabled:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:disabled:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:disabled[disabled], .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:disabled[disabled]:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt.disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt.disabled:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:disabled:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:disabled[disabled], .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:disabled[disabled]:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt.disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt.disabled:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:disabled:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:disabled[disabled], .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:disabled[disabled]:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt.disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt.disabled:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt:disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt:disabled:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt:disabled[disabled], :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt:disabled[disabled]:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt.disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt.disabled:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt:disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt:disabled:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt:disabled[disabled], :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt:disabled[disabled]:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt.disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt.disabled:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt:disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt:disabled:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt:disabled[disabled], :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt:disabled[disabled]:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt.disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt.disabled:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt:disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt:disabled:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt:disabled[disabled], :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt:disabled[disabled]:hover{
    background: #7E2C2C;
}

.woocommerce div.product form.cart .button {
    padding: 16px 1vw;
    border-radius: 0;
    color: #FFF;
    text-align: center;
    font-family: tt-commons-pro, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
.amp-product__add-to-cart {
    flex: 1;
    height: 52px;
    background: #8a3737 !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 0 !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: background 0.25s ease;
    font-size: 14px;
}

.amp-product__add-to-cart:hover {
    background: #6e2929 !important;
}

/* WooCommerce variable product variations */
.amp-product__cart .variations {
    width: 100%;
    margin-bottom: 16px;
    border-collapse: collapse;
}

.amp-product__cart .variations td,
.amp-product__cart .variations th {
    padding: 6px 0;
    vertical-align: middle;
}

.amp-product__cart .variations label {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 13px;
}

.amp-product__cart .variations select {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1px solid rgba(126, 44, 44, 0.25);
    background: #fff;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.amp-product__cart .variations select:focus {
    border-color: #8a3737;
}

.amp-product__cart .reset_variations {
    display: none !important;
}

/* Hide the pa_color row Ã¢â‚¬â€ custom swatches handle the UI.
   The <select> stays in the DOM so WooCommerce variation JS works. */
.amp-product__cart .variations tr:has(#pa_color),
.amp-product__cart .variations tr:has([name="attribute_pa_color"]) {
    display: none;
}

/* ================================================
   RELATED PRODUCTS
   ================================================ */

.amp-product__related {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid rgba(126, 44, 44, 0.1);
}

.amp-product__related-title {
    text-align: center;
    margin-bottom: 40px;
}

.amp-product__related-slider-wrap {
    position: relative;
}

/* Slick slider item */
.amp-product__related-item {
    padding: 0 10px;
}

.amp-product__related-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.amp-product__related-image-wrap {
    background: #fff;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: box-shadow 0.3s ease;
}

.amp-product__related-card:hover .amp-product__related-image-wrap {
    box-shadow:
        0 4px 10px rgba(0,0,0,0.04),
        0 18px 40px rgba(0,0,0,0.05),
        0 35px 80px rgba(0,0,0,0.06);
}

.amp-product__related-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    mix-blend-mode: multiply;
    transition: mix-blend-mode 0.2s ease;
}

.amp-product__related-card:hover .amp-product__related-image {
    mix-blend-mode: normal;
}

.amp-product__related-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    justify-content: center;
    align-items: center;
}

.amp-product__related-cat {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.6;
}

.amp-product__related-name {
    margin: 0;
}

.amp-product__related-price {
    margin: 0;
}

/* Slick override for related */
.amp-product__related-slider .slick-list {
    margin: 0 -10px;
}

.amp-product__related-slider .slick-arrow {
    z-index: 3;
}

/* ================================================
   RESPONSIVE Ã¢â‚¬â€ TABLET (max 1279px)
   ================================================ */

@media screen and (max-width: 1279px) {
    .amp-product__gallery-column {
        padding-right: 24px;
    }

    .amp-product__summary-column {
        padding-left: 24px;
    }
}

/* ================================================
   RESPONSIVE Ã¢â‚¬â€ MOBILE (max 767px)
   ================================================ */

@media screen and (max-width: 767px) {
    .amp-product {
        padding: 20px 0 60px;
    }

    .amp-product__gallery-column {
        padding-right: 0;
        margin-bottom: 32px;
    }

    .amp-product__summary-column {
        padding-left: 0;
        border-left: 0;
        border-top: 1px solid rgba(126, 44, 44, 0.1);
        padding-top: 28px;
    }

    .amp-product__gallery {
        position: relative;
        top: unset;
        /* display: block; */
    }

    .amp-product__gallery-thumb {
        width: calc(20% - 8px);
    }

    .amp-product__measurement-row {
        flex-direction: column;
        gap: 12px;
    }

    .amp-product__guide {
        flex-direction: column;
        padding: 0;
    }

    .amp-product__guide-image-wrap {
        width: 100%;
        max-width: 100%;
    }

    .amp-product__guide-legend{
        grid-template-columns: repeat(1, 1fr);
    }
    .amp-product__cart-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .quantity {
        width: 100%;
    }

    .quantity .qty {
        flex: 1;
        width: auto;
    }

    .amp-product__add-to-cart {
        width: 100%;
    }

    .amp-product__related {
        margin-top: 50px;
        padding-top: 40px;
    }

    .amp-product__related-title {
        margin-bottom: 28px;
    }

    .amp-product__gallery-column {
        height: unset;
    }
    
    .single-product .grid-container {
        max-width: 100%;
    }
    
    .amp-product__gallery-column {
        position: relative;
    }
}
