:root {
    --bg-page: #f5f8f6;
    --bg-surface: #ffffff;
    --bg-soft: #eef6f1;
    --text-main: #14211b;
    --text-muted: #5e6f66;
    --border-soft: #d8e4dd;
    --brand-green: #15804f;
    --brand-green-dark: #0d5f3b;
    --brand-mint: #dff3e8;
    --brand-blue: #315d9b;
    --brand-blue-soft: #eaf1fb;
    --brand-gold: #f2c96b;
    --danger-soft: #ffe8e6;
    --shadow-soft: 0 14px 34px rgba(22, 55, 38, 0.08);
    --radius-sm: 6px;
    --radius-md: 8px;
}

html,
body {
    background: var(--bg-page);
    color: var(--text-main);
}

main[role="main"] {
    padding-top: 18px;
}

.bg-refresh-page {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 18px 28px;
}

.bg-page-shell {
    background: var(--bg-surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    padding: 24px;
}

.bg-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--border-soft);
    padding-bottom: 18px;
}

.bg-page-title {
    margin: 0;
    color: var(--text-main);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.15;
}

.bg-page-subtitle {
    margin: 6px 0 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.bg-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    background: var(--bg-soft);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 12px;
    margin-bottom: 18px;
}

.bg-toolbar-note {
    color: var(--text-muted);
    background: var(--bg-surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm);
    min-height: 40px;
    display: flex;
    align-items: center;
    padding: 0 12px;
}

.bg-toolbar-filter {
    flex: 1 1 360px;
    max-width: 620px;
    min-height: 40px;
    background: var(--bg-surface);
}

.bg-filter-check {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    margin: 0;
    color: var(--text-main);
    font-weight: 600;
}

.btn.btn-primary {
    background: var(--brand-green);
    border-color: var(--brand-green);
    color: #fff;
    border-radius: var(--radius-sm);
    font-weight: 700;
}

.btn.btn-primary:hover,
.btn.btn-primary:focus {
    background: var(--brand-green-dark);
    border-color: var(--brand-green-dark);
}

.btn.btn-warning {
    background: var(--brand-gold);
    border-color: var(--brand-gold);
    color: #2f2410;
    border-radius: var(--radius-sm);
    font-weight: 700;
}

.badge.btn-warning,
.badge.bg-warning {
    background: var(--brand-gold) !important;
    color: #2f2410 !important;
}

.badge.bg-danger {
    background: var(--danger-soft) !important;
    color: #8c1d18 !important;
}

.bg-product-thumb,
.bg-page-shell .rounded-circle {
    width: 72px;
    height: 72px;
    object-fit: contain;
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: 50%;
    box-shadow: 0 8px 18px rgba(20, 33, 27, 0.07);
}

.bg-product-preview,
.bg-page-shell .thumbnail {
    width: 96px;
    height: 96px;
    object-fit: contain;
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 8px;
}

.Pricehighlight {
    background: #f8d77d !important;
}

table.dataTable {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0;
    color: var(--text-main);
}

table.dataTable thead th {
    background: #f7faf8;
    border-bottom: 1px solid var(--border-soft) !important;
    color: #1a2d23;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
    padding: 12px 10px;
}

table.dataTable tbody td {
    border-bottom: 1px solid var(--border-soft);
    padding: 12px 10px;
    vertical-align: middle;
}

table.dataTable tbody tr {
    background: #fff;
}

table.dataTable tbody tr:hover td {
    background-color: var(--brand-blue-soft);
}

table.dataTable tbody tr.selected td {
    background-color: #c8d6ef !important;
}

table.dataTable tbody tr.selected:hover td {
    background-color: #bed0ec !important;
}

.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.dataTables_wrapper {
    position: relative;
    isolation: isolate;
}

.dataTables_wrapper .dataTables_length {
    margin-bottom: 12px;
}

.dataTables_wrapper .dataTables_filter {
    position: relative;
    z-index: 20;
    display: flex;
    justify-content: flex-end;
    min-height: 44px;
    margin-bottom: 12px;
}

.dataTables_wrapper .dataTables_filter label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    white-space: nowrap;
}

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select,
.form-select,
.form-control {
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm);
    color: var(--text-main);
}

.dataTables_wrapper .dataTables_filter input {
    position: relative;
    z-index: 21;
    min-width: 240px;
    height: 38px;
    padding: 6px 10px;
    background: #fff;
    pointer-events: auto;
}

