/* EasyShed Customiser redesign
   Loads after /static/css/2023/product.css. Keeps all customiser IDs, form names, Ajax targets and checkout hooks intact. */

:root {
    --es-green: #113c2a;
    --es-green-2: #1f5b3d;
    --es-cream: #f6f2ea;
    --es-cream-2: #fbfaf7;
    --es-ink: #13231b;
    --es-muted: #5d6d63;
    --es-line: #e4ded2;
    --es-timber: #b97537;
    --es-shadow: 0 18px 48px rgba(19, 35, 27, .08);
    --es-shadow-strong: 0 24px 64px rgba(19, 35, 27, .14);
}

body {
    background: var(--es-cream-2);
}

.es-customiser-hero,
.es-customiser-page,
.es-customiser-trust {
    color: var(--es-ink);
    font-family: Inter, Arial, sans-serif;
}

.es-customiser-hero a,
.es-customiser-page a,
.es-customiser-trust a {
    text-decoration: none;
}

.es-customiser-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(72px, 8vw, 118px) 0 56px;
    background:
        linear-gradient(90deg, rgba(246, 242, 234, .98) 0%, rgba(246, 242, 234, .93) 48%, rgba(246, 242, 234, .58) 72%, rgba(246, 242, 234, .22) 100%),
        url('/static/images/polished-shed-hero3.jpg');
    background-size: cover;
    background-position: center right;
    border-bottom: 1px solid var(--es-line);
}

.es-customiser-hero .container {
    position: relative;
    z-index: 2;
}

.es-customiser-hero-inner {
    max-width: 780px;
}

.es-customiser-eyebrow,
.es-customiser-section-kicker {
    display: block;
    margin: 0 0 14px;
    color: var(--es-green-2);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .09em;
    line-height: 1.2;
    text-transform: uppercase;
}

.es-customiser-title {
    max-width: 760px;
    margin: 0 0 18px;
    color: var(--es-ink);
    font-size: clamp(42px, 5.7vw, 82px);
    font-weight: 900;
    letter-spacing: -.06em;
    line-height: .98;
}

.es-customiser-copy {
    max-width: 690px;
    margin: 0;
    color: #25362d;
    font-size: clamp(17px, 1.55vw, 21px);
    line-height: 1.55;
}

.es-customiser-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 30px 0 0;
}

.es-customiser-current {
    max-width: 660px;
    margin: 20px 0 0;
    color: #25362d;
    font-size: 15px;
    line-height: 1.5;
}

