/* =========================================================
   PPL SHOP PAGE
   Section-specific styling. Loaded only on the shop page.
   ========================================================= */

.shop-page {
    --shop-bg: #07100c;
    --shop-surface: #0d1712;
    --shop-surface-2: #111d17;
    --shop-line: rgba(255, 255, 255, .10);
    --shop-text: #f4f7f4;
    --shop-muted: #9ca9a1;
    --shop-accent: #b9ff2c;
    --shop-accent-dark: #91d414;
}

.shop-page .container {
    position: relative;
}

.shop-page .page-header {
    position: relative;
    overflow: hidden;
    padding: clamp(80px, 9vw, 135px) 0 70px;
    background:
        linear-gradient(90deg, rgba(7, 16, 12, .98) 0%, rgba(7, 16, 12, .86) 55%, rgba(7, 16, 12, .62) 100%),
        radial-gradient(circle at 80% 25%, rgba(185, 255, 44, .10), transparent 35%),
        var(--shop-bg);
    border-bottom: 1px solid var(--shop-line);
}

.shop-page .page-header::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: linear-gradient(to bottom, black, transparent);
}

.shop-page .breadcrumb-nav {
    position: relative;
    z-index: 1;
    color: var(--shop-muted);
    font-size: .76rem;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.shop-page .breadcrumb-nav a {
    color: var(--shop-muted);
    text-decoration: none;
    transition: color .2s ease;
}

.shop-page .breadcrumb-nav a:hover {
    color: var(--shop-accent);
}

.shop-page .page-header h1 {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--shop-text);
    font-size: clamp(2.5rem, 6vw, 6rem);
    line-height: 1;
    font-weight: 900;
}

.shop-page .page-header h1 .accent {
    color: var(--shop-accent);
}

.shop-page .page-header .section-label,
.shop-page .section-label {
    color: var(--shop-accent);
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.shop-page .page-header .text-secondary {
    position: relative;
    z-index: 1;
    max-width: 720px;
    color: #b8c2bc !important;
    line-height: 1.75;
}

.shop-page .page-header .small.text-muted {
    position: relative;
    z-index: 1;
    color: #8d9a92 !important;
}

.shop-page .page-header .col-lg-4>div {
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #748178;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.shop-page .section-padding {
    background: var(--shop-bg);
}

/* Filter / sorting */
.shop-page .section-padding>.container>.d-flex:first-child {
    padding: 18px 0;
    border-top: 1px solid var(--shop-line);
    border-bottom: 1px solid var(--shop-line);
}

.shop-page .section-padding .btn-outline-accent,
.shop-page .section-padding .btn-accent {
    min-height: 45px;
    border-radius: 0 !important;
    padding: 8px 20px;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.shop-page .section-padding .btn-outline-accent {
    color: #b4beb7;
    border: 1px solid #344139;
    background: transparent;
}

.shop-page .section-padding .btn-outline-accent:hover {
    color: var(--shop-accent);
    border-color: var(--shop-accent);
    background: rgba(185, 255, 44, .05);
}

.shop-page .section-padding .btn-accent {
    color: #07100c;
    border: 1px solid var(--shop-accent);
    background: var(--shop-accent);
}

.shop-page .section-padding .btn-accent:hover {
    color: #07100c;
    background: #d0ff72;
    border-color: #d0ff72;
}

.shop-page .form-select,
.shop-page select.form-select {
    min-width: 175px;
    min-height: 38px;
    border-radius: 0 !important;
    border: 1px solid #344139;
    background-color: #0b1510;
    color: #e9eee9;
    box-shadow: none !important;
}

.shop-page .form-select:focus {
    border-color: var(--shop-accent);
}

.shop-page .section-padding .small.text-muted {
    color: #8f9b93 !important;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.shop-page .section-padding>.container>h3 {
    margin-bottom: 28px !important;
    color: #f2f5f2;
    font-size: clamp(1.5rem, 3vw, 2.3rem);
    font-weight: 900;
    letter-spacing: -.025em;
}

.shop-page .text-accent {
    color: var(--shop-accent) !important;
}

/* =========================================================
   PRODUCT LIST
   Flex-wrap is intentional: it centers incomplete final rows.
   Desktop 4 / tablet 3 / mobile 2.
   ========================================================= */
.shop-page .shop-products-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 15px;
    width: 100%;
}

.shop-page .shop-product-item {
    flex: 0 0 calc((100% - 45px) / 4);
    width: calc((100% - 45px) / 4);
    min-width: 0;
}

.shop-page .shop-products-empty {
    flex: 0 0 100%;
    width: 100%;
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--shop-line);
    background: var(--shop-surface);
}

