/* ============================================================
   Masha Allah Enterprise — Shop, Product Detail, Cart & Checkout
   Used by: Categories page, Shop page, Single Product page.
   Extends the design tokens from pages.css.
   ============================================================ */

/* ---------- Filter bar (search / category / price slot / sort) ---------- */

.filter-bar {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr auto;
    gap: 14px;
    align-items: end;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 18px;
    margin-bottom: 16px;
}

.filter-field label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.filter-field .form-input {
    padding: 10px 12px;
    font-size: 0.93rem;
}

.filter-search .form-input {
    border-radius: 999px;
}

.filter-reset {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--danger);
    text-decoration: none;
    padding: 10px 6px;
    white-space: nowrap;
}

.filter-reset:hover {
    text-decoration: underline;
}

.filter-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 14px;
}

/* ---------- Product grid & cards ---------- */

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

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.product-card:hover {
    border-color: #d1d5db;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.product-card:focus-within {
    border-color: #cbd5d1;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.product-card-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    background: #f8f9fa;
    overflow: hidden;
    padding: 14px;
}

.product-card-media img.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: transform 0.35s ease;
}

.product-card:hover .product-card-media img.product-image {
    transform: scale(1.03);
}

.product-card-placeholder,
.gallery-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 100%;
    color: #9aa0a6;
    font-size: 0.78rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.3;
}

.product-card-placeholder svg,
.gallery-placeholder svg {
    width: 44px;
    height: 44px;
    fill: none;
    stroke: #c2c8cc;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.gallery-placeholder svg {
    width: 84px;
    height: 84px;
}

.gallery-main {
    background: #f8f9fa;
    padding: 16px;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.18s ease-out;
}

.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #111827;
    color: #fff;
    font-size: 0.70rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    padding: 4px 7px;
    border-radius: 6px;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.discount-badge-lg {
    font-size: 0.82rem;
    padding: 6px 10px;
    border-radius: 8px;
}

.product-card-body {
    display: flex;
    flex-direction: column;
    gap: 7px;
    flex: 1;
    padding: 12px 12px 14px;
}

.product-card-cat {
    align-self: flex-start;
    background: #f3f4f6;
    color: #6b7280;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 3px 8px;
    border-radius: 999px;
    line-height: 1.2;
}

.product-card-title {
    font-size: 0.92rem;
    line-height: 1.42;
    font-weight: 500;
    color: #1f2937;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.product-card-title a {
    color: inherit;
    text-decoration: none;
}

.product-card-title a:hover {
    color: #111827;
}

.product-card-title a:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 2px;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 2px;
}

.price-final {
    color: #111827;
    font-weight: 700;
    font-size: 1.02rem;
    line-height: 1.2;
    letter-spacing: -0.1px;
}

.price-old {
    color: #9ca3af;
    text-decoration: line-through;
    font-size: 0.82rem;
    font-weight: 400;
}

.save-chip {
    background: #fef3c7;
    color: #92400e;
    font-size: 0.70rem;
    font-weight: 600;
    padding: 3px 7px;
    border-radius: 999px;
    line-height: 1;
}

.add-cart-btn {
    width: 100%;
    margin-top: auto;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #fff;
    color: #111827;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.84rem;
    letter-spacing: 0.1px;
    padding: 8px 14px;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.add-cart-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(14,122,61,0.18);
}

.add-cart-btn:active {
    transform: translateY(0);
    box-shadow: none;
}

.add-cart-btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.added-flash {
    animation: addedPulse 0.6s ease;
}

@keyframes addedPulse {
    0% { box-shadow: 0 0 0 0 rgba(14, 122, 61, 0.45); }
    100% { box-shadow: 0 0 0 14px rgba(14, 122, 61, 0); }
}

.btn-sm {
    padding: 9px 14px;
    font-size: 0.88rem;
}

.btn-lg {
    padding: 9px 21px;
    font-size: 0.98rem;
}

/* ---------- Empty state ---------- */

.empty-state {
    text-align: center;
    background: var(--card-bg);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    padding: 56px 24px;
}

.empty-state h3 {
    color: var(--primary-dark);
    margin-bottom: 6px;
}

.empty-state p {
    color: var(--text-muted);
    margin-bottom: 18px;
}

.empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}

.empty-icon svg {
    width: 54px;
    height: 54px;
    fill: none;
    stroke: #c2d4c9;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: softPulse 2.6s ease-in-out infinite;
}

@keyframes softPulse {
    0%, 100% { opacity: 0.55; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.07); }
}

button {
    cursor: pointer;
}

/* ---------- Pagination ---------- */

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 30px;
}

.page-link {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    padding: 9px 18px;
    transition: all 0.2s ease;
}

.page-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.page-status {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ---------- Category cards ---------- */

.category-card {
    display: block;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 26px 22px;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.category-card::before {
    content: "";
    display: block;
    height: 3px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
    margin: -26px -22px 18px;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 26px rgba(15, 60, 35, 0.15);
    border-color: rgba(14, 122, 61, 0.3);
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-card h3 {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

@keyframes badgeFloat {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -6px; }
}

.cat-count-line {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 12px;
}

.cat-count {
    color: var(--primary-dark);
    font-size: 1.05rem;
}

.category-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 10px;
}

/* Arrow nudges forward on hover */
.category-link {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.92rem;
}

.category-link .arrow {
    display: inline-block;
    transition: transform 0.25s ease;
}

.category-card:hover .category-link .arrow {
    transform: translateX(6px);
}

/* ---------- Product detail page ---------- */

.product-hero {
    text-align: left;
    padding: 34px 20px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.93rem;
}

.breadcrumb a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb-current {
    opacity: 0.9;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
    margin-bottom: 40px;
}

.gallery-main {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    background: #f1f5f2;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* E-commerce style hover zoom — magnified area follows the cursor */
.gallery-main.zoomable {
    cursor: zoom-in;
}

.gallery-main.zoomable img {
    transition: transform 0.18s ease-out;
    will-change: transform;
}

.gallery-main.zoomable.is-zooming img {
    transform: scale(2.4);
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    overflow-x: auto;
    padding-top: 5px;
    padding-bottom: 4px;
}

.gallery-thumb {
    flex: 0 0 74px;
    width: 74px;
    height: 74px;
    border: 2px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    padding: 0;
    cursor: pointer;
    background: #f1f5f2;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-thumb:hover {
    transform: translateY(-2px);
}

.gallery-thumb.is-active {
    border-color: var(--primary);
}

/* ---------- Detail tabs (Full Description / Product Videos) ---------- */

.detail-tabs {
    margin: 6px 0 44px;
}

.tab-buttons {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    border-bottom: 2px solid var(--border);
    margin-bottom: 20px;
}

.tab-btn {
    border: none;
    background: none;
    font-family: inherit;
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-muted);
    padding: 12px 22px;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.tab-btn:hover {
    color: var(--primary-dark);
}

.tab-btn.is-active {
    color: var(--primary-dark);
    border-bottom-color: var(--primary);
}

.tab-panel.is-active {
    animation: tabFade 0.35s ease;
}

@keyframes tabFade {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 18px;
}

.video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #000;
}

.video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.product-info {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px;
}

.product-title {
    font-size: 1.65rem;
    line-height: 1.35;
    color: var(--text);
    margin: 10px 0 16px;
}

.price-row-lg .price-final {
    font-size: 1.85rem;
}

.price-row-lg .price-old {
    font-size: 1.05rem;
}

.product-spec {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px dashed var(--border);
}

.product-box-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.product-spec p + p {
    margin-top: 8px;
}

.qty-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 22px;
}

.qty-row > label {
    font-weight: 700;
    font-size: 0.95rem;
}

/* Quantity stepper — crisp white pill, green circular buttons */
.qty-stepper {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px;
    border: 1.5px solid rgba(14, 122, 61, 0.28);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(15, 60, 35, 0.07);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.qty-stepper:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(14, 122, 61, 0.13);
}

.qty-stepper button {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary-dark);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, transform 0.12s ease;
}

.qty-stepper button:hover {
    background: var(--primary);
    color: #fff;
}

.qty-stepper button:active {
    transform: scale(0.86);
}

.qty-stepper button:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.qty-stepper input {
    width: 42px;
    border: none;
    background: transparent;
    text-align: center;
    font-size: 0.96rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: var(--text);
    -moz-appearance: textfield;
    appearance: textfield;
}