.dataTables_wrapper .dataTables_scroll,
.dataTables_wrapper table.dataTable {
    position: relative;
    z-index: 1;
}

.bg-cart-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 18px;
}

.bg-add-strip {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(240px, 1.4fr) auto auto;
    gap: 12px;
    align-items: center;
    background: var(--bg-soft);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 14px;
    margin: 14px 0 22px;
}

.bg-section-title {
    margin: 18px 0 12px;
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 700;
}

.modal-content {
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

@media (max-width: 900px) {
    .bg-page-shell {
        padding: 16px;
    }

    .bg-page-header {
        display: block;
    }

    .bg-add-strip {
        grid-template-columns: 1fr;
    }

    .bg-refresh-page {
        padding-inline: 10px;
    }
}

.public-page {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 18px 36px;
}

.public-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 34px;
    align-items: center;
    padding: 36px clamp(18px, 4vw, 54px);
    background: #ffffff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.public-hero h1,
.public-title {
    margin: 0;
    color: var(--text-main);
    font-size: clamp(1.9rem, 3.2vw, 3rem);
    line-height: 1.16;
    font-weight: 700;
    max-width: 680px;
}

.public-hero p,
.public-lede {
    color: var(--text-muted);
    font-size: 1.08rem;
    line-height: 1.65;
    margin: 18px 0 0;
    max-width: 680px;
}

.public-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.public-hero-media {
    position: relative;
    min-height: 430px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-soft);
}

.public-hero-media img {
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
}

.public-hero-media .carousel,
.public-hero-media .carousel-inner,
.public-hero-media .carousel-item {
    min-height: 430px;
}

.public-hero-media .carousel-control-prev,
.public-hero-media .carousel-control-next {
    width: 42px;
    height: 42px;
    background-color: rgba(20, 33, 27, 0.28);
}

.public-section #featureContainer .row {
    width: 100% !important;
    border-color: var(--border-soft) !important;
    border-radius: var(--radius-md) !important;
    overflow: hidden;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.public-section #featureContainer .carousel > div:first-child {
    background: var(--brand-green) !important;
}

.public-section #featureContainer .card-title {
    color: var(--text-main);
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 6px;
}

.public-section #featureContainer .card-body small {
    color: var(--text-muted);
    font-size: 0.86rem;
    line-height: 1.35;
}

.public-section #featureContainer .card-body {
    color: var(--text-main);
    font-size: 0.95rem;
}

.public-section {
    padding: 42px 0 0;
}

.public-section-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.public-section h2,
.public-section-title {
    margin: 0;
    color: var(--text-main);
    font-size: clamp(1.55rem, 3vw, 2.4rem);
    line-height: 1.2;
    font-weight: 700;
}

.public-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.public-card,
.public-form-card {
    background: #ffffff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    padding: 22px;
}

.public-card h3 {
    color: var(--text-main);
    font-size: 1.12rem;
    font-weight: 700;
    margin: 0 0 8px;
}

.public-card p {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.public-eyebrow {
    margin: 0 0 10px;
    color: var(--brand-green);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.public-catalog-hero {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
}

.public-info-hero {
    grid-template-columns: minmax(0, 820px);
}

.public-catalog-filter {
    display: grid;
    gap: 10px;
    padding: 20px;
    background: var(--bg-soft);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
}

.public-catalog-filter label {
    color: var(--text-main);
    font-size: 0.88rem;
    font-weight: 700;
}

.public-count {
    color: var(--text-muted);
    font-size: 0.95rem;
    white-space: nowrap;
}

.public-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 18px;
}

.public-product-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.public-product-image {
    display: grid;
    place-items: center;
    aspect-ratio: 1 / 1;
    padding: 18px;
    background: #f8fbf9;
}

.public-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.public-product-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 16px;
}

.public-product-category {
    margin: 0 0 6px;
    color: var(--brand-green);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.public-product-card h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 650;
    line-height: 1.35;
}

.public-product-card h3 a {
    color: var(--text-main);
    text-decoration: none;
}

.public-product-card h3 a:hover {
    color: var(--brand-green);
    text-decoration: underline;
}

.public-product-meta {
    margin: 8px 0 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.public-product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 16px;
}

.public-price {
    color: var(--text-main);
    font-weight: 750;
}

.public-stock {
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
}

.public-stock.is-available {
    color: #0b6b3a;
    background: #e8f6ef;
}

.public-stock.is-limited {
    color: #7a4d06;
    background: #fff4d8;
}