.es-customiser-btn,
.es-customiser-page .btn,
.es-customiser-page button,
.es-customiser-page input[type='button'],
.es-customiser-page input[type='submit'],
.es-customiser-page .checkbox-select {
    min-height: 44px;
    border: 2px solid var(--es-green) !important;
    border-radius: 2px !important;
    background: var(--es-green) !important;
    background-image: none !important;
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 20px !important;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .055em;
    line-height: 1.1;
    text-align: center;
    text-decoration: none !important;
    text-transform: uppercase;
    box-shadow: none !important;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.es-customiser-btn:hover,
.es-customiser-page .btn:hover,
.es-customiser-page button:hover,
.es-customiser-page input[type='button']:hover,
.es-customiser-page input[type='submit']:hover,
.es-customiser-page .checkbox-select:hover {
    background: var(--es-green-2) !important;
    border-color: var(--es-green-2) !important;
    transform: translateY(-1px);
}

.es-customiser-btn-secondary {
    background: rgba(255,255,255,.86) !important;
    color: var(--es-green) !important;
}

.es-customiser-btn-secondary:hover {
    background: #fff !important;
    color: var(--es-green) !important;
}

.es-customiser-trust {
    background: #fff;
    border-top: 1px solid var(--es-line);
    border-bottom: 1px solid var(--es-line);
}

.es-customiser-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.es-customiser-trust-item {
    min-height: 104px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 22px 18px;
    border-right: 1px solid var(--es-line);
}

.es-customiser-trust-item:last-child {
    border-right: 0;
}

.es-customiser-trust-icon {
    width: 44px;
    height: 44px;
    border: 2px solid var(--es-green);
    border-radius: 999px;
    color: var(--es-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    font-size: 18px;
}

.es-customiser-trust-title {
    margin-bottom: 3px;
    color: var(--es-ink);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .045em;
    line-height: 1.2;
    text-transform: uppercase;
}

.es-customiser-trust-copy {
    color: var(--es-muted);
    font-size: 14px;
    line-height: 1.35;
}

.es-customiser-page {
    position: relative;
    padding: 58px 0 90px;
    background:
        radial-gradient(circle at 86% 10%, rgba(31, 91, 61, .08), transparent 30%),
        linear-gradient(180deg, var(--es-cream-2) 0%, #fff 42%, var(--es-cream-2) 100%);
}

.es-customiser-page h1,
.es-customiser-page h2,
.es-customiser-page h3,
.es-customiser-page h4,
.es-customiser-page h5,
.es-customiser-page h6 {
    color: var(--es-ink);
    font-family: Inter, Arial, sans-serif;
    font-weight: 900;
    letter-spacing: -.03em;
}

.es-customiser-intro {
    max-width: 820px;
    margin: 0 0 32px;
}

.es-customiser-intro h2 {
    margin: 0 0 12px;
    color: var(--es-ink);
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 900;
    letter-spacing: -.05em;
    line-height: 1.03;
}

.es-customiser-intro p:last-child {
    max-width: 640px;
    margin: 0;
    color: var(--es-muted);
    font-size: 17px;
    line-height: 1.55;
}

#productDetailContainer {
    margin-top: 26px;
}

#productDetailBag.es-customiser-workspace {
    position: relative !important;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.es-customiser-workspace:before,
.es-customiser-workspace:after {
    content: "";
    display: table;
}

.es-customiser-workspace:after {
    clear: both;
}

.es-customiser-options {
    float: left;
    padding-left: 0;
    padding-right: 28px;
}

.es-customiser-summary-column {
    float: right;
    padding-left: 14px;
    padding-right: 0;
}

.es-customiser-summary-sticky {
    position: sticky;
    top: 116px;
}

.es-config-panel.panel,
.es-customiser-page .panel.panel-primary {
    overflow: hidden;
    margin: 0 0 24px;
    border: 1px solid var(--es-line) !important;
    border-radius: 0 !important;
    background: #fff;
    box-shadow: var(--es-shadow);
}

.es-config-panel-heading,
.es-customiser-page .panel-primary > .panel-heading {
    min-height: 68px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 24px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--es-line) !important;
    background: #fff !important;
    color: var(--es-ink) !important;
    cursor: pointer;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -.025em;
    text-transform: none;
}

.es-config-panel-heading .glyphicon {
    color: var(--es-green);
    font-size: 13px;
}

.es-config-step {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    background: var(--es-green);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .05em;
}

.es-config-panel-body,
.es-customiser-page .panel-body {
    padding: 24px !important;
    background: #fff;
}

.es-panel-help {
    margin: 0 0 18px;
    color: var(--es-muted);
    font-size: 15px;
    line-height: 1.5;
}

.es-panel-actions {
    margin-top: 18px;
    text-align: center;
}

.es-outline-action,
.es-customiser-page .toggleBtn {
    width: auto !important;
    background: #fff !important;
    color: var(--es-green) !important;
}

.es-outline-action:hover,
.es-customiser-page .toggleBtn:hover {
    background: var(--es-cream) !important;
    color: var(--es-green) !important;
}

.es-customiser-page select,
.es-customiser-page input[type='text'],
.es-customiser-page input[type='number'] {
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 0 14px;
    border: 1px solid var(--es-line);
    border-radius: 2px;
    background: #fff;
    color: var(--es-ink);
    box-shadow: none;
    font-size: 15px;
    text-align: left;
}

.es-customiser-page select:focus,
.es-customiser-page input[type='text']:focus,
.es-customiser-page input[type='number']:focus {
    outline: none;
    border-color: var(--es-green);
    box-shadow: 0 0 0 3px rgba(17, 60, 42, .12);
}

.es-size-card {
    min-height: 134px;
    margin: 0;
    padding: 20px;
    border: 1px solid var(--es-line);
    background: var(--es-cream-2);
}

.es-size-card legend {
    width: auto;
    margin: 0 0 12px;
    border: 0;
    color: var(--es-ink);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .065em;
    text-transform: uppercase;
}

.es-size-card .btn,
.es-size-card button {
    width: 100%;
}

.es-option-grid,
.es-customiser-page ul.checklist,
.es-customiser-page ul.sizes {
    display: grid;
    gap: 18px;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.es-layout-grid,
.es-framework-grid,
.es-size-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.es-wood-grid {
    grid-template-columns: 1fr;
}

.es-customiser-page ul.checklist > li,
.es-customiser-page ul.sizes > li {
    position: relative;
    height: auto !important;
    min-height: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0 !important;
    padding: 18px !important;
    border: 1px solid var(--es-line) !important;
    border-radius: 0 !important;
    background: #fff;
    color: var(--es-ink);
    box-shadow: 0 10px 28px rgba(19, 35, 27, .06);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.es-customiser-page ul.checklist > li:hover,
.es-customiser-page ul.sizes > li:hover {
    transform: translateY(-3px);
    border-color: rgba(17,60,42,.28) !important;
    box-shadow: 0 20px 50px rgba(19, 35, 27, .12);
}

.es-customiser-page ul.checklist > li.selected,
.es-customiser-page ul.sizes input.selected,
.es-customiser-page .selected {
    border-color: var(--es-green) !important;
}

.es-customiser-page ul.checklist > li.selected:before {
    content: "Selected";
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 9px;
    border-radius: 999px;
    background: var(--es-green);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.es-customiser-page ul.checklist label,
.es-option-card-head label {
    margin: 0;
    color: var(--es-ink);
    font-size: 17px;
    font-weight: 900;
    letter-spacing: -.015em;
    line-height: 1.2;
}

.es-option-card-head {
    padding-right: 86px;
}

.es-option-card-head label b,
.es-customiser-page ul.checklist label b {
    font-weight: 900;
}

.es-option-thumb,
.es-customiser-page .selectThumb {
    width: 100%;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 12px;
    border: 1px solid var(--es-line);
    background: var(--es-cream);
}

.es-option-thumb img,
.es-customiser-page .selectThumb img,
.es-customiser-page img.fullSize {
    max-width: 100%;
    height: auto;
    display: block;
}

.es-wood-images {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.es-wood-images .center {
    min-height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 1px solid var(--es-line);
    background: var(--es-cream);
}

.es-option-copy {
    color: var(--es-muted);
    font-size: 14px;
    line-height: 1.55;
}

.es-option-copy b,
.es-framework-info b {
    color: var(--es-ink);
}

.es-card-select {
    width: 100%;
    margin-top: auto;
}

.es-framework-info {
    width: auto !important;
    float: none !important;
    margin-top: 18px !important;
    padding: 20px;
    border-left: 5px solid var(--es-green);
    background: var(--es-cream-2);
    color: var(--es-muted);
    font-size: 15px;
    line-height: 1.55;
    text-align: left !important;
}

.es-extras-note {
    margin: 0 0 18px;
    padding: 18px 20px;
    border-left: 5px solid var(--es-green);
    background: var(--es-cream-2);
    color: var(--es-muted);
    line-height: 1.45;
}

.es-extras-note strong {
    display: block;
    margin-bottom: 3px;
    color: var(--es-ink);
    font-weight: 900;
}

.es-parts-list,
.es-parts-list table,
.es-parts-list .table {
    width: 100%;
}

.es-parts-list table,
.es-parts-list .table {
    border-color: var(--es-line);
}

.es-parts-list td,
.es-parts-list th {
    padding: 12px !important;
    border-color: var(--es-line) !important;
}

.es-parts-list img {
    max-width: 100%;
    height: auto;
}

.es-size-list {
    margin-top: 14px !important;
}

.es-size-list > li {
    padding: 0 !important;
    box-shadow: none !important;
}

.es-size-list-item input {
    width: 100%;
    min-height: 42px;
}

/* Summary */
#productDetailPanel.es-customiser-summary-column {
    position: static !important;
    top: auto !important;
}

.es-shed-summary {
    overflow: hidden;
    border: 1px solid var(--es-line);
    background: #fff;
    box-shadow: var(--es-shadow-strong);
}

.es-summary-header {
    padding: 24px;
    border-bottom: 1px solid var(--es-line);
    background: var(--es-green);
    color: #fff;
}

.es-summary-kicker {
    display: block;
    margin-bottom: 7px;
    color: rgba(255,255,255,.78);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.es-summary-price {
    margin: 0;
    color: #fff !important;
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 900;
    letter-spacing: -.045em;
    line-height: 1;
}

.es-summary-includes {
    margin: 10px 0 0;
    color: rgba(255,255,255,.84);
    font-size: 14px;
    line-height: 1.4;
}

.es-summary-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--es-line);
    background: var(--es-cream-2);
}

.es-summary-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid var(--es-line);
    border-radius: 999px;
    background: #fff;
    color: var(--es-muted);
    font-size: 12px;
    font-weight: 800;
}

.es-summary-meta b {
    color: var(--es-ink);
}

.es-summary-content {
    padding: 20px;
}

.es-shed-image-panel,
#imagePanel.es-shed-image-panel {
    width: 100%;
    min-height: 300px;
    height: auto;
    margin: 0 auto 14px !important;
    border: 1px solid var(--es-line);
    background-color: var(--es-cream);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    position: relative;
}

.es-shed-image-panel:before {
    content: "";
    display: block;
    padding-top: 70%;
}

.es-shed-image-empty {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    border: 1px solid var(--es-line);
    background: var(--es-cream);
    color: var(--es-muted);
    font-size: 16px;
    text-align: center;
}

.es-summary-image-note,
.es-customiser-page .alert-info {
    margin: 0 0 18px;
    padding: 12px 14px;
    border: 1px solid rgba(17,60,42,.14);
    background: var(--es-cream-2) !important;
    color: var(--es-muted) !important;
    font-size: 13px !important;
    line-height: 1.45;
}

.es-summary-receipt,
.es-detail-parts {
    color: var(--es-muted);
    font-size: 13px;
    line-height: 1.7;
}

.es-detail-parts b,
.es-summary-receipt b {
    color: var(--es-ink);
}

.es-summary-buy-actions {
    padding: 18px;
    border: 1px solid var(--es-line);
    border-top: 0;
    background: #fff;
}

.es-buy-button,
.es-summary-buy-actions .btn,
.es-summary-buy-actions button {
    width: 100% !important;
    min-height: 56px !important;
    font-size: 14px !important;
}

.es-payment-strip {
    margin: 15px 0 0;
    padding: 16px;
    border: 1px solid var(--es-line);
    background: #fff;
}

.es-payment-strip img {
    max-width: 230px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
}

/* Safety overrides for legacy Bootstrap/product styles */
.es-customiser-page .row {
    margin-left: -12px;
    margin-right: -12px;
}

.es-customiser-page [class*="col-"] {
    padding-left: 12px;
    padding-right: 12px;
}

.es-customiser-page .hide {
    display: none !important;
}

.es-customiser-page .clear {
    clear: both;
}

#backgroundPopup {
    z-index: 998;
}