.qty-stepper input:focus {
    outline: none;
}

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

.qty-stepper-sm {
    padding: 2px;
    gap: 1px;
}

.qty-stepper-sm button {
    width: 27px;
    height: 27px;
    font-size: 0.84rem;
}

.qty-stepper-sm input {
    width: 32px;
    font-size: 0.84rem;
}

.buy-btn-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 24px;
}

.btn-order-now {
    background: linear-gradient(135deg, #f5a623, #e88b0c);
}

.btn-order-now:hover {
    filter: brightness(0.95);
}

.trust-list {
    list-style: none;
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px dashed var(--border);
    color: var(--primary-dark);
    font-size: 0.9rem;
    font-weight: 600;
}

.related-section {
    margin-top: 10px;
}

.related-section .section-title {
    margin-bottom: 24px;
}

/* ---------- Floating action stack (cart / whatsapp / scroll-top) ----------
   Order bottom -> top: scroll, whatsapp, cart. All three share one size. */

.fab-stack {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 900;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.fab-mini,
#cart-fab {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(15, 60, 35, 0.26);
    transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.fab-mini:hover,
#cart-fab:hover {
    transform: translateY(-3px);
}

#cart-fab {
    position: relative;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
}

#cart-fab .fab-icon {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: #fff;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#cart-fab.bump {
    animation: fabBump 0.5s cubic-bezier(0.28, 2.2, 0.6, 1);
}

@keyframes fabBump {
    0% { transform: scale(1); }
    35% { transform: scale(1.28) rotate(8deg); }
    70% { transform: scale(0.94); }
    100% { transform: scale(1); }
}

.cart-count-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--danger);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

/* WhatsApp support */
.fab-support {
    background: #25d366;
    color: #fff;
}

.fab-support svg {
    width: 25px;
    height: 25px;
    fill: currentColor;
}

.fab-support:hover {
    background: #1eb857;
}

/* Scroll to top */
#scroll-top-btn {
    background: var(--card-bg);
    color: var(--primary-dark);
    border: 1.5px solid rgba(14, 122, 61, 0.3);
}

#scroll-top-btn svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#scroll-top-btn:hover {
    background: var(--primary-light);
}

/* ---------- Cart drawer ---------- */

.cart-backdrop {
    position: fixed;
    inset: 0;
    z-index: 990;
    background: rgba(15, 30, 22, 0.55);
    opacity: 0;
    transition: opacity 0.28s ease;
}

.cart-backdrop.visible {
    opacity: 1;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 995;
    width: min(420px, 94vw);
    background: var(--card-bg);
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    transform: translateX(102%);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.cart-drawer.open {
    transform: translateX(0);
}

.cart-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 18px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
}

.cart-drawer-title {
    display: flex;
    align-items: center;
    gap: 11px;
}

.drawer-bag-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
}

.drawer-bag-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #fff;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cart-drawer-head h2 {
    font-size: 1.08rem;
    line-height: 1.25;
}

.drawer-count {
    font-size: 0.76rem;
    opacity: 0.85;
}

.icon-btn {
    border: none;
    background: rgba(255, 255, 255, 0.18);
    color: inherit;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-btn svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
}

.icon-btn:hover {
    background: rgba(255, 255, 255, 0.32);
}

.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 13px;
    background: #f2f7f4;
}

