:root {
    --bg: #f6f7fb;
    --surface: #ffffff;
    --surface-soft: #f8fafc;
    --surface-muted: #eef2f7;
    --line: #e5e7ef;
    --line-strong: #d8dee8;
    --text: #10131a;
    --muted: #667085;
    --dark: #172026;
    --dark-soft: #1f2a31;
    --accent: #ea4335;
    --accent-soft: #fff0ee;
    --success: #1f9d68;
    --success-soft: #ebf8f1;
    --shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
    --shadow-soft: 0 14px 36px rgba(15, 23, 42, 0.05);
    --radius-xl: 30px;
    --radius-lg: 24px;
    --radius-md: 20px;
    --radius-sm: 16px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Manrope", "Segoe UI", sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #f6f8fb 0%, #fdfdfd 100%);
}

img {
    max-width: 100%;
    display: block;
}

h1,
h2,
h3,
h4,
strong,
.btn,
.field-label {
    font-family: "Sora", "Trebuchet MS", sans-serif;
}

p,
span,
label,
small {
    color: var(--muted);
}

a {
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

body.modal-open {
    overflow: hidden;
}

/* topbar */
.topbar {
    background: var(--dark);
    padding: 0.7rem 0;
}

.topbar-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2rem;
    text-align: center;
}

.topbar-inner span {
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.92rem;
    font-weight: 600;
}

/* hero */
/* .hero-banner {
  position: relative;
  width: 100%;
  min-height: 650px;
  padding: 4rem 0;
  overflow: hidden;
  background:
    linear-gradient(rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.18)),
    url("{{ asset('public/uploads/images/hero-jersey-banner.jpg') }}") center center / cover no-repeat;
} */

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(12, 34, 24, 0.62) 0%, rgba(20, 72, 44, 0.38) 40%, rgba(255, 255, 255, 0.08) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    min-height: 220px;
}

.hero-copy {
    max-width: 620px;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-copy h1 {
    margin: 0 0 1rem;
    color: #ffffff;
    font-size: clamp(1.8rem, 3.4vw, 3rem);
    line-height: 1.28;
}

.hero-copy p {
    max-width: 540px;
    margin: 0 0 1.6rem;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1rem;
    line-height: 1.8;
}

/* layout */
.landing-shell {
    padding: 2rem 0 4rem;
}

.product-section,
.order-section {
    padding-top: 2rem;
}

.product-section .container {
    max-width: 1480px;
}

.order-section .container {
    max-width: 1460px;
}

.product-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 540px);
    gap: 1.75rem;
    align-items: start;
}

.order-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
    gap: 2rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

.refined-order-section {
    position: relative;
    padding: 3rem 0 4rem;
    background:
        radial-gradient(circle at top left, rgba(23, 32, 38, 0.05), transparent 24%),
        radial-gradient(circle at bottom right, rgba(234, 67, 53, 0.05), transparent 20%);
}

.refined-order-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(23, 32, 38, 0.08), transparent 28%),
        radial-gradient(circle at bottom right, rgba(234, 67, 53, 0.08), transparent 22%);
    pointer-events: none;
}

/* cards */
.product-gallery-card,
.product-details-card,
.checkout-form-card,
.checkout-summary-card {
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.product-gallery-card,
.product-details-card {
    border-radius: 22px;
    padding: 1.4rem;
}

.checkout-form-card,
.checkout-summary-card {
    border-radius: var(--radius-xl);
}

.checkout-form-card {
    display: grid;
    gap: 1.2rem;
    padding: 1.5rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 252, 0.98)),
        #ffffff;
}

.checkout-summary-card {
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 253, 0.98)),
        #ffffff;
}

