/* SESSION 510 CANONICAL PRODUCT DETAIL GALLERY FUNCTION START */

/* JavaScript adds this class to the gallery before inserting carousel controls. */
.ep-pdp-v2-gallery-scroll-controls {
    position: relative !important;
}

/* Prevent obsolete CSS-generated thumbnail arrows from appearing. */
.ep-product-detail-v2 .product-gallery-thumbs::before,
.ep-product-detail-v2 .product-gallery-thumbs::after,
.ep-product-detail-v2__thumbs::before,
.ep-product-detail-v2__thumbs::after {
    content: none !important;
    display: none !important;
}

/* Animate product-image changes initiated by the carousel JavaScript. */
.ep-product-detail-v2 .product-gallery-main img,
.ep-product-detail-v2 .ep-product-detail-v2__main-image img,
.ep-product-detail-v2 .product-detail-image img {
    transition: opacity 180ms ease, transform 220ms ease !important;
    will-change: opacity, transform !important;
}

.ep-product-detail-v2 .is-gallery-sliding-out.is-gallery-slide-left img {
    opacity: 0 !important;
    transform: translateX(-18px) scale(0.992) !important;
}

.ep-product-detail-v2 .is-gallery-sliding-out.is-gallery-slide-right img {
    opacity: 0 !important;
    transform: translateX(18px) scale(0.992) !important;
}

.ep-product-detail-v2 .is-gallery-sliding-out.is-gallery-slide-up img {
    opacity: 0 !important;
    transform: translateY(-18px) scale(0.992) !important;
}

.ep-product-detail-v2 .is-gallery-sliding-out.is-gallery-slide-down img {
    opacity: 0 !important;
    transform: translateY(18px) scale(0.992) !important;
}

.ep-product-detail-v2 .is-gallery-sliding-in img {
    opacity: 1 !important;
    transform: translate(0, 0) scale(1) !important;
}

/* Infinite-loop previous and next buttons created by product-detail-v2.js. */
.ep-pdp-v2-thumb-scroll {
    position: absolute !important;
    z-index: 12 !important;
    width: 32px !important;
    height: 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(206, 217, 235, 0.95) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    color: #0b74bd !important;
    box-shadow: 0 8px 18px rgba(15, 31, 59, 0.12) !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    transition: transform 140ms ease, box-shadow 140ms ease, opacity 140ms ease !important;
}

.ep-pdp-v2-thumb-scroll[hidden] {
    display: inline-flex !important;
}

.ep-pdp-v2-thumb-scroll--prev.is-vertical::before {
    content: "⌃" !important;
    font-size: 1rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
}

.ep-pdp-v2-thumb-scroll--next.is-vertical::before {
    content: "⌄" !important;
    font-size: 1rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
}

.ep-pdp-v2-thumb-scroll--prev.is-horizontal::before {
    content: "‹" !important;
    font-size: 1.55rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
}

.ep-pdp-v2-thumb-scroll--next.is-horizontal::before {
    content: "›" !important;
    font-size: 1.55rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
}

@media (min-width: 1181px) {
    .ep-pdp-v2-thumb-scroll--prev.is-vertical {
        top: -8px !important;
        left: 38px !important;
        transform: translateX(-50%) !important;
    }

    .ep-pdp-v2-thumb-scroll--next.is-vertical {
        bottom: -8px !important;
        left: 38px !important;
        transform: translateX(-50%) !important;
    }
}

@media (max-width: 1180px) {
    .ep-pdp-v2-thumb-scroll--prev.is-horizontal {
        left: 4px !important;
        bottom: 24px !important;
    }

    .ep-pdp-v2-thumb-scroll--next.is-horizontal {
        right: 4px !important;
        bottom: 24px !important;
    }
}

/* SESSION 510 CANONICAL PRODUCT DETAIL GALLERY FUNCTION END */

/* SESSION 510 CANONICAL PRODUCT DETAIL VARIANT SELECTOR START */