.public-empty {
    padding: 28px;
    background: #ffffff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.public-error-card {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    padding: clamp(24px, 4vw, 44px);
}

.public-error-icon {
    align-items: center;
    background: #e7f5ed;
    border-radius: 999px;
    color: var(--brand-green);
    display: inline-flex;
    height: 72px;
    justify-content: center;
    margin-bottom: 24px;
    width: 72px;
}

.public-band {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
    gap: 26px;
    align-items: center;
    background: var(--bg-soft);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 24px;
}

.public-band img {
    width: 100%;
    border-radius: var(--radius-md);
    object-fit: cover;
}

.public-auth {
    max-width: 1100px;
    margin: 0 auto;
    padding: 28px 18px 46px;
}

.public-auth-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
    gap: 28px;
    align-items: stretch;
}

.public-auth-panel {
    background: #ffffff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    padding: clamp(22px, 4vw, 38px);
}

.public-auth-aside {
    background: var(--bg-soft);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: clamp(22px, 4vw, 34px);
}

.public-auth-list {
    display: grid;
    gap: 0;
    list-style: none;
    margin: 26px 0 0;
    padding: 0;
}

.public-auth-list li {
    border-top: 1px solid var(--border-soft);
    padding: 15px 0;
}

.public-auth-list strong {
    color: var(--text-main);
    display: block;
    font-weight: 700;
    margin-bottom: 4px;
}

.public-auth-list span {
    color: var(--text-muted);
    display: block;
    line-height: 1.55;
}

.public-auth-links {
    display: grid;
    gap: 8px;
    margin-top: 16px;
}

.public-auth-links a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}

.public-auth-links a:hover,
.public-auth-links a:focus {
    color: var(--accent-dark);
    text-decoration: underline;
}

.public-contact-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.45fr);
    gap: 24px;
    align-items: start;
}

.public-contact-aside {
    background: var(--bg-soft);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    padding: 24px;
}

.public-contact-aside h2 {
    margin: 0 0 16px;
    color: var(--text-main);
    font-size: 1.35rem;
    font-weight: 700;
}

.public-contact-aside a {
    color: var(--brand-green);
    font-weight: 700;
}

.address-lookup-results {
    max-height: 220px;
    overflow-y: auto;
}

.address-lookup-results .list-group-item {
    color: var(--text-main);
    font-size: 0.92rem;
    line-height: 1.35;
    text-align: left;
}

.address-attribution {
    color: #8a948c;
    font-size: 0.72rem;
    line-height: 1.25;
    margin-top: 4px;
    text-align: right;
}

