/* ===== MOBILE SIMPLIFIED ===== */
/* Everything bigger, simpler, dumber */

/* ── Base ── */
@media (max-width: 768px) {
  html { font-size: 18px; }
  body { font-size: 18px; line-height: 1.4; }

  input, select, textarea, button { font-size: 18px !important; }

  .container { padding: 0 16px; }
}

/* ── Hide clutter on mobile ── */
@media (max-width: 768px) {
  .pd-features,
  .pd-share,
  .pd-gallery-zoom,
  .pd-gallery-dots,
  .pd-thumbs,
  .pd-meta,
  .pd-price-save,
  .pd-form-field,
  .pd-submit-btn,
  .pd-review-form,
  .exit-popup,
  .messenger-float,
  .lightbox,
  #ai-recommendations { display: none !important; }

  .pd-price { display: flex !important; }
}

/* ── PRODUCT PAGE REDESIGN ── */
@media (max-width: 768px) {
  .pd-page { padding: 0; }
  .pd-container { max-width: 100%; padding: 0; padding-bottom: 170px; }

  .pd-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
  }

  /* ── Gallery ── */
  .pd-gallery {
    width: 100% !important;
    position: relative;
  }
  .pd-gallery-main {
    width: 100%;
    height: auto;
    border-radius: 0;
    cursor: default;
  }
  .pd-gallery-main img {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    display: block;
  }
  .pd-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 16px;
    padding: 6px 14px;
    border-radius: 8px;
    background: #e53935;
    color: #fff;
    font-weight: 800;
  }

  /* ── Info section ── */
  .pd-info {
    width: 100% !important;
    padding: 16px 16px 0 !important;
  }
  .pd-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
  }
  .pd-title {
    font-size: 22px !important;
    font-weight: 800;
    line-height: 1.25;
    flex: 1;
  }
  .pd-wishlist {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #eee;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.2s;
  }
  .pd-wishlist.active { border-color: #e53935; color: #e53935; }

  /* ── Rating ── */
  .pd-rating {
    display: flex !important;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
  }
  .pd-stars { display: flex; gap: 2px; }
  .pd-star { font-size: 16px; color: #ddd; }
  .pd-star.filled { color: #ffc107; }
  .pd-rating-text { font-size: 14px; color: #888; font-weight: 600; }
  .pd-rating-count { color: #aaa; }

  /* ── Price ── */
  .pd-price {
    display: flex !important;
    align-items: baseline;
    gap: 10px;
    margin: 10px 0;
  }
  .pd-price-current {
    font-size: 32px !important;
    font-weight: 900;
    color: #111;
  }
  .pd-price-old {
    font-size: 20px !important;
    color: #999;
    text-decoration: line-through;
  }

  /* ── Flash sale ── */
  .pd-flash {
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    border-radius: 12px;
    margin: 10px 0;
  }
  .pd-flash-badge {
    font-size: 13px;
    font-weight: 800;
    color: #e65100;
    white-space: nowrap;
  }
  .pd-flash-timer {
    display: flex;
    gap: 4px;
    align-items: center;
  }
  .pd-timer-item { text-align: center; }
  .pd-timer-num {
    display: block;
    font-size: 16px;
    font-weight: 900;
    background: #e65100;
    color: #fff;
    padding: 3px 7px;
    border-radius: 6px;
    min-width: 32px;
  }
  .pd-timer-label { font-size: 9px; color: #888; }
  .pd-timer-sep { font-size: 16px; font-weight: 900; color: #e65100; }

  /* ── Stock ── */
  .pd-stock {
    display: flex !important;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    margin: 10px 0;
  }
  .pd-stock.ok { background: #e8f5e9; color: #2e7d32; }
  .pd-stock.low { background: #fff3e0; color: #e65100; }
  .pd-stock.out { background: #fce4ec; color: #c62828; }
  .pd-stock-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
  }
  .pd-stock.ok .pd-stock-dot { background: #4caf50; }
  .pd-stock.low .pd-stock-dot { background: #ff9800; }
  .pd-stock.out .pd-stock-dot { background: #f44336; }

  /* ── Short description ── */
  .pd-desc-short {
    display: block !important;
    font-size: 15px;
    color: #666;
    line-height: 1.5;
    margin: 8px 0 0;
  }

  /* ── Exclusive discount ── */
  .pd-exclusive {
    padding: 10px 14px;
    background: linear-gradient(135deg, #fff9e6, #fff3cd);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    color: #856404;
    text-align: center;
    margin: 10px 0;
  }

  /* ── PRODUCT OPTIONS ── */
  .product-options { margin-top: 16px; }

  .opt-group { margin-bottom: 18px; }
  .opt-group-label {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
  }
  .pd-required { color: #e53935; }

  /* Color picker */
  .opt-color-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .opt-color-card {
    border: 2px solid #eee;
    border-radius: 12px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
  }
  .opt-color-card.active {
    border-color: var(--gold, #ffc107);
    background: #fff9e6;
  }
  .opt-color-card.disabled {
    opacity: 0.35;
    pointer-events: none;
  }
  .opt-color-row {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .opt-color-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
  }
  .opt-color-swatch {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #ddd;
    display: inline-block;
    flex-shrink: 0;
  }
  .opt-color-name {
    font-size: 13px;
    font-weight: 700;
    color: #333;
  }
  .opt-color-qty {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
  }
  .opt-color-qty-btn {
    width: 28px;
    height: 28px;
    border: none;
    background: #f5f5f5;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .opt-color-qty-btn:active { background: #e0e0e0; }
  .opt-color-qty-val {
    padding: 0 8px;
    font-size: 14px;
    font-weight: 800;
    min-width: 20px;
    text-align: center;
  }

  /* Size / material / mounting pills */
  .opt-pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .opt-pill {
    padding: 10px 18px;
    border: 2px solid #eee;
    border-radius: 10px;
    background: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s;
  }
  .opt-pill.selected {
    border-color: var(--gold, #ffc107);
    background: #fff9e6;
    color: #b58900;
  }
  .opt-pill.disabled {
    opacity: 0.35;
    pointer-events: none;
  }

  /* Quantity pack cards */
  .opt-pack-group {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }
  .opt-pack-btn {
    flex: 0 0 110px;
    scroll-snap-align: start;
    padding: 12px 10px;
    border: 2px solid #eee;
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    text-align: center;
    transition: all 0.15s;
  }
  .opt-pack-btn.selected {
    border-color: var(--gold, #ffc107);
    background: #fff9e6;
  }
  .opt-pack-btn.disabled {
    opacity: 0.35;
    pointer-events: none;
  }
  .pack-qty {
    display: block;
    font-size: 20px;
    font-weight: 900;
    color: #111;
    margin-bottom: 2px;
  }
  .pack-price {
    display: block;
    font-size: 12px;
    color: #888;
  }
  .pack-save {
    display: block;
    font-size: 11px;
    color: var(--gold, #ffc107);
    font-weight: 700;
    margin-top: 4px;
  }

  /* Finish swatches */
  .opt-finish-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }
  .opt-finish-swatch {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid #eee;
    cursor: pointer;
    transition: all 0.15s;
  }
  .opt-finish-swatch.selected {
    border-color: var(--gold, #ffc107);
    box-shadow: 0 0 0 2px #fff9e6;
  }
  .opt-finish-swatch.disabled {
    opacity: 0.35;
    pointer-events: none;
  }

  /* Weight capacity select */
  .opt-capacity-select {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 2px solid #eee;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    background: #fff;
    appearance: auto;
  }

  /* Storage slots */
  .opt-slots-btn {
    padding: 8px 14px;
    border: 1.5px solid #eee;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    transition: all 0.15s;
  }
  .opt-slots-btn.selected {
    border-color: var(--gold, #ffc107);
    background: #fff9e6;
  }
  .opt-slots-btn.disabled {
    opacity: 0.35;
    pointer-events: none;
  }

  /* Personalization */
  .opt-perso-group { margin-top: 4px; }
  .opt-perso-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
  }
  .opt-perso-input {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 15px;
    margin-top: 8px;
  }
  .opt-perso-counter {
    font-size: 12px;
    color: #aaa;
    text-align: right;
    margin-top: 4px;
  }

  /* Section labels */
  .pd-section-label {
    font-size: 14px;
    font-weight: 700;
    color: #555;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  /* Variants */
  .pd-variants {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .pd-variant {
    padding: 10px 16px;
    border: 2px solid #eee;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .pd-variant.active {
    border-color: var(--gold, #ffc107);
    background: #fff9e6;
  }
  .pd-variant-name { font-weight: 700; }
  .pd-variant-price { font-size: 12px; color: #888; }

  /* Wholesale */
  .pd-wholesale {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .pd-wholesale-item {
    flex: 0 0 auto;
    padding: 10px 16px;
    background: #f8f8f5;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #eee;
  }
  .pd-wholesale-item span {
    display: block;
    font-size: 12px;
    color: #888;
    font-weight: 600;
  }
  .pd-wholesale-item strong {
    font-size: 16px;
    font-weight: 900;
    color: #111;
  }

  /* ── Description block ── */
  .pd-section-block {
    padding: 0 16px;
    margin-top: 24px;
  }
  .pd-section-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #111;
  }
  .pd-section-title .gold { color: var(--gold, #ffc107); }
  .pd-desc-content {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    max-height: 100px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.3s ease;
  }
  .pd-desc-content.expanded { max-height: 2000px; }
  .pd-desc-toggle {
    display: block;
    width: 100%;
    padding: 10px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--gold, #ffc107);
    background: none;
    border: none;
    cursor: pointer;
  }

  /* ── Reviews & Q&A ── */
  .pd-tabs {
    display: flex !important;
    gap: 8px;
    margin-bottom: 16px;
    padding: 0 16px;
    margin-top: 24px;
  }
  .pd-tab {
    flex: 1;
    padding: 12px 8px;
    border: 2px solid #eee;
    border-radius: 12px;
    background: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    transition: all 0.15s;
  }
  .pd-tab.active {
    border-color: var(--gold, #ffc107);
    background: #fff9e6;
    color: #b58900;
  }

  .qa-tab-content {
    padding: 0 16px;
  }
  .qa-tab-content.active { display: block !important; }

  /* Review summary */
  .pd-review-summary {
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #f8f8f5;
    border-radius: 14px;
    margin-bottom: 16px;
  }
  .pd-review-score {
    font-size: 36px;
    font-weight: 900;
    color: var(--gold, #ffc107);
    line-height: 1;
  }
  .pd-review-stars { display: flex; gap: 2px; }
  .pd-review-count { font-size: 13px; color: #888; }

  /* Review list */
  .pd-review-list { margin-bottom: 16px; }
  .pd-review-card {
    padding: 14px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    margin-bottom: 10px;
  }
  .pd-review-card-head {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 8px;
  }
  .pd-review-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gold, #ffc107);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 15px;
    flex-shrink: 0;
  }
  .pd-review-name { font-size: 14px; font-weight: 700; }
  .pd-review-title { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
  .pd-review-text { font-size: 14px; color: #555; line-height: 1.5; }

  /* Q&A */
  .pd-qa-list { margin-bottom: 16px; }
  .pd-qa-item {
    padding: 14px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    margin-bottom: 10px;
  }
  .pd-qa-q { margin-bottom: 8px; }
  .pd-qa-text { font-size: 14px; line-height: 1.5; }
  .pd-qa-meta { font-size: 12px; color: #aaa; margin-top: 4px; }
  .pd-qa-a {
    padding: 10px;
    background: #f8f8f5;
    border-radius: 10px;
    margin-top: 8px;
  }
  .pd-qa-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: var(--gold, #ffc107);
    margin-bottom: 4px;
  }
  .pd-qa-vote {
    display: inline-block;
    margin-top: 6px;
    font-size: 12px;
    color: #888;
    cursor: pointer;
  }
  .pd-qa-vote.active { color: var(--gold, #ffc107); }

  /* Empty state */
  .pd-empty {
    text-align: center;
    padding: 24px;
    color: #aaa;
    font-size: 14px;
  }

  /* Review form (hidden on mobile) */
  .pd-review-form { display: none !important; }

  /* ── Related products ── */
  .pd-related-grid {
    display: flex !important;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    margin: 0 -16px;
    padding-left: 16px;
    padding-right: 16px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .pd-related-grid::-webkit-scrollbar { display: none; }
  .pd-related-card {
    flex: 0 0 130px;
    scroll-snap-align: start;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
  }
  .pd-related-img {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: #f8f8f5;
  }
  .pd-related-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .pd-related-body { padding: 8px 10px 12px; }
  .pd-related-name {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .pd-related-price {
    font-size: 15px;
    font-weight: 900;
    color: #111;
  }
  .pd-related-old {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
    margin-right: 4px;
  }

  /* ── Bundle section ── */
  .pd-bundle-header {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    gap: 10px;
  }
  .pd-bundle-title {
    margin-bottom: 0;
    font-size: 17px;
    white-space: nowrap;
  }
  .pd-bundle-save-badge {
    font-size: 12px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 20px;
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    color: #2e7d32;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .pd-bundle-grid {
    display: flex !important;
    flex-direction: column;
    gap: 8px;
  }
  .pd-bundle-card {
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #fafafa;
    border: none;
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    position: relative;
    transition: background 0.15s;
  }
  .pd-bundle-card:active { background: #f5f5f5; }
  .pd-bundle-card-img {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
    background: #eee;
    flex-shrink: 0;
    border: 1.5px solid #eee;
  }
  .pd-bundle-card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    min-width: 0;
  }
  .pd-bundle-card-name {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    color: #111;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .pd-bundle-card-meta {
    font-size: 12px;
    color: #aaa;
  }
  .pd-bundle-card-meta strong { color: #333; font-weight: 800; }
  .pd-bundle-card-check {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #e8f5e9;
    color: #2e7d32;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
  }
    border-radius: 50%;
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    color: #2e7d32;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
  }

  /* Bundle total */
  .pd-bundle-total {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: linear-gradient(135deg, #f8f8f5, #fff9e6);
    border-radius: 16px;
    margin-top: 14px;
    border: 1.5px solid #f0f0f0;
  }
  .pd-bundle-total-label {
    font-size: 12px;
    color: #888;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
  }
  .pd-bundle-total-price {
    font-size: 24px;
    font-weight: 900;
    color: #111;
  }
  .pd-bundle-total-save span {
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    color: #2e7d32;
  }

  /* Bundle action buttons */
  .pd-section-block form { margin-top: 16px !important; }
  .pd-section-block form > div {
    display: flex !important;
    gap: 10px !important;
  }
  .pd-section-block form a,
  .pd-section-block form button[type="submit"] {
    flex: 1 !important;
    height: 50px !important;
    border-radius: 14px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    cursor: pointer;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    text-decoration: none !important;
    transition: all 0.2s;
    border: none !important;
    padding: 0 12px !important;
  }
  .pd-section-block form a {
    background: #111 !important;
    color: #fff !important;
    border: 2px solid #111 !important;
  }
  .pd-section-block form a:active { background: #333 !important; transform: scale(0.97); }
  .pd-section-block form button[type="submit"] {
    background: linear-gradient(135deg, #ffc107, #ffb300) !important;
    color: #000 !important;
    border: 2px solid #ffc107 !important;
    font-family: inherit !important;
    box-shadow: 0 2px 8px rgba(255,193,7,0.3);
  }
  .pd-section-block form button[type="submit"]:active { transform: scale(0.97); }

  /* ── STICKY ADD-TO-CART BAR ── */
  .pd-form {
    position: fixed !important;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: #fff;
    border-top: 1px solid #eee;
    padding: 12px 16px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 12px));
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    display: flex !important;
    flex-direction: column;
    gap: 8px;
  }
  .pd-actions {
    display: flex !important;
    gap: 10px;
    align-items: center;
  }
  .pd-qty {
    display: flex !important;
    align-items: center;
    gap: 0;
    border: 2px solid #ddd;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
  }
  .pd-qty button {
    width: 48px;
    height: 52px;
    font-size: 24px;
    font-weight: 700;
    border: none;
    background: #f5f5f5;
    cursor: pointer;
    color: #333;
    line-height: 1;
  }
  .pd-qty button:active { background: #e0e0e0; }
  .pd-qty input {
    width: 48px;
    height: 52px;
    text-align: center;
    font-size: 20px;
    font-weight: 800;
    border: none;
    border-left: 2px solid #ddd;
    border-right: 2px solid #ddd;
    background: #fff;
  }

  .pd-cart-btn {
    flex: 1;
    height: 52px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #ffc107, #ffb300);
    color: #000;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.1s;
    box-shadow: 0 2px 8px rgba(255,193,7,0.3);
  }
  .pd-cart-btn:active { transform: scale(0.97); }
  .pd-cart-btn svg { display: none; }

  .pd-buy-btn {
    height: 48px;
    border: none;
    border-radius: 14px;
    background: #111;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    width: 100%;
    transition: transform 0.1s;
  }
  .pd-buy-btn:active { transform: scale(0.97); }
}

/* ── PRODUCTS GRID ── */
@media (max-width: 768px) {
  .product-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px;
    padding: 0;
  }
  .product-card {
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eee;
    transition: none;
  }
  .product-card:hover { transform: none; box-shadow: none; }
  .product-card .product-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
  }
  .product-card .product-info { padding: 10px 12px 14px; }
  .product-card .product-name {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .product-card .product-price {
    font-size: 18px;
    font-weight: 900;
    color: #111;
  }
  .product-card .product-price-old {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
    margin-left: 6px;
  }
  .product-card .product-badge {
    font-size: 12px;
    padding: 4px 8px;
    top: 8px;
    left: 8px;
  }
}

/* ── SIMPLE HEADER ── */
@media (max-width: 768px) {
  .header { padding: 12px 16px; height: auto; }
  .header-inner { display: flex; align-items: center; justify-content: space-between; }
  .logo-text { font-size: 22px; font-weight: 900; }
  .mobile-toggle { display: none !important; }
  .nav-links { display: none !important; }
  .bottom-nav {
    display: flex !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 998;
    background: #fff;
    border-top: 1px solid #eee;
    padding: 8px 0;
    padding-bottom: calc(8px + env(safe-area-inset-bottom, 8px));
    justify-content: space-around;
  }
  .bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 11px;
    font-weight: 600;
    color: #888;
    text-decoration: none;
    min-width: 60px;
  }
  .bottom-nav-item svg { width: 24px; height: 24px; }
  .bottom-nav-item span { font-size: 10px; }
  .bottom-nav-badge {
    position: absolute;
    top: -4px;
    right: -8px;
    background: #e53935;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .nav-actions { display: none !important; }

  /* Adjust main for fixed bottom nav + sticky cart */
  main { padding-bottom: 80px; }
  body.has-sticky-bar main { padding-bottom: 200px; }
}

/* ── SIMPLE CART ── */
@media (max-width: 768px) {
  .cart-page { padding: 16px; }
  .cart-item {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid #eee;
    margin-bottom: 10px;
  }
  .cart-item img {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
  }
  .cart-item-info { flex: 1; }
  .cart-item-name { font-size: 16px; font-weight: 700; }
  .cart-item-price { font-size: 18px; font-weight: 900; color: #111; margin-top: 4px; }
  .cart-item-qty {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 8px;
    width: fit-content;
  }
  .cart-item-qty button {
    width: 40px;
    height: 40px;
    border: none;
    background: #f5f5f5;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
  }
  .cart-item-qty span {
    padding: 0 16px;
    font-size: 16px;
    font-weight: 700;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
  }

  .cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    font-size: 22px;
    font-weight: 900;
    border-top: 2px solid #eee;
    margin-top: 10px;
  }

  .cart-checkout-btn {
    display: block;
    width: 100%;
    height: 56px;
    border: none;
    border-radius: 14px;
    background: #000;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    cursor: pointer;
    text-align: center;
    line-height: 56px;
    text-decoration: none;
  }
  .cart-checkout-btn:active { background: #333; }
}

/* ── SIMPLE CHECKOUT ── */
@media (max-width: 768px) {
  .checkout-page { padding: 16px; }
  .checkout-section { margin-bottom: 16px; }
  .checkout-section h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 10px;
  }
  .checkout-section input,
  .checkout-section select,
  .checkout-section textarea {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    border: 2px solid #ddd;
    border-radius: 12px;
    font-size: 16px;
    margin-bottom: 8px;
    box-sizing: border-box;
  }
  .checkout-section textarea { height: auto; padding: 12px 16px; }
  .place-order-btn {
    width: 100%;
    height: 56px;
    border: none;
    border-radius: 14px;
    background: #000;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    cursor: pointer;
    margin-top: 16px;
  }
  .place-order-btn:active { background: #333; }
}

/* ── SIMPLE FOOTER ── */
@media (max-width: 768px) {
  .footer { padding: 24px 16px 120px; }
  .footer-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .footer-brand { text-align: center; }
  .footer-social { justify-content: center; }
  .footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
  .footer-links li { list-style: none; }
  .footer-bottom { text-align: center; font-size: 13px; color: #999; padding-top: 20px; }
  .footer-payments { justify-content: center; flex-wrap: wrap; }
  .footer h4 { display: none; }
  .footer-contact { display: none; }
}

/* ── ACCOUNT MODAL SIMPLIFIED ── */
@media (max-width: 768px) {
  #account-login-form { display: none !important; }
  .modal-content {
    width: 90%;
    max-width: 400px;
    padding: 24px;
    border-radius: 20px;
  }
  .modal-content h2 { font-size: 22px; font-weight: 800; }
}

/* ── HOME SIMPLIFIED ── */
@media (max-width: 768px) {
  .hero { padding: 40px 16px; text-align: center; }
  .hero h1 { font-size: 32px; font-weight: 900; line-height: 1.1; }
  .hero p { font-size: 16px; color: #666; margin: 12px 0 24px; }
  .hero .btn { height: 56px; font-size: 20px; font-weight: 800; padding: 0 32px; border-radius: 14px; }

  .section-title { font-size: 24px; font-weight: 800; text-align: center; }

  /* Hide complex sections */
  .features-section,
  .stats-section,
  .testimonials,
  .blog-section,
  .newsletter-section { display: none !important; }
}

/* ── ANNOUNCEMENT TOAST (replaces bar) ── */
@media (max-width: 768px) {
  .announcement {
    display: flex !important;
    padding: 8px 16px;
    font-size: 13px;
    text-align: center;
    overflow: hidden;
    white-space: nowrap;
  }
  .announcement-inner {
    animation: scroll-left 15s linear infinite;
    display: flex;
    gap: 40px;
  }
  .announcement-item svg { display: none; }
  .announcement-gold { font-weight: 700; }
  @keyframes scroll-left {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
  }
}