.ep-product-detail-v2 .public-variant-selector {
    width: 100%;
    max-width: 500px;
    margin: 0;
    padding: 1.1rem;
    border: 1px solid #dbe3ea;
    border-bottom: 0;
    border-radius: 18px;
    background: #f8fafc;
    box-shadow: none;
}

.ep-product-detail-v2 .public-variant-selector__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.ep-product-detail-v2 .public-variant-selector__heading h2 {
    margin: 0 0 0.25rem;
    color: #111827;
    font-size: 1.05rem;
    line-height: 1.2;
}

.ep-product-detail-v2 .public-variant-selector__heading p {
    margin: 0;
    color: #6b7280;
    font-size: 0.92rem;
}

.ep-product-detail-v2 .public-variant-selector__heading [data-selected-variant-label] {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.65rem;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    background: #eff6ff;
    color: #1769aa;
    font-size: 0.82rem;
    font-weight: 900;
    white-space: nowrap;
    box-shadow: none;
}

.ep-product-detail-v2 .split-variant-selector {
    display: grid;
    gap: 0.9rem;
}

.ep-product-detail-v2 .split-variant-selector__group {
    display: grid;
    gap: 0.45rem;
}

.ep-product-detail-v2 .split-variant-selector__group h3 {
    margin: 0;
    color: #111827;
    font-size: 0.86rem;
    font-weight: 900;
    line-height: 1.2;
}

.ep-product-detail-v2 .split-variant-selector__choices {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
}

.ep-product-detail-v2 .split-variant-choice {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 0;
    height: auto;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background: #ffffff;
    background-image: none;
    color: #374151;
    box-shadow: none;
    transform: none;
    transition:
        border-color 0.16s ease,
        background 0.16s ease,
        box-shadow 0.16s ease;
}

.ep-product-detail-v2 .split-variant-choice--color {
    width: 112px;
}

.ep-product-detail-v2 .split-variant-choice--size {
    width: 70px;
}

.ep-product-detail-v2 .split-variant-choice span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    padding: 0.55rem 0.7rem;
    border-radius: 0;
    background: transparent;
    color: #374151;
    font-size: 0.9rem;
    font-weight: 850;
    line-height: 1;
    text-align: center;
    pointer-events: none;
}

.ep-product-detail-v2 .split-variant-choice input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.ep-product-detail-v2 .split-variant-choice:hover {
    border-color: #93c5fd;
    background: #f8fbff;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.045);
    transform: none;
}

.ep-product-detail-v2 .split-variant-choice:has(input:checked),
.ep-product-detail-v2 .split-variant-choice:has(input:checked):hover {
    border-color: #1769aa;
    background: #eff6ff;
    background-image: none;
    color: #111827;
    box-shadow: 0 0 0 1px #1769aa;
    transform: none;
}

.ep-product-detail-v2 .split-variant-choice:has(input:checked) span,
.ep-product-detail-v2 .split-variant-choice input:checked + span {
    background: transparent;
    color: #111827;
    font-weight: 950;
}

.ep-product-detail-v2 .split-variant-choice:has(input:checked)::before,
.ep-product-detail-v2 .split-variant-choice:has(input:checked)::after,
.ep-product-detail-v2 .split-variant-choice input:checked + span::before,
.ep-product-detail-v2 .split-variant-choice input:checked + span::after {
    content: none;
    display: none;
}

.ep-product-detail-v2 .split-variant-choice:has(input:focus-visible) {
    outline: 3px solid rgba(23, 105, 170, 0.22);
    outline-offset: 2px;
}

.ep-product-detail-v2 .split-variant-choice.is-disabled,
.ep-product-detail-v2 .split-variant-choice:has(input:disabled) {
    opacity: 0.42;
    cursor: not-allowed;
    border-color: #e2e8f0;
    background: #f1f5f9;
    box-shadow: none;
    transform: none;
}

.ep-product-detail-v2 .split-variant-choice:has(input:disabled) input {
    cursor: not-allowed;
}