/* gallery */
.gallery-frame {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 650px;
    padding: 2rem;
    border-radius: 18px;
    overflow: hidden;
    background: radial-gradient(circle at center, #f7f7f7 0%, #f0f1f4 45%, #eceef2 100%);
}

.sale-badge {
    position: absolute;
    top: 1.3rem;
    left: 1.3rem;
    z-index: 2;
    padding: 0.35rem 0.65rem;
    border-radius: 8px;
    background: var(--accent);
    color: #fff;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
}

.main-product-image {
    /* width: min(100%, 520px);
  max-height: 560px; */
    object-fit: contain;
    margin: 0 auto;
}

.thumb-row {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.thumb-btn {
    width: 88px;
    height: 88px;
    padding: 0.35rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.thumb-btn:hover {
    border-color: #94a3b8;
}

.thumb-btn.active {
    border-color: var(--dark);
    box-shadow: 0 12px 24px rgba(16, 19, 26, 0.1);
    transform: translateY(-1px);
}

/* product details */
.product-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #edf1f6;
}

.product-header h4 {
    margin: 0 0 0.6rem;
    color: var(--text);
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    line-height: 1.28;
    font-weight: 800;
}

.rating-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
}

.rating-stars {
    color: #f59e0b;
    letter-spacing: 0.08em;
}

.rating-row span:last-child {
    font-size: 0.9rem;
}

.wishlist-btn {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: var(--muted);
    font-size: 1.25rem;
}

.price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.current-price {
    color: var(--text);
    font-size: 1.9rem;
    font-weight: 800;
}

.old-price {
    color: #94a3b8;
    text-decoration: line-through;
    font-size: 1rem;
}

.discount-chip {
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    background: #fee2e2;
    color: #dc2626;
    font-size: 0.78rem;
    font-weight: 800;
}

/* blocks */
.checkout-block {
    padding: 1.45rem;
    border: 1px solid #e8edf5;
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.specs-showcase {
    background: linear-gradient(180deg, #ffffff 0%, #fafbfe 100%);
}

.block-heading {
    margin-bottom: 1rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid #edf1f6;
}

.block-heading h3,
.summary-top h3,
.size-chart-card h3 {
    margin: 0;
    color: #0f172a;
    font-size: 1.08rem;
    font-weight: 800;
}

.block-heading-split {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.block-kicker,
.section-kicker,
.product-section-label {
    display: inline-flex;
    margin-bottom: 0.5rem;
    color: var(--accent);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* product description / guide */
.product-tabs-card {
    margin-top: 1.5rem;
    padding: 1.1rem;
    border: 1px solid #e8edf5;
    border-radius: 20px;
    background: #fff;
}

.product-meta-row {
    display: grid;
    gap: 1rem;
}

.product-description-wrap,
.product-chart-trigger-wrap {
    padding: 1rem 1.05rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fbfcfe;
}

.product-description {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.8;
}

.product-tab-btn,
.size-chart-open-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0.9rem 1.15rem;
    border: 1px solid var(--dark);
    border-radius: 16px;
    background: var(--dark);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.product-tab-btn:hover,
.size-chart-open-btn:hover {
    background: var(--dark-soft);
    border-color: var(--dark-soft);
    color: #fff;
}

/* option cards */
.option-card {
    padding: 1rem;
    border: 1px solid #edf1f6;
    border-radius: 18px;
    background: var(--surface-soft);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.option-card+.option-card,
.option-card+.notes-box {
    margin-top: 1rem;
}

.option-card:hover {
    border-color: #d5dcea;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
    transform: translateY(-1px);
}

.option-check {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.option-check .form-check-input {
    margin-top: 0.32rem;
}

.option-check label {
    width: 100%;
    color: var(--text);
    font-weight: 700;
    line-height: 1.7;
}

.option-check label span {
    float: right;
    color: var(--accent);
    font-size: 0.84rem;
    font-weight: 800;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: #fff;
}

.fabric-reveal-card {
    display: grid;
    grid-template-columns: 118px 1fr;
    gap: 1rem;
    align-items: center;
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
}

.fabric-reveal-card img {
    width: 118px;
    height: 118px;
    border-radius: 16px;
    object-fit: cover;
    background: #eef2f7;
}

.fabric-reveal-card h4 {
    margin: 0 0 0.45rem;
    color: var(--text);
    font-size: 1rem;
    font-weight: 800;
}

.fabric-reveal-card p {
    margin: 0;
    line-height: 1.75;
}

/* form elements */
.field-label,
.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text);
    font-size: 0.92rem;
    font-weight: 700;
}

.form-control,
.form-select {
    border: 1px solid #d9deea;
    border-radius: 16px;
    padding: 0.95rem 1rem;
    color: var(--text);
    background: #fff;
}

.form-control:focus,
.form-select:focus,
.qty-input:focus {
    border-color: #b9c1d3;
    box-shadow: 0 0 0 0.2rem rgba(23, 32, 38, 0.08);
}

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

.field-helper {
    display: block;
    margin-top: 0.45rem;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.6;
}

/* bulk order */
.mixed-custom-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e4e9f2;
}

.bulk-heading-clean {
    align-items: center;
    gap: 1rem;
}

.bulk-heading-copy h3 {
    margin: 0 0 0.45rem;
    color: var(--text);
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.35;
}

.bulk-heading-text {
    margin: 0;
    max-width: 680px;
    font-size: 0.93rem;
    line-height: 1.7;
    color: var(--muted);
}

.bulk-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: var(--dark);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    white-space: nowrap;
    border: 0;
}

.contact-now-btn {
    min-width: 140px;
    border: 0;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-now-btn:hover {
    background: var(--dark-soft);
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(23, 32, 38, 0.15);
}

.mixed-design-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
    margin-top: 1rem;
}

.design-card {
    display: grid;
    grid-template-columns: 5.4rem 1fr auto;
    gap: 0.9rem;
    align-items: center;
    padding: 0.9rem;
    border-radius: 1.2rem;
    border: 1px solid rgba(24, 33, 38, 0.1);
    background: #fff;
    cursor: pointer;
    background:
        linear-gradient(180deg, #ffffff, #fcfbf8);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.design-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(24, 33, 38, 0.08);
}

.design-card.active {
    border-color: rgba(14, 109, 99, 0.26);
    box-shadow: 0 18px 36px rgba(14, 109, 99, 0.12);
    background:
        linear-gradient(180deg, rgba(14, 109, 99, 0.06), rgba(255, 255, 255, 0.98));
}

.design-thumb {
    width: 5.4rem;
    height: 5.4rem;
    border-radius: 1rem;
    overflow: hidden;
}

.design-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.design-card-copy strong,
.design-card-copy span {
    display: block;
}

.design-card-copy strong {
    font-size: 0.98rem;
    margin-bottom: 0.25rem;
}

.design-card-copy span {
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.5;
}

.design-card-state {
    display: grid;
    justify-items: end;
    gap: 0.35rem;
}

.design-add-text {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.design-qty-badge {
    min-width: 2.1rem;
    padding: 0.35rem 0.55rem;
    border-radius: 999px;
    background: rgba(24, 33, 38, 0.08);
    text-align: center;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
}

.design-card.active .design-qty-badge {
    background: #172127;
    color: #fff;
}

.selected-designs-panel {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 1.2rem;
    background: rgba(24, 33, 38, 0.03);
}

.selected-designs-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.9rem;
}

.selected-designs-head span {
    color: var(--muted);
    font-size: 0.88rem;
}

.selected-designs-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.selected-design-card {
    display: grid;
    grid-template-columns: 4.4rem 1fr auto;
    gap: 0.75rem;
    align-items: center;
    padding: 0.75rem;
    border-radius: 1rem;
    background: #fff;
    border: 1px solid rgba(24, 33, 38, 0.08);
}

.selected-design-card img {
    width: 4.4rem;
    height: 4.4rem;
    object-fit: cover;
    border-radius: 0.8rem;
}

.selected-design-copy strong,
.selected-design-copy span {
    display: block;
}

.selected-design-copy strong {
    font-size: 0.92rem;
    margin-bottom: 0.15rem;
}

.selected-design-copy span {
    color: var(--muted);
    font-size: 0.84rem;
}

.selected-remove-btn {
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 50%;
    background: rgba(207, 78, 45, 0.1);
    color: var(--brand);
    font-size: 1.1rem;
    line-height: 1;
    display: grid;
    place-items: center;
}

.selected-design-empty {
    padding: 1rem;
    border-radius: 1rem;
    border: 1px dashed rgba(24, 33, 38, 0.16);
    text-align: center;
}

.selected-design-empty strong,
.selected-design-empty span {
    display: block;
}

.selected-design-empty span {
    color: var(--muted);
    font-size: 0.88rem;
    margin-top: 0.3rem;
}

.btn-check:checked+.choice-pill {
    background: #172127;
    color: #fff;
    border-color: #172127;
}

.delivery-list {
    display: grid;
    gap: 0.85rem;
}

.delivery-option {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    justify-content: space-between;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(24, 33, 38, 0.1);
    border-radius: 1rem;
    background: #fff;
}

.delivery-option span {
    flex: 1;
}

.cod-box {
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    background: var(--accent-soft);
    color: #0c4f48;
}

.submit-btn {
    width: 100%;
    margin-top: 1.5rem;
}

.form-status {
    margin-top: 0.95rem;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    background: rgba(14, 109, 99, 0.08);
    color: #0b554d;
    font-size: 0.95rem;
}

.summary-media {
    aspect-ratio: 1.35 / 1;
    border-radius: 1.4rem;
    overflow: hidden;
    margin-bottom: 1.2rem;
}

.summary-badge {
    background: #172127;
    color: #fff;
    margin-bottom: 0.8rem;
}

.summary-copy h3 {
    font-size: 1.45rem;
    margin-bottom: 0.5rem;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.95rem 0;
    border-top: 1px solid rgba(24, 33, 38, 0.08);
}

.summary-line strong {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.1rem;
}

.total-line strong {
    color: var(--brand);
    font-size: 1.45rem;
}

/* size switch */
.order-size-card {
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
}

.size-type-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 0.9rem;
}

.size-type-btn {
    min-height: 54px;
    border: 1px solid #d8e0ea;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    color: #172026;
    font-weight: 800;
    transition: all 0.2s ease;
    cursor: pointer;
}

.size-type-btn:hover,
.size-type-btn.active {
    border-color: var(--dark);
    background: var(--dark);
    color: #fff;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.size-type-note {
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
    border: 1px solid #e8edf5;
    border-radius: 16px;
    background: #f8fafc;
}

.size-type-note span {
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 700;
}

.size-group-panel {
    margin-bottom: 0.35rem;
}

.size-group-panel.d-none {
    display: none !important;
}

.size-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.landing-selection-block {
    margin-top: 1.5rem;
}

.landing-selection-block h3 {
    margin: 0 0 0.9rem;
    color: var(--text);
    font-size: 1.05rem;
    font-weight: 800;
}

.landing-design-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.9rem;
}

.landing-design-card {
    display: grid;
    grid-template-columns: 5.4rem 1fr auto;
    gap: 0.9rem;
    align-items: center;
    padding: 0.9rem;
    border-radius: 1.1rem;
    border: 1px solid rgba(24, 33, 38, 0.1);
    background: linear-gradient(180deg, #ffffff, #fcfbf8);
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.landing-design-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(24, 33, 38, 0.08);
}

.landing-design-card.active {
    border-color: rgba(23, 32, 38, 0.24);
    box-shadow: 0 18px 36px rgba(23, 32, 38, 0.1);
    background: linear-gradient(180deg, rgba(23, 32, 38, 0.05), rgba(255, 255, 255, 0.98));
}

.landing-design-thumb {
    width: 5.4rem;
    height: 5.4rem;
    border-radius: 1rem;
    overflow: hidden;
    background: #f4f6f8;
}

.landing-design-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.landing-design-copy strong,
.landing-design-copy span {
    display: block;
}

.landing-design-copy strong {
    color: var(--text);
    font-size: 0.96rem;
    margin-bottom: 0.2rem;
}

.landing-design-copy span {
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.5;
}

.landing-design-state {
    display: grid;
    justify-items: end;
    gap: 0.4rem;
}

.landing-design-add-text {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.landing-design-qty-controls {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.landing-design-qty-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #d9deea;
    border-radius: 999px;
    background: #fff;
    color: var(--text);
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
}

.landing-design-qty-badge {
    min-width: 2rem;
    padding: 0.3rem 0.5rem;
    border-radius: 999px;
    background: rgba(24, 33, 38, 0.08);
    text-align: center;
    color: var(--text);
    font-weight: 800;
    font-size: 0.85rem;
}

.landing-design-card.active .landing-design-qty-badge {
    background: var(--dark);
    color: #fff;
}

.landing-design-empty-card {
    padding: 1rem;
    border-radius: 1rem;
    border: 1px dashed rgba(24, 33, 38, 0.16);
    text-align: center;
    background: #fff;
}

.landing-design-empty-card strong,
.landing-design-empty-card span {
    display: block;
}

.landing-design-empty-card strong {
    color: var(--text);
    margin-bottom: 0.25rem;
}

.landing-design-empty-card span {
    font-size: 0.88rem;
    color: var(--muted);
}

.selected-designs-panel {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 1.2rem;
    background: rgba(24, 33, 38, 0.03);
    border: 1px solid rgba(24, 33, 38, 0.06);
}

.selected-designs-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.9rem;
}

.selected-designs-head strong {
    color: var(--text);
}

.selected-designs-head span {
    color: var(--muted);
    font-size: 0.88rem;
}

.selected-designs-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
}

.selected-design-card {
    display: grid;
    grid-template-columns: 4.4rem 1fr auto;
    gap: 0.75rem;
    align-items: center;
    padding: 0.75rem;
    border-radius: 1rem;
    background: #fff;
    border: 1px solid rgba(24, 33, 38, 0.08);
}

.selected-design-card img {
    width: 4.4rem;
    height: 4.4rem;
    object-fit: cover;
    border-radius: 0.8rem;
}

.selected-design-copy strong,
.selected-design-copy span {
    display: block;
}

.selected-design-copy strong {
    color: var(--text);
    font-size: 0.92rem;
    margin-bottom: 0.15rem;
}

.selected-design-copy span {
    color: var(--muted);
    font-size: 0.84rem;
}

.selected-remove-btn {
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 50%;
    background: rgba(234, 67, 53, 0.1);
    color: var(--accent);
    font-size: 1.1rem;
    line-height: 1;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.selected-design-empty {
    padding: 1rem;
    border-radius: 1rem;
    border: 1px dashed rgba(24, 33, 38, 0.16);
    text-align: center;
    background: #fff;
}

.selected-design-empty strong,
.selected-design-empty span {
    display: block;
}

.selected-design-empty span {
    color: var(--muted);
    font-size: 0.88rem;
    margin-top: 0.3rem;
}

.choice-grid.size-choice-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.choice-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 74px;
    min-height: 48px;
    padding: 0.8rem 1rem;
    border: 1px solid #d4dae4;
    border-radius: 999px;
    background: #fff;
    color: var(--text);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.choice-pill:hover {
    border-color: var(--dark);
    color: var(--dark);
}

.btn-check:checked + .choice-pill {
    background: var(--dark);
    border-color: var(--dark);
    color: #fff;
}

.size-extra-note {
    margin: 0.85rem 0 0;
    color: var(--accent);
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.6;
}

/* ===== Landing Design + Size Section Final Corrected ===== */

.landing-selection-block {
    margin-top: 1.5rem;
}

.landing-selection-block h3 {
    margin: 0 0 0.9rem;
    color: var(--text);
    font-size: 1.05rem;
    font-weight: 800;
}

.landing-design-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.landing-design-card {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr) auto;
    gap: 0.85rem;
    align-items: center;
    width: 100%;
    min-width: 0;
    padding: 0.95rem;
    border-radius: 1.15rem;
    border: 1px solid rgba(24, 33, 38, 0.1);
    background: linear-gradient(180deg, #ffffff, #fcfbf8);
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-shadow: 0 10px 22px rgba(24, 33, 38, 0.04);
}

.landing-design-card:hover {
    transform: translateY(-2px);
    border-color: rgba(24, 33, 38, 0.16);
    box-shadow: 0 16px 34px rgba(24, 33, 38, 0.08);
}

.landing-design-card.active {
    border-color: rgba(23, 32, 38, 0.24);
    box-shadow: 0 18px 36px rgba(23, 32, 38, 0.1);
    background: linear-gradient(180deg, rgba(23, 32, 38, 0.05), rgba(255, 255, 255, 0.98));
}

.landing-design-thumb {
    width: 88px;
    height: 88px;
    border-radius: 0.95rem;
    overflow: hidden;
    background: #f4f6f8;
    flex-shrink: 0;
}

.landing-design-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.landing-design-copy {
    min-width: 0;
}

.landing-design-copy strong,
.landing-design-copy span {
    display: block;
}

.landing-design-copy strong {
    margin-bottom: 0.22rem;
    color: var(--text);
    font-size: 0.96rem;
    font-weight: 800;
    line-height: 1.35;
}

.landing-design-copy span {
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.5;
}

.landing-design-state {
    display: grid;
    justify-items: end;
    gap: 0.35rem;
}

.landing-design-add-text {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: right;
}

.landing-design-qty-controls {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.landing-design-qty-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #d0d5dd;
    background: #fff;
    border-radius: 999px;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    color: var(--text);
    font-weight: 800;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.landing-design-qty-btn:hover {
    background: #f5f7fa;
    border-color: #bfc7d1;
}

.landing-design-qty-badge {
    min-width: 2rem;
    padding: 0.35rem 0.5rem;
    border-radius: 999px;
    background: rgba(24, 33, 38, 0.08);
    text-align: center;
    color: var(--text);
    font-weight: 800;
    font-size: 0.84rem;
}

.landing-design-card.active .landing-design-qty-badge {
    background: #172127;
    color: #fff;
}

.landing-design-empty-card {
    grid-column: 1 / -1;
    padding: 1rem;
    border-radius: 1rem;
    border: 1px dashed rgba(24, 33, 38, 0.16);
    text-align: center;
    background: #fff;
}

.landing-design-empty-card strong,
.landing-design-empty-card span {
    display: block;
}

.landing-design-empty-card strong {
    color: var(--text);
    margin-bottom: 0.25rem;
}

.landing-design-empty-card span {
    font-size: 0.88rem;
    color: var(--muted);
}

.selected-designs-panel {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 1.15rem;
    background: rgba(24, 33, 38, 0.03);
    border: 1px solid rgba(24, 33, 38, 0.06);
}

.selected-designs-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.9rem;
}

.selected-designs-head strong {
    color: var(--text);
}

.selected-designs-head span {
    color: var(--muted);
    font-size: 0.88rem;
}

.selected-designs-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.selected-design-card {
    display: grid;
    grid-template-columns: 4rem minmax(0, 1fr) auto;
    gap: 0.7rem;
    align-items: center;
    padding: 0.75rem;
    border-radius: 1rem;
    background: #fff;
    border: 1px solid rgba(24, 33, 38, 0.08);
}

.selected-design-card img {
    width: 4rem;
    height: 4rem;
    object-fit: cover;
    border-radius: 0.8rem;
}

.selected-design-copy strong,
.selected-design-copy span {
    display: block;
}

.selected-design-copy strong {
    color: var(--text);
    font-size: 0.9rem;
    margin-bottom: 0.15rem;
}

.selected-design-copy span {
    color: var(--muted);
    font-size: 0.82rem;
}

.selected-remove-btn {
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 50%;
    background: rgba(207, 78, 45, 0.1);
    color: var(--accent);
    font-size: 1rem;
    line-height: 1;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.selected-design-empty {
    padding: 1rem;
    border-radius: 1rem;
    border: 1px dashed rgba(24, 33, 38, 0.16);
    text-align: center;
    background: #fff;
}

.selected-design-empty strong,
.selected-design-empty span {
    display: block;
}

.selected-design-empty span {
    color: var(--muted);
    font-size: 0.88rem;
    margin-top: 0.3rem;
}

.choice-grid.size-choice-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.choice-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 74px;
    min-height: 48px;
    padding: 0.8rem 1rem;
    border: 1px solid #d4dae4;
    border-radius: 999px;
    background: #fff;
    color: var(--text);
    text-align: center;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.choice-pill:hover {
    border-color: #172127;
    color: #172127;
}

.btn-check:checked + .choice-pill {
    background: #172127;
    color: #fff;
    border-color: #172127;
}

.size-extra-note {
    margin: 0.8rem 0 0;
    color: var(--accent);
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.6;
}

@media (max-width: 991.98px) {
    .landing-design-grid,
    .selected-designs-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .landing-design-card {
        grid-template-columns: 76px minmax(0, 1fr);
    }

    .landing-design-state {
        grid-column: 1 / -1;
        justify-items: start;
    }

    .landing-design-add-text {
        text-align: left;
    }
}

@media (max-width: 767.98px) {
    .landing-design-grid,
    .selected-designs-list {
        grid-template-columns: 1fr;
    }

    .landing-design-card {
        grid-template-columns: 72px minmax(0, 1fr);
        padding: 0.8rem;
        border-radius: 1rem;
    }

    .landing-design-thumb {
        width: 72px;
        height: 72px;
    }

    .landing-design-copy strong {
        font-size: 0.9rem;
    }

    .landing-design-copy span {
        font-size: 0.78rem;
    }

    .landing-design-state {
        grid-column: 1 / -1;
        justify-items: start;
        gap: 0.45rem;
    }

    .landing-design-qty-controls {
        justify-content: flex-start;
    }

    .selected-design-card {
        grid-template-columns: 3.5rem minmax(0, 1fr) auto;
    }

    .selected-design-card img {
        width: 3.5rem;
        height: 3.5rem;
    }

    .size-choice-grid .choice-pill {
        min-width: calc(50% - 0.4rem);
        flex: 1 1 calc(50% - 0.4rem);
    }
}

@media (max-width: 575.98px) {
    .size-choice-grid .choice-pill {
        min-width: 100%;
        flex: 1 1 100%;
    }
}

@media (max-width: 767.98px) {
    .landing-design-card {
        grid-template-columns: 4.6rem 1fr;
        gap: 0.8rem;
    }

    .landing-design-state {
        grid-column: 1 / -1;
        justify-items: stretch;
        gap: 0.5rem;
    }

    .landing-design-add-text {
        text-align: left;
    }

    .landing-design-qty-controls {
        justify-content: flex-start;
    }

    .choice-pill {
        min-width: calc(50% - 0.4rem);
    }

    .selected-design-card {
        grid-template-columns: 3.8rem 1fr auto;
    }

    .selected-design-card img {
        width: 3.8rem;
        height: 3.8rem;
    }
}

@media (max-width: 575.98px) {
    .choice-pill {
        min-width: 100%;
    }
}

.size-btn {
    min-width: 62px;
    padding: 0.9rem 1rem;
    border: 1px solid #d4dae4;
    border-radius: 18px;
    background: #fff;
    color: #0f172a;
    font-weight: 800;
    transition: all 0.2s ease;
}

.size-btn:hover,
.size-btn.active {
    border-color: var(--dark);
    background: var(--dark);
    color: #fff;
}

.cart-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin-top: 1.4rem;
}

.order-cart-row {
    margin-top: 1.15rem;
}

.qty-box {
    display: inline-flex;
    align-items: center;
    border: 1px solid #dce3ee;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
}

.qty-btn {
    width: 48px;
    height: 48px;
    border: 0;
    background: #fff;
    color: #172026;
    font-size: 1.25rem;
    font-weight: 800;
    cursor: pointer;
}

.qty-input {
    width: 68px;
    height: 48px;
    border: 0;
    text-align: center;
    color: #172026;
    font-weight: 800;
    appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.order-form-panel {
    margin-top: 1.35rem;
    padding: 1.25rem;
    border: 1px solid #edf1f6;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%);
}

.order-form-heading {
    margin-bottom: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--line);
}

.order-form-heading h4 {
    margin: 0 0 0.35rem;
    color: var(--text);
    font-size: 1rem;
}

.order-form-heading p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.65;
}

/* summary */
.summary-card-inner {
    position: sticky;
    top: 1rem;
    padding: 1.45rem;
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 252, 0.98)),
        #ffffff;
}