/* Empty cart */
.cart-empty-msg {
    text-align: center;
    padding: 42px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.empty-bag {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.empty-bag svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: var(--primary-dark);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cart-empty-msg p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.cart-empty-msg strong {
    color: var(--text);
    font-size: 1rem;
}

.empty-sub {
    margin: 3px 0 16px;
}

/* Item cards */
.cart-items {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-item {
    display: flex;
    gap: 11px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 13px;
    padding: 11px;
    box-shadow: var(--shadow);
}

.cart-item-thumb {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    border-radius: 10px;
    background: #eef4f0;
    border: 1px solid rgba(14, 122, 61, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-decoration: none;
}

.cart-item-thumb svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: #b7cabb;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

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

.cart-item-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cart-item-top {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.cart-item-name {
    flex: 1;
    color: var(--text);
    font-weight: 650;
    font-size: 0.92rem;
    line-height: 1.35;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cart-item-name:hover {
    color: var(--primary-dark);
}

.cart-item-remove {
    flex: none;
    width: 27px;
    height: 27px;
    border: none;
    border-radius: 50%;
    background: #fdecec;
    color: var(--danger);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.12s ease;
}

.cart-item-remove svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cart-item-remove:hover {
    background: #f6c9c9;
}

.cart-item-remove:active {
    transform: scale(0.88);
}

.cart-item-price {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.cart-item-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 6px;
}

.cart-item-linetotal {
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--primary-dark);
    white-space: nowrap;
}

.cart-drawer-foot {
    border-top: 1px solid var(--border);
    padding: 14px 18px calc(16px + env(safe-area-inset-bottom, 0px));
    background: var(--card-bg);
    box-shadow: 0 -8px 18px rgba(15, 60, 35, 0.06);
}

.cart-subtotal-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 12px;
}

.subtotal-labels {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}

.subtotal-labels span {
    font-weight: 750;
    font-size: 0.95rem;
}

.subtotal-labels small {
    color: var(--text-muted);
    font-size: 0.74rem;
}

#cart-subtotal {
    font-size: 1.45rem;
    color: var(--primary-dark);
    letter-spacing: 0.3px;
}

/* ---------- Checkout modal ---------- */

/* The hidden attribute must ALWAYS win over display:flex rules
   (overlay / drawer) — otherwise the invisible overlay covers the
   page at z-index 1100 and swallows every click. */
[hidden] {
    display: none !important;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(15, 30, 22, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    opacity: 0;
    transition: opacity 0.22s ease;
}

.modal-overlay.open {
    opacity: 1;
}

.modal-box {
    width: min(520px, 100%);
    max-height: 92vh;
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(18px) scale(0.98);
    transition: transform 0.22s ease;
}

.modal-overlay.open .modal-box {
    transform: translateY(0) scale(1);
}

.modal-head {
    position: relative;
    padding: 16px 50px 14px 20px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
}

.modal-head h2 {
    font-size: 1.12rem;
    letter-spacing: 0.2px;
}

.modal-subtitle {
    font-size: 0.79rem;
    opacity: 0.85;
    margin-top: 2px;
}

.modal-head .icon-btn {
    position: absolute;
    top: 13px;
    right: 12px;
}

.modal-body {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Scrollable middle (items + fields); footer stays pinned */
.checkout-form {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.checkout-scroll {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 16px 20px 18px;
}

#checkout-error {
    margin-bottom: 14px;
}

/* ----- Item rows ----- */

.checkout-items {
    list-style: none;
    max-height: 178px;
    overflow-y: auto;
    overscroll-behavior: contain;
    margin-bottom: 6px;
}

.checkout-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border);
}

.checkout-item:last-child {
    border-bottom: none;
    margin-bottom: 4px;
}

.checkout-item-thumb {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #eef4f0;
    border: 1px solid rgba(14, 122, 61, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.checkout-item-thumb svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: #b7cabb;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

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

.checkout-item-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.checkout-item-name {
    font-weight: 650;
    font-size: 0.89rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.checkout-item-price {
    color: var(--text-muted);
    font-size: 0.78rem;
}

.checkout-item-total {
    color: var(--primary-dark);
    font-size: 0.93rem;
    font-weight: 750;
    white-space: nowrap;
    min-width: 62px;
    text-align: right;
}

/* ----- Form fields ----- */

.checkout-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 12px;
    margin-top: 8px;
}

.checkout-fields .span-2 {
    grid-column: 1 / -1;
}

.checkout-scroll textarea.form-input {
    min-height: 74px;
}

/* ----- Sticky total + CTA footer ----- */

.checkout-foot {
    border-top: 1px solid var(--border);
    background: #fbfdfc;
    padding: 13px 20px calc(15px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -8px 18px rgba(15, 60, 35, 0.06);
}

.checkout-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 11px;
}

.total-labels {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.total-labels span {
    font-weight: 750;
    font-size: 0.95rem;
    color: var(--text);
}

.total-labels small {
    color: var(--text-muted);
    font-size: 0.74rem;
}

.checkout-total-row strong {
    color: var(--primary-dark);
    font-size: 1.48rem;
    letter-spacing: 0.3px;
}

#checkout-submit {
    min-height: 47px;
    font-size: 1.01rem;
}

/* Success panel */

.checkout-success {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 26px 24px;
    animation: successPop 0.45s cubic-bezier(0.22, 1.4, 0.36, 1);
}

@keyframes successPop {
    from { opacity: 0; transform: scale(0.86); }
    to { opacity: 1; transform: scale(1); }
}

/* Animated check — circle draws itself, then the tick */
.draw-check {
    width: 76px;
    height: 76px;
    fill: none;
    stroke: var(--primary);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    margin-bottom: 6px;
}

.draw-check circle {
    stroke-dasharray: 145;
    stroke-dashoffset: 145;
    animation: drawStroke 0.7s ease forwards;
}

.draw-check path {
    stroke-dasharray: 42;
    stroke-dashoffset: 42;
    animation: drawStroke 0.45s ease 0.55s forwards;
}

@keyframes drawStroke {
    to { stroke-dashoffset: 0; }
}

.checkout-success h3 {
    color: var(--primary-dark);
    font-size: 1.32rem;
    margin-bottom: 8px;
}

.checkout-success > p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.order-number-chip {
    display: inline-block;
    background: var(--primary-light);
    border: 1.5px dashed var(--primary);
    color: var(--primary-dark);
    font-weight: 800;
    font-size: 1.18rem;
    letter-spacing: 1px;
    border-radius: 12px;
    padding: 11px 26px;
    margin: 10px 0 12px;
}

.success-hint {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.55;
    max-width: 320px;
    margin: 0 auto 20px;
}

.checkout-success .btn-outline {
    width: 100%;
    max-width: 280px;
}

/* ---------- Toast ---------- */

.shop-toast {
    position: fixed;
    left: 50%;
    bottom: 26px;
    z-index: 1200;
    transform: translate(-50%, 80px);
    background: var(--text);
    color: #fff;
    font-size: 0.93rem;
    font-weight: 600;
    padding: 12px 22px;
    border-radius: 999px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
    max-width: 92vw;
    text-align: center;
}

.shop-toast.is-visible {
    transform: translate(-50%, 0);
    opacity: 1;
}

/* ---------- Order tracking ---------- */

.track-card {
    max-width: 620px;
    margin: 0 auto 26px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 26px;
}

.track-form label {
    display: block;
    font-weight: 700;
    font-size: 0.92rem;
    margin-bottom: 8px;
}

.track-input-row {
    display: flex;
    gap: 10px;
}

.track-input-row .form-input {
    flex: 1;
    min-width: 0;
}

.track-hint {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 10px;
}

.track-alert {
    margin-top: 16px;
}

.track-alert a {
    color: inherit;
    font-weight: 700;
}

.track-result-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.track-placed {
    color: var(--text-muted);
    font-size: 0.88rem;
}

/* Status timeline */

.track-steps {
    list-style: none;
    display: flex;
    align-items: flex-start;
    padding: 22px 4px 4px;
    margin: 0;
}

.track-step {
    flex: 1;
    text-align: center;
    position: relative;
}

.track-step::before {
    content: "";
    position: absolute;
    top: 17px;
    left: calc(-50% + 20px);
    right: calc(50% + 20px);
    height: 3px;
    border-radius: 3px;
    background: #dfe5e1;
}

.track-step:first-child::before {
    display: none;
}

.track-step.done::before {
    background: var(--primary);
}

.track-dot {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #eef1ee;
    border: 2px solid #dfe5e1;
    color: #9aa59e;
    font-weight: 800;
    font-size: 0.86rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.track-step.done .track-dot {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-color: transparent;
    color: #fff;
}

.track-step.current .track-dot {
    box-shadow: 0 0 0 5px rgba(14, 122, 61, 0.16);
    animation: trackPulse 2s ease-in-out infinite;
}

@keyframes trackPulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(14, 122, 61, 0.16); }
    50% { box-shadow: 0 0 0 9px rgba(14, 122, 61, 0.08); }
}

.track-label {
    display: block;
    margin-top: 7px;
    font-size: 0.8rem;
    font-weight: 650;
    color: var(--text-muted);
}

.track-step.done .track-label,
.track-step.current .track-label {
    color: var(--primary-dark);
}

.track-status-note {
    margin-top: 14px;
}

.track-items-title {
    margin-top: 30px;
    font-size: 1.15rem;
}

@media (max-width: 600px) {
    .track-steps {
        flex-direction: column;
        align-items: stretch;
        padding-top: 6px;
    }

    .track-step {
        display: flex;
        align-items: center;
        gap: 13px;
        text-align: left;
        padding-bottom: 18px;
    }

    .track-step:last-child {
        padding-bottom: 0;
    }

    .track-step::before {
        left: 17px;
        right: auto;
        top: 38px;
        width: 3px;
        height: calc(100% - 38px);
    }

    .track-label {
        margin-top: 0;
        font-size: 0.88rem;
    }
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .filter-bar {
        grid-template-columns: 1fr 1fr;
    }

    .filter-search {
        grid-column: 1 / -1;
    }
}

/* ============================================================
   Mobile-first polish — phones (320px – 767px)
   ============================================================ */

@media (max-width: 767px) {

    /* ----- Rhythm & typography ----- */

    .page-section {
        padding: 28px 0;
    }

    .section-title {
        font-size: 1.22rem;
        margin-bottom: 16px;
    }

    .page-hero {
        padding: 36px 18px;
    }

    .page-hero h1 {
        font-size: 1.5rem;
    }

    .page-hero p {
        font-size: 0.97rem;
    }

    .product-hero {
        padding: 22px 16px;
    }

    /* Prevent iOS auto-zoom on focus — inputs need >=16px */
    .form-input,
    .filter-field .form-input {
        font-size: 16px;
    }

    /* ----- Filter bar: sticky pill panel ----- */

    .filter-bar {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 12px;
        position: sticky;
        top: 62px; /* below the sticky site header */
        z-index: 60;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.94);
        -webkit-backdrop-filter: blur(8px);
        backdrop-filter: blur(8px);
        box-shadow: 0 4px 14px rgba(15, 60, 35, 0.09);
    }

    .filter-search {
        grid-column: 1 / -1;
    }

    .filter-field label {
        font-size: 0.72rem;
        margin-bottom: 4px;
    }

    .filter-field .form-input {
        padding: 9px 11px;
    }

    .filter-reset {
        align-self: center;
        justify-self: end;
        padding: 8px 2px;
        font-size: 0.84rem;
    }

    .filter-meta {
        font-size: 0.84rem;
        margin-bottom: 10px;
    }

    /* ----- Product grid: compact two-up cards ----- */

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .product-card-media {
        padding: 10px;
    }

    .product-card-body {
        padding: 10px 10px 12px;
        gap: 6px;
    }

    .product-card-cat {
        font-size: 0.64rem;
        padding: 2px 7px;
    }

    .product-card-title {
        font-size: 0.86rem;
        line-height: 1.38;
    }

    .price-final {
        font-size: 1.0rem;
    }

    .price-old {
        font-size: 0.78rem;
    }

    .add-cart-btn {
        padding: 8px 10px;
        font-size: 0.78rem;
        min-height: 36px;
        border-radius: 9px;
    }

    .discount-badge {
        top: 8px;
        left: 8px;
        font-size: 0.66rem;
        padding: 3px 6px;
        border-radius: 5px;
    }

    /* ----- Category cards: two-up ----- */

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .category-card {
        padding: 16px 14px;
    }

    .category-card::before {
        margin: -16px -14px 12px;
    }

    .category-badge {
        width: 42px;
        height: 42px;
        font-size: 1.08rem;
        border-radius: 12px;
        margin-bottom: 10px;
    }

    .category-card h3 {
        font-size: 0.95rem;
    }

    .cat-count-line {
        font-size: 0.82rem;
        margin-bottom: 8px;
    }

    .cat-count {
        font-size: 0.92rem;
    }

    .category-link {
        font-size: 0.84rem;
    }

    /* ----- Empty state / pagination ----- */

    .empty-state {
        padding: 34px 16px;
    }

    .empty-icon svg {
        width: 44px;
        height: 44px;
    }

    .pagination {
        gap: 10px;
        margin-top: 22px;
    }

    .page-link {
        padding: 8px 14px;
        font-size: 0.88rem;
    }

    /* ----- Product detail ----- */

    .product-detail-layout {
        gap: 18px;
        margin-bottom: 24px;
    }

    .breadcrumb {
        gap: 6px;
        font-size: 0.8rem;
    }

    .gallery-thumbs {
        gap: 8px;
        margin-top: 5px;
        padding-top: 5px;
    }

    .gallery-thumb {
        flex-basis: 62px;
        width: 62px;
        height: 62px;
    }

    .product-info {
        padding: 18px 16px;
        border-radius: 14px;
    }

    .product-title {
        font-size: 1.26rem;
        margin: 8px 0 12px;
    }

    .price-row-lg .price-final {
        font-size: 1.5rem;
    }

    .price-row-lg .price-old {
        font-size: 0.95rem;
    }

    .qty-row {
        gap: 12px;
        margin-top: 18px;
    }

    .buy-btn-row {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-top: 16px;
    }

    .buy-btn-row .btn {
        min-height: 40px;
        padding: 7px 12px;
        font-size: 0.9rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .trust-list {
        gap: 8px 14px;
        margin-top: 16px;
        padding-top: 14px;
        font-size: 0.82rem;
    }

    .product-spec {
        margin-top: 16px;
        padding-top: 14px;
    }

    .product-box-label {
        font-size: 0.74rem;
        margin-bottom: 6px;
    }

    /* ----- Tabs & video grid ----- */

    .detail-tabs {
        margin-bottom: 30px;
    }

    .tab-buttons {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin-bottom: 14px;
    }

    .tab-buttons::-webkit-scrollbar {
        display: none;
    }

    .tab-btn {
        flex: 1 0 auto;
        text-align: center;
        padding: 10px 14px;
        font-size: 0.9rem;
    }

    .video-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* ----- Related products ----- */

    .related-section .section-title {
        margin-bottom: 16px;
    }

    /* ----- Floating stack (cart / whatsapp / scroll-top) ----- */

    .fab-stack {
        right: 14px;
        bottom: 14px;
        gap: 8px;
    }

    .fab-mini,
    #cart-fab {
        width: 46px;
        height: 46px;
    }

    #cart-fab .fab-icon {
        width: 23px;
        height: 23px;
    }

    .fab-support svg {
        width: 23px;
        height: 23px;
    }

    #scroll-top-btn svg {
        width: 19px;
        height: 19px;
    }

    /* ----- Cart drawer: edge-to-edge sheet ----- */

    .cart-drawer {
        width: 100%;
    }

    .cart-drawer-head {
        padding: 14px 16px;
    }

    .cart-drawer-head h2 {
        font-size: 1.02rem;
    }

    .cart-drawer-body {
        padding: 12px 16px;
    }

    .cart-drawer-foot {
        padding: 13px 16px 16px;
    }

    .cart-item-thumb {
        flex-basis: 52px;
        width: 52px;
        height: 52px;
    }

    /* ----- Checkout modal: bottom sheet — mobile premium ----- */

    .modal-overlay {
        padding: 0;
        align-items: flex-end;
    }

    .modal-box {
        position: relative;
        width: 100%;
        max-height: 94vh;
        max-height: 94dvh;
        border-radius: 22px 22px 0 0;
        transform: translateY(100%);
        box-shadow: 0 -12px 40px rgba(0,0,0,0.22);
    }

    .modal-overlay.open .modal-box {
        transform: translateY(0);
    }

    /* drag handle */
    .modal-box::before {
        content: "";
        position: absolute;
        top: 8px;
        left: 50%;
        transform: translateX(-50%);
        width: 44px;
        height: 4px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.55);
        z-index: 2;
    }

    .modal-head {
        padding: 18px 52px 14px 18px;
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .modal-head h2 {
        font-size: 1.14rem;
        font-weight: 800;
        letter-spacing: -0.2px;
        line-height: 1.2;
    }

    .modal-subtitle {
        font-size: 0.82rem;
        margin-top: 3px;
        opacity: 0.9;
    }

    .modal-head .icon-btn {
        top: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        border-radius: 50%;
        background: rgba(255,255,255,0.18);
    }

    .modal-head .icon-btn svg {
        width: 18px;
        height: 18px;
    }

    .checkout-scroll {
        padding: 16px 16px 18px;
    }

    .checkout-items {
        max-height: 150px;
        background: #f8faf8;
        border: 1px solid #eef2ef;
        border-radius: 12px;
        padding: 6px 10px;
        margin-bottom: 12px;
    }

    .checkout-item {
        flex-wrap: nowrap;
        padding: 10px 0;
    }

    .checkout-item-name {
        font-size: 0.92rem;
    }

    .checkout-item-total {
        margin-left: auto;
        font-size: 0.96rem;
    }

    .checkout-fields {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 4px;
    }

    .checkout-fields .form-group label {
        font-size: 0.84rem;
        font-weight: 700;
        margin-bottom: 6px;
        color: var(--text);
    }

    .checkout-fields .form-input {
        font-size: 16px;
        padding: 12px 14px;
        border-radius: 12px;
        min-height: 44px;
    }

    .checkout-scroll textarea.form-input {
        min-height: 86px;
        resize: vertical;
    }

    .checkout-foot {
        padding: 14px 16px calc(16px + env(safe-area-inset-bottom, 0px));
        background: #ffffff;
        border-top: 1px solid #eef2ef;
    }

    .checkout-total-row {
        background: #f3f7f4;
        border: 1px solid #e4ebe6;
        border-radius: 12px;
        padding: 10px 12px;
        margin-bottom: 12px;
    }

    .checkout-total-row strong {
        font-size: 1.42rem;
    }

    .total-labels span {
        font-size: 0.98rem;
    }

    #checkout-submit {
        min-height: 52px;
        font-size: 1.06rem;
        font-weight: 800;
        border-radius: 14px;
        letter-spacing: 0.2px;
        box-shadow: 0 6px 16px rgba(14,122,61,0.28);
    }

    .checkout-success {
        justify-content: flex-start;
        padding-top: 28px;
        padding-left: 18px;
        padding-right: 18px;
    }

    .order-number-chip {
        font-size: 1.06rem;
        padding: 11px 20px;
        border-radius: 14px;
    }

    /* ----- Toast sits above the FAB ----- */

    .shop-toast {
        bottom: 82px;
        font-size: 0.86rem;
        padding: 10px 18px;
    }

    /* ----- Touch feedback ----- */

    .product-card:active,
    .category-card:active {
        transform: scale(0.985);
    }

    .btn:active {
        transform: scale(0.97);
    }
}