/* Product card */
.shop-page .product-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .085);
    border-radius: 0 !important;
    background: #0c1611;
    box-shadow: none;
    transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.shop-page .product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(185, 255, 44, .48);
    background: #101b15;
}

.shop-page .product-card .img-wrap {
    position: relative;
    height: clamp(260px, 27vw, 390px);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    background:
        radial-gradient(circle at 50% 40%, rgba(185, 255, 44, .07), transparent 45%),
        #111b16;
}

.shop-page .product-card .img-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 65%, rgba(0, 0, 0, .30));
}

.shop-page .product-card .img-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .45s cubic-bezier(.2, .7, .2, 1);
}

.shop-page .product-card:hover .img-wrap img {
    transform: scale(1.035);
}

.shop-page .product-badge {
    position: absolute;
    z-index: 3;
    top: 12px;
    padding: 6px 9px;
    border-radius: 0 !important;
    font-size: .61rem;
    line-height: 1;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.shop-page .badge-limited {
    left: 12px;
    color: #fff;
    background: #8d2222;
}

.shop-page .badge-new {
    right: 12px;
    color: #07100c;
    background: var(--shop-accent);
}

.shop-page .badge-category {
    left: 12px;
    bottom: 12px;
    top: auto;
    color: #d8e0da;
    background: rgba(7, 16, 12, .88);
    border: 1px solid rgba(255, 255, 255, .12);
}

.shop-page .product-card .card-body {
    display: flex;
    flex-direction: column;
    padding: 17px;
    background: transparent;
}

.shop-page .product-meta {
    min-height: 18px;
    margin-bottom: 7px;
    overflow: hidden;
    color: #75837a;
    font-size: .63rem;
    font-weight: 800;
    letter-spacing: .11em;
    line-height: 1.4;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.shop-page .product-name {
    min-height: 46px;
    color: #f1f5f1;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.35;
}

.shop-page .price {
    color: var(--shop-accent);
    font-size: 1.02rem;
    font-weight: 900;
}

.shop-page .stars {
    color: #aeb9b0;
    font-size: .75rem;
    letter-spacing: .05em;
    white-space: nowrap;
}

.shop-page .btn-add-cart {
    min-height: 42px;
    border-radius: 0 !important;
    border: 1px solid var(--shop-accent);
    color: #07100c;
    background: var(--shop-accent);
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.shop-page .btn-add-cart:hover {
    color: #07100c;
    background: #d0ff72;
    border-color: #d0ff72;
    transform: translateY(-1px);
}

/* Benefits */
.shop-page .stat-box {
    height: 100%;
    padding: 22px 15px !important;
    border: 1px solid var(--shop-line);
    border-radius: 0 !important;
    background: #0b1510;
}

.shop-page .stat-box .fw-semibold {
    color: #e8eee9;
    font-size: .84rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.shop-page .stat-box small {
    color: #7f8d84 !important;
}

.shop-btn-detail-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* =========================================================
   TABLET: 3 products per row
   ========================================================= */
@media (max-width: 991.98px) {
    .shop-page .page-header {
        padding: 90px 0 55px;
    }

    .shop-page .shop-product-item {
        flex-basis: calc((100% - 30px) / 3);
        width: calc((100% - 30px) / 3);
    }

    .shop-page .product-card .img-wrap {
        height: 330px;
    }
}

/* =========================================================
   MOBILE: 2 products per row
   ========================================================= */
@media (max-width: 767.98px) {
    .shop-page .page-header {
        padding: 72px 0 42px;
    }

    .shop-page .page-header h1 {
        font-size: clamp(2.35rem, 12vw, 4.5rem);
    }

    .shop-page .page-header .text-secondary {
        font-size: .92rem;
    }

    .shop-page .section-padding>.container>.d-flex:first-child {
        align-items: stretch !important;
    }

    .shop-page .section-padding>.container>.d-flex:first-child>div:first-child {
        width: 100%;
    }

    .shop-page .shop-products-grid {
        gap: 12px;
    }

    .shop-page .shop-product-item {
        flex-basis: calc((100% - 12px) / 2);
        width: calc((100% - 12px) / 2);
    }

    .shop-page .product-card .img-wrap {
        height: clamp(190px, 53vw, 285px);
    }

    .shop-page .product-card .card-body {
        padding: 12px;
    }

    .shop-page .product-meta {
        font-size: .55rem;
    }

    .shop-page .product-name {
        min-height: 42px;
        font-size: .86rem;
    }

    .shop-page .price {
        font-size: .9rem;
    }

    .shop-page .stars {
        font-size: .62rem;
    }

    .shop-page .btn-add-cart {
        min-height: 38px;
        font-size: .58rem;
        letter-spacing: .08em;
    }

    .shop-page .section-padding .btn-outline-accent,
    .shop-page .section-padding .btn-accent {
        padding: 0;
        width: 155px;
    }

    .shop-page .shop-filter-sort {
        width: 100%;
    }

    .shop-page .form-select,
    .shop-page select.form-select {
        min-width: 0;
        width: 100%;
    }
}

@media (max-width: 479.98px) {
    .shop-page .page-header h1 {
        font-size: 2.15rem;
    }

    .shop-page .shop-product-item {
        flex-basis: calc((100% - 12px) / 2);
        width: calc((100% - 12px) / 2);
    }

    .shop-page .product-card .img-wrap {
        height: 180px;
    }

    .shop-page .product-card .card-body {
        padding: 10px;
    }

    .shop-page .product-name {
        font-size: .8rem;
    }

    .shop-page .product-badge {
        top: 8px;
        padding: 5px 6px;
        font-size: .5rem;
    }

    .shop-page .badge-limited,
    .shop-page .badge-category {
        left: 8px;
    }

    .shop-page .badge-new {
        right: 8px;
    }
}

/* Product detail */
.product-image-link {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.product-title-link {
    display: block;
    text-decoration: none;
}

.product-detail-section {
    min-height: 70vh;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: clamp(30px, 6vw, 90px);
    align-items: start;
}

.product-detail-media {
    position: relative;
    min-height: 560px;
    background: linear-gradient(145deg, rgba(21, 91, 56, .22), rgba(9, 14, 32, .96));
    border: 1px solid rgba(183, 219, 120, .14);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-detail-media img {
    width: 100%;
    height: 560px;
    object-fit: contain;
    display: block;
}

.product-detail-copy {
    padding: 20px 0;
}

.product-detail-copy h1 {
    margin: 8px 0 18px;
    font-size: clamp(34px, 5vw, 68px);
    line-height: .95;
    text-transform: uppercase;
    color: var(--shop-white);
}

.product-detail-rating {
    display: flex;
    gap: 12px;
    align-items: center;
    color: var(--shop-muted);
    margin-bottom: 18px;
}

.product-detail-price {
    color: var(--shop-accent-bright);
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
}

.product-detail-lead, .product-detail-description {
    color: var(--shop-text);
    line-height: 1.8;
}

.product-detail-description {
    color: var(--shop-muted);
    margin-top: 18px;
    white-space: normal;
}

.product-detail-stock {
    margin: 26px 0;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    color: var(--shop-accent);
}

.product-detail-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-wrap: wrap;
}

@media(max-width:900px) {
    .product-detail-grid {
        grid-template-columns: 1fr
    }

    .product-detail-media, .product-detail-media img {
        min-height: 420px;
        height: 420px
    }
}

@media(max-width:575px) {
    .product-detail-media, .product-detail-media img {
        min-height: 320px;
        height: 320px
    }

    .product-detail-actions .btn {
        width: 100%
    }

    .product-detail-copy h1 {
        font-size: 38px
    }
}



/* =========================================================
   SHOP HERO — professional 3D-style presentation animation
   ========================================================= */
.shop-hero-media {
    position: relative;
    width: min(100%, 320px);
    height: 320px;
    display: grid;
    place-items: center;
    isolation: isolate;
}

.shop-hero-orbit {
    position: absolute;
    inset: 8%;
    border-radius: 50%;
    border: 1px solid rgba(183, 255, 60, 0.22);
    pointer-events: none;
}

.shop-hero-orbit--one {
    animation: shopOrbitSpin 18s linear infinite;
    border-style: dashed;
    border-color: rgba(183, 255, 60, 0.28);
}

.shop-hero-orbit--two {
    inset: -4%;
    animation: shopOrbitSpin 28s linear infinite reverse;
    border-color: rgba(255, 255, 255, 0.12);
    opacity: 0.85;
}

.shop-hero-circle {
    position: absolute;
    width: 72%;
    height: 72%;
    border-radius: 50%;
    background:
        radial-gradient(circle at 40% 35%, rgba(183, 255, 60, 0.18), transparent 55%),
        radial-gradient(circle at 60% 70%, rgba(255, 255, 255, 0.06), transparent 50%),
        rgba(12, 22, 17, 0.9);
    border: 1px solid rgba(183, 255, 60, 0.16);
    box-shadow:
        0 0 40px rgba(183, 255, 60, 0.08),
        inset 0 0 30px rgba(0, 0, 0, 0.35);
    animation: shopHeroPulse 4.5s ease-in-out infinite;
}

.shop-hero-image-stage {
    position: relative;
    z-index: 2;
    width: 78%;
    height: 78%;
    display: grid;
    place-items: center;
    animation: shopHeroFloat 5.5s ease-in-out infinite;
    filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.45));
}

.shop-hero-image-stage img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform-origin: center center;
    animation: shopHeroTilt 7s ease-in-out infinite;
}

@keyframes shopOrbitSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes shopHeroFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes shopHeroTilt {
    0%, 100% {
        transform: rotate(-3deg) scale(1);
    }

    50% {
        transform: rotate(3deg) scale(1.03);
    }
}

@keyframes shopHeroPulse {
    0%, 100% {
        box-shadow:
            0 0 28px rgba(183, 255, 60, 0.06),
            inset 0 0 24px rgba(0, 0, 0, 0.35);
        border-color: rgba(183, 255, 60, 0.14);
    }

    50% {
        box-shadow:
            0 0 48px rgba(183, 255, 60, 0.16),
            inset 0 0 28px rgba(0, 0, 0, 0.3);
        border-color: rgba(183, 255, 60, 0.32);
    }
}

@media (prefers-reduced-motion: reduce) {

    .shop-hero-orbit,
    .shop-hero-circle,
    .shop-hero-image-stage,
    .shop-hero-image-stage img {
        animation: none !important;
    }
}


/* Product sizes + star reviews */
.shop-size-picker, .product-size-picker {
    margin: 0 0 14px;
    padding: 12px 0
}

.shop-size-label, .size-picker-label {
    display: block;
    color: var(--shop-muted);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .14em;
    margin-bottom: 8px
}

.size-picker-label span {
    color: var(--shop-accent);
    margin-left: 8px;
    font-size: .6rem
}

.shop-size-picker {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap
}

.shop-size-picker .shop-size-label {
    margin: 0 6px 0 0
}

.shop-size-picker label, .size-option {
    cursor: pointer
}

.shop-size-picker input, .size-option input, .star-input input {
    position: absolute;
    opacity: 0;
    pointer-events: none
}

.shop-size-picker label span, .size-option span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 34px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, .14);
    color: var(--shop-muted);
    font-size: .72rem;
    font-weight: 800;
    transition: .2s ease
}