.summary-top {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    padding-bottom: 1rem;
    border-bottom: 1px solid #edf1f6;
}

.summary-top span {
    font-size: 0.88rem;
}

.modify-link {
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 700;
}

.order-item {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 0.9rem;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
}

.order-item img {
    width: 72px;
    height: 72px;
    padding: 0.35rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface-soft);
    object-fit: contain;
}

.order-item-copy strong {
    display: block;
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.45;
}

.order-item-copy span {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.85rem;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
}

.summary-line strong {
    color: var(--text);
}

.total-line strong,
.payable-line strong {
    font-size: 1.18rem;
}

.summary-note {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 16px;
    background: var(--success-soft);
    color: #10724b;
    font-weight: 800;
}

.option-stack {
    margin-top: 1.2rem;
}

.option-stack h4 {
    margin: 0 0 0.85rem;
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 800;
}

.payment-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.9rem;
    align-items: center;
    padding: 1rem;
    border: 1px solid #e5eaf2;
    border-radius: 18px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.payment-card+.payment-card {
    margin-top: 0.8rem;
}

.payment-card input {
    margin-top: 0.1rem;
}

.payment-card.active {
    border-color: var(--dark);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.payment-card strong {
    display: block;
    color: var(--text);
    font-size: 0.92rem;
}

.payment-card span {
    display: block;
    margin-top: 0.18rem;
    font-size: 0.84rem;
    line-height: 1.5;
}

.payment-card em {
    color: var(--text);
    font-style: normal;
    font-size: 0.86rem;
    font-weight: 800;
}

.payment-note {
    margin: 0.95rem 0 0;
    font-size: 0.9rem;
    line-height: 1.7;
}

.terms-row {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    margin: 1.2rem 0 1rem;
}

.terms-row input {
    margin-top: 0.3rem;
}

.terms-row label {
    font-size: 0.86rem;
    line-height: 1.65;
}

/* buttons */
.add-cart-btn,
.btn-dark-solid {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.35rem;
    border-radius: 16px;
    background: var(--dark);
    border: 1px solid var(--dark);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.form-label,
.selection-block h3 {
    font-weight: 700;
    margin-bottom: 0.7rem;
}

.form-control {
    border-radius: 1rem;
    border: 1px solid rgba(24, 33, 38, 0.12);
    padding: 0.9rem 1rem;
}

.form-control:focus {
    border-color: rgba(14, 109, 99, 0.4);
    box-shadow: 0 0 0 0.2rem rgba(14, 109, 99, 0.08);
}

.selection-block {
    margin-top: 1.6rem;
}

.design-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.design-grid,
.selected-designs-list {
    grid-template-columns: 1fr;
}

.design-grid {
    gap: 0.85rem;
}



.btn-dark-solid:hover,
.btn-dark-solid:focus,
.add-cart-btn:hover,
.add-cart-btn:focus {
    background: var(--dark-soft);
    color: #fff;
}

.btn-xs {
    padding: 0.8rem 1rem;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 700;
}

/* contact modal */
.contact-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(15, 23, 42, 0.58);
    backdrop-filter: blur(6px);
}

.contact-modal-dialog {
    width: 100%;
    max-width: 640px;
}

.contact-modal-card {
    padding: 1.4rem;
    border: 1px solid #e5eaf2;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.2);
    animation: modalPopIn 0.22s ease;
}

.contact-modal-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #edf1f6;
}