#loading.pageLoader {
    z-index: 1200;
}

@media (max-width: 1199.98px) {
    .es-customiser-options,
    .es-customiser-summary-column {
        width: 100%;
        float: none;
        padding-left: 0;
        padding-right: 0;
    }

    .es-customiser-summary-column {
        margin-top: 28px;
    }

    .es-customiser-summary-sticky {
        position: static;
    }

    .es-layout-grid,
    .es-framework-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .es-customiser-hero {
        padding: 64px 0 44px;
    }

    .es-customiser-trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .es-customiser-trust-item:nth-child(2) {
        border-right: 0;
    }

    .es-customiser-trust-item:nth-child(-n+2) {
        border-bottom: 1px solid var(--es-line);
    }

    .es-customiser-page {
        padding-top: 40px;
    }
}

@media (max-width: 767.98px) {
    .es-customiser-hero {
        background:
            linear-gradient(180deg, rgba(246, 242, 234, .98) 0%, rgba(246, 242, 234, .9) 100%),
            url('/static/images/polished-shed-hero3.jpg');
        background-size: cover;
        background-position: center;
    }

    .es-customiser-trust-grid,
    .es-layout-grid,
    .es-framework-grid,
    .es-size-list {
        grid-template-columns: 1fr;
    }

    .es-customiser-trust-item {
        border-right: 0;
        border-bottom: 1px solid var(--es-line);
    }

    .es-customiser-trust-item:last-child {
        border-bottom: 0;
    }

    .es-config-panel-heading,
    .es-customiser-page .panel-primary > .panel-heading {
        padding: 16px 18px !important;
        font-size: 18px;
    }

    .es-config-panel-body,
    .es-customiser-page .panel-body {
        padding: 18px !important;
    }

    .es-size-col + .es-size-col {
        margin-top: 14px;
    }

    .es-wood-images {
        grid-template-columns: 1fr;
    }

    .es-summary-header,
    .es-summary-content {
        padding: 18px;
    }
}