.address-attribution a {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.public-product {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 18px 42px;
}

.public-product-hero {
    display: grid;
    grid-template-columns: minmax(320px, 0.88fr) minmax(0, 1.12fr);
    gap: 34px;
    align-items: start;
}

.public-product-gallery,
.public-product-info,
.public-product-panel {
    background: #ffffff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    padding: 20px;
}

.public-product-gallery img {
    border-radius: var(--radius-sm);
}

.public-product-gallery .lightbox {
    align-items: center;
    background: #fff;
    border-radius: var(--radius-sm);
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.public-product-gallery #expandedImg,
.public-product-gallery .ecommerce-gallery-main-img {
    height: auto !important;
    max-height: min(68vh, 680px);
    object-fit: contain;
    width: 100%;
}

.public-product-info h1 {
    margin: 0;
    color: var(--text-main);
    font-size: clamp(1.65rem, 2.8vw, 2.35rem);
    font-weight: 700;
    line-height: 1.16;
    letter-spacing: 0;
}

.public-product-info .public-product-category {
    color: var(--brand-green);
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.public-product-size {
    color: var(--text-muted);
    font-size: 1rem;
    margin-top: 8px;
}

.public-product-info .public-price {
    font-size: 1.7rem;
    color: var(--text-main);
    font-weight: 800;
}

.public-price-compare {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 600;
    margin-right: 8px;
    text-decoration: line-through;
}

.public-product-info .btn {
    margin-bottom: 8px;
}

.public-product-description {
    color: var(--text-muted);
    line-height: 1.72;
    margin-bottom: 0;
}

.public-product-badge {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    min-height: 28px;
    padding: 5px 10px;
}

.public-product-badge.is-sale {
    background: var(--danger-soft);
    color: #8c1d18;
}

.public-product-badge.is-stock {
    background: #e8f6ef;
    color: #0b6b3a;
}

.public-product-badge.is-out {
    background: #202a24;
    color: #fff;
}

.public-product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.public-cart-feedback {
    background: #e8f6ef;
    border: 1px solid #b8e4ca;
    border-radius: var(--radius-sm);
    color: #0b6b3a;
    font-weight: 700;
    margin-top: 12px;
    padding: 10px 12px;
}

.public-product-confidence,
.public-product-list {
    display: grid;
    gap: 10px;
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
}

.public-product-confidence li,
.public-product-list li {
    align-items: center;
    color: var(--text-muted);
    display: flex;
    gap: 9px;
    line-height: 1.45;
}

.public-product-confidence i {
    color: var(--brand-green);
    width: 18px;
}

.public-product-share {
    display: flex;
    gap: 8px;
}

.public-product-share button,
.public-product-thumb-button {
    background: transparent;
    border: 0;
    color: var(--text-main);
    padding: 0;
}

.public-product-share button {
    align-items: center;
    border: 1px solid var(--border-soft);
    border-radius: 999px;
    display: inline-flex;
    height: 38px;
    justify-content: center;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
    width: 38px;
}

.public-product-share button:hover,
.public-product-share button:focus {
    background: var(--bg-soft);
    border-color: var(--brand-green);
    color: var(--brand-green);
}

.public-product-thumb-button {
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm);
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
    overflow: hidden;
    width: 100%;
}

.public-product-thumb-button img {
    background: #fff;
    height: 100%;
    object-fit: contain;
    padding: 5px;
    width: 100%;
}

.public-tab-title {
    color: var(--text-main);
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 12px;
}

.public-meta-list {
    display: grid;
    gap: 10px;
    color: var(--text-muted);
}

.public-breadcrumb {
    margin: 0 0 16px;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.public-breadcrumb ol {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.public-breadcrumb li {
    align-items: center;
    display: inline-flex;
}

.public-breadcrumb li:not(:last-child)::after {
    color: var(--text-muted);
    content: "/";
    margin-left: 8px;
}

.public-breadcrumb a {
    color: var(--brand-green);
    font-weight: 700;
}

@media (max-width: 900px) {
    .public-hero,
    .public-band,
    .public-auth-shell,
    .public-contact-shell,
    .public-product-hero {
        grid-template-columns: 1fr;
    }

    .public-grid-3 {
        grid-template-columns: 1fr;
    }

    .public-hero-media,
    .public-hero-media img {
        min-height: 280px;
    }

    .public-section-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .public-product-panel .nav-pills {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
    }

    .public-product-panel .nav-pills .nav-item {
        flex: 0 0 auto;
        min-width: 150px;
    }

    .public-product-panel .nav-pills .nav-link {
        min-height: 44px;
        font-size: 0.86rem;
        line-height: 1.25;
        white-space: normal;
    }
}

.checkout-page {
    max-width: 1180px;
    margin: 0 auto 56px;
    padding: 0 18px;
}

.dark-green {
    color: var(--brand-green-dark);
}

.btn-dark-green {
    background-color: var(--brand-green-dark);
    border-radius: 999px;
    color: #fff;
    font-weight: 700;
}

.btn-dark-green:hover,
.btn-dark-green:focus {
    background-color: #0d3e16;
    color: #fff;
}

.forgot-password {
    color: var(--brand-green-dark);
    font-weight: 600;
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

.align-buttons {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.checkout-page .form-label {
    font-weight: 600;
}

.checkout-page .form-control {
    border-radius: var(--radius-sm);
}

.checkout-page .form-control:focus {
    border-color: var(--brand-green);
    box-shadow: 0 0 0 0.18rem color-mix(in srgb, var(--brand-green), transparent 78%);
}

.checkout-banner {
    border-radius: var(--radius-md);
    margin: 18px 0 16px;
}

.checkout-banner h1 {
    font-size: clamp(1.85rem, 4vw, 2.65rem);
    line-height: 1.12;
    margin-bottom: 8px;
}

.checkout-banner p {
    margin: 0;
}

.checkout-steps {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    justify-content: center;
}

.checkout-steps .breadcrumb-item {
    line-height: 1.3;
}

.checkout-card {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    height: 100%;
    padding: 20px;
}

.checkout-card .card-header {
    border: 0;
    border-radius: var(--radius-sm);
    margin-bottom: 14px;
    padding: 11px 16px;
}

.checkout-card .card-body {
    padding: 0;
}

.checkout-payment-page .accordion {
    display: grid;
    gap: 12px;
}

.checkout-payment-page .accordion-item {
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.checkout-payment-page .accordion-button {
    color: var(--text-main);
    font-weight: 700;
}

.checkout-payment-body {
    max-width: 720px;
    margin: 0 auto;
}

.checkout-payment-page .accordion-body {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: var(--radius-sm);
}

.checkout-payment-page #card-element {
    min-height: 44px;
    padding-top: 12px;
}

.payment-logo {
    height: 30px;
    margin: 0 5px;
    width: auto;
}

.checkout-complete-panel {
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 22px;
    grid-template-columns: auto 1fr;
    margin: 18px auto 0;
    max-width: 820px;
    padding: clamp(24px, 4vw, 40px);
}

.checkout-complete-icon {
    align-items: center;
    background: color-mix(in srgb, var(--brand-green), white 84%);
    border-radius: 999px;
    color: var(--brand-green-dark);
    display: inline-flex;
    font-size: 1.35rem;
    height: 52px;
    justify-content: center;
    width: 52px;
}

.checkout-complete-kicker {
    color: var(--brand-green-dark);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.checkout-complete-panel h2 {
    color: var(--text-main);
    font-size: clamp(1.55rem, 3vw, 2.15rem);
    margin-bottom: 10px;
}

.checkout-order-number {
    background: var(--soft-bg);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm);
    display: inline-flex;
    gap: 4px;
    margin: 2px 0 14px;
    padding: 8px 12px;
}

.checkout-complete-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

#shopping-cart {
    max-width: 1180px;
    padding-inline: 18px;
}

.cart-page-header {
    display: grid;
    gap: 4px;
    justify-items: center;
}

.cart-page-header h2 {
    align-items: center;
    color: var(--text-main);
    display: inline-flex;
    font-size: clamp(1.45rem, 3vw, 2rem);
    gap: 8px;
    margin: 0;
}

.cart-page-header i {
    color: var(--brand-green);
}

.cart-empty-state {
    margin-bottom: 24px;
    text-align: center;
}

.cart-empty-state h1 {
    color: var(--text-main);
    font-size: clamp(1.55rem, 3vw, 2.15rem);
    margin-bottom: 8px;
}

.cart-empty-state p {
    color: var(--text-muted);
    margin: 0 auto;
    max-width: 580px;
}

.cart-empty-state .public-actions {
    justify-content: center;
}

#shopping-cart .details-section {
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
}

#shopping-cart .row[data-id] {
    align-items: center;
    padding-bottom: 18px;
}

#shopping-cart .bg-image img {
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

#order-summary {
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-soft) !important;
}

.cart-confidence-panel {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm);
    margin-top: 22px;
    padding: 18px;
}