.contact-modal-head h3 {
    margin: 0.25rem 0 0;
    color: #0f172a;
    font-size: 1.14rem;
    font-weight: 800;
}

.contact-modal-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.size-extra-note {
    margin: 0.8rem 0 0;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.6;
}

.contact-modal-close {
    width: 42px;
    height: 42px;
    border: 1px solid #d9deea;
    border-radius: 50%;
    background: #fff;
    color: #172026;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
}

.contact-modal-close:hover {
    background: var(--dark);
    border-color: var(--dark);
    color: #fff;
}

.contact-selected-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    background: #eef2f7;
    color: var(--text);
    font-size: 0.84rem;
    font-weight: 800;
    white-space: nowrap;
}

/* bootstrap size chart modal */
.size-chart-bs-modal {
    border: 0;
    border-radius: 24px;
    overflow: hidden;
}

.size-chart-bs-modal .modal-header {
    border-bottom: 1px solid #edf1f6;
    padding: 1.1rem 1.25rem;
}

.size-chart-bs-modal .modal-body {
    padding: 1.25rem;
}

.size-chart-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.size-chart-switch-btn {
    min-height: 48px;
    border: 1px solid #d8e0ea;
    border-radius: 16px;
    background: #f8fafc;
    color: var(--text);
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
}