.shop-size-picker input:checked+span, .size-option input:checked+span {
    border-color: var(--shop-accent);
    background: rgba(185, 255, 44, .12);
    color: var(--shop-accent)
}

.shop-size-picker label:hover span, .size-option:hover span {
    border-color: rgba(185, 255, 44, .55);
    color: var(--shop-text)
}

.size-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.product-reviews {
    margin-top: 42px;
    padding-top: 30px;
    border-top: 1px solid var(--shop-line)
}

.reviews-heading {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: end;
    margin-bottom: 20px
}

.reviews-heading h2 {
    margin: 0;
    color: var(--shop-text);
    font-size: clamp(24px, 3vw, 38px);
    line-height: 1
}

.reviews-summary {
    text-align: right;
    display: grid;
    gap: 2px
}

.reviews-summary strong {
    font-size: 28px;
    color: var(--shop-text)
}

.reviews-summary small {
    color: var(--shop-muted)
}

.stars {
    color: var(--shop-accent);
    letter-spacing: .08em
}

.review-form {
    padding: 20px;
    border: 1px solid var(--shop-line);
    background: rgba(255, 255, 255, .025);
    display: grid;
    gap: 14px
}

.star-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    width: max-content
}

.star-input label {
    font-size: 30px;
    line-height: 1;
    color: #4c584f;
    cursor: pointer;
    padding: 0 3px;
    transition: .15s
}