@media (max-width: 700px) {
    .checkout-page {
        padding-inline: 12px;
    }

    .checkout-banner {
        margin-top: 12px;
        padding: 18px 14px;
    }

    .checkout-steps {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        padding: 10px 8px;
        -webkit-overflow-scrolling: touch;
    }

    .checkout-steps .breadcrumb-item {
        flex: 0 0 auto;
        font-size: 0.86rem;
        white-space: nowrap;
    }

    .checkout-card {
        padding: 16px;
    }

    .checkout-payment-page .accordion-button {
        align-items: flex-start;
        font-size: 0.95rem;
        line-height: 1.25;
    }

    .checkout-payment-body {
        padding: 16px !important;
    }

    .checkout-complete-panel {
        grid-template-columns: 1fr;
        padding: 22px 18px;
    }

    .checkout-complete-actions .btn {
        width: 100%;
    }

    #shopping-cart {
        margin-top: 1.5rem !important;
        padding-inline: 12px;
    }

    #shopping-cart .cart-header h2 {
        font-size: 1.35rem;
    }

    #shopping-cart .details-section {
        padding: 16px !important;
    }

    #shopping-cart .row[data-id] {
        display: grid;
        grid-template-columns: 84px minmax(0, 1fr);
        gap: 12px;
    }

    #shopping-cart .row[data-id] > .col-md-2,
    #shopping-cart .row[data-id] > .col-md-8 {
        margin-bottom: 0 !important;
        width: auto;
    }

    #shopping-cart .row[data-id] > .col-md-2:last-child {
        grid-column: 1 / -1;
        width: 100%;
    }

    #order-summary {
        padding: 18px !important;
    }

    .public-product-info .btn,
    .public-actions .btn {
        width: 100%;
    }

    .public-product-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}
