:root {
    --bg: #f7f4f9;
    --paper: #ffffff;
    --ink: #161a1f;
    --muted: #746d79;
    --line: #ebe5ee;
    --brand: #17191c;
    --gold: #aa8745;
    --danger: #d64040;
    --green: #2f855a;
    --package-accent: #8D38C9;
    --container: 560px;
    --shadow: 0 10px 32px rgba(55, 35, 68, 0.07);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    font-family: "Cairo", system-ui, sans-serif;
    background: linear-gradient(180deg, #fbf9fc 0%, #f4f0f6 100%);
    padding: 0 0 calc(92px + env(safe-area-inset-bottom));
    overflow-x: hidden;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    touch-action: manipulation;
}

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

a {
    color: inherit;
    text-decoration: none;
}

.container {
    position: relative;
    z-index: 1;
    width: min(var(--container), calc(100% - 20px));
    margin: 0 auto;
}

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid #eee8f0;
    backdrop-filter: blur(16px);
    transition: transform 0.28s ease;
}

.header.hide {
    transform: translateY(-110%);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 66px;
    padding: 10px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.brand-logo {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 42px;
    height: 42px;
    overflow: hidden;
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    background: linear-gradient(145deg, var(--brand), #2a2d31);
    border: 1px solid rgba(180, 139, 53, 0.38);
    border: 1px solid color-mix(in srgb, var(--gold) 55%, transparent);
    border-radius: 13px;
    box-shadow: 0 6px 18px rgba(49, 28, 61, 0.1);
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-copy {
    min-width: 0;
}

.brand-title,
.brand-subtitle {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.brand-title {
    font-size: 16px;
    font-weight: 900;
    line-height: 1.15;
}

.brand-subtitle {
    max-width: 220px;
    margin-top: 3px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.secure-pill,
.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 10px;
    color: #514b55;
    font-size: 11px;
    font-weight: 800;
    background: #faf7fc;
    border: 1px solid #e7deeb;
    border-radius: 999px;
}

.contact-btn.whatsapp {
    width: 42px;
    min-width: 42px;
    padding: 7px;
    color: #126a3c;
    font-size: 0;
    line-height: 0;
    border-color: #b9dcc8;
}

.wa-mark {
    display: block;
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.page-stack {
    display: grid;
    gap: 12px;
    padding-top: 12px;
}

.card {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.section-pad {
    padding: 17px;
}

.section-title {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.35;
}

.gallery-card {
    padding: 10px;
}

.main-image-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 350px;
    overflow: hidden;
    background: #faf8fb;
    border: 1px solid #eee8f0;
    border-radius: 16px;
}

.main-image-wrap img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    max-height: 550px;
    object-fit: contain;
    transition: opacity 0.32s ease, transform 0.32s ease;
}

.main-image-wrap img.is-changing {
    opacity: 0.18;
    transform: scale(0.985);
}

.image-kicker {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    padding: 7px 11px;
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    background: var(--package-accent);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
}

.thumb-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
    margin-top: 10px;
}

.gallery-thumb {
    height: 70px;
    padding: 4px;
    overflow: hidden;
    cursor: pointer;
    background: #faf8fb;
    border: 1px solid #e9e1ed;
    border-radius: 13px;
}

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

.gallery-thumb.active {
    padding: 3px;
    border: 2px solid var(--package-accent);
    box-shadow: 0 0 0 2px rgba(141, 56, 201, 0.08);
}

.product-info {
    padding: 20px 18px;
}

.product-title {
    margin: 0 0 7px;
    font-size: 26px;
    font-weight: 900;
    line-height: 1.35;
    letter-spacing: -0.3px;
}

.product-subtitle {
    margin: 0;
    color: #676f77;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.7;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 14px;
}

.trust-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 10px 6px;
    color: #3f4448;
    font-size: 10.5px;
    font-weight: 800;
    text-align: center;
    background: #faf7fc;
    border: 1px solid #e9e0ed;
    border-radius: 14px;
}

.feature-box {
    padding: 14px;
    color: #3f4448;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.9;
    background: #faf8fb;
    border: 1px solid var(--line);
    border-radius: 15px;
}

.reviews-section {
    padding: 20px 17px;
}

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

.reviews-heading .section-title {
    margin: 2px 0 0;
}

.reviews-eyebrow {
    color: var(--package-accent);
    font-size: 10px;
    font-weight: 900;
}

.reviews-stars {
    color: #e3ad24;
    font-size: 14px;
    letter-spacing: 1px;
    white-space: nowrap;
}

.reviews-grid {
    display: grid;
    gap: 9px;
}

.review-card {
    position: relative;
    padding: 15px 15px 13px;
    overflow: hidden;
    background: #fcfafd;
    border: 1px solid #e9e0ed;
    border-radius: 15px;
}

.review-quote {
    position: absolute;
    top: 3px;
    left: 12px;
    color: rgba(141, 56, 201, 0.12);
    font-family: Georgia, serif;
    font-size: 52px;
    font-weight: 900;
    line-height: 1;
}

.review-card p {
    position: relative;
    z-index: 1;
    margin: 0 0 12px;
    color: #3e3543;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.85;
}

.review-card footer {
    display: flex;
    align-items: center;
    gap: 8px;
}

.review-avatar {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    background: var(--package-accent);
    border-radius: 50%;
}

.review-card footer span:last-child {
    display: grid;
    gap: 1px;
}

.review-card footer strong {
    color: #29212d;
    font-size: 10px;
    font-weight: 900;
}

.review-card footer small {
    color: var(--muted);
    font-size: 8.5px;
    font-weight: 700;
}

#orderBox {
    padding: 0;
    overflow: hidden;
    border-color: #e6dce9;
    scroll-margin-top: 78px;
}

.order-head {
    padding: 19px 17px 16px;
    color: #fff;
    background: linear-gradient(135deg, #211b25, #33283a);
}

.order-head .section-title {
    margin: 0;
    color: #fff;
    font-size: 20px;
}

.order-subtitle {
    margin: 4px 0 0;
    color: #ded6e2;
    font-size: 11.5px;
    font-weight: 700;
}

.packages-box {
    margin: 14px 12px 6px;
    padding: 14px 12px 12px;
    overflow: hidden;
    background: #fcfafd;
    border: 1px solid #e6d6f0;
    border-radius: 21px;
    box-shadow: none;
}

.packages-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 11px;
}

.packages-head-title {
    color: #1d2228;
    font-size: 14px;
    font-weight: 900;
}

.selection-summary {
    overflow: hidden;
    color: var(--muted);
    font-size: 9px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.packages-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 4px 3px 8px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #c8b2d8 transparent;
    scroll-snap-type: x proximity;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
}

.packages-row::-webkit-scrollbar,
.sizes-wrap::-webkit-scrollbar,
.colors-wrap::-webkit-scrollbar {
    height: 4px;
}

.packages-row::-webkit-scrollbar-thumb,
.sizes-wrap::-webkit-scrollbar-thumb,
.colors-wrap::-webkit-scrollbar-thumb {
    background: #c8b2d8;
    border-radius: 999px;
}

.package-card {
    position: relative;
    display: flex;
    flex: 1 0 0;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-width: 92px;
    padding: 8px 7px 9px;
    color: inherit;
    text-align: center;
    cursor: pointer;
    background: #fff;
    border: 1.5px solid #e3d7ea;
    border-radius: 18px;
    outline: none;
    box-shadow: none;
    scroll-snap-align: start;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.package-card:only-child {
    flex-basis: 100%;
}

.package-card:hover {
    transform: translateY(-1px);
}

.package-card:focus-visible,
.size-btn:focus-visible,
.color-btn:focus-visible,
.btnPrimary:focus-visible,
.sticky-btn:focus-visible,
.gallery-thumb:focus-visible {
    outline: 3px solid rgba(170, 135, 69, 0.42);
    outline: 3px solid color-mix(in srgb, var(--gold) 45%, transparent);
    outline-offset: 2px;
}

.package-card.active {
    background: linear-gradient(180deg, #fff, #f7edfc);
    border: 2px solid var(--package-accent);
    box-shadow: 0 0 0 3px rgba(141, 56, 201, 0.1), 0 10px 24px rgba(72, 31, 96, 0.12);
}

.package-card.active::after {
    content: "✓";
    position: absolute;
    top: 7px;
    left: 7px;
    display: grid;
    place-items: center;
    width: 21px;
    height: 21px;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 900;
    background: var(--package-accent);
    border-radius: 50%;
    box-shadow: 0 5px 12px rgba(31, 38, 45, 0.18);
}

.package-badge {
    position: absolute;
    top: 7px;
    right: 7px;
    z-index: 2;
    padding: 4px 6px;
    color: #fff;
    font-size: 7px;
    font-weight: 900;
    background: linear-gradient(135deg, #d9ad21, #b98600);
    border-radius: 999px;
}

.package-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
    max-height: 132px;
    aspect-ratio: 1;
    flex-shrink: 0;
    margin-bottom: 7px;
    overflow: hidden;
    background: radial-gradient(circle at center, #fff 0%, #f4f5f6 78%);
    border: 1px solid #e7eaed;
    border-radius: 13px;
}

.package-quantity {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 25px;
    padding: 4px 10px;
    margin: -18px 0 6px;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--package-accent), #6f279f);
    border: 2px solid #fff;
    border-radius: 999px;
    box-shadow: 0 6px 14px rgba(141, 56, 201, 0.22);
    z-index: 2;
}

.package-image img {
    width: 100%;
    height: 100%;
    padding: 1px;
    object-fit: contain;
    transform: scale(1.1);
    transform-origin: center;
}

.package-name {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 38px;
    color: #181b1f;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.package-price {
    margin-top: 4px;
    color: #6f279f;
    font-size: clamp(16px, 4.2vw, 20px);
    font-weight: 900;
    line-height: 1;
}

.package-price small,
.package-unit,
.package-saving {
    color: #777e85;
    font-size: 8px;
    font-weight: 800;
}

.package-unit,
.package-saving {
    min-height: 16px;
    margin-top: 5px;
}

.package-saving {
    color: #126a3c;
}

.package-select {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 30px;
    padding: 5px 3px;
    margin-top: 8px;
    color: #697078;
    font-size: 9px;
    font-weight: 900;
    background: #f3f4f5;
    border-radius: 9px;
}

.package-card.active .package-select {
    color: #fff;
    background: linear-gradient(135deg, var(--package-accent), #6f279f);
}

.package-card.active .package-select-text {
    font-size: 0;
}

.package-card.active .package-select-text::after {
    content: "تم الاختيار";
    font-size: 8.5px;
}

.packages-box.input-error {
    background: #fff7f7 !important;
    border: 2px solid var(--danger) !important;
    box-shadow: 0 0 0 3px rgba(214, 71, 71, 0.08), 0 12px 30px rgba(24, 32, 40, 0.07) !important;
    animation: fieldShake 0.45s ease-in-out 2;
}

.price-box {
    display: none;
}

.sizes-section,
.colors-section {
    position: relative;
    margin: 15px 12px 0;
    padding: 17px 13px 15px;
    background: #fcfafd;
    border: 1.5px solid #dfcce9;
    border-radius: 20px;
}

.sizes-head,
.weight-confirm-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 9px;
}

.sizes-head {
    margin-bottom: 12px;
}

.sizes-title {
    margin: 0;
    color: #4d2a61;
    font-size: 18px;
    font-weight: 900;
}

.sizes-hint {
    color: #7b5c8b;
    font-size: 11px;
    font-weight: 800;
}

.sizes-wrap,
.colors-wrap {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    min-width: 0;
    padding: 3px 3px 8px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #c8b2d8 transparent;
    scroll-snap-type: x proximity;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
}

.size-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 0 auto;
    min-width: 44px;
    min-height: 58px;
    height: auto;
    padding: 6px 9px;
    flex-direction: column;
    color: #422452;
    font-weight: 900;
    cursor: pointer;
    background: #fff;
    border: 1px solid #d9c3e6;
    border-radius: 12px;
    scroll-snap-align: start;
}

.size-btn.active {
    color: #fff;
    background: var(--package-accent);
    border-color: var(--package-accent);
    box-shadow: 0 8px 18px rgba(141, 56, 201, 0.18);
}

.size-main {
    font-size: 17px;
    line-height: 1.3;
    white-space: nowrap;
}

.size-price {
    font-size: 11px;
    font-weight: 900;
    white-space: nowrap;
}

.size-old-price {
    color: #7e9386;
    font-size: 9px;
    font-weight: 700;
    white-space: nowrap;
}

.size-btn.active .size-old-price { color: rgba(255, 255, 255, 0.72); }

.colors-section {
    background: linear-gradient(180deg, #fffafd, #f8effd);
    border-color: #d5b5e8;
}

.colors-section .sizes-title { color: #63327e; }
.colors-section .sizes-hint { color: #86589d; }

.color-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 0 auto;
    min-height: 48px;
    gap: 8px;
    padding: 7px 12px;
    color: #4b2b5d;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    background: #fff;
    border: 1.5px solid #d8bee7;
    border-radius: 13px;
    scroll-snap-align: start;
}

.color-btn.active {
    color: #fff;
    background: linear-gradient(135deg, #8D38C9, #6f279f);
    border-color: #6f279f;
    box-shadow: 0 9px 20px rgba(141, 56, 201, 0.2);
}

.color-swatch {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    background: var(--swatch, #000);
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.18);
}

.weight-confirm-box {
    margin: 12px 12px 0;
    padding: 13px;
    background: linear-gradient(180deg, #f6fff8, #edf9f1);
    border: 1px solid #a9d3b7;
    border-radius: 17px;
    transition: 0.18s ease;
}

.weight-confirm-box.confirm-error {
    background: #fff7f7;
    border-color: var(--danger);
    box-shadow: 0 0 0 3px rgba(214, 71, 71, 0.08);
}

.weight-confirm-box.confirm-ok {
    background: #f5fbf7;
    border-color: #74b78f;
}

.weight-confirm-head {
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 900;
}

.chosen-size-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 5px 9px;
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    white-space: nowrap;
    background: #2f855a;
    border-radius: 999px;
}

.weight-confirm-text {
    margin: 0 0 8px;
    color: #4d7059;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.55;
}

.weight-input-wrap {
    position: relative;
}

.weight-unit {
    position: absolute;
    top: 50%;
    left: 10px;
    display: grid;
    place-items: center;
    min-width: 36px;
    height: 27px;
    color: #555;
    font-size: 10px;
    font-weight: 900;
    pointer-events: none;
    background: #f1f1ee;
    border-radius: 8px;
    transform: translateY(-50%);
}

.weight-input {
    margin: 0 !important;
    padding-left: 52px !important;
}

.customer-box {
    --customer-accent: #8D38C9;
    margin: 16px 12px 0;
    padding: 18px 13px 14px;
    background: #fcfafd;
    border: 1.5px solid #e1cbee;
    border-radius: 22px;
    box-shadow: none;
}

.customer-box-title {
    margin: 0 0 14px;
    color: #201c18;
    font-size: 18px;
    font-weight: 900;
}

.customer-box .weight-confirm-box {
    margin: 2px 0 12px;
}

.customer-field {
    display: grid;
    gap: 7px;
    min-width: 0;
    margin-bottom: 14px;
}

.customer-field-label {
    padding-inline: 3px;
    color: #513364;
    font-size: 12px;
    font-weight: 800;
}

.customer-input-wrap {
    position: relative;
    display: block;
    min-width: 0;
}

.customer-field-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: #fff;
    background: var(--customer-accent);
    border-radius: 11px;
    box-shadow: 0 4px 10px rgba(141, 56, 201, 0.16);
    transform: translateY(-50%);
    pointer-events: none;
}

.customer-field-icon svg {
    display: block;
    width: 19px;
    height: 19px;
}

.customer-field-address .customer-field-icon {
    top: 12px;
    transform: none;
}

.input {
    width: 100%;
    min-height: 54px;
    padding: 0 14px;
    color: #153d25;
    font-size: 14px;
    background: linear-gradient(180deg, #f7fff9, #eaf8ef);
    border: 1.5px solid #9fcfb0;
    border-radius: 14px;
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: 0.18s ease;
}

textarea.input {
    min-height: 88px;
    padding: 13px;
    resize: vertical;
}

.input:focus {
    background: #fbfffc;
    border-color: #2f855a;
    box-shadow: 0 0 0 4px rgba(47, 133, 90, 0.13);
}

.input::placeholder {
    color: #6f8b79;
}

.customer-field .input {
    display: block;
    box-sizing: border-box;
    min-width: 0;
    min-height: 60px;
    padding: 12px 58px 12px 14px;
    color: #382046;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
    background: #fff;
    border: 1.5px solid #d8c5e3;
    border-radius: 16px;
    box-shadow: none;
}

.customer-field .input::placeholder {
    color: #836a94;
    font-weight: 500;
    opacity: 1;
}

.customer-field .input:focus {
    background: #fff;
    border-color: var(--customer-accent);
    box-shadow: 0 0 0 4px rgba(141, 56, 201, 0.15);
}

.customer-field textarea.input {
    min-height: 84px;
}

.customer-input-wrap:has(.input-error) .customer-field-icon {
    background: var(--danger);
}

.input-error,
.sizes-wrap.input-error,
.sizes-section.input-error,
.colors-wrap.input-error,
.colors-section.input-error {
    background: #fff7f7 !important;
    border: 2px solid var(--danger) !important;
    box-shadow: 0 0 0 3px rgba(214, 71, 71, 0.08) !important;
    animation: fieldShake 0.45s ease-in-out 2;
}

.checkout-inline-cta {
    padding: 14px 12px 0;
}

.btnPrimary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 64px;
    padding: 10px 18px;
    color: #fff;
    font-size: 17px;
    font-weight: 900;
    cursor: pointer;
    background: linear-gradient(135deg, #211b25, #3b2c43);
    border: 0;
    border-radius: 17px;
    box-shadow: 0 10px 24px rgba(39, 27, 45, 0.18);
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.btnPrimary .submit-price {
    color: #f0d596;
    font-weight: 900;
}

.btnPrimary:active {
    transform: translateY(1px);
}

.btnPrimary:disabled,
.sticky-btn:disabled {
    cursor: wait;
    opacity: 0.68;
}

.btnPrimary.btn-error,
.sticky-btn.btn-error {
    color: #fff !important;
    background: linear-gradient(135deg, #dc2626, #b91c1c) !important;
    box-shadow: 0 12px 28px rgba(185, 28, 28, 0.3) !important;
    animation: requiredButtonShake 0.55s ease-in-out 2 !important;
}

.secure-note {
    margin: 8px 12px 0;
    color: var(--muted);
    font-size: 9px;
    font-weight: 700;
    text-align: center;
}

.msg {
    display: none;
    margin: 10px 12px 0;
    padding: 11px 12px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.6;
    border-radius: 12px;
}

.msg.show {
    display: block;
}

.msg.error {
    color: #a72828;
    background: #fff1f1;
    border: 1px solid #f2c8c8;
}

.msg.success {
    color: #176537;
    background: #f0faf4;
    border: 1px solid #ccebd8;
}

.mini-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    padding: 0 12px 16px;
    margin-top: 13px;
}

.mini-list .item {
    padding: 10px 8px;
    color: #4a4f53;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.45;
    text-align: center;
    background: #faf7fc;
    border: 1px solid #e9e0ed;
    border-radius: 12px;
}

.landing-footer {
    display: grid;
    gap: 3px;
    padding: 10px 12px 6px;
    color: #4f5962;
    font-size: 9px;
    text-align: center;
}

.landing-footer strong {
    color: var(--ink);
    font-size: 12px;
}

.sticky-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    padding-bottom: env(safe-area-inset-bottom);
    visibility: hidden;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid #e9e0ed;
    box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.08);
    opacity: 0;
    transform: translateY(110%);
    transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s;
}

.sticky-bar.is-visible {
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
}

.sticky-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    width: min(var(--container), calc(100% - 20px));
    margin: auto;
    padding: 10px 0 12px;
}

.sticky-meta {
    flex: 1;
    min-width: 0;
}

.sticky-text {
    display: block;
    overflow: hidden;
    color: var(--muted);
    font-size: 9.5px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sticky-price {
    display: block;
    color: #17191c;
    font-size: 17px;
    font-weight: 900;
}

.sticky-btn {
    min-width: 132px;
    height: 50px;
    padding: 0 18px;
    color: #f6e1ad;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    background: var(--brand);
    border: 0;
    border-radius: 14px;
}

@keyframes fieldShake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-5px); }
    40% { transform: translateX(5px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}

@keyframes requiredButtonShake {
    0%, 100% { transform: translateX(0); }
    15% { transform: translateX(-7px); }
    30% { transform: translateX(7px); }
    45% { transform: translateX(-6px); }
    60% { transform: translateX(6px); }
    75% { transform: translateX(-3px); }
    90% { transform: translateX(3px); }
}

@media (max-width: 520px) {
    .container {
        width: calc(100% - 16px);
    }

    .brand-subtitle {
        max-width: 145px;
    }

    .contact-btn:not(.whatsapp) {
        display: none;
    }

    .secure-pill {
        padding: 6px 8px;
        font-size: 9.5px;
    }

    .main-image-wrap {
        min-height: 310px;
    }

    .product-title {
        font-size: 23px;
    }

    .packages-box {
        margin: 12px 9px 5px;
        padding: 11px 8px 10px;
        border-radius: 19px;
    }

    .package-card {
        padding: 7px 4px;
    }

    .package-name {
        min-height: 36px;
        font-size: clamp(10px, 2.8vw, 12px);
    }

    .package-badge {
        top: 5px;
        right: 5px;
        padding: 3px 4px;
        font-size: 6.5px;
    }

    .package-card.active::after {
        top: 5px;
        left: 5px;
        width: 16px;
        height: 16px;
        font-size: 10px;
    }

    .sizes-section,
    .weight-confirm-box,
    .customer-box {
        margin-right: 9px;
        margin-left: 9px;
    }

    .checkout-inline-cta,
    .mini-list {
        padding-right: 9px;
        padding-left: 9px;
    }
}

@media (max-width: 380px) {
    .contact-btn.whatsapp {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
        animation: none !important;
        transition: none !important;
    }
}