.star-input label:hover, .star-input label:hover~label, .star-input input:checked~label {
    color: var(--shop-accent)
}

.review-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px
}

.review-item {
    padding: 18px 0;
    border-bottom: 1px solid var(--shop-line)
}

.review-item-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
    color: var(--shop-text)
}

.review-item p {
    margin: 0 0 8px;
    color: var(--shop-muted);
    line-height: 1.7
}

.review-item small {
    color: #77847b
}

@media(max-width:575px) {
    .review-fields {
        grid-template-columns: 1fr
    }

    .reviews-heading {
        align-items: start
    }

    .reviews-summary {
        text-align: left
    }

    .product-reviews {
        margin-top: 30px
    }

    .shop-size-picker {
        justify-content: flex-start
    }
}

/* =========================================================
   SHOP — Add-to-cart size modal
   ========================================================= */
.shop-size-modal .modal-dialog {
    max-width: 560px;
    margin: 1.5rem auto;
    padding: 0 14px
}

.shop-size-modal-content {
    background: #101712;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .62)
}

.shop-size-modal-head {
    height: 46px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .08)
}

.shop-modal-close {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, .16);
    background: transparent;
    color: #aeb8b1;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center
}

.shop-modal-close:hover {
    border-color: var(--shop-accent);
    color: var(--shop-accent)
}