.ep-product-detail-v2 .split-variant-selector__status {
    display: grid;
    gap: 0.2rem;
    margin-top: 0.9rem;
    padding: 0.75rem 0.85rem;
    border: 1px solid #dbe3ea;
    border-radius: 13px;
    background: #ffffff;
    box-shadow: none;
}

.ep-product-detail-v2 .split-variant-selector__status strong {
    display: block;
    margin-bottom: 0.1rem;
    color: #111827;
    font-size: 0.94rem;
    font-weight: 900;
}

.ep-product-detail-v2 .split-variant-selector__status small {
    color: #6b7280;
    font-size: 0.84rem;
}

.ep-product-detail-v2 .split-variant-selector__status [data-split-variant-summary] {
    color: #1769aa;
}

.ep-product-detail-v2 .public-variant-selector__grid--hidden {
    display: none;
}

.ep-product-detail-v2 .public-variant-selector__grid input {
    accent-color: #1769aa;
}

@media (max-width: 700px) {
    .ep-product-detail-v2 .public-variant-selector {
        max-width: none;
        padding: 0.9rem;
    }

    .ep-product-detail-v2 .public-variant-selector__heading {
        display: grid;
        gap: 0.65rem;
    }

    .ep-product-detail-v2 .public-variant-selector__heading [data-selected-variant-label] {
        margin-top: 0.1rem;
    }

    .ep-product-detail-v2 .split-variant-selector__choices {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ep-product-detail-v2 .split-variant-choice--color,
    .ep-product-detail-v2 .split-variant-choice--size {
        width: 100%;
    }

    .ep-product-detail-v2 .split-variant-choice span {
        min-height: 44px;
    }
}

@media (max-width: 430px) {
    .ep-product-detail-v2 .split-variant-selector__choices {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* SESSION 510 CANONICAL PRODUCT DETAIL VARIANT SELECTOR END */

/* SESSION 510 CANONICAL PRODUCT DETAIL ADD-ON SYSTEM START */

.ep-product-detail-v2 .public-product-addons {
    width: 100%;
    max-width: 500px;
    margin: 0;
    padding: 12px;
    border: 1px solid rgba(205, 218, 238, 0.95);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: none;
}

.ep-product-detail-v2 .product-option-preview,
.ep-product-detail-v2 .product-option-preview--direct {
    width: 100%;
    margin: 0;
    padding: 14px;
    border: 1px solid rgba(206, 217, 235, 0.95);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: none;
}

.ep-product-detail-v2 .product-option-preview__header {
    margin-bottom: 7px;
}

.ep-product-detail-v2 .product-option-preview__header h2 {
    margin: 0;
    color: #111827;
    font-size: 0.92rem;
    font-weight: 900;
    line-height: 1.15;
}

.ep-product-detail-v2 .product-option-preview__header p {
    display: none;
}

.ep-product-detail-v2 .product-option-preview__group {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.ep-product-detail-v2 .product-option-preview__group + .product-option-preview__group {
    margin-top: 14px;
}

.ep-product-detail-v2 .product-option-preview__group-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0 0 7px;
}

.ep-product-detail-v2 .product-option-preview__group-heading h3 {
    margin: 0;
    color: #111827;
    font-size: 0.84rem;
    font-weight: 900;
    line-height: 1.2;
}

.ep-product-detail-v2 .product-option-preview__group-heading span,
.ep-product-detail-v2 .product-option-preview__required {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 0 9px;
    border: 1px solid rgba(23, 105, 170, 0.22);
    border-radius: 999px;
    background: #eff6ff;
    color: #1769aa;
    font-size: 0.62rem;
    font-weight: 900;
    line-height: 1;
    box-shadow: none;
}

.ep-product-detail-v2 .product-option-preview__choices {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.ep-product-detail-v2 .product-option-preview__choice {
    position: relative;
    display: grid;
    grid-template-columns: 22px 40px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    width: 100%;
    height: 72px;
    min-height: 72px;
    padding: 10px 12px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(214, 223, 238, 0.9);
    border-radius: 14px;
    background: #ffffff;
    color: #374151;
    text-align: left;
    box-shadow: none;
    transform: none;
    transition:
        border-color 0.16s ease,
        background 0.16s ease,
        box-shadow 0.16s ease;
}

.ep-product-detail-v2 .product-option-preview__choice:hover {
    border-color: #93c5fd;
    background: #f8fbff;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.045);
    transform: none;
}

.ep-product-detail-v2 .product-option-preview__choice:has(.product-option-preview__input:checked),
.ep-product-detail-v2 .product-option-preview__choice:has(.product-option-preview__input:checked):hover {
    min-height: 72px;
    border: 1px solid #1769aa;
    background: #f8fbff;
    color: #111827;
    outline: none;
    box-shadow: 0 0 0 1px #1769aa;
    transform: none;
}

.ep-product-detail-v2 .product-option-preview__choice::before,
.ep-product-detail-v2 .product-option-preview__choice::after {
    content: none;
    display: none;
}

.ep-product-detail-v2 .product-option-preview__choice:has(.product-option-preview__image) {
    grid-template-columns: 22px 40px minmax(0, 1fr);
}

.ep-product-detail-v2 .product-option-preview__choice:not(:has(.product-option-preview__image)) {
    grid-template-columns: 22px minmax(0, 1fr);
}

.ep-product-detail-v2 .product-option-preview__input {
    position: static;
    grid-column: 1;
    align-self: center;
    justify-self: center;
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
    accent-color: #1769aa;
}

.ep-product-detail-v2 .product-option-preview__input:checked {
    border-color: #1769aa;
    background: radial-gradient(
        circle at center,
        #1769aa 0 4px,
        #ffffff 5px 100%
    );
    box-shadow: none;
}

.ep-product-detail-v2 .product-option-preview__image {
    grid-column: 2;
    justify-self: center;
    width: 36px;
    height: 36px;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(214, 223, 238, 0.95);
    border-radius: 10px;
    background: #ffffff;
}

.ep-product-detail-v2 .product-option-preview__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ep-product-detail-v2 .product-option-preview__choice-body {
    grid-column: 3;
    display: block;
    width: 100%;
    min-width: 0;
    max-width: none;
    margin: 0;
    padding: 0;
    color: #374151;
    text-align: left;
}

.ep-product-detail-v2 .product-option-preview__choice:not(:has(.product-option-preview__image))
.product-option-preview__choice-body {
    grid-column: 2;
}

.ep-product-detail-v2 .product-option-preview__choice-body strong {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0 0 2px;
    color: #111827;
    font-size: 0.82rem;
    font-weight: 900;
    line-height: 1.12;
    text-align: left;
    white-space: normal;
}

.ep-product-detail-v2 .product-option-preview__choice-body small {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    color: #6b7280;
    font-size: 0.68rem;
    line-height: 1.18;
    text-align: left;
    white-space: normal;
}

.ep-product-detail-v2 .product-option-preview__choice-body em {
    display: block;
    margin-top: 5px;
    color: #1769aa;
    font-size: 0.68rem;
    font-style: normal;
    font-weight: 900;
}

.ep-product-detail-v2 .product-option-preview__choice:has(.product-option-preview__input:checked)
.product-option-preview__choice-body strong {
    color: #111827;
}

.ep-product-detail-v2 .product-option-preview__choice:has(.product-option-preview__input:checked)
.product-option-preview__choice-body small {
    color: #6b7280;
}

.ep-product-detail-v2 .product-option-preview__cart-form {
    width: 100%;
    max-width: 500px;
    margin-top: 10px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.ep-product-detail-v2 .product-option-preview__cart-button {
    width: 100%;
    min-height: 44px;
    border: 1px solid #1769aa;
    border-radius: 999px;
    background: #1769aa;
    background-image: none;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: none;
}

.ep-product-detail-v2 .product-option-preview__cart-button:hover,
.ep-product-detail-v2 .product-option-preview__cart-button:focus,
.ep-product-detail-v2 .product-option-preview__cart-button:focus-visible {
    border-color: #0f5f9f;
    background: #0f5f9f;
    color: #ffffff;
    box-shadow: none;
}

.ep-product-detail-v2 .product-option-preview__cart-button:active {
    border-color: #0f4f86;
    background: #0f4f86;
    color: #ffffff;
}

.ep-product-detail-v2 .product-option-preview__cart-button::after {
    content: " →";
}

@media (max-width: 700px) {
    .ep-product-detail-v2 .public-product-addons {
        max-width: none;
        padding: 10px;
    }

    .ep-product-detail-v2 .product-option-preview,
    .ep-product-detail-v2 .product-option-preview--direct {
        padding: 12px;
    }

    .ep-product-detail-v2 .product-option-preview__choice,
    .ep-product-detail-v2 .product-option-preview__choice:has(.product-option-preview__image),
    .ep-product-detail-v2 .product-option-preview__choice:not(:has(.product-option-preview__image)) {
        height: auto;
        min-height: 70px;
        padding: 10px;
    }

    .ep-product-detail-v2 .product-option-preview__choice-body strong {
        font-size: 0.8rem;
    }

    .ep-product-detail-v2 .product-option-preview__choice-body small {
        font-size: 0.67rem;
    }
}

/* SESSION 510 CANONICAL PRODUCT DETAIL ADD-ON SYSTEM END */

/* SESSION 510 CANONICAL PRODUCT DETAIL RIGHT PANEL START */

.ep-product-detail-v2__info,
.ep-product-detail-v2 .product-detail-panel {
    position: sticky;
    top: 112px;
    width: auto;
    min-width: 0;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.ep-product-detail-v2__info::before {
    content: "EasyPro Apparel";
    display: inline-flex;
    margin-bottom: 8px;
    color: #1769aa;
    font-size: 0.68rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.ep-product-detail-v2 .breadcrumb {
    margin: 0 0 10px;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 800;
}

.ep-product-detail-v2 .breadcrumb a {
    color: #64748b;
    text-decoration: none;
}

.ep-product-detail-v2 h1,
.ep-product-detail-v2 .product-detail-panel h1 {
    max-width: 560px;
    margin: 0 0 6px;
    color: #0f172a;
    font-size: 2.55rem;
    line-height: 1.02;
    letter-spacing: -0.055em;
}

.ep-product-detail-v2__price {
    margin: 0 0 10px;
    color: #111827;
    font-size: 1.28rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

.ep-product-detail-v2 .product-detail-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 12px;
}

.ep-product-detail-v2 .product-detail-meta-row span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border: 1px solid rgba(213, 223, 241, 0.95);
    border-radius: 999px;
    background: #ffffff;
    color: #42516a;
    font-size: 0.76rem;
    font-weight: 850;
}

.ep-product-detail-v2 .product-description {
    max-width: 540px;
    margin: 0 0 12px;
    color: #53647d;
    font-size: 0.9rem;
    line-height: 1.42;
}

.ep-product-detail-v2__benefit-strip {
    display: flex;
    gap: 0;
    max-width: 520px;
    padding: 8px 12px 0;
    background: transparent;
}

.ep-product-detail-v2__benefit-strip div {
    min-width: 0;
    padding: 0 7px;
}

.ep-product-detail-v2__benefit-strip div:last-child {
    border-right: 0;
}

.ep-product-detail-v2__benefit-strip strong {
    display: block;
    color: #0f172a;
    font-size: 0.62rem;
    font-weight: 900;
    line-height: 1.15;
}

.ep-product-detail-v2__benefit-strip span {
    display: block;
    margin-top: 2px;
    color: #64748b;
    font-size: 0.56rem;
    line-height: 1.15;
}

@media (max-width: 1180px) {
    .ep-product-detail-v2__info,
    .ep-product-detail-v2 .product-detail-panel {
        position: static;
        top: auto;
        width: 100%;
        max-width: none;
        padding: 0;
    }

    .ep-product-detail-v2 h1,
    .ep-product-detail-v2 .product-detail-panel h1 {
        max-width: 100%;
        font-size: clamp(2rem, 4.4vw, 2.55rem);
        line-height: 1.04;
    }

    .ep-product-detail-v2 .product-description {
        max-width: 680px;
        font-size: 0.96rem;
        line-height: 1.58;
        margin-bottom: 18px;
    }

    .ep-product-detail-v2__benefit-strip {
        max-width: 680px;
    }
}

@media (min-width: 761px) and (max-width: 1180px) {
    .ep-product-detail-v2__benefit-strip {
        display: none;
    }
}

@media (max-width: 760px) {
    .ep-product-detail-v2 h1,
    .ep-product-detail-v2 .product-detail-panel h1 {
        max-width: 100%;
        font-size: clamp(1.75rem, 8vw, 2.25rem);
        line-height: 1.05;
        letter-spacing: -0.045em;
    }

    .ep-product-detail-v2 .product-description {
        max-width: 100%;
        margin-bottom: 18px;
        font-size: 0.86rem;
        line-height: 1.58;
    }

    .ep-product-detail-v2__benefit-strip {
        display: grid;
        grid-template-columns: 1fr;
        gap: 6px;
        padding-top: 8px;
    }

    .ep-product-detail-v2__benefit-strip div {
        padding: 6px 0;
    }

    .ep-product-detail-v2__benefit-strip div:last-child {
        border-bottom: 0;
    }
}


/* SESSION 512 CANONICAL FALLBACK ADD TO CART START */

.ep-product-detail-v2 .product-purchase-slot {
    width: 100%;
    max-width: 500px;
    margin: 0;
}

.ep-product-detail-v2 .ep-add-to-cart-panel {
    width: 100%;
    margin: 0;
    padding: 1.1rem;
    border: 1px solid #dbe3ea;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: none;
}

.ep-product-detail-v2 .ep-add-to-cart-panel h2 {
    margin: 0 0 1rem;
    color: #111827;
    font-size: 1.05rem;
    font-weight: 900;
    line-height: 1.2;
}

.ep-product-detail-v2 .ep-add-to-cart-panel form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 110px;
    gap: 0.5rem 0.85rem;
    width: 100%;
    max-width: none;
    margin: 0;
}

.ep-product-detail-v2 .ep-add-to-cart-panel label {
    display: block;
    margin: 0;
    color: #374151;
    font-size: 0.84rem;
    font-weight: 800;
    line-height: 1.2;
}

.ep-product-detail-v2 .ep-add-to-cart-panel label[for="ep-cart-variant"] {
    grid-column: 1;
}

.ep-product-detail-v2 .ep-add-to-cart-panel label[for="ep-cart-quantity"] {
    grid-column: 2;
}

.ep-product-detail-v2 .ep-add-to-cart-panel select {
    grid-column: 1;
}

.ep-product-detail-v2 .ep-add-to-cart-panel input[type="number"] {
    grid-column: 2;
}

.ep-product-detail-v2 .ep-add-to-cart-panel select,
.ep-product-detail-v2 .ep-add-to-cart-panel input[type="number"] {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    margin: 0;
    padding: 0.7rem 0.8rem;
    border: 1px solid #cbd5e1;
    border-radius: 11px;
    background: #ffffff;
    color: #111827;
    font: inherit;
    box-shadow: none;
}

.ep-product-detail-v2 .ep-add-to-cart-panel select:focus,
.ep-product-detail-v2 .ep-add-to-cart-panel input[type="number"]:focus {
    border-color: #1769aa;
    outline: 3px solid rgba(23, 105, 170, 0.14);
    outline-offset: 1px;
}

.ep-product-detail-v2 .ep-add-to-cart-panel button {
    grid-column: 1 / -1;
    min-height: 46px;
    margin: 0.35rem 0 0;
    padding: 0.75rem 1rem;
    border: 0;
    border-radius: 12px;
    background: #1769aa;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 900;
    line-height: 1.2;
    cursor: pointer;
    box-shadow: none;
}

.ep-product-detail-v2 .ep-add-to-cart-panel button:hover,
.ep-product-detail-v2 .ep-add-to-cart-panel button:focus-visible {
    background: #12598f;
    color: #ffffff;
}

.ep-product-detail-v2 .ep-add-to-cart-panel .ep-cart-message {
    margin: 0.75rem 0 0;
    color: #334155;
    font-size: 0.88rem;
}


.ep-product-detail-v2 .ep-add-to-cart-panel--modern form {
    grid-template-columns: 110px minmax(0, 1fr);
    align-items: end;
}

.ep-product-detail-v2 .ep-add-to-cart-panel--modern label[for="ep-cart-quantity"],
.ep-product-detail-v2 .ep-add-to-cart-panel--modern input[type="number"] {
    grid-column: 1;
}

.ep-product-detail-v2 .ep-add-to-cart-panel--modern button {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: end;
    margin: 0;
}

@media (max-width: 520px) {
    .ep-product-detail-v2 .ep-add-to-cart-panel form {
        grid-template-columns: 1fr;
    }

    .ep-product-detail-v2 .ep-add-to-cart-panel label,
    .ep-product-detail-v2 .ep-add-to-cart-panel select,
    .ep-product-detail-v2 .ep-add-to-cart-panel input[type="number"],
    .ep-product-detail-v2 .ep-add-to-cart-panel button {
        grid-column: 1;
    }

    .ep-product-detail-v2 .ep-add-to-cart-panel--modern button {
        grid-row: auto;
    }
}

/* SESSION 512 CANONICAL FALLBACK ADD TO CART END */

/* SESSION 510 CANONICAL PRODUCT DETAIL RIGHT PANEL END */


/* SESSION 530 OPTIONAL PRODUCT IMAGE PLACEHOLDER START */

.ep-product-detail-v2__main-image--placeholder {
    min-height: clamp(300px, 42vw, 520px);
}

.ep-product-detail-v2__image-placeholder {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 0.65rem;
    width: 100%;
    min-height: clamp(268px, 38vw, 480px);
    padding: 2rem;
    color: #475569;
    text-align: center;
    background:
        radial-gradient(circle at center, rgba(219, 234, 254, 0.7), transparent 58%),
        #f8fafc;
}

.ep-product-detail-v2__image-placeholder-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    background: #ffffff;
    color: #1769aa;
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
}

.ep-product-detail-v2__image-placeholder strong {
    color: #1e293b;
    font-size: 1.08rem;
    line-height: 1.2;
}

.ep-product-detail-v2__image-placeholder small {
    max-width: 290px;
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.5;
}

@media (max-width: 620px) {
    .ep-product-detail-v2__image-placeholder {
        min-height: 248px;
        padding: 1.5rem;
    }

    .ep-product-detail-v2__image-placeholder-mark {
        width: 64px;
        height: 64px;
        font-size: 1.15rem;
    }
}

/* SESSION 530 OPTIONAL PRODUCT IMAGE PLACEHOLDER END */

/* SESSION 613 TABLET TO DESKTOP BREAKPOINT START */

/*
 * The tablet layout intentionally remains stacked through 1100px, so the complete product
 * layout must also become a single document-flow column at that breakpoint.
 * This prevents product text and controls from occupying the image row.
 */
@media (min-width: 761px) and (max-width: 1100px) {
    .ep-product-detail-v2.product-detail-storefront,
    .ep-product-detail-v2.product-detail-shop,
    .product-detail.ep-product-detail-v2 {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-rows: auto auto !important;
        align-items: start !important;
        gap: 26px !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
    }

    .ep-product-detail-v2
    > .ep-product-detail-v2__media,
    .ep-product-detail-v2
    > .product-detail-image {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        z-index: 1 !important;
        grid-column: 1 !important;
        grid-row: 1 !important;
        align-self: start !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        transform: none !important;
    }

    .ep-product-detail-v2
    > .ep-product-detail-v2__info,
    .ep-product-detail-v2
    > .product-detail-panel {
        position: static !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        z-index: 2 !important;
        grid-column: 1 !important;
        grid-row: 2 !important;
        align-self: start !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: none !important;
        overflow: visible !important;
    }

    .ep-product-detail-v2__gallery,
    .ep-product-detail-v2 .product-gallery {
        position: relative !important;
        display: grid !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
    }

    .ep-product-detail-v2__main-image,
    .ep-product-detail-v2 .product-gallery-main {
        position: relative !important;
        width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
    }

    .ep-product-detail-v2__main-image img,
    .ep-product-detail-v2
    .product-gallery-main img {
        display: block !important;
        width: 100% !important;
        max-width: 640px !important;
        height: auto !important;
        max-height: 560px !important;
        margin: 0 auto !important;
        object-fit: contain !important;
    }

    .ep-product-detail-v2__thumbs,
    .ep-product-detail-v2
    .product-gallery-thumbs {
        position: relative !important;
        z-index: 3 !important;
        width: 100% !important;
        min-width: 0 !important;
        margin-top: 14px !important;
    }

    .ep-product-detail-v2__info
    > *,
    .ep-product-detail-v2
    .product-detail-panel
    > * {
        position: relative !important;
        max-width: none !important;
    }

    .ep-product-detail-v2
    .product-description,
    .ep-product-detail-v2
    .public-variant-selector,
    .ep-product-detail-v2
    .public-product-addons,
    .ep-product-detail-v2
    .product-option-preview__cart-form,
    .ep-product-detail-v2
    .product-purchase-slot {
        width: 100% !important;
        max-width: none !important;
    }

    /*
     * The upper tablet range can receive desktop-style
     * vertical gallery controls. Keep them horizontal while the page remains
     * in the stacked tablet layout.
     */
    .ep-pdp-v2-thumb-scroll--prev.is-vertical {
        top: auto !important;
        right: auto !important;
        bottom: 24px !important;
        left: 4px !important;
        transform: none !important;
    }

    .ep-pdp-v2-thumb-scroll--next.is-vertical {
        top: auto !important;
        right: 4px !important;
        bottom: 24px !important;
        left: auto !important;
        transform: none !important;
    }

    .ep-pdp-v2-thumb-scroll--prev.is-vertical::before {
        content: "‹" !important;
        font-size: 1.55rem !important;
    }

    .ep-pdp-v2-thumb-scroll--next.is-vertical::before {
        content: "›" !important;
        font-size: 1.55rem !important;
    }

}

/* SESSION 613 TABLET TO DESKTOP BREAKPOINT END */

/* SESSION 616 LIVE ITEM TOTAL START */
.ep-product-detail-v2-page .ep-product-detail-v2__item-total {
    grid-column: 1 / -1;
    display: flex;
    flex: 1 1 100%;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    min-width: 0;
    min-height: 50px;
    margin: 0 0 10px;
    padding: 11px 14px;
    border: 1px solid rgba(23, 105, 170, 0.24);
    border-radius: 14px;
    background: #f7fbff;
    box-shadow: none;
}

.ep-product-detail-v2-page .ep-product-detail-v2__item-total span {
    color: #374151;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.2;
}

.ep-product-detail-v2-page .ep-product-detail-v2__item-total strong {
    color: #1769aa;
    font-size: 1.22rem;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

.ep-product-detail-v2-page
.product-option-preview__cart-form
.ep-product-detail-v2__item-total {
    max-width: none;
}

@media (min-width: 761px) and (max-width: 1100px) {
    .ep-product-detail-v2-page .ep-product-detail-v2__item-total {
        min-height: 48px;
        padding: 10px 13px;
    }
}

@media (max-width: 760px) {
    .ep-product-detail-v2-page .ep-product-detail-v2__item-total {
        gap: 12px;
        min-height: 46px;
        margin-bottom: 9px;
        padding: 10px 12px;
        border-radius: 12px;
    }

    .ep-product-detail-v2-page .ep-product-detail-v2__item-total span {
        font-size: 0.75rem;
    }

    .ep-product-detail-v2-page .ep-product-detail-v2__item-total strong {
        font-size: 1.12rem;
    }
}
/* SESSION 616 LIVE ITEM TOTAL END */