/* ----- Extra-tight screens (320px class devices) ----- */

@media (max-width: 360px) {
    .page-container {
        padding: 0 12px;
    }

    .product-grid {
        gap: 8px;
    }

    .product-card-media {
        padding: 8px;
    }

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

    .product-card-title {
        font-size: 0.82rem;
    }

    .add-cart-btn {
        font-size: 0.74rem;
        padding: 7px 8px;
        min-height: 34px;
    }

    .category-grid {
        gap: 10px;
    }

    .filter-bar {
        padding: 11px;
    }

    .tab-btn {
        padding: 9px 10px;
        font-size: 0.85rem;
    }

    .btn-lg {
        padding: 6px 10px;
        font-size: 0.87rem;
    }

    .buy-btn-row .btn {
        min-height: 36px;
        padding: 6px 10px;
        font-size: 0.85rem;
    }

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

    .order-number-chip {
        font-size: 0.94rem;
        letter-spacing: 0.5px;
    }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
    .product-card,
    .product-card-media img.product-image,
    .gallery-main img,
    .discount-badge {
        transition: none !important;
        animation: none !important;
    }

    .product-card:hover,
    .product-card:hover .product-card-media img.product-image {
        transform: none !important;
    }

    .empty-icon svg {
        animation: none;
    }

    .draw-check circle,
    .draw-check path {
        animation: none;
        stroke-dashoffset: 0;
    }

    .checkout-success,
    #cart-fab.bump,
    .added-flash {
        animation: none;
    }

    .tab-panel.is-active {
        animation: none;
    }
}