.shop-size-modal-body {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 24px;
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, .08)
}

.shop-modal-product-image {
    height: 170px;
    background: #0b100d;
    border: 1px solid rgba(255, 255, 255, .1);
    display: grid;
    place-items: center;
    overflow: hidden
}

.shop-modal-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px
}

.shop-modal-product-copy {
    align-self: center
}

.shop-modal-eyebrow, .shop-modal-section-label {
    display: block;
    color: var(--shop-muted);
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .16em
}

.shop-modal-product-copy h3 {
    margin: 7px 0 10px;
    color: var(--shop-text);
    font-size: 1.45rem;
    letter-spacing: .04em
}

.shop-modal-product-name {
    color: #d9e0db;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4
}

.shop-modal-product-price {
    margin-top: 8px;
    color: var(--shop-accent);
    font-size: 1.05rem;
    font-weight: 800
}

.shop-size-modal-select {
    padding: 22px 24px 24px
}

.shop-modal-section-label {
    margin-bottom: 13px;
    color: #c1cbc4
}

.shop-modal-section-label span {
    color: var(--shop-accent);
    font-size: .56rem;
    margin-left: 8px
}

.shop-modal-size-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

.shop-modal-size-option {
    cursor: pointer;
    margin: 0
}

.shop-modal-size-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none
}

.shop-modal-size-option span {
    min-width: 58px;
    height: 48px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, .2);
    background: transparent;
    color: #c3cbc6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    transition: border-color .2s ease, color .2s ease, background .2s ease, transform .2s ease
}

.shop-modal-size-option:hover span {
    border-color: rgba(185, 255, 44, .65);
    color: #fff
}

.shop-modal-size-option input:checked+span {
    border-color: var(--shop-accent);
    color: var(--shop-accent);
    background: rgba(185, 255, 44, .08);
    box-shadow: inset 0 0 0 1px rgba(185, 255, 44, .18);
    transform: translateY(-1px)
}

.shop-size-error {
    display: none;
    margin-top: 10px;
    color: #e7a0a0;
    font-size: .75rem
}

.shop-size-error.is-visible {
    display: block
}

.shop-size-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 16px 24px 22px;
    border-top: 1px solid rgba(255, 255, 255, .06)
}

.shop-size-modal-footer .btn {
    min-width: 128px
}