.size-chart-switch-btn.active {
    background: var(--dark);
    border-color: var(--dark);
    color: #fff;
}

.chart-panel.d-none {
    display: none !important;
}

.chart-panel.active {
    display: block;
}

.size-chart-card {
    padding: 1.2rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface-soft);
}

.split-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.9rem;
}

.mini-pill {
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: #eef2f7;
    color: var(--text);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.size-table thead th {
    background: var(--dark);
    color: #fff;
    border: 0;
    font-size: 0.84rem;
    white-space: nowrap;
}

.size-table tbody td {
    font-size: 0.9rem;
    color: var(--text);
    border-color: #edf1f6;
}

@keyframes modalPopIn {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* tablet */
@media (max-width: 1199.98px) {

    .product-layout,
    .order-layout {
        grid-template-columns: 1fr;
    }

    .summary-card-inner {
        position: static;
    }

    .gallery-frame {
        min-height: 460px;
    }

    .main-product-image {
        max-height: 420px;
    }
}

@media (max-width: 991.98px) {
    .hero-banner {
        min-height: 520px;
        padding: 3.5rem 0;
    }

    .hero-content {
        min-height: 360px;
    }

    .hero-copy {
        max-width: 100%;
    }

    .hero-copy h1 {
        font-size: 2.1rem;
        line-height: 1.25;
    }

    .hero-copy p {
        max-width: 100%;
    }

    .mixed-design-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .design-card img {
        height: 130px;
    }

    .contact-modal-dialog {
        max-width: 92%;
    }
}

/* mobile */
@media (max-width: 767.98px) {
    .hero-banner {
        min-height: 420px;
        padding: 3rem 0;
        background:
            linear-gradient(rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.28)),
            url("assets/hero-jersey-banner.jpg") center top / cover no-repeat;
    }

    .hero-overlay {
        background:
            linear-gradient(180deg, rgba(10, 28, 20, 0.55) 0%, rgba(10, 28, 20, 0.28) 45%, rgba(10, 28, 20, 0.5) 100%);
    }

    .hero-content {
        min-height: 320px;
        align-items: center;
        justify-content: center;
    }

    .hero-copy {
        max-width: 100%;
        text-align: center;
        margin: 0 auto;
    }

    .hero-copy h1 {
        font-size: 1.8rem;
        line-height: 1.22;
    }

    .hero-copy p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .hero-kicker {
        font-size: 0.76rem;
    }

    .topbar-inner {
        gap: 0.55rem 1rem;
    }

    .topbar-inner span {
        width: 100%;
        font-size: 0.8rem;
    }

    .landing-shell {
        padding: 1.3rem 0 3rem;
    }

    .product-gallery-card,
    .product-details-card,
    .checkout-form-card,
    .summary-card-inner,
    .contact-modal-card {
        padding: 1rem;
    }

    .gallery-frame {
        min-height: 340px;
        padding: 1rem;
    }

    .main-product-image {
        width: 100%;
        max-height: 280px;
    }

    .thumb-row {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.65rem;
    }

    .thumb-btn {
        width: 100%;
        height: 78px;
    }

    .product-header {
        flex-direction: column;
    }

    .wishlist-btn {
        display: none;
    }

    .current-price {
        font-size: 1.55rem;
    }

    .block-heading-split,
    .contact-modal-head,
    .contact-modal-actions,
    .summary-top {
        flex-direction: column;
        align-items: stretch;
    }

    .bulk-badge,
    .contact-now-btn,
    .size-chart-open-btn {
        width: 100%;
    }

    .mixed-design-grid {
        grid-template-columns: 1fr;
    }

    .payment-card {
        grid-template-columns: auto 1fr;
    }

    .payment-card em {
        grid-column: 2;
    }

    .size-btn {
        flex: 1 1 calc(50% - 0.7rem);
        min-width: unset;
    }

    .qty-box {
        width: 100%;
        justify-content: center;
    }

    .fabric-reveal-card {
        grid-template-columns: 1fr;
    }

    .fabric-reveal-card img {
        width: 100%;
        height: 180px;
    }

    .option-check label span {
        float: none;
        display: inline-flex;
        margin-top: 0.2rem;
    }

    .contact-modal-backdrop {
        padding: 0.8rem;
    }

    .contact-modal-head h3 {
        font-size: 1rem;
    }

    .contact-modal-close {
        align-self: flex-end;
    }

    .size-chart-bs-modal .modal-header,
    .size-chart-bs-modal .modal-body {
        padding: 1rem;
    }

    .split-title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.45rem;
    }

    .size-table thead th,
    .size-table tbody td {
        font-size: 0.78rem;
        padding: 0.65rem 0.55rem;
    }

    .bulk-heading-copy h3 {
        font-size: 1.05rem;
    }

    .bulk-heading-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 575.98px) {
    .hero-copy h1 {
        font-size: 1.55rem;
    }

    .hero-copy p {
        font-size: 0.88rem;
    }

    .product-header h4 {
        font-size: 1.08rem;
    }

    .current-price {
        font-size: 1.4rem;
    }

    .thumb-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .size-btn {
        flex: 1 1 100%;
    }

    .size-type-btn {
        min-height: 48px;
        font-size: 0.9rem;
    }

    .bulk-badge,
    .btn-dark-solid,
    .size-chart-open-btn {
        min-height: 48px;
        font-size: 0.9rem;
    }

    .checkout-block,
    .payment-card,
    .option-card {
        border-radius: 16px;
    }

    .summary-note {
        font-size: 0.84rem;
        padding: 0.85rem;
    }

    .size-table thead th,
    .size-table tbody td {
        font-size: 0.74rem;
    }
}