@media (max-width: 575.98px) {
    .es-customiser-actions {
        display: block;
    }

    .es-customiser-actions .es-customiser-btn {
        width: 100%;
        margin-bottom: 10px;
    }

    .es-customiser-title {
        font-size: clamp(40px, 13vw, 58px);
    }

    .es-customiser-page {
        padding-bottom: 60px;
    }
}


/* Customiser missed partials: Simple Parts, Windows, Doors and Overhangs */
.es-parts-editor {
    display: block;
}

.es-parts-section-intro {
    margin: 0 0 22px;
    padding: 22px 24px;
    border: 1px solid var(--es-line);
    background: var(--es-cream-2);
}

.es-parts-section-intro-spaced {
    margin-top: 28px;
}

.es-parts-section-intro h3,
.es-bulk-actions-head h3 {
    margin: 0 0 8px;
    color: var(--es-ink);
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 900;
    letter-spacing: -.04em;
    line-height: 1.05;
}

.es-parts-section-intro p,
.es-bulk-actions-head p {
    max-width: 720px;
    margin: 0;
    color: var(--es-muted);
    font-size: 15px;
    line-height: 1.5;
}

.es-part-card {
    overflow: hidden;
    margin: 0 0 22px !important;
    border: 1px solid var(--es-line);
    background: #fff;
    box-shadow: 0 14px 36px rgba(19, 35, 27, .07);
}