@media(max-width:575px) {
    .shop-size-modal .modal-dialog {
        margin: 1rem auto
    }

    .shop-size-modal-body {
        grid-template-columns: 92px 1fr;
        gap: 15px;
        padding: 18px
    }

    .shop-modal-product-image {
        height: 115px
    }

    .shop-modal-product-copy h3 {
        font-size: 1.1rem
    }

    .shop-size-modal-select {
        padding: 18px
    }

    .shop-modal-size-option span {
        min-width: 54px;
        height: 44px
    }

    .shop-size-modal-footer {
        padding: 14px 18px 18px
    }

    .shop-size-modal-footer .btn {
        min-width: 0;
        flex: 1
    }
}

/* Star-only customer rating */
.star-only-review-form {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px
}

.star-only-review-form .star-input {
    margin: 0
}

.star-only-review-form .btn {
    white-space: nowrap
}

.review-item {
    display: flex;
    align-items: center;
    min-height: 54px
}

@media(max-width:575px) {
    .star-only-review-form {
        align-items: flex-start;
        flex-direction: column
    }

    .star-only-review-form .btn {
        width: 100%
    }
}

/* =========================================================
   QUICK CART — reference-matched product modal
   No visible radio controls. Size choices are clean bordered buttons.
   ========================================================= */
.shop-quick-cart-modal .modal-dialog {
    max-width: 860px;
    width: calc(100% - 28px);
    margin: 1rem auto
}

.shop-quick-cart-content {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
    background: #080f25;
    box-shadow: 0 30px 100px rgba(0, 0, 0, .7);
    color: #f6f7fb
}

.quick-cart-close {
    position: absolute;
    right: 16px;
    top: 16px;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 12px;
    background: rgba(7, 15, 35, .7);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    z-index: 5
}

.quick-cart-close:hover {
    border-color: #fff;
    background: #121c38
}

.quick-cart-layout {
    display: grid;
    grid-template-columns: 1fr 1.06fr;
    min-height: 450px;
}

.quick-cart-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(145deg, #91d414 0%, #b8f14f54 50%, #91d41457 100%)
}

.quick-cart-visual:before {
    content: "";
    position: absolute;
    inset: -30%;
    background: repeating-linear-gradient(135deg, transparent 0 34px, rgba(255, 255, 255, .045) 35px 36px);
    transform: rotate(0deg)
}

.quick-cart-visual:after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .12), transparent 52%)
}

.quick-cart-glow {
    position: absolute;
    width: 70%;
    height: 70%;
    border-radius: 50%;
    background: rgba(185, 255, 44, .08);
    filter: blur(35px)
}

.quick-cart-visual img {
    position: relative;
    z-index: 2;
    width: 86%;
    height: 88%;
    object-fit: contain;
    filter: drop-shadow(0 24px 22px rgba(0, 0, 0, .42));
    transform: scale(1.03)
}

.quick-cart-info {
    position: relative;
    padding: 38px 38px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(180deg, #0b1430 0%, #070e22 100%)
}

.quick-cart-kicker {
    margin-bottom: 10px;
    color: #f2cf39;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase
}

.quick-cart-info h2 {
    margin: 0 44px 14px 0;
    color: #f7f8fc;
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 900;
    line-height: .95;
    letter-spacing: -.025em;
    text-transform: uppercase
}

.quick-cart-rating {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 14px;
    color: #8790a4;
    font-size: 13px
}

.quick-cart-stars {
    color: #f4d43e;
    font-size: 14px;
    letter-spacing: 2px
}

.quick-cart-price {
    margin-bottom: 27px;
    color: #f8f9fc;
    font-size: 38px;
    font-weight: 900;
    line-height: 1
}

.quick-cart-section-label {
    margin-bottom: 13px;
    color: #d7dce7;
    font-size: 13px;
    letter-spacing: .02em
}

.quick-cart-sizes {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 7px
}

.quick-cart-size {
    min-width: 50px;
    height: 44px;
    padding: 0 13px;
    border: 1px solid rgba(255, 255, 255, .19);
    border-radius: 9px;
    background: transparent;
    color: #e8ebf2;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: .18s ease
}

.quick-cart-size:hover {
    border-color: rgba(255, 255, 255, .55);
    background: rgba(255, 255, 255, .045);
    color: #fff
}

.quick-cart-size.is-selected {
    border-color: #fff;
    background: #fff;
    color: #0b1229;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .15)
}

.quick-cart-error {
    height: 17px;
    color: #ff8c8c;
    font-size: 11px;
    opacity: 0
}

.quick-cart-error.is-visible {
    opacity: 1
}

.quick-cart-actions {
    display: grid;
    grid-template-columns: 138px 1fr;
    gap: 16px;
    margin-top: 9px
}

.quick-cart-quantity {
    height: 53px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, .015)
}