.selected-designs-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.selected-design-card {
    width: 100%;
    min-width: 0;
}

@media (max-width: 767.98px) {
    .selected-designs-list {
        grid-template-columns: 1fr;
    }
}

.checkout-summary-card {
    overflow: hidden;
    border-radius: 28px;
    background: #fff;
    border: 1px solid #e5e7ef;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.summary-card-inner {
    padding: 1.45rem;
}

.summary-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #edf1f6;
}

.summary-top h3 {
    margin: 0;
    color: var(--text);
    font-size: 1.1rem;
    font-weight: 800;
}

.summary-top span {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.88rem;
    color: var(--muted);
}

.modify-link {
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 700;
}

.order-item {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 0.9rem;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
}

.order-item img {
    width: 72px;
    height: 72px;
    padding: 0.35rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface-soft);
    object-fit: contain;
}

.order-item-copy strong {
    display: block;
    color: var(--text);
    font-size: 0.96rem;
    line-height: 1.45;
}

.order-item-copy span {
    display: block;
    margin-top: 0.25rem;
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.55;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
}

.summary-line span {
    color: var(--muted);
    font-size: 0.92rem;
}

.summary-line strong {
    color: var(--text);
    font-size: 1rem;
    font-weight: 800;
}

.total-line strong,
.payable-line strong {
    font-size: 1.18rem;
}

.summary-meta {
    padding-top: 0.95rem;
    font-size: 0.9rem;
    color: var(--muted);
}

.summary-meta span {
    color: var(--text);
    font-weight: 700;
}

.summary-note {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 16px;
    background: var(--success-soft);
    color: #10724b;
    font-weight: 800;
}

.contact-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(15, 23, 42, 0.58);
    backdrop-filter: blur(6px);
}

.chart-panel {
    display: none;
}

.chart-panel.active.show-panel {
    display: block;
}

.chart-panel.d-none {
    display: none !important;
}