.es-part-card-side {
    min-height: 100%;
    padding: 24px !important;
    border-right: 1px solid var(--es-line);
    background: linear-gradient(180deg, #fff 0%, var(--es-cream-2) 100%);
}

.es-part-card-side h4 {
    margin: 4px 0 14px;
    color: var(--es-ink);
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -.035em;
    line-height: 1.1;
}

.es-part-card-kicker {
    display: block;
    color: var(--es-green-2);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.es-part-card-thumb,
.es-part-option-media,
.es-part-choice-thumb,
.es-part-option-thumb-strip {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 126px;
    margin: 0 0 14px;
    padding: 12px;
    border: 1px solid var(--es-line);
    background: var(--es-cream);
}

.es-part-card-thumb img,
.es-part-option-media img,
.es-part-choice-thumb img,
.es-part-option-thumb-strip img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
}

.es-part-price {
    margin: 0 0 14px;
    color: var(--es-ink);
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -.025em;
}

.es-part-actions {
    display: grid;
    gap: 10px;
}

.es-part-card-main {
    padding: 24px !important;
}

.es-part-summary {
    margin-bottom: 0 !important;
    padding: 18px 20px;
    border-left: 5px solid var(--es-green);
    background: var(--es-cream-2);
    color: var(--es-muted);
    line-height: 1.55;
}

.es-part-summary strong {
    display: block;
    margin-bottom: 4px;
    color: var(--es-ink);
    font-weight: 900;
}

.es-part-summary p {
    margin: 0 0 6px;
}

.es-part-options {
    margin-top: 18px;
}

.es-sub-option-group {
    margin: 0 0 18px;
    padding: 18px;
    border: 1px solid var(--es-line);
    background: #fff;
}

.es-sub-option-group:last-child {
    margin-bottom: 0;
}

.es-sub-option-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin: 0 0 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--es-line);
}

.es-sub-option-title span {
    color: var(--es-green-2);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .065em;
    text-transform: uppercase;
}

.es-sub-option-title strong {
    color: var(--es-ink);
    font-size: 15px;
    font-weight: 900;
    text-align: right;
}

.es-sub-option-help {
    margin: 0 0 14px;
    color: var(--es-muted);
    font-size: 14px;
    line-height: 1.45;
}