.quick-cart-quantity button {
    border: 0;
    background: transparent;
    color: #dfe3eb;
    font-size: 20px;
    cursor: pointer
}

.quick-cart-quantity button:hover {
    background: rgba(255, 255, 255, .06)
}

.quick-cart-quantity span {
    display: grid;
    place-items: center;
    color: #f8f9fc;
    font-size: 16px;
    font-weight: 800;
    border-left: 1px solid rgba(255, 255, 255, .08);
    border-right: 1px solid rgba(255, 255, 255, .08)
}

.quick-cart-add {
    height: 53px;
    border: 0;
    border-radius: 10px;
    background: #e9002b;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .13em;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(233, 0, 43, .2);
    transition: .18s ease
}

.quick-cart-add:hover {
    background: #ff1744;
    transform: translateY(-1px)
}

.quick-cart-links {
    display: flex;
    gap: 24px;
    margin-top: 22px
}

.quick-cart-links a {
    color: #8f97aa;
    text-decoration: none;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em
}

.quick-cart-links a:first-child {
    color: #e8c93a;
    border-bottom: 1px solid #e8c93a;
    padding-bottom: 7px
}

.quick-cart-links a:hover {
    color: #fff
}

@media(max-width:700px) {
    .shop-quick-cart-modal .modal-dialog {
        width: calc(100% - 18px)
    }

    .quick-cart-layout {
        grid-template-columns: 1fr;
        min-height: 0
    }

    .quick-cart-visual {
        min-height: 280px
    }

    .quick-cart-info {
        padding: 26px 22px 24px
    }

    .quick-cart-info h2 {
        font-size: 32px
    }

    .quick-cart-price {
        font-size: 32px
    }

    .quick-cart-actions {
        grid-template-columns: 120px 1fr
    }

    .quick-cart-links {
        margin-top: 18px
    }

    .quick-cart-close {
        top: 10px;
        right: 10px
    }
}

@media(max-width:420px) {
    .quick-cart-visual {
        min-height: 235px
    }

    .quick-cart-actions {
        grid-template-columns: 1fr
    }

    .quick-cart-add {
        width: 100%
    }
}

/* Visible controls are buttons, never radio circles. */
.product-size-picker .size-option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 9px;
    background: transparent;
    color: #cbd2dc;
    font-size: .8rem;
    font-weight: 800;
    cursor: pointer;
    transition: .18s ease
}

.product-size-picker .size-option:hover {
    border-color: #fff;
    color: #fff
}

.product-size-picker .size-option.is-selected {
    border-color: #fff;
    background: #fff;
    color: #091127
}

.product-size-picker .size-options.size-required-error {
    animation: quickCartShake .22s ease
}

.rating-star {
    border: 0;
    background: none;
    padding: 0 3px;
    color: #4b5664;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    transition: .15s ease
}

.rating-star:hover, .rating-star.is-selected {
    color: #f4d43e;
    transform: translateY(-1px)
}

.star-input {
    display: flex;
    gap: 2px !important;
    flex-direction: row !important
}

.rating-required-error .star-input {
    animation: quickCartShake .22s ease
}

@keyframes quickCartShake {
    25% {
        transform: translateX(-3px)
    }

    50% {
        transform: translateX(3px)
    }

    75% {
        transform: translateX(-2px)
    }
}

/* =========================================================
   MODAL BACKDROP FIX
   Bootstrap defaults (.modal-backdrop: 1050, .modal: 1055) already
   stack correctly. Re-declared explicitly here in case another
   stylesheet loaded after Bootstrap is overriding them — this
   block always wins because it's the last rule for these selectors.
   ========================================================= */
.modal-backdrop {
    z-index: 1040;
}

.modal.show {
    z-index: 1055;
}

.shop-quick-cart-modal .modal-dialog,
.shop-quick-cart-modal .shop-quick-cart-content {
    position: relative;
    z-index: 1056;
}