.es-part-option-row,
.es-part-choice-row {
    position: relative;
    margin: 0 0 12px !important;
    padding: 14px;
    border: 1px solid var(--es-line);
    background: var(--es-cream-2);
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.es-part-option-row:hover,
.es-part-choice-row:hover {
    transform: translateY(-2px);
    border-color: rgba(17, 60, 42, .28);
    box-shadow: 0 14px 34px rgba(19, 35, 27, .09);
}

.es-part-option-row.chosen,
.es-part-option-row.selected,
.es-part-choice-row.chosen,
.es-customiser-page .partRow.chosen {
    border-color: var(--es-green) !important;
    background: #fff;
}

.es-part-option-row.chosen:after,
.es-customiser-page .partRow.chosen:after {
    content: "Selected";
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 0 9px;
    border-radius: 999px;
    background: var(--es-green);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.es-part-option-row.disabled,
.es-customiser-page .partRow.disabled {
    opacity: .45;
    cursor: not-allowed;
}

.es-part-option-row-compact {
    cursor: default;
}

.es-part-option-media {
    min-height: 112px;
    margin-bottom: 0;
}

.es-part-option-copy {
    color: var(--es-muted);
    font-size: 14px;
    line-height: 1.5;
}

.es-part-option-copy strong {
    display: block;
    margin: 0 0 6px;
    padding-right: 80px;
    color: var(--es-ink);
    font-size: 16px;
    font-weight: 900;
    letter-spacing: -.015em;
}

.es-part-option-copy span {
    display: block;
}

.es-part-option-price,
.es-part-choice-price,
.es-part-choice-price-inline {
    margin-top: 7px;
    color: var(--es-green);
    font-weight: 900;
}

.es-part-option-action {
    display: flex;
    align-items: center;
}

.es-part-choice-row {
    cursor: default;
}

.es-part-choice-row .btn,
.es-part-choice-row input[type='button'] {
    width: 100% !important;
}

.es-part-choice-price {
    display: flex;
    align-items: center;
    min-height: 44px;
}

.es-part-option-thumb-strip {
    min-height: 120px;
    margin: 0 0 14px;
}

.es-qty-selector {
    display: grid;
    grid-template-columns: minmax(180px, 320px) 1fr;
    gap: 12px;
    align-items: center;
}

.es-qty-selector span {
    color: var(--es-muted);
    font-size: 14px;
    font-weight: 800;
}

.es-unavailable-note {
    padding: 12px 14px;
    border: 1px solid rgba(185, 117, 55, .25);
    background: rgba(185, 117, 55, .08);
    color: var(--es-muted);
    font-size: 14px;
    line-height: 1.45;
}

.es-size-select-option {
    margin-bottom: 14px !important;
}

.es-offer-badge {
    position: absolute;
    top: 9px;
    left: 9px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: var(--es-timber);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.es-bulk-actions {
    margin-top: 28px;
    border: 1px solid var(--es-line);
    background: #fff;
    box-shadow: var(--es-shadow);
}

.es-bulk-actions-head {
    padding: 22px 24px;
    border-bottom: 1px solid var(--es-line);
    background: var(--es-cream-2);
}

.es-bulk-actions-body {
    margin: 0 !important;
    padding: 22px 24px !important;
    border: 0 !important;
    background: #fff !important;
}

.es-inline-options {
    margin: 0 0 16px;
}

.es-bulk-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.es-bulk-controls .btn,
.es-bulk-controls input[type='button'] {
    width: auto !important;
}

.es-bulk-controls select {
    width: auto !important;
    min-width: 110px;
}

.es-bulk-or {
    color: var(--es-muted);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .055em;
    text-transform: uppercase;
}

@media (max-width: 991.98px) {
    .es-part-card-side {
        border-right: 0;
        border-bottom: 1px solid var(--es-line);
    }

    .es-sub-option-title {
        display: block;
    }

    .es-sub-option-title strong {
        display: block;
        margin-top: 5px;
        text-align: left;
    }

    .es-part-option-copy strong {
        padding-right: 0;
    }

    .es-part-option-row.chosen:after,
    .es-customiser-page .partRow.chosen:after {
        position: static;
        margin-bottom: 10px;
    }
}

@media (max-width: 575.98px) {
    .es-parts-section-intro,
    .es-bulk-actions-head,
    .es-bulk-actions-body,
    .es-part-card-side,
    .es-part-card-main,
    .es-sub-option-group {
        padding: 18px !important;
    }

    .es-qty-selector,
    .es-bulk-controls {
        grid-template-columns: 1fr;
        display: grid;
    }

    .es-bulk-controls .btn,
    .es-bulk-controls input[type='button'],
    .es-bulk-controls select {
        width: 100% !important;
    }
}
