    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --pink:        #D4187A;
      --pink-dark:   #A80F5F;
      --pink-deeper: #830A4A;
      --pink-light:  #E85EA3;
      --pink-pale:   #FDE8F3;
      --pink-ultra:  #FEF4F9;
      --gold:        #D4187A;
      --gold-light:  #F5C0DA;
      --white:       #ffffff;
      --off-white:   #faf8f9;
      --text:        #1e1118;
      --text-mid:    #6b3a54;
      --text-light:  #a07888;
      --border:      #ecdde5;
      --shadow:      rgba(196,81,122,0.10);
    }

    body {
      font-family: 'Jost', sans-serif;
      background: var(--off-white);
      color: var(--text);
      min-height: 100vh;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }

    /* ═══════════════════════════════════════════
       HEADER — luxury boutique nav
    ═══════════════════════════════════════════ */
    header {
      background: rgba(255,255,255,0.98);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(0,0,0,0.07);
      position: sticky;
      top: 0;
      z-index: 500;
      transition: box-shadow 0.3s;
    }
    header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }

    /* ── Custom header background image ── */
    header.has-bg {
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
    }
    /* white overlay keeps dark text readable over any image */
    header.has-bg::before {
      content: '';
      position: absolute;
      inset: 0;
      background: rgba(255,255,255,0.82);
      z-index: 0;
      pointer-events: none;
    }
    header.has-bg .header-inner,
    header.has-bg .admin-toolbar {
      position: relative;
      z-index: 1;
    }

    /* ════════════════════════════════════════════
       CUSTOMISE MODAL — tabbed boutique settings
    ════════════════════════════════════════════ */
    #customise-modal {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.55);
      z-index: 900;
      align-items: center;
      justify-content: center;
      padding: 16px;
    }
    #customise-modal.open { display: flex; }
    #customise-box {
      background: #fff;
      border-radius: 18px;
      width: min(620px, 96vw);
      max-height: 90vh;
      display: flex;
      flex-direction: column;
      position: relative;
      box-shadow: 0 28px 72px rgba(0,0,0,0.22);
      overflow: hidden;
    }
    .cst-header { padding: 24px 28px 0; flex-shrink: 0; }
    .cst-header h2 {
      font-family: 'Playfair Display', serif;
      font-size: 22px;
      font-weight: 500;
      margin-bottom: 4px;
    }
    .cst-header p {
      font-size: 12px;
      color: var(--text-light);
      letter-spacing: 0.4px;
      margin-bottom: 16px;
    }
    .modal-close-cst {
      position: absolute;
      top: 16px; right: 16px;
      background: none; border: none;
      font-size: 18px; color: var(--text-light);
      cursor: pointer; line-height: 1; padding: 4px 8px;
      border-radius: 6px; transition: background 0.18s, color 0.18s;
    }
    .modal-close-cst:hover { background: var(--pink-pale); color: var(--pink); }
    /* Tab bar */
    .cst-tabs {
      display: flex;
      border-bottom: 1px solid var(--border);
      padding: 0 28px;
      flex-shrink: 0;
    }
    .cst-tab {
      padding: 10px 16px;
      font-family: 'Poppins', sans-serif;
      font-size: 11px;
      font-weight: 500;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      color: var(--text-light);
      background: none; border: none;
      cursor: pointer;
      border-bottom: 2.5px solid transparent;
      margin-bottom: -1px;
      transition: color 0.2s;
    }
    .cst-tab:hover { color: var(--text); }
    .cst-tab.active { color: var(--pink); border-bottom-color: var(--pink); }
    /* Scrollable content */
    .cst-content { flex: 1; overflow-y: auto; padding: 22px 28px; }
    /* Tab panels */
    .cst-panel { display: none; }
    .cst-panel.active { display: block; }
    /* Section */
    .cst-section { margin-bottom: 26px; }
    .cst-section-title {
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--text-light);
      margin-bottom: 12px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .cst-section-title::after { content: ''; flex: 1; height: 1px; background: var(--border); }
    /* Form fields */
    .cst-field { margin-bottom: 12px; }
    .cst-field label {
      display: block;
      font-size: 11px;
      font-weight: 500;
      color: var(--text-mid);
      letter-spacing: 0.4px;
      margin-bottom: 5px;
    }
    .cst-field input[type="text"] {
      width: 100%;
      padding: 9px 13px;
      border: 1.5px solid var(--border);
      border-radius: 8px;
      font-family: 'Poppins', sans-serif;
      font-size: 13px;
      color: var(--text);
      outline: none;
      transition: border-color 0.2s, box-shadow 0.2s;
    }
    .cst-field input[type="text"]:focus {
      border-color: var(--pink);
      box-shadow: 0 0 0 3px rgba(233,30,140,0.08);
    }
    /* Header preview strip */
    .cst-hdr-preview {
      border: 1.5px solid var(--border);
      border-radius: 10px;
      height: 70px;
      display: flex;
      align-items: center;
      padding: 0 18px;
      gap: 12px;
      margin-bottom: 14px;
      position: relative;
      background-size: cover;
      background-position: center;
      overflow: hidden;
    }
    .cst-hdr-preview::before {
      content: '';
      position: absolute;
      inset: 0;
      background: rgba(255,255,255,0.82);
    }
    .cst-hdr-preview-inner {
      position: relative;
      z-index: 1;
      display: flex;
      flex-direction: column;
    }
    .cst-hdr-preview-inner .prev-brand {
      font-family: 'Dancing Script', cursive;
      font-size: 20px;
      font-weight: 700;
      color: var(--pink);
      line-height: 1;
    }
    .cst-hdr-preview-inner .prev-tag {
      font-size: 8px;
      letter-spacing: 2.5px;
      text-transform: uppercase;
      color: var(--text-light);
    }
    .cst-preview-hint {
      position: relative;
      z-index: 1;
      font-size: 10px;
      color: var(--text-light);
      letter-spacing: 0.8px;
      margin-left: auto;
    }
    /* Drop zone */
    .cst-dropzone {
      border: 2px dashed var(--border);
      border-radius: 10px;
      padding: 14px 16px;
      cursor: pointer;
      transition: border-color 0.2s, background 0.2s;
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .cst-dropzone:hover { border-color: var(--pink); background: var(--pink-ultra); }
    .cst-dz-icon { font-size: 22px; flex-shrink: 0; }
    .cst-dz-text { flex: 1; }
    .cst-dz-text strong { font-size: 12px; display: block; }
    .cst-dz-text span { font-size: 11px; color: var(--text-light); }
    .cst-dz-remove {
      flex-shrink: 0;
      background: none;
      border: 1.5px solid var(--border);
      color: var(--text-light);
      font-size: 10px;
      letter-spacing: 1px;
      padding: 5px 10px;
      border-radius: 6px;
      cursor: pointer;
      font-family: 'Poppins', sans-serif;
      transition: border-color 0.2s, color 0.2s;
    }
    .cst-dz-remove:hover { border-color: #d32f2f; color: #d32f2f; }
    /* Range slider */
    .cst-range-wrap { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
    .cst-range-wrap input[type="range"] { flex: 1; accent-color: var(--pink); cursor: pointer; }
    .cst-range-label { font-size: 12px; font-weight: 600; color: var(--text-mid); min-width: 36px; text-align: right; }
    /* Colour picker */
    .cst-color-wrap { display: flex; align-items: center; gap: 14px; margin-top: 6px; }
    .cst-color-swatch {
      width: 44px; height: 44px;
      border-radius: 50%;
      border: 2px solid rgba(0,0,0,0.08);
      flex-shrink: 0;
    }
    .cst-color-input-wrap { display: flex; flex-direction: column; gap: 4px; }
    .cst-color-input-wrap input[type="color"] {
      width: 130px; height: 36px;
      border: 1.5px solid var(--border);
      border-radius: 8px;
      cursor: pointer;
      padding: 2px 4px;
      background: white;
    }
    .cst-color-hint { font-size: 11px; color: var(--text-light); }

    /* ── Category manager (inside Customise modal) ── */
    .cst-cat-hint {
      font-size: 12px;
      color: var(--text-light);
      line-height: 1.5;
      margin-bottom: 16px;
    }
    .cst-cat-row {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 9px 12px;
      background: var(--pink-ultra);
      border: 1px solid var(--pink-pale);
      border-radius: 10px;
      margin-bottom: 8px;
    }
    .cst-cat-emoji {
      font-size: 20px;
      width: 28px;
      text-align: center;
      flex-shrink: 0;
    }
    .cst-cat-name {
      flex: 1;
      font-family: 'Jost', sans-serif;
      font-size: 14px;
      font-weight: 500;
      color: var(--text);
    }
    /* Inline edit inputs that replace the static text */
    .cst-row-emoji-input,
    .cst-row-name-input {
      font-family: 'Jost', sans-serif;
      font-size: 14px;
      border: 1.5px solid var(--pink-light);
      border-radius: 7px;
      padding: 4px 8px;
      background: white;
      color: var(--text);
      outline: none;
    }
    .cst-row-emoji-input {
      width: 44px;
      text-align: center;
      font-size: 18px;
      flex-shrink: 0;
      padding: 4px 2px;
    }
    .cst-row-name-input { flex: 1; font-weight: 500; }
    .cst-row-emoji-input:focus,
    .cst-row-name-input:focus  { border-color: var(--pink); }
    .cst-cat-btn.cst-cat-save  { background: var(--pink-pale); color: var(--pink); border-color: var(--pink-light); }

    .cst-cat-btns {
      display: flex;
      gap: 4px;
    }
    .cst-cat-btn {
      width: 28px; height: 28px;
      border-radius: 6px;
      border: 1px solid var(--border);
      background: white;
      cursor: pointer;
      font-size: 13px;
      display: flex; align-items: center; justify-content: center;
      color: var(--text-light);
      transition: background 0.15s, color 0.15s, border-color 0.15s;
    }
    .cst-cat-btn:hover:not(:disabled) { background: var(--pink-pale); color: var(--pink); border-color: var(--pink-light); }
    .cst-cat-btn:disabled { opacity: 0.3; cursor: default; }
    .cst-cat-del:hover:not(:disabled) { background: #fde8e8 !important; color: #d04060 !important; border-color: #f5b0b0 !important; }
    .cst-cat-add-row {
      display: flex;
      gap: 8px;
      margin-top: 12px;
      align-items: center;
    }
    #cst-cat-emoji {
      width: 52px;
      text-align: center;
      font-size: 18px;
      border: 1.5px solid var(--border);
      border-radius: 8px;
      padding: 8px 4px;
      flex-shrink: 0;
    }
    #cst-cat-name {
      flex: 1;
      border: 1.5px solid var(--border);
      border-radius: 8px;
      padding: 8px 12px;
      font-family: 'Jost', sans-serif;
      font-size: 14px;
    }
    #cst-cat-emoji:focus, #cst-cat-name:focus {
      outline: none;
      border-color: var(--pink);
    }
    .cst-cat-add-btn {
      padding: 8px 16px;
      background: linear-gradient(135deg, var(--pink), var(--pink-dark));
      color: white;
      border: none;
      border-radius: 8px;
      font-family: 'Jost', sans-serif;
      font-size: 13px;
      font-weight: 600;
      cursor: pointer;
      white-space: nowrap;
      transition: opacity 0.2s;
    }
    .cst-cat-add-btn:hover { opacity: 0.88; }

    /* Save bar */
    .cst-save-bar {
      padding: 14px 28px;
      border-top: 1px solid var(--border);
      background: #fafafa;
      display: flex;
      align-items: center;
      gap: 10px;
      flex-shrink: 0;
    }
    .btn-cst-save {
      flex: 1;
      padding: 12px;
      background: linear-gradient(135deg, var(--pink), var(--pink-dark));
      color: white;
      border: none;
      border-radius: 8px;
      font-family: 'Poppins', sans-serif;
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      cursor: pointer;
      transition: opacity 0.2s;
    }
    .btn-cst-save:hover { opacity: 0.88; }
    .btn-cst-save:disabled { opacity: 0.45; cursor: not-allowed; }
    .btn-cst-cancel {
      padding: 12px 22px;
      background: none;
      border: 1.5px solid var(--border);
      color: var(--text-light);
      border-radius: 8px;
      font-family: 'Poppins', sans-serif;
      font-size: 11px;
      cursor: pointer;
      transition: border-color 0.2s, color 0.2s;
    }
    .btn-cst-cancel:hover { border-color: var(--text); color: var(--text); }

    .header-inner {
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 40px;
      height: 72px;
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      align-items: center;
    }

    /* Logo — left column */
    .logo-wrap {
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
      justify-self: start;
    }
    .logo-img {
      height: 54px;
      width: auto;
      object-fit: contain;
    }
    .logo-text {
      display: flex;
      flex-direction: column;
    }
    .logo-text .brand {
      font-family: 'Dancing Script', cursive;
      font-size: 28px;
      font-weight: 700;
      color: var(--pink);
      line-height: 1;
      letter-spacing: 1px;
    }
    .logo-text .tagline {
      font-size: 8px;
      font-weight: 500;
      letter-spacing: 3.5px;
      color: var(--text-light);
      text-transform: uppercase;
      margin-top: 2px;
    }

    /* Centre nav links */
    .nav-links {
      display: flex;
      align-items: center;
      gap: 38px;
    }
    .nav-links a {
      font-size: 11px;
      font-weight: 500;
      letter-spacing: 2.5px;
      text-transform: uppercase;
      text-decoration: none;
      color: #333;
      transition: color 0.2s;
      position: relative;
      padding-bottom: 2px;
    }
    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -2px; left: 0; right: 100%;
      height: 1.5px;
      background: var(--pink);
      transition: right 0.25s ease;
    }
    .nav-links a:hover::after,
    .nav-links a.active::after { right: 0; }
    .nav-links a:hover,
    .nav-links a.active { color: var(--pink); }

    /* Right icon group */
    .header-actions {
      display: flex;
      align-items: center;
      gap: 6px;
      justify-self: end;
    }

    /* Icon button base */
    .hdr-icon {
      background: none;
      border: none;
      cursor: pointer;
      width: 38px; height: 38px;
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      color: #333;
      transition: background 0.18s, color 0.18s;
      position: relative;
    }
    .hdr-icon:hover { background: var(--pink-pale); color: var(--pink); }
    .hdr-icon svg { width: 19px; height: 19px; }
    #btn-contact-mobile { display: none; } /* shown only on mobile via media query */

    /* Admin controls row (hidden by default, shown in admin-mode) */
    .admin-toolbar {
      display: none;
      align-items: center;
      gap: 8px;
      padding: 7px 40px;
      background: linear-gradient(90deg, var(--pink-pale), #fff0f8);
      border-bottom: 1px solid var(--border);
    }
    .admin-toolbar.visible { display: flex; }
    .admin-badge {
      display: flex;
      align-items: center;
      gap: 6px;
      background: linear-gradient(135deg, var(--pink), var(--pink-dark));
      color: white;
      padding: 4px 12px;
      border-radius: 20px;
      font-size: 9px;
      font-weight: 600;
      letter-spacing: 1.5px;
      text-transform: uppercase;
    }
    .admin-badge svg { width: 11px; height: 11px; }

    /* Admin badge */
    .admin-badge {
      display: none;
      align-items: center;
      gap: 6px;
      background: linear-gradient(135deg, var(--pink), var(--pink-dark));
      color: white;
      padding: 6px 14px;
      border-radius: 20px;
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 1.5px;
      text-transform: uppercase;
    }

    .admin-badge.visible { display: flex; }
    .admin-badge svg { width: 12px; height: 12px; }

    /* Cart button */
    .btn-cart {
      position: relative;
      background: none;
      border: 2px solid var(--pink);
      color: var(--pink);
      width: 44px; height: 44px;
      border-radius: 50%;
      cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      transition: background 0.2s, color 0.2s;
    }

    .btn-cart:hover { background: var(--pink); color: white; }
    .btn-cart svg { width: 18px; height: 18px; }

    .cart-count {
      position: absolute;
      top: -6px; right: -6px;
      background: var(--pink-dark);
      color: white;
      font-size: 9px;
      font-weight: 700;
      width: 18px; height: 18px;
      border-radius: 50%;
      display: none;
      align-items: center;
      justify-content: center;
    }

    .cart-count.has-items { display: flex; }

    /* Admin login / logout btn */
    .btn-admin-login {
      background: none;
      border: 1.5px solid var(--border);
      color: var(--text-light);
      padding: 8px 16px;
      font-family: 'Poppins', sans-serif;
      font-size: 10px;
      font-weight: 500;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      cursor: pointer;
      border-radius: 4px;
      transition: all 0.2s;
    }

    .btn-admin-login:hover { border-color: var(--pink); color: var(--pink); }

    /* Add product btn (admin only) */
    .btn-add-product {
      display: none;
      align-items: center;
      gap: 8px;
      background: linear-gradient(135deg, var(--pink), var(--pink-dark));
      color: white;
      border: none;
      padding: 10px 20px;
      font-family: 'Poppins', sans-serif;
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 2px;
      text-transform: uppercase;
      cursor: pointer;
      border-radius: 4px;
      transition: opacity 0.2s, transform 0.2s;
      box-shadow: 0 4px 16px var(--shadow);
    }

    .btn-add-product.visible { display: flex; }
    .btn-add-product:hover { opacity: 0.88; transform: translateY(-1px); }
    .btn-add-product svg { width: 14px; height: 14px; }

    /* Export button */
    .btn-export {
      display: none;
      align-items: center;
      gap: 7px;
      background: transparent;
      border: 1.5px solid var(--pink);
      color: var(--pink-dark);
      padding: 9px 18px;
      font-family: 'Poppins', sans-serif;
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      cursor: pointer;
      border-radius: 4px;
      transition: all 0.2s;
    }
    .btn-export.visible { display: flex; }
    .btn-export:hover { background: var(--pink); color: white; }
    .btn-export svg { width: 14px; height: 14px; }

    /* ── CUSTOMER USER BUTTON ── */
    .hdr-icon.signed-in {
      background: var(--pink-pale);
      border: 1.5px solid var(--pink);
      color: var(--pink);
    }
    .user-avatar-initial {
      font-family: 'Jost', sans-serif;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.5px;
    }

    /* ── CART SIGN-IN TIP ── */
    .cart-signin-tip {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 10px 14px;
      margin: 0 0 10px;
      background: var(--pink-ultra);
      border: 1px solid var(--pink-light);
      border-radius: 8px;
      font-size: 11px;
      font-family: 'Jost', sans-serif;
      color: var(--pink-dark);
      cursor: pointer;
      transition: background 0.2s;
      width: 100%;
      text-align: left;
    }
    .cart-signin-tip:hover { background: var(--pink-pale); }
    .cart-signin-tip svg { flex-shrink: 0; width: 14px; height: 14px; color: var(--pink); }

    /* ── SHARE LIST BUTTON ── */
    .btn-share-list {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      width: 100%;
      padding: 13px;
      margin-bottom: 10px;
      background: transparent;
      border: 1.5px solid var(--pink);
      border-radius: 8px;
      color: var(--pink);
      font-family: 'Jost', sans-serif;
      font-size: 13px;
      font-weight: 500;
      letter-spacing: 1px;
      cursor: pointer;
      transition: all 0.2s;
    }
    .btn-share-list:hover { background: var(--pink-pale); }
    .btn-share-list:disabled { opacity: 0.4; cursor: not-allowed; }
    .btn-share-list svg { width: 15px; height: 15px; }

    /* ── ORDER PREVIEW MODAL ── */
    .order-preview-customer {
      background: var(--pink-ultra);
      border-radius: 8px;
      padding: 10px 14px;
      font-size: 13px;
      color: var(--text-light);
      margin-bottom: 14px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .order-preview-customer strong { color: var(--text); }
    .order-preview-items { margin: 4px 0 16px; max-height: 300px; overflow-y: auto; }
    .order-preview-item {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 10px 0;
      border-bottom: 1px solid var(--pink-ultra);
    }
    .order-preview-item:last-child { border-bottom: none; }
    .order-preview-item img { width: 52px; height: 52px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
    .order-preview-item-ph {
      width: 52px; height: 52px; border-radius: 4px;
      background: var(--pink-pale);
      display: flex; align-items: center; justify-content: center;
      color: var(--pink-light); flex-shrink: 0;
    }
    .order-preview-item-ph svg { width: 20px; height: 20px; }
    .order-preview-item-name { font-weight: 600; font-size: 14px; font-family: 'Jost', sans-serif; }
    .order-preview-item-price { font-size: 13px; color: var(--pink); font-weight: 600; }
    .order-preview-item-cat { font-size: 10px; color: var(--text-light); letter-spacing: 2px; text-transform: uppercase; }
    .order-preview-total {
      padding: 14px 0 0;
      border-top: 2px solid var(--pink-pale);
      font-family: 'Jost', sans-serif;
      font-size: 15px;
      font-weight: 700;
      display: flex;
      justify-content: space-between;
    }
    .order-preview-total span { color: var(--pink); }
    .order-preview-note {
      padding: 10px 14px;
      background: var(--pink-ultra);
      border-left: 3px solid var(--pink);
      border-radius: 0 6px 6px 0;
      font-size: 12px;
      color: var(--text-light);
      margin: 10px 0 16px;
      font-family: 'Jost', sans-serif;
    }
    .btn-wa-preview {
      display: flex; align-items: center; justify-content: center; gap: 8px;
      width: 100%; padding: 14px;
      background: linear-gradient(135deg, #25d366, #128c7e);
      color: #fff; border: none; border-radius: 8px;
      font-family: 'Jost', sans-serif; font-size: 14px; font-weight: 600;
      letter-spacing: 1px; cursor: pointer; transition: opacity 0.2s;
    }
    .btn-wa-preview:hover { opacity: 0.9; }
    .btn-wa-preview svg { width: 18px; height: 18px; }

    /* ── CONTACT MODAL ── */
    .contact-phone {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 14px 20px;
      background: var(--pink-ultra);
      border: 1.5px solid var(--pink-light);
      border-radius: 10px;
      margin: 4px 0 20px;
      text-decoration: none;
      color: var(--text);
      font-family: 'Jost', sans-serif;
      font-size: 17px;
      font-weight: 600;
      letter-spacing: 1px;
      transition: background 0.2s;
    }
    .contact-phone:hover { background: var(--pink-pale); }
    .contact-phone svg { color: var(--pink); flex-shrink: 0; }
    .contact-socials-label {
      font-family: 'Jost', sans-serif;
      font-size: 10px;
      font-weight: 500;
      letter-spacing: 3px;
      text-transform: uppercase;
      color: var(--text-light);
      margin-bottom: 12px;
      text-align: center;
    }
    .contact-socials {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .contact-social-btn {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 12px 18px;
      border-radius: 10px;
      text-decoration: none;
      font-family: 'Jost', sans-serif;
      font-size: 14px;
      font-weight: 500;
      transition: opacity 0.2s, transform 0.15s;
      color: #fff;
    }
    .contact-social-btn:hover { opacity: 0.88; transform: translateY(-1px); }
    .contact-social-btn svg { width: 20px; height: 20px; flex-shrink: 0; }
    .contact-social-btn .social-handle {
      font-size: 11px;
      opacity: 0.8;
      font-weight: 400;
      margin-left: auto;
    }
    .social-instagram { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
    .social-facebook  { background: #1877F2; }
    .social-tiktok    { background: #010101; }
    .social-youtube   { background: #FF0000; }
    .social-x         { background: #000; }

    /* ═══════════════════════════════════════════
       HERO BANNER — full-viewport luxury
    ═══════════════════════════════════════════ */
    .hero {
      position: relative;
      width: 100%;
      height: 100vh;
      min-height: 560px;
      background: #1a0a12 center center / cover no-repeat;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }

    /* dark overlay */
    .hero-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(160deg, rgba(0,0,0,0.58) 0%, rgba(20,5,12,0.42) 100%);
    }

    /* centered content */
    .hero-content {
      position: relative;
      z-index: 2;
      text-align: center;
      color: #fff;
      padding: 0 24px;
      max-width: 720px;
    }

    .hero-eyebrow {
      font-family: 'Jost', sans-serif;
      font-size: var(--hero-eyebrow-size, 13px);
      font-weight: 400;
      letter-spacing: 5px;
      text-transform: uppercase;
      color: rgba(255,255,255,0.85);
      margin-bottom: 22px;
    }

    .hero h2 {
      font-family: 'Cormorant Garamond', serif;
      font-size: var(--hero-heading-size, clamp(48px, 9vw, 96px));
      font-weight: 300;
      font-style: italic;
      line-height: 1.05;
      margin-bottom: 20px;
      letter-spacing: -1px;
    }

    .hero-tagline {
      font-family: 'Jost', sans-serif;
      font-weight: 300;
      font-size: var(--hero-tagline-size, clamp(13px, 1.8vw, 18px));
      color: rgba(255,255,255,0.85);
      letter-spacing: 4px;
      text-transform: uppercase;
      margin-bottom: 48px;
    }

    .btn-shop-now {
      display: inline-block;
      padding: 14px 52px;
      border: 1px solid rgba(255,255,255,0.65);
      color: #fff;
      background: transparent;
      font-family: 'Jost', sans-serif;
      font-size: var(--hero-btn-size, 13px);
      font-weight: 400;
      letter-spacing: 4px;
      text-transform: uppercase;
      cursor: pointer;
      transition: background 0.3s, border-color 0.3s, color 0.3s;
    }
    .btn-shop-now:hover {
      background: var(--pink);
      border-color: var(--pink);
    }

    /* ═══════════════════════════════════════════
       PRODUCT GRID
    ═══════════════════════════════════════════ */
    /* ── FILTER BAR ── */
    .filter-bar {
      max-width: 1280px;
      margin: 28px auto 0;
      padding: 0 28px;
      display: flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
    }

    .filter-btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 8px 22px;
      border-radius: 2px;
      border: 1px solid var(--border);
      background: var(--white);
      color: var(--text-light);
      font-family: 'Jost', sans-serif;
      font-size: 10px;
      font-weight: 500;
      letter-spacing: 2.5px;
      text-transform: uppercase;
      cursor: pointer;
      transition: all 0.22s;
      white-space: nowrap;
    }

    .filter-btn:hover {
      border-color: var(--pink);
      color: var(--pink);
    }

    .filter-btn.active {
      background: var(--text);
      border-color: var(--text);
      color: var(--off-white);
      box-shadow: 0 4px 14px rgba(30,8,20,0.15);
    }

    .filter-btn .filter-count {
      background: rgba(255,255,255,0.25);
      color: inherit;
      font-size: 10px;
      font-weight: 700;
      min-width: 18px;
      height: 18px;
      border-radius: 9px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0 4px;
    }

    .filter-btn:not(.active) .filter-count {
      background: var(--pink-pale);
      color: var(--pink);
    }

    /* ── CATEGORY BADGE on card ── */
    .card-category {
      display: inline-block;
      padding: 2px 0;
      font-family: 'Jost', sans-serif;
      font-size: 9px;
      font-weight: 500;
      letter-spacing: 3px;
      text-transform: uppercase;
      color: var(--pink);
      margin-bottom: 8px;
      border-bottom: 1px solid var(--pink-light);
    }

    /* ── CATEGORY PICKER in modal ── */
    .cat-picker {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 4px;
    }

    .cat-option {
      padding: 8px 16px;
      border-radius: 30px;
      border: 1.5px solid var(--border);
      background: var(--pink-ultra);
      color: var(--text-mid);
      font-family: 'Poppins', sans-serif;
      font-size: 11px;
      font-weight: 500;
      letter-spacing: 1px;
      cursor: pointer;
      transition: all 0.2s;
      user-select: none;
    }

    .cat-option:hover { border-color: var(--pink); color: var(--pink); }

    .cat-option.selected {
      background: linear-gradient(135deg, var(--pink), var(--pink-dark));
      border-color: transparent;
      color: white;
    }

    #cat-error {
      color: var(--pink);
      font-size: 11px;
      margin-top: 5px;
      display: none;
    }

    .section-head {
      max-width: 1280px;
      margin: 24px auto 0;
      padding: 0 28px;
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .section-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: 22px;
      font-weight: 400;
      font-style: italic;
      color: var(--text);
      letter-spacing: 1px;
      white-space: nowrap;
    }

    .section-line {
      flex: 1;
      height: 1px;
      background: linear-gradient(90deg, var(--gold-light), transparent);
    }

    .product-count {
      font-family: 'Jost', sans-serif;
      font-size: 10px;
      font-weight: 400;
      color: var(--text-light);
      letter-spacing: 2px;
      text-transform: uppercase;
      white-space: nowrap;
    }

    .grid {
      max-width: 1280px;
      margin: 20px auto 60px;
      padding: 0 28px;
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
      gap: 28px;
    }

    /* ═══════════════════════════════════════════
       PRODUCT CARD
    ═══════════════════════════════════════════ */
    .card {
      background: var(--white);
      border: none;
      border-radius: 4px;
      overflow: hidden;
      position: relative;
      transition: box-shadow 0.4s ease, transform 0.4s ease;
      animation: fadeUp 0.5s ease both;
      box-shadow: 0 2px 16px rgba(30,8,20,0.06);
    }

    .card:hover {
      box-shadow: 0 12px 40px rgba(30,8,20,0.13);
      transform: translateY(-4px);
    }

    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(24px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    .card-img-wrap {
      width: 100%;
      aspect-ratio: 3 / 4;
      overflow: hidden;
      background: var(--pink-ultra);
      position: relative;
    }

    .card-img-wrap img {
      width: 100%; height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease;
      display: block;
    }

    .card:hover .card-img-wrap img { transform: scale(1.05); }

    .no-image {
      width: 100%; height: 100%;
      display: flex; flex-direction: column;
      align-items: center; justify-content: center;
      color: var(--pink-light); gap: 10px;
    }

    .no-image svg { width: 44px; height: 44px; opacity: 0.4; }
    .no-image span { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; opacity: 0.5; }

    /* Pink bottom accent line — appears on hover */
    .card::before {
      content: '';
      position: absolute;
      bottom: 0; left: 0; right: 0;
      height: 2px;
      background: linear-gradient(90deg, var(--pink-pale), var(--pink), var(--pink-pale));
      z-index: 2;
      opacity: 0;
      transition: opacity 0.4s ease;
    }
    .card:hover::before { opacity: 1; }

    /* In-cart badge */
    .in-cart-badge {
      position: absolute;
      top: 12px; left: 12px;
      background: var(--pink);
      color: white;
      font-size: 9px;
      font-weight: 600;
      letter-spacing: 1px;
      padding: 4px 10px;
      border-radius: 20px;
      text-transform: uppercase;
      display: none;
      z-index: 3;
    }

    .card.in-cart .in-cart-badge { display: block; }

    /* Remove button (admin only) */
    .btn-remove {
      position: absolute;
      top: 12px; right: 12px;
      width: 32px; height: 32px;
      background: white;
      border: 1.5px solid #f8c0d0;
      color: #d04060;
      cursor: pointer;
      display: none;
      align-items: center; justify-content: center;
      border-radius: 50%;
      font-size: 13px;
      z-index: 4;
      transition: background 0.2s, color 0.2s;
    }

    .admin-mode .btn-remove { display: flex; }
    .btn-remove:hover { background: #d04060; color: white; border-color: #d04060; }

    /* ── PIN / HIDE / DUPLICATE (admin) ─────────── */
    .btn-pin, .btn-hide, .btn-dup {
      position: absolute;
      width: 30px; height: 30px;
      background: white;
      border: 1.5px solid rgba(0,0,0,0.12);
      color: #555;
      cursor: pointer;
      display: none;
      align-items: center; justify-content: center;
      border-radius: 50%;
      z-index: 4;
      transition: all 0.2s;
    }
    .admin-mode .btn-pin,
    .admin-mode .btn-hide,
    .admin-mode .btn-dup { display: flex; }

    .btn-pin  { top: 50px;  right: 12px; }
    .btn-hide { top: 86px;  right: 12px; }
    .btn-dup  { top: 122px; right: 12px; }

    .btn-pin:hover  { background: #ffd84a; color: #6b5400; border-color: #ffd84a; }
    .btn-pin.is-on  { background: #ffd84a; color: #6b5400; border-color: #ffc107; }

    .btn-hide:hover { background: #555; color: #fff; border-color: #555; }
    .btn-hide.is-on { background: rgba(255,255,255,0.95); color: #d04060; border-color: #f0a8b8; }

    .btn-dup:hover  { background: var(--pink-pale); color: var(--pink-dark); border-color: var(--pink-light); }

    /* Featured & Hidden badges */
    .featured-badge {
      position: absolute; top: 12px; left: 50px;
      padding: 4px 9px; border-radius: 12px;
      background: linear-gradient(135deg, #ffd84a, #ffb700);
      color: #5a4400;
      font-size: 10px; font-weight: 600; letter-spacing: 0.5px;
      font-family: 'Jost', sans-serif;
      z-index: 5; box-shadow: 0 2px 6px rgba(255,183,0,0.35);
    }
    .hidden-badge {
      position: absolute; top: 12px; left: 50px;
      padding: 4px 9px; border-radius: 12px;
      background: rgba(40,20,30,0.85); color: #fff;
      font-size: 10px; font-weight: 600; letter-spacing: 0.5px;
      font-family: 'Jost', sans-serif;
      z-index: 5;
    }
    /* If a product is both pinned + hidden, hidden wins visually
       (the featured badge disappears when hidden) */
    .featured-badge ~ .hidden-badge { display: none; }

    /* Admin-only: visually fade hidden products so admin sees they're hidden */
    .admin-mode .card:has(.hidden-badge) {
      opacity: 0.55;
      filter: grayscale(0.4);
    }
    .admin-mode .card:has(.hidden-badge):hover { opacity: 0.85; filter: none; }

    /* ── BULK DELETE MODE ─────────────────────────────── */
    /* Transparent cover on every card captures taps/clicks for selection */
    .bulk-delete-mode .card { cursor: pointer; user-select: none; }
    .bulk-delete-mode .card::before {
      content: ''; position: absolute; inset: 0; z-index: 8;
      border-radius: 4px; transition: background 0.15s;
    }
    .bulk-delete-mode .card:hover::before  { background: rgba(233,30,140,0.06); }
    .bulk-delete-mode .card.bd-selected::before { background: rgba(233,30,140,0.12); }
    .bulk-delete-mode .card.bd-selected {
      outline: 2.5px solid var(--pink); outline-offset: -2px;
      transform: scale(0.97);
    }
    /* Hide edit/remove buttons while in bulk delete mode */
    .bulk-delete-mode .btn-edit,
    .bulk-delete-mode .btn-remove { opacity: 0; pointer-events: none; }

    /* Selection checkmark badge */
    .bd-check {
      position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
      width: 26px; height: 26px; border-radius: 50%;
      border: 2px solid rgba(255,255,255,0.9);
      background: rgba(0,0,0,0.35); backdrop-filter: blur(4px);
      z-index: 9; display: none; align-items: center; justify-content: center;
      color: white; font-size: 13px; font-weight: 700;
      transition: background 0.15s, border-color 0.15s;
    }
    .bulk-delete-mode .card .bd-check { display: flex; }
    .bulk-delete-mode .card.bd-selected .bd-check {
      background: var(--pink); border-color: var(--pink);
    }

    /* Floating action bar */
    .bulk-delete-bar {
      position: fixed; bottom: -90px; left: 50%; transform: translateX(-50%);
      background: #1a0810; color: white;
      padding: 13px 20px; border-radius: 40px;
      display: flex; align-items: center; gap: 14px;
      z-index: 10000; box-shadow: 0 8px 40px rgba(0,0,0,0.45);
      transition: bottom 0.35s cubic-bezier(0.175,0.885,0.32,1.275);
      white-space: nowrap; pointer-events: none;
    }
    .bulk-delete-bar.visible { bottom: 28px; pointer-events: all; }
    .bd-bar-count { font-size: 12px; font-weight: 500; opacity: 0.75; min-width: 130px; }
    .bd-bar-actions { display: flex; gap: 8px; }
    .btn-bd-selall, .btn-bd-cancel {
      padding: 7px 15px; border-radius: 20px; font-size: 11px; cursor: pointer;
      border: 1.5px solid rgba(255,255,255,0.25); background: transparent; color: white;
      letter-spacing: 0.5px; font-family: 'Jost', sans-serif;
      transition: background 0.2s;
    }
    .btn-bd-selall:hover, .btn-bd-cancel:hover { background: rgba(255,255,255,0.12); }
    .btn-bd-delete {
      padding: 7px 18px; border-radius: 20px; font-size: 11px; cursor: pointer;
      background: var(--pink); border: none; color: white;
      letter-spacing: 0.5px; font-family: 'Jost', sans-serif; font-weight: 600;
      transition: opacity 0.2s, transform 0.15s;
    }
    .btn-bd-delete:hover:not(:disabled) { opacity: 0.88; transform: translateY(-1px); }
    .btn-bd-delete:disabled { opacity: 0.35; cursor: default; }

    /* Edit button (admin only) */
    .btn-edit {
      position: absolute;
      top: 12px; left: 12px;
      width: 32px; height: 32px;
      background: white;
      border: 1.5px solid var(--pink-light);
      color: var(--pink);
      cursor: pointer;
      display: none;
      align-items: center; justify-content: center;
      border-radius: 50%;
      font-size: 13px;
      z-index: 4;
      transition: background 0.2s, color 0.2s;
    }
    .admin-mode .btn-edit { display: flex; }
    .btn-edit:hover { background: var(--pink); color: white; border-color: var(--pink); }

    .card-body { padding: 20px 18px 16px; }

    .card-name {
      font-family: 'Cormorant Garamond', serif;
      font-size: 20px;
      font-weight: 500;
      font-style: italic;
      color: var(--text);
      margin-bottom: 5px;
      line-height: 1.25;
      letter-spacing: 0.3px;
    }

    .card-desc {
      font-family: 'Jost', sans-serif;
      font-size: 11px;
      font-weight: 300;
      color: var(--text-light);
      letter-spacing: 0.8px;
      margin-bottom: 10px;
      line-height: 1.7;
    }

    .card-price {
      font-family: 'Jost', sans-serif;
      font-size: 15px;
      font-weight: 600;
      font-style: normal;
      color: var(--pink);
      letter-spacing: 0.5px;
      margin-bottom: 16px;
    }

    .card-actions {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    /* Add to Cart */
    .btn-cart-add {
      width: 100%;
      padding: 12px;
      background: var(--text);
      color: var(--off-white);
      border: none;
      border-radius: 2px;
      font-family: 'Jost', sans-serif;
      font-size: 10px;
      font-weight: 500;
      letter-spacing: 3px;
      text-transform: uppercase;
      cursor: pointer;
      display: flex; align-items: center; justify-content: center; gap: 8px;
      transition: background 0.25s, color 0.25s;
    }

    .btn-cart-add:hover { background: var(--pink); }
    .btn-cart-add svg { width: 13px; height: 13px; }

    .card.in-cart .btn-cart-add {
      background: #f0f7f0;
      color: #4a8c52;
      letter-spacing: 2.5px;
    }

    /* WhatsApp */
    .btn-wa {
      width: 100%;
      padding: 11px;
      background: transparent;
      border: 1px solid var(--border);
      border-radius: 2px;
      color: var(--text-mid);
      font-family: 'Jost', sans-serif;
      font-size: 10px;
      font-weight: 500;
      letter-spacing: 3px;
      text-transform: uppercase;
      text-decoration: none;
      cursor: pointer;
      display: flex; align-items: center; justify-content: center; gap: 8px;
      transition: border-color 0.25s, color 0.25s, background 0.25s;
    }

    .btn-wa:hover { border-color: var(--pink); color: var(--pink); background: var(--pink-pale); }
    .btn-wa svg { width: 13px; height: 13px; flex-shrink: 0; }

    /* ═══════════════════════════════════════════
       EMPTY STATE
    ═══════════════════════════════════════════ */
    .empty-state {
      max-width: 380px;
      margin: 80px auto;
      text-align: center;
      padding: 0 24px;
    }

    .empty-icon {
      width: 80px; height: 80px;
      background: var(--pink-pale);
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      margin: 0 auto 20px;
    }

    .empty-icon svg { width: 36px; height: 36px; color: var(--pink-light); }

    .empty-state h3 {
      font-family: 'Playfair Display', serif;
      font-size: 24px;
      font-style: italic;
      color: var(--text-mid);
      margin-bottom: 10px;
    }

    .empty-state p { font-size: 12px; color: var(--text-light); letter-spacing: 0.5px; line-height: 1.8; }

    /* ═══════════════════════════════════════════
       CART PANEL
    ═══════════════════════════════════════════ */
    .cart-overlay {
      position: fixed; inset: 0;
      background: rgba(42,21,32,0.45);
      backdrop-filter: blur(3px);
      z-index: 900;
      display: none;
      opacity: 0;
      transition: opacity 0.3s;
    }

    .cart-overlay.open { display: block; }
    .cart-overlay.visible { opacity: 1; }

    .cart-panel {
      position: fixed;
      top: 0; right: 0; bottom: 0;
      width: 100%;
      max-width: 400px;
      background: var(--white);
      z-index: 1000;
      display: flex;
      flex-direction: column;
      transform: translateX(100%);
      transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
      box-shadow: -8px 0 40px rgba(233,30,140,0.15);
    }

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

    .cart-header {
      padding: 22px 24px;
      border-bottom: 1px solid var(--border);
      display: flex; align-items: center; justify-content: space-between;
    }

    .cart-header h3 {
      font-family: 'Playfair Display', serif;
      font-size: 22px;
      font-weight: 500;
      color: var(--text);
    }

    .cart-header h3 span {
      font-family: 'Dancing Script', cursive;
      color: var(--pink);
    }

    .btn-close-cart {
      background: none; border: none;
      font-size: 22px; color: var(--text-light);
      cursor: pointer; line-height: 1;
    }

    .btn-close-cart:hover { color: var(--pink); }

    .cart-items {
      flex: 1;
      overflow-y: auto;
      padding: 16px 24px;
    }

    .cart-empty-msg {
      text-align: center;
      padding: 60px 0;
      color: var(--text-light);
    }

    .cart-empty-msg svg { width: 48px; height: 48px; margin-bottom: 12px; opacity: 0.3; }
    .cart-empty-msg p { font-size: 13px; }

    .cart-item {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 14px 0;
      border-bottom: 1px solid var(--pink-ultra);
    }

    .cart-item-img {
      width: 60px; height: 72px;
      object-fit: cover;
      border-radius: 6px;
      background: var(--pink-ultra);
      flex-shrink: 0;
    }

    .cart-item-img-placeholder {
      width: 60px; height: 72px;
      background: var(--pink-pale);
      border-radius: 6px;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
    }

    .cart-item-img-placeholder svg { width: 22px; height: 22px; color: var(--pink-light); }

    .cart-item-info { flex: 1; min-width: 0; }

    .cart-item-name {
      font-family: 'Playfair Display', serif;
      font-size: 15px;
      font-weight: 500;
      color: var(--text);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .cart-item-price {
      font-size: 13px;
      color: var(--pink);
      font-weight: 600;
      margin-top: 3px;
    }

    .btn-remove-cart {
      background: none; border: none;
      color: var(--text-light);
      cursor: pointer; font-size: 18px; line-height: 1;
      flex-shrink: 0;
      transition: color 0.2s;
    }

    .btn-remove-cart:hover { color: #d04060; }

    .cart-footer {
      padding: 18px 24px 24px;
      border-top: 2px solid var(--pink-pale);
    }

    .cart-note {
      width: 100%;
      padding: 10px 12px;
      border: 1.5px solid var(--border);
      border-radius: 6px;
      font-family: 'Poppins', sans-serif;
      font-size: 12px;
      color: var(--text);
      resize: none;
      outline: none;
      margin-bottom: 12px;
      transition: border-color 0.2s;
    }

    .cart-note:focus { border-color: var(--pink); }

    .btn-wa-cart {
      width: 100%;
      padding: 14px;
      background: linear-gradient(135deg, #25D366, #128C7E);
      color: white;
      border: none;
      border-radius: 8px;
      font-family: 'Poppins', sans-serif;
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 2px;
      text-transform: uppercase;
      cursor: pointer;
      display: flex; align-items: center; justify-content: center; gap: 10px;
      transition: opacity 0.2s, transform 0.2s;
      box-shadow: 0 6px 20px rgba(37,211,102,0.3);
    }

    .btn-wa-cart:hover { opacity: 0.9; transform: translateY(-1px); }
    .btn-wa-cart:disabled { background: #ccc; box-shadow: none; cursor: not-allowed; transform: none; }
    .btn-wa-cart svg { width: 18px; height: 18px; }

    /* ═══════════════════════════════════════════
       MODALS — shared base
    ═══════════════════════════════════════════ */
    .modal-overlay {
      position: fixed; inset: 0;
      background: rgba(42,21,32,0.55);
      backdrop-filter: blur(5px);
      z-index: 1100;
      display: none;
      align-items: center; justify-content: center;
      padding: 20px;
    }

    .modal-overlay.open { display: flex; }

    .modal {
      background: var(--white);
      border-radius: 16px;
      width: 100%;
      max-width: 460px;
      padding: 40px 36px;
      position: relative;
      animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      border-top: 4px solid var(--pink);
    }

    @keyframes popIn {
      from { opacity: 0; transform: scale(0.92) translateY(12px); }
      to   { opacity: 1; transform: scale(1) translateY(0); }
    }

    .modal-close {
      position: absolute; top: 14px; right: 18px;
      background: none; border: none;
      font-size: 22px; color: var(--text-light);
      cursor: pointer; line-height: 1;
    }

    .modal-close:hover { color: var(--pink); }

    .modal-logo {
      text-align: center;
      margin-bottom: 22px;
    }

    .modal h2 {
      font-family: 'Playfair Display', serif;
      font-size: 26px;
      font-style: italic;
      color: var(--text);
      margin-bottom: 4px;
      text-align: center;
    }

    .modal-sub {
      font-size: 11px;
      letter-spacing: 2px;
      color: var(--text-light);
      text-transform: uppercase;
      text-align: center;
      margin-bottom: 28px;
    }

    .form-group { margin-bottom: 18px; }

    .form-group label {
      display: block;
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--text-mid);
      margin-bottom: 7px;
    }

    .form-group input,
    .form-group textarea {
      width: 100%;
      padding: 11px 14px;
      border: 1.5px solid var(--border);
      border-radius: 8px;
      background: var(--pink-ultra);
      font-family: 'Poppins', sans-serif;
      font-size: 13px;
      color: var(--text);
      outline: none;
      transition: border-color 0.2s;
      resize: none;
    }

    .form-group input:focus,
    .form-group textarea:focus { border-color: var(--pink); background: white; }

    .form-group input[type="password"] { letter-spacing: 4px; font-size: 16px; }

    /* Upload area */
    .upload-area {
      border: 2px dashed var(--border);
      border-radius: 10px;
      background: var(--pink-ultra);
      padding: 28px 20px;
      text-align: center;
      cursor: pointer;
      transition: border-color 0.2s, background 0.2s;
      position: relative;
    }

    .upload-area:hover { border-color: var(--pink); background: var(--pink-pale); }
    .upload-area input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
    .upload-area .upload-icon { font-size: 30px; margin-bottom: 8px; }
    .upload-area p { font-size: 12px; color: var(--text-light); }
    .upload-area .hint { font-size: 10px; color: var(--pink); margin-top: 4px; }

    #img-preview {
      width: 100%; max-height: 200px;
      object-fit: cover; border-radius: 8px;
      display: none; margin-top: 12px;
      border: 2px solid var(--border);
    }

    /* Buttons */
    .btn-primary {
      width: 100%;
      padding: 14px;
      background: linear-gradient(135deg, var(--pink), var(--pink-dark));
      color: white;
      border: none;
      border-radius: 8px;
      font-family: 'Poppins', sans-serif;
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 2.5px;
      text-transform: uppercase;
      cursor: pointer;
      margin-top: 6px;
      transition: opacity 0.2s, transform 0.2s;
      box-shadow: 0 6px 20px var(--shadow);
    }

    .btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }

    /* Google Sign-In button */
    .btn-google {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      width: 100%;
      padding: 11px 16px;
      border: 1.5px solid #dadce0;
      border-radius: 10px;
      background: #fff;
      color: #3c4043;
      font-size: 15px;
      font-weight: 500;
      cursor: pointer;
      transition: background 0.18s, box-shadow 0.18s;
      margin-top: 8px;
    }
    .btn-google:hover {
      background: #f8f9fa;
      box-shadow: 0 1px 6px rgba(60,64,67,.2);
    }
    .btn-google:disabled {
      opacity: 0.6;
      cursor: not-allowed;
    }

    /* Error shake */
    .shake { animation: shake 0.4s ease; }

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

    .error-msg {
      color: #d04060;
      font-size: 11px;
      text-align: center;
      margin-top: 8px;
      display: none;
    }

    /* ═══════════════════════════════════════════
       FOOTER
    ═══════════════════════════════════════════ */
    footer {
      background: var(--white);
      border-top: 2px solid var(--pink-pale);
      text-align: center;
      padding: 28px;
    }

    .footer-logo {
      font-family: 'Dancing Script', cursive;
      font-size: 28px;
      color: var(--pink);
      margin-bottom: 8px;
    }

    footer p {
      font-size: 11px;
      letter-spacing: 2px;
      color: var(--text-light);
      text-transform: uppercase;
    }

    footer a { color: var(--pink); text-decoration: none; }
    footer a:hover { color: var(--pink-dark); }

    /* ══════════════════════════════════════
       FLOATING WHATSAPP BUTTON
    ══════════════════════════════════════ */
    #float-wa {
      position: fixed;
      bottom: 90px;
      right: 28px;
      z-index: 800;
      width: 58px;
      height: 58px;
      background: #25D366;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 20px rgba(37,211,102,0.45);
      cursor: pointer;
      text-decoration: none;
      transition: transform 0.2s, box-shadow 0.2s;
      animation: wa-pulse 2.5s ease-in-out infinite;
    }
    #float-wa:hover {
      transform: scale(1.1);
      box-shadow: 0 6px 28px rgba(37,211,102,0.60);
      animation: none;
    }
    #float-wa svg { width: 30px; height: 30px; }
    #float-wa .wa-tooltip {
      position: absolute;
      right: 68px;
      background: #1e1118;
      color: #fff;
      font-family: 'Jost', sans-serif;
      font-size: 12px;
      white-space: nowrap;
      padding: 6px 12px;
      border-radius: 20px;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.2s;
    }
    #float-wa:hover .wa-tooltip { opacity: 1; }
    @keyframes wa-pulse {
      0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.45); }
      50%       { box-shadow: 0 4px 28px rgba(37,211,102,0.75), 0 0 0 8px rgba(37,211,102,0.12); }
    }

    /* ══════════════════════════════════════
       INSTAGRAM REELS SECTION
    ══════════════════════════════════════ */
    #instagram-section {
      padding: 60px 24px 50px;
      background: var(--white);
      text-align: center;
    }
    #instagram-section .ig-eyebrow {
      font-family: 'Jost', sans-serif;
      font-size: 11px;
      letter-spacing: 3px;
      text-transform: uppercase;
      color: var(--text-light);
      margin-bottom: 8px;
    }
    #instagram-section .ig-title {
      font-family: 'Playfair Display', serif;
      font-size: clamp(22px, 4vw, 34px);
      color: var(--text);
      margin-bottom: 6px;
    }
    #instagram-section .ig-handle {
      font-family: 'Jost', sans-serif;
      font-size: 14px;
      color: var(--pink);
      letter-spacing: 1px;
      margin-bottom: 36px;
      display: block;
      text-decoration: none;
    }
    #instagram-section .ig-handle:hover { color: var(--pink-dark); }
    .ig-reels-grid {
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      gap: 6px;
      max-width: 1000px;
      margin: 0 auto 36px;
    }
    .ig-reel-card {
      position: relative;
      aspect-ratio: 9 / 16;
      border-radius: 10px;
      overflow: hidden;
      cursor: pointer;
      background: var(--pink-pale);
    }
    /* Reel thumbnail upload controls (inside customize panel) */
    .cst-reel-row { display: flex; flex-direction: column; gap: 6px; }
    .cst-reel-thumb-row { display: flex; align-items: center; gap: 10px; }
    .cst-reel-thumb-preview {
      width: 38px; height: 50px; object-fit: cover;
      border-radius: 6px; border: 1px solid rgba(255,255,255,0.12);
      display: none; flex-shrink: 0;
    }
    .cst-reel-thumb-preview.has-img { display: block; }
    .cst-reel-thumb-btn {
      display: inline-flex; align-items: center; gap: 6px;
      font-size: 12px; font-family: Jost, sans-serif;
      padding: 5px 12px; border-radius: 20px; cursor: pointer;
      background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.15);
      color: #ccc; transition: background 0.2s, color 0.2s;
    }
    .cst-reel-thumb-btn:hover { background: rgba(255,255,255,0.13); color: #fff; }
    .cst-reel-thumb-btn input[type="file"] { display: none; }
    .cst-reel-thumb-clear {
      font-size: 11px; color: #f87; cursor: pointer;
      background: none; border: none; padding: 0; font-family: Jost, sans-serif;
      display: none;
    }
    .cst-reel-thumb-clear.visible { display: inline; }

    .ig-reel-card img {
      width: 100%; height: 100%;
      object-fit: cover;
      transition: transform 0.4s ease;
      display: block;
    }
    .ig-reel-card:hover img { transform: scale(1.06); }
    .ig-reel-overlay {
      position: absolute; inset: 0;
      background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 50%);
      opacity: 0;
      transition: opacity 0.3s;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding: 10px 8px;
    }
    .ig-reel-card:hover .ig-reel-overlay { opacity: 1; }
    .ig-reel-play {
      position: absolute;
      top: 50%; left: 50%;
      transform: translate(-50%,-50%);
      width: 36px; height: 36px;
      background: rgba(255,255,255,0.25);
      backdrop-filter: blur(4px);
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      opacity: 0;
      transition: opacity 0.3s;
    }
    .ig-reel-card:hover .ig-reel-play { opacity: 1; }
    .ig-reel-play svg { width: 16px; height: 16px; fill: #fff; margin-left: 2px; }
    .ig-reel-stats {
      color: #fff;
      font-family: 'Jost', sans-serif;
      font-size: 11px;
      display: flex;
      gap: 8px;
    }
    .ig-reel-stats span { display: flex; align-items: center; gap: 3px; }
    .ig-follow-btn {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 13px 32px;
      background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
      color: #fff;
      font-family: 'Jost', sans-serif;
      font-size: 13px;
      letter-spacing: 2px;
      text-transform: uppercase;
      border-radius: 40px;
      text-decoration: none;
      transition: opacity 0.2s, transform 0.2s;
      box-shadow: 0 4px 18px rgba(220,39,67,0.3);
    }
    .ig-follow-btn:hover { opacity: 0.9; transform: translateY(-2px); }
    @media (max-width: 700px) {
      .ig-reels-grid { grid-template-columns: repeat(3, 1fr); }
    }
    @media (max-width: 420px) {
      .ig-reels-grid { grid-template-columns: repeat(2, 1fr); }
      #float-wa { bottom: 82px; right: 20px; width: 52px; height: 52px; }
    }

    /* ── FIREBASE SETUP OVERLAY ── */
    #setup-overlay {
      position: fixed; inset: 0;
      background: rgba(42,21,32,0.96);
      z-index: 9999;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 20px;
    }
    .setup-box {
      background: white;
      border-radius: 16px;
      border-top: 4px solid var(--pink);
      max-width: 520px;
      width: 100%;
      padding: 40px 36px;
      max-height: 90vh;
      overflow-y: auto;
    }
    .setup-box h2 {
      font-family: 'Playfair Display', serif;
      font-size: 24px;
      font-style: italic;
      color: var(--text);
      margin-bottom: 6px;
    }
    .setup-box .setup-sub {
      font-size: 12px;
      color: var(--text-light);
      letter-spacing: 1px;
      margin-bottom: 24px;
      line-height: 1.7;
    }
    .setup-step {
      display: flex;
      gap: 14px;
      margin-bottom: 18px;
      align-items: flex-start;
    }
    .setup-num {
      width: 26px; height: 26px;
      background: var(--pink);
      color: white;
      border-radius: 50%;
      font-size: 12px;
      font-weight: 700;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
      margin-top: 2px;
    }
    .setup-step p { font-size: 12px; color: var(--text-mid); line-height: 1.7; }
    .setup-step a { color: var(--pink); font-weight: 600; }
    .setup-step code {
      background: var(--pink-ultra);
      padding: 1px 6px;
      border-radius: 4px;
      font-size: 11px;
      color: var(--pink-dark);
    }
    .setup-textarea {
      width: 100%;
      height: 160px;
      padding: 12px;
      border: 1.5px solid var(--border);
      border-radius: 8px;
      font-family: monospace;
      font-size: 11px;
      color: var(--text);
      background: var(--pink-ultra);
      resize: vertical;
      outline: none;
      margin-top: 10px;
      transition: border-color 0.2s;
    }
    .setup-textarea:focus { border-color: var(--pink); }
    #setup-error {
      color: #d04060;
      font-size: 11px;
      margin-top: 6px;
      display: none;
    }

    /* ── PRODUCT HIGHLIGHT (when navigated to via link) ── */
    .card.highlighted {
      box-shadow: 0 0 0 3px var(--pink), 0 16px 48px var(--shadow);
      animation: pulseHighlight 1.6s ease 3;
    }

    @keyframes pulseHighlight {
      0%, 100% { box-shadow: 0 0 0 3px var(--pink), 0 16px 48px var(--shadow); }
      50%       { box-shadow: 0 0 0 8px rgba(233,30,140,0.25), 0 20px 60px rgba(233,30,140,0.2); }
    }

    /* ═══════════════════════════════════════════
       RESPONSIVE
    ═══════════════════════════════════════════ */
    /* ═══════════════════════════════════════════════════════════
       MOBILE — full responsive overhaul  (≤ 768 px)
    ═══════════════════════════════════════════════════════════ */
    @media (max-width: 768px) {

      /* ── Header ── */
      header { --hdr-h: 56px; }
      .header-inner {
        height: 56px;
        padding: 0 16px;
        grid-template-columns: auto 1fr auto; /* logo | flex space | icons */
      }
      /* hide centre nav on mobile, show contact icon instead */
      .nav-links { display: none; }
      #btn-contact-mobile { display: flex; }


      /* Logo */
      .logo-img  { height: 40px; }
      .logo-text .brand   { font-size: 22px; }
      .logo-text .tagline { display: none; }   /* too cramped */

      /* Icon buttons slightly smaller */
      .hdr-icon { width: 34px; height: 34px; }
      .btn-cart { width: 38px; height: 38px; }

      /* ── Search bar – sits right under 56px header ── */
      .search-wrap { top: 56px; padding: 10px 14px; }

      /* ── Admin toolbar – scrollable strip ── */
      .admin-toolbar {
        padding: 6px 14px;
        gap: 6px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap;
        scrollbar-width: none;
      }
      .admin-toolbar::-webkit-scrollbar { display: none; }
      .admin-badge { white-space: nowrap; flex-shrink: 0; font-size: 9px; padding: 4px 10px; }
      .btn-add-product,
      .btn-bulk-upload,
      .btn-admin-login {
        white-space: nowrap;
        flex-shrink: 0;
        padding: 7px 12px;
        font-size: 9px;
      }

      /* ── Hero ── */
      .hero {
        height: 72vh;
        min-height: 400px;
      }
      .hero-content { padding: 0 20px; }
      .hero-eyebrow { font-size: max(9px, calc(var(--hero-eyebrow-size, 13px) * 0.8)); letter-spacing: 4px; margin-bottom: 14px; }
      .hero h2      { font-size: clamp(32px, 10vw, 56px); margin-bottom: 12px; }
      .hero-tagline { font-size: max(11px, calc(var(--hero-tagline-size, 16px) * 0.85)); letter-spacing: 1px; margin-bottom: 30px; }
      .btn-shop-now { padding: 13px 36px; font-size: 10px; letter-spacing: 2.5px; }

      /* ── Section heading ── */
      .section-head { padding: 18px 16px 0; }
      .section-title { font-size: 22px; }

      /* ── Filter bar – horizontal scroll, no wrap ── */
      .filter-bar {
        padding: 0 14px;
        gap: 8px;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin: 20px 0 0;
        /* small fade hints that bar scrolls */
        -webkit-mask-image: linear-gradient(to right, transparent 0, black 12px, black calc(100% - 12px), transparent 100%);
        mask-image: linear-gradient(to right, transparent 0, black 12px, black calc(100% - 12px), transparent 100%);
      }
      .filter-bar::-webkit-scrollbar { display: none; }
      .filter-btn {
        white-space: nowrap;
        flex-shrink: 0;
        padding: 8px 16px;
        font-size: 10px;
      }

      /* ── Product grid ── */
      .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
        padding: 0 14px;
        margin: 16px auto 48px;
      }

      /* ── Product card ── */
      .card-body { padding: 12px 12px 10px; }
      .card-name  { font-size: 15px; }
      .card-price { font-size: 14px; margin-bottom: 10px; }
      .card-desc  { font-size: 10px; margin-bottom: 6px; }
      .btn-cart-add,
      .btn-wa { padding: 9px; font-size: 9px; letter-spacing: 1.5px; }

      /* Zoom hint visible on touch without hover */
      .card-img-wrap::after { opacity: 0.7; }

      /* ── Cart panel ── full width slide-in ── */
      .cart-panel { max-width: 100%; }
      .cart-header { padding: 18px 18px; }
      .cart-items  { padding: 12px 18px; }

      /* ── Modals – bottom sheet on mobile ── */
      .modal-overlay {
        align-items: flex-end;
        padding: 0;
      }
      .modal {
        width: 100%;
        max-width: 100%;
        border-radius: 20px 20px 0 0;
        padding: 28px 20px 32px;
        /* slide up animation */
        animation: slideUp 0.3s cubic-bezier(0.32, 0.72, 0, 1);
        max-height: 90vh;
        overflow-y: auto;
      }
      @keyframes slideUp {
        from { transform: translateY(60px); opacity: 0; }
        to   { transform: translateY(0);    opacity: 1; }
      }
      /* Customise modal is wide by default – cap it */
      #customise-modal .modal { max-height: 88vh; }
      #bulk-modal .modal      { max-height: 88vh; width: 100%; }

      /* ── Footer ── */
      footer { padding: 20px 16px; }
      .footer-logo { font-size: 22px; }
      footer p { font-size: 10px; }
    }

    /* ═══════════════════════════════════════════════════════════
       SMALL PHONES — extra tweaks  (≤ 430 px)
    ═══════════════════════════════════════════════════════════ */
    @media (max-width: 430px) {
      /* Logo: hide text, keep image only */
      .logo-text { display: none; }
      .logo-img  { height: 36px; }

      /* Tighter header icon group */
      .header-actions { gap: 2px; }

      /* Hero tighter */
      .hero { height: 65vh; min-height: 360px; }
      .hero h2 { font-size: clamp(28px, 11vw, 44px); }

      /* Grid: still 2 col but tighter */
      .grid { gap: 10px; padding: 0 10px; }
      .card-body  { padding: 10px 10px 8px; }
      .card-name  { font-size: 13px; }
      .card-price { font-size: 13px; }

      /* Admin toolbar: hide text labels, keep icons only */
      .admin-toolbar .btn-label { display: none; }
      .btn-add-product svg,
      .btn-bulk-upload svg { width: 16px; height: 16px; }
    }

    /* ═══════════════════════════════════════════
       LOGO IMAGE
    ═══════════════════════════════════════════ */
    .logo-img {
      height: 72px;
      width: auto;
      object-fit: contain;
      filter: drop-shadow(0 2px 6px rgba(233,30,140,0.18));
      transition: transform 0.3s;
    }
    .logo-wrap:hover .logo-img { transform: scale(1.04); }
    @media (max-width: 600px) { .logo-img { height: 52px; } }

    /* ═══════════════════════════════════════════
       SEARCH BAR — collapsible sticky bar
    ═══════════════════════════════════════════ */
    .search-wrap {
      position: sticky;
      top: 72px;
      z-index: 490;
      background: rgba(255,255,255,0.98);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border);
      padding: 12px 28px;
      display: none; /* hidden by default, toggled by search icon */
    }
    .search-wrap.open { display: block; }
    .search-inner {
      position: relative;
      max-width: 560px;
      margin: 0 auto;
    }
    .search-inner svg {
      position: absolute;
      left: 14px;
      top: 50%;
      transform: translateY(-50%);
      width: 16px; height: 16px;
      color: var(--text-light);
      pointer-events: none;
    }
    #search-input {
      width: 100%;
      padding: 10px 16px 10px 40px;
      border: 1.5px solid var(--border);
      border-radius: 30px;
      font-family: 'Poppins', sans-serif;
      font-size: 13px;
      color: var(--text);
      background: var(--white);
      outline: none;
      transition: border-color 0.2s, box-shadow 0.2s;
    }
    #search-input:focus {
      border-color: var(--pink);
      box-shadow: 0 0 0 3px rgba(233,30,140,0.10);
    }
    #search-input::placeholder { color: var(--text-light); }
    .search-clear {
      position: absolute;
      right: 12px;
      top: 50%;
      transform: translateY(-50%);
      background: none;
      border: none;
      cursor: pointer;
      color: var(--text-light);
      font-size: 16px;
      display: none;
      line-height: 1;
    }
    .search-clear.visible { display: block; }

    /* ═══════════════════════════════════════════
       LIGHTBOX
    ═══════════════════════════════════════════ */
    #lightbox {
      display: none;
      position: fixed;
      inset: 0;
      z-index: 10000;
      background: rgba(15, 5, 12, 0.96);
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 16px;
      cursor: zoom-out;
      animation: lbFadeIn 0.22s ease;
    }
    #lightbox.open { display: flex; }
    @keyframes lbFadeIn { from { opacity:0; } to { opacity:1; } }

    #lightbox-img {
      max-width: 92vw;
      max-height: 82vh;
      object-fit: contain;
      border-radius: 8px;
      box-shadow: 0 8px 60px rgba(0,0,0,0.7);
      cursor: default;
      animation: lbZoomIn 0.22s ease;
    }
    @keyframes lbZoomIn { from { transform: scale(0.93); opacity:0; } to { transform: scale(1); opacity:1; } }

    #lightbox-caption {
      color: rgba(255,255,255,0.85);
      font-family: 'Poppins', sans-serif;
      font-size: 13px;
      letter-spacing: 0.5px;
      max-width: 80vw;
      text-align: center;
    }
    .lb-close {
      position: fixed;
      top: 18px;
      right: 22px;
      background: rgba(255,255,255,0.12);
      border: none;
      color: white;
      width: 40px; height: 40px;
      border-radius: 50%;
      font-size: 20px;
      cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      transition: background 0.2s;
      z-index: 10001;
    }
    .lb-close:hover { background: rgba(233,30,140,0.5); }

    /* ═══════════════════════════════════════════
       CARD IMAGE CLICKABLE OVERLAY
    ═══════════════════════════════════════════ */
    .card-img-wrap {
      position: relative;
      cursor: zoom-in;
      overflow: hidden;
    }
    .card-img-wrap::after {
      content: '🔍';
      position: absolute;
      top: 8px;
      right: 8px;
      background: rgba(255,255,255,0.88);
      width: 30px; height: 30px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 13px;
      opacity: 0;
      transition: opacity 0.2s;
      pointer-events: none;
      backdrop-filter: blur(4px);
    }
    .card-img-wrap:hover::after { opacity: 1; }
    .card-img-wrap img {
      transition: transform 0.4s ease;
    }
    .card-img-wrap:hover img { transform: scale(1.04); }

    /* ═══════════════════════════════════════════
       COPY LINK BUTTON ON CARDS
    ═══════════════════════════════════════════ */
    .btn-copy-link {
      background: none;
      border: 1.5px solid var(--border);
      color: var(--text-light);
      width: 32px; height: 32px;
      border-radius: 50%;
      cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      transition: all 0.2s;
      flex-shrink: 0;
    }
    .btn-copy-link:hover { border-color: var(--pink); color: var(--pink); }
    .btn-copy-link svg { width: 13px; height: 13px; }

    /* ═══════════════════════════════════════════
       BACK TO TOP
    ═══════════════════════════════════════════ */
    #back-to-top {
      position: fixed;
      bottom: 28px;
      right: 24px;
      width: 44px; height: 44px;
      background: linear-gradient(135deg, var(--pink), var(--pink-dark));
      color: white;
      border: none;
      border-radius: 50%;
      cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      box-shadow: 0 4px 20px rgba(233,30,140,0.35);
      z-index: 500;
      opacity: 0;
      transform: translateY(16px);
      transition: opacity 0.3s, transform 0.3s;
      pointer-events: none;
    }
    #back-to-top.visible {
      opacity: 1;
      transform: translateY(0);
      pointer-events: auto;
    }
    #back-to-top:hover { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(233,30,140,0.45); }
    #back-to-top svg { width: 18px; height: 18px; }

    /* ═══════════════════════════════════════════
       SKELETON LOADER
    ═══════════════════════════════════════════ */

    /* Shimmer keyframe */
    @keyframes shimmer {
      0%   { background-position: -600px 0; }
      100% { background-position:  600px 0; }
    }
    .skeleton-shine {
      background: linear-gradient(
        90deg,
        #ddb8cc 25%,
        #f0d0e2 50%,
        #ddb8cc 75%
      );
      background-size: 600px 100%;
      animation: shimmer 1.4s ease-in-out infinite;
    }

    /* Skeleton card — mirrors .card proportions */
    .skeleton-card {
      background: #edd0e0;
      border-radius: 18px;
      overflow: hidden;
      box-shadow: 0 2px 16px rgba(212,24,122,0.12);
      display: flex;
      flex-direction: column;
    }
    .skel-img {
      width: 100%;
      padding-bottom: 130%;   /* same tall-portrait ratio as real cards */
      border-radius: 0;
    }
    .skel-body {
      padding: 18px 16px 20px;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .skel-tag  { height: 18px; width: 55px;  border-radius: 20px; }
    .skel-name { height: 16px; width: 85%;   border-radius: 6px;  }
    .skel-name2{ height: 16px; width: 60%;   border-radius: 6px;  }
    .skel-price{ height: 14px; width: 40%;   border-radius: 6px; margin-top: 4px; }
    .skel-btn  { height: 40px; width: 100%;  border-radius: 30px; margin-top: 8px; }

    /* Skeleton wrapper — mirrors .grid layout exactly so cards look identical */
    #loading-spinner {
      max-width: 1280px;
      margin: 20px auto 60px;
      padding: 0 28px;
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
      gap: 28px;
      transition: opacity 0.35s ease;
    }
    #loading-spinner.fade-out {
      opacity: 0;
      pointer-events: none;
    }
    /* Match mobile breakpoints of .grid */
    @media (max-width: 768px) {
      #loading-spinner {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
        padding: 0 14px;
        margin: 16px auto 48px;
      }
    }
    @media (max-width: 480px) {
      #loading-spinner { gap: 10px; padding: 0 10px; }
    }

    /* Error state */
    #loading-spinner p.load-error {
      color: var(--pink);
      font-size: 13px;
      text-align: center;
      padding: 60px 20px;
      grid-column: 1 / -1;
    }

    /* Bottom "loading more" skeleton — same grid as #loading-spinner */
    #pagination-skeleton {
      max-width: 1280px;
      margin: 0 auto 60px;
      padding: 0 28px;
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
      gap: 28px;
    }
    @media (max-width: 768px) {
      #pagination-skeleton {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
        padding: 0 14px;
        margin: 0 auto 48px;
      }
    }
    @media (max-width: 480px) {
      #pagination-skeleton { gap: 10px; padding: 0 10px; }
    }

    /* ═══════════════════════════════════════════
       NEW ARRIVAL BADGE (admin can tag items)
    ═══════════════════════════════════════════ */
    .badge-new {
      position: absolute;
      top: 10px;
      left: 10px;
      background: linear-gradient(135deg, var(--pink), var(--pink-dark));
      color: white;
      font-size: 8px;
      font-weight: 700;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      padding: 3px 8px;
      border-radius: 10px;
      z-index: 2;
      pointer-events: none;
    }

    /* ═══════════════════════════════════════════
       BULK UPLOAD BUTTON
    ═══════════════════════════════════════════ */
    .btn-bulk-upload {
      display: none;
      align-items: center;
      gap: 7px;
      background: transparent;
      border: 1.5px solid var(--pink);
      color: var(--pink-dark);
      padding: 9px 16px;
      font-family: 'Poppins', sans-serif;
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      cursor: pointer;
      border-radius: 4px;
      transition: all 0.2s;
    }
    .btn-bulk-upload.visible { display: flex; }
    .btn-bulk-upload:hover { background: var(--pink-pale); }
    .btn-bulk-upload svg { width: 14px; height: 14px; }

    /* ═══════════════════════════════════════════
       BULK UPLOAD MODAL
    ═══════════════════════════════════════════ */
    #bulk-modal .modal {
      max-width: 720px;
      width: 94vw;
      max-height: 90vh;
      overflow-y: auto;
    }

    .bulk-step {
      background: var(--pink-ultra);
      border: 1.5px solid var(--border);
      border-radius: 10px;
      padding: 16px 18px;
      margin-bottom: 14px;
    }
    .bulk-step-label {
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--pink);
      margin-bottom: 10px;
    }

    /* Drop zone for bulk */
    .bulk-dropzone {
      border: 2px dashed var(--border);
      border-radius: 10px;
      padding: 28px 20px;
      text-align: center;
      cursor: pointer;
      transition: border-color 0.2s, background 0.2s;
      background: var(--white);
      position: relative;
    }
    .bulk-dropzone:hover, .bulk-dropzone.drag-over {
      border-color: var(--pink);
      background: var(--pink-ultra);
    }
    .bulk-dropzone input[type="file"] {
      position: absolute;
      inset: 0;
      opacity: 0;
      cursor: pointer;
      width: 100%;
      height: 100%;
    }
    .bulk-dropzone-icon { font-size: 32px; margin-bottom: 8px; }
    .bulk-dropzone p { font-size: 13px; color: var(--text-mid); margin-bottom: 4px; }
    .bulk-dropzone .hint { font-size: 11px; color: var(--text-light); }

    /* Preview grid */
    .bulk-preview-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
      gap: 12px;
      margin-top: 14px;
      max-height: 340px;
      overflow-y: auto;
      padding-right: 4px;
    }
    .bulk-item {
      background: var(--white);
      border: 1.5px solid var(--border);
      border-radius: 10px;
      overflow: hidden;
      position: relative;
      transition: border-color 0.2s;
    }
    .bulk-item:hover { border-color: var(--pink-light); }
    .bulk-item-img {
      width: 100%;
      aspect-ratio: 3/4;
      object-fit: cover;
      display: block;
    }
    .bulk-item-body { padding: 8px; }
    .bulk-item-name {
      width: 100%;
      border: 1px solid var(--border);
      border-radius: 5px;
      padding: 5px 7px;
      font-family: 'Poppins', sans-serif;
      font-size: 11px;
      color: var(--text);
      outline: none;
      transition: border-color 0.2s;
    }
    .bulk-item-name:focus { border-color: var(--pink); }
    .bulk-item-price {
      width: 100%;
      border: 1px solid var(--border);
      border-radius: 5px;
      padding: 4px 7px;
      font-family: 'Poppins', sans-serif;
      font-size: 10px;
      color: var(--text);
      outline: none;
      margin-top: 5px;
      transition: border-color 0.2s;
    }
    .bulk-item-price:focus { border-color: var(--pink); }
    .bulk-item-remove {
      position: absolute;
      top: 6px;
      right: 6px;
      width: 22px;
      height: 22px;
      background: rgba(255,255,255,0.92);
      border: none;
      border-radius: 50%;
      cursor: pointer;
      font-size: 11px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--pink-dark);
      box-shadow: 0 1px 4px rgba(0,0,0,0.15);
      transition: background 0.2s;
    }
    .bulk-item-remove:hover { background: var(--pink); color: white; }

    .bulk-item.uploading { opacity: 0.6; pointer-events: none; }
    .bulk-item.done { border-color: #28a745; }
    .bulk-item.done::after {
      content: '✓';
      position: absolute;
      top: 6px;
      left: 6px;
      width: 22px;
      height: 22px;
      background: #28a745;
      color: white;
      border-radius: 50%;
      font-size: 12px;
      font-weight: 700;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    /* Progress bar */
    .bulk-progress-wrap {
      display: none;
      margin-top: 12px;
    }
    .bulk-progress-wrap.visible { display: block; }
    .bulk-progress-bar-bg {
      background: var(--pink-pale);
      border-radius: 10px;
      height: 8px;
      overflow: hidden;
    }
    .bulk-progress-bar {
      height: 100%;
      background: linear-gradient(90deg, var(--pink), var(--pink-dark));
      border-radius: 10px;
      width: 0%;
      transition: width 0.3s;
    }
    .bulk-progress-label {
      font-size: 11px;
      color: var(--text-mid);
      margin-top: 6px;
      text-align: center;
    }

    .bulk-count-badge {
      background: var(--pink);
      color: white;
      font-size: 10px;
      font-weight: 700;
      padding: 2px 8px;
      border-radius: 10px;
      margin-left: 8px;
    }
    .bulk-empty-hint {
      text-align: center;
      color: var(--text-light);
      font-size: 12px;
      padding: 10px 0 4px;
    }

/* ════════════════════════════════════════════════════════════════════
   PREMIUM POLISH LAYER  (appended 2026-05-06)
   Targeted refinements that lift the boutique to a premium feel
   without rewriting the underlying design system. Uses existing
   CSS variables. Safe to remove if anything regresses.
   ════════════════════════════════════════════════════════════════════ */

/* — Smoother global motion ————————————————————————————————— */
:root {
  --ease-out:     cubic-bezier(.16, 1, .3, 1);          /* refined easing */
  --ease-in-out:  cubic-bezier(.65, 0, .35, 1);
  --shadow-1:     0 1px 2px rgba(30, 17, 24, .04), 0 2px 6px rgba(30, 17, 24, .04);
  --shadow-2:     0 4px 12px rgba(196, 81, 122, .08), 0 12px 28px rgba(30, 17, 24, .06);
  --shadow-3:     0 8px 24px rgba(196, 81, 122, .14), 0 24px 48px rgba(30, 17, 24, .10);
  --ring:         0 0 0 3px rgba(212, 24, 122, .25);
}

html { scroll-behavior: smooth; }

/* Kill the blue tap highlight on mobile — replace with soft pink */
* { -webkit-tap-highlight-color: rgba(212, 24, 122, .12); }

/* Subtle text rendering polish */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* — Custom scrollbar (desktop only) ——————————————————————— */
@media (hover: hover) {
  ::-webkit-scrollbar       { width: 10px; height: 10px; }
  ::-webkit-scrollbar-track { background: var(--pink-ultra); }
  ::-webkit-scrollbar-thumb {
    background: var(--gold-light);
    border-radius: 10px;
    border: 2px solid var(--pink-ultra);
  }
  ::-webkit-scrollbar-thumb:hover { background: var(--pink-light); }
}

/* — Focus rings: accessibility AND premium feel ————————————— */
*:focus { outline: none; }
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[role="button"]:focus-visible,
[tabindex]:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  transition: box-shadow .15s var(--ease-out);
}

/* — Product card: lift on hover instead of flat color shift —————— */
.card,
.product-card,
[class*="product"][class*="card"] {
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
  will-change: transform;
}
@media (hover: hover) {
  .card:hover,
  .product-card:hover,
  [class*="product"][class*="card"]:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-2);
  }
}

/* Product image: subtle zoom on card hover (image stays inside frame) */
.card img,
.product-card img,
[class*="product"][class*="card"] img {
  transition: transform .6s var(--ease-out);
  backface-visibility: hidden;
}
@media (hover: hover) {
  .card:hover img,
  .product-card:hover img,
  [class*="product"][class*="card"]:hover img {
    transform: scale(1.04);
  }
}

/* — Buttons: refined hover with gradient depth ————————————— */
button,
.btn,
[class*="btn-"] {
  transition: transform .2s var(--ease-out),
              box-shadow .25s var(--ease-out),
              background-color .2s var(--ease-out),
              color .2s var(--ease-out);
}

/* Primary button glow + lift */
.btn-primary,
.btn-add-to-cart,
button[class*="primary"] {
  position: relative;
  overflow: hidden;
}
@media (hover: hover) {
  .btn-primary:hover,
  .btn-add-to-cart:hover,
  button[class*="primary"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(212, 24, 122, .28);
  }
  .btn-primary:active,
  .btn-add-to-cart:active,
  button[class*="primary"]:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(212, 24, 122, .20);
  }
}

/* — Filter pills: softer active state with shadow underline ————— */
.filter-btn {
  transition: all .25s var(--ease-out);
  position: relative;
}
.filter-btn.active {
  box-shadow: 0 2px 8px rgba(212, 24, 122, .22);
}

/* — Hero text: refined typographic rhythm ——————————————— */
.hero h1, .hero h2, .hero .heading,
[class*="hero"] [class*="heading"] {
  letter-spacing: -0.012em;
  font-feature-settings: "ss01", "kern", "liga";
}
.hero p, .hero .eyebrow, .hero .tagline {
  letter-spacing: 0.04em;
}

/* — Modal entrance: gentle fade + lift ——————————————————— */
.modal,
[class*="modal"][class*="overlay"],
.add-modal, #add-modal,
.cart-modal, #cart-modal,
.customise-modal, #customise-modal {
  transition: opacity .25s var(--ease-out);
}
.modal-content,
[class*="modal"] [class*="content"],
[class*="modal-box"] {
  animation: modalRise .35s var(--ease-out) both;
}
@keyframes modalRise {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to   { opacity: 1; transform: translateY(0)   scale(1); }
}

/* — Skeleton loader: shimmer instead of pulse ———————————— */
.skeleton,
[class*="skeleton"],
[class*="placeholder-shimmer"] {
  background: linear-gradient(
    90deg,
    var(--pink-ultra) 0%,
    var(--pink-pale) 50%,
    var(--pink-ultra) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.6s var(--ease-in-out) infinite;
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* — Toast: refined entrance + glassy backdrop ————————————— */
#gladies-toast,
.toast,
[class*="toast"] {
  backdrop-filter: blur(12px) saturate(1.4);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, .15);
  box-shadow: var(--shadow-2);
}

/* — Header on scroll: subtle backdrop blur + tighter shadow ————— */
#site-header.scrolled,
header.scrolled,
[id*="header"].scrolled {
  backdrop-filter: blur(14px) saturate(1.6);
  -webkit-backdrop-filter: blur(14px) saturate(1.6);
  box-shadow: 0 1px 0 rgba(236, 221, 229, .6),
              0 4px 14px rgba(30, 17, 24, .04);
}

/* — Form inputs: smoother focus, refined idle border ——————— */
input[type="text"],
input[type="email"],
input[type="search"],
input[type="number"],
input[type="tel"],
textarea,
select {
  transition: border-color .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
  border-color: var(--pink-light);
  box-shadow: 0 0 0 3px rgba(212, 24, 122, .12);
}

/* — Cart count badge: tiny pop on update ———————————————— */
.cart-count,
[class*="cart-count"],
[class*="cart-badge"] {
  transition: transform .35s var(--ease-out);
}

/* — Image lazy-load fade-in ————————————————————————— */
img {
  transition: opacity .4s var(--ease-out), filter .4s var(--ease-out);
}
img[loading="lazy"]:not(.loaded) {
  opacity: 0;
}
img.loaded, img[loading="lazy"][src]:not([src=""]) {
  opacity: 1;
}

/* — Selection: branded color ———————————————————————— */
::selection           { background: var(--pink-light); color: var(--white); }
::-moz-selection      { background: var(--pink-light); color: var(--white); }

/* — Reduced-motion respect ——————————————————————————— */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* — Mobile-only tightening: remove unnecessary shadows on touch ——— */
@media (hover: none) {
  .card,
  .product-card,
  [class*="product"][class*="card"] {
    box-shadow: var(--shadow-1);
  }
  /* Active press feedback for touch devices */
  button:active,
  .btn:active,
  [class*="btn-"]:active,
  .card:active,
  .product-card:active {
    transform: scale(.985);
    transition: transform .1s var(--ease-out);
  }
}

/* — Admin dashboard: tile hover lift —————————————————————— */
.admin-action-tile,
[class*="action-tile"],
[class*="admin-tile"] {
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
@media (hover: hover) {
  .admin-action-tile:hover,
  [class*="action-tile"]:hover,
  [class*="admin-tile"]:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-2);
  }
}

/* — Stat card: refined idle shadow ————————————————————— */
.stat-card,
[class*="stat-card"] {
  box-shadow: var(--shadow-1);
  transition: box-shadow .25s var(--ease-out);
}
@media (hover: hover) {
  .stat-card:hover,
  [class*="stat-card"]:hover {
    box-shadow: var(--shadow-2);
  }
}

/* — Wishlist row: nicer divider + hover tint ——————————————— */
.recent-wishlist-row,
[class*="wishlist-row"] {
  transition: background-color .2s var(--ease-out);
  border-radius: 10px;
}
@media (hover: hover) {
  .recent-wishlist-row:hover,
  [class*="wishlist-row"]:hover {
    background-color: var(--pink-ultra);
  }
}

/* — End premium polish layer ——————————————————————————— */

/* ── LAYER 3: lazy image fade-in ────────────────────────────────────
   Catalog grid img tags emit data-src instead of src. When the
   IntersectionObserver swaps them in, the .loaded class is added
   on the load event and the image fades up gently. Until then,
   the placeholder background hints at the card shape so the layout
   doesn't shift when the image arrives.
*/
.lazy-img {
  opacity: 0;
  background: linear-gradient(135deg, var(--pink-ultra) 0%, #fff7fb 100%);
  min-height: 220px;
  width: 100%;
  display: block;
  object-fit: cover;
  transition: opacity .45s var(--ease-out);
  will-change: opacity;
}
.lazy-img.loaded {
  opacity: 1;
}
/* Optional shimmer while the image is queued (slot is in viewport but
   data-src hasn't been swapped yet — rare with 400px rootMargin). */
.lazy-img:not([src]):not(.loaded) {
  animation: shimmer 1.6s var(--ease-in-out) infinite;
  background-size: 200% 100%;
}

/* ════════════════════════════════════════════════════════════════════
   ANALYTICS — cookie banner, privacy modal, footer links, admin panel
   ════════════════════════════════════════════════════════════════════ */

/* ── Cookie consent banner (customer site) ── */
#gladies-consent-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #1e1118;
  color: #fff;
  padding: 16px 20px;
  z-index: 9998;
  font-family: 'Jost', sans-serif;
  box-shadow: 0 -8px 32px rgba(0,0,0,0.35);
  animation: gcbSlideUp 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes gcbSlideUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
.gcb-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.gcb-text {
  flex: 1;
  min-width: 240px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255,255,255,0.9);
}
.gcb-text strong {
  color: #fff;
  font-weight: 600;
  margin-right: 4px;
}
.gcb-link {
  background: none;
  border: none;
  color: var(--pink-light);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  margin-left: 6px;
}
.gcb-link:hover { color: #fff; }
.gcb-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.gcb-btn {
  padding: 10px 18px;
  border-radius: 22px;
  font-size: 12px;
  letter-spacing: 0.4px;
  cursor: pointer;
  border: none;
  font-family: inherit;
  font-weight: 500;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.gcb-btn:hover { transform: translateY(-1px); }
.gcb-btn-primary {
  background: var(--pink);
  color: #fff;
  box-shadow: 0 6px 18px rgba(212,24,122,0.35);
}
.gcb-btn-primary:hover { background: var(--pink-dark); }
.gcb-btn-secondary {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.16);
}
.gcb-btn-secondary:hover { background: rgba(255,255,255,0.18); }

@media (max-width: 600px) {
  #gladies-consent-banner { padding: 14px; }
  .gcb-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .gcb-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .gcb-btn { width: 100%; padding: 12px 14px; }
}

/* ── Privacy / cookies policy modal ── */
#gladies-privacy-modal {
  position: fixed;
  inset: 0;
  background: rgba(20,5,12,0.55);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  animation: gpmFade 0.2s ease;
}
@keyframes gpmFade { from { opacity: 0; } to { opacity: 1; } }
.gpm-box {
  background: #fff;
  border-radius: 18px;
  padding: 36px 30px 30px;
  max-width: 560px;
  width: 100%;
  max-height: 86vh;
  overflow-y: auto;
  position: relative;
  font-family: 'Jost', sans-serif;
  box-shadow: 0 28px 72px rgba(0,0,0,0.32);
  animation: gpmRise 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes gpmRise {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.gpm-box h2 {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  margin: 0 0 18px;
  color: var(--text);
}
.gpm-box p {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-mid);
  margin: 0 0 14px;
}
.gpm-box p strong {
  color: var(--text);
  font-weight: 600;
}
.gpm-box a {
  color: var(--pink);
  text-decoration: underline;
}
.gpm-box a:hover { color: var(--pink-dark); }
.gpm-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: var(--text-light);
  line-height: 1;
  padding: 6px 10px;
  border-radius: 8px;
}
.gpm-close:hover { background: var(--pink-pale); color: var(--pink); }
.gpm-cta {
  margin-top: 8px;
  padding: 11px 22px;
  background: var(--pink);
  color: #fff;
  border: none;
  border-radius: 22px;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 500;
  transition: transform 0.15s, background 0.15s;
}
.gpm-cta:hover { background: var(--pink-dark); transform: translateY(-1px); }

/* ── Footer privacy/cookie button-as-link ── */
.footer-legal {
  margin-top: 6px;
  font-size: 11px;
  opacity: 0.65;
}
.footer-link-btn {
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.footer-link-btn:hover { color: var(--pink-light); opacity: 1; }

/* ════════════════════════════════════════════
   ADMIN ANALYTICS PANEL  (admin.html only)
   ════════════════════════════════════════════ */
.analytics-card {
  background: #fff;
  border-radius: 14px;
  padding: 18px 20px;
  border: 1.5px solid rgba(0,0,0,0.06);
  margin-bottom: 22px;
}
.analytics-range-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.analytics-range-btn {
  padding: 6px 14px;
  border-radius: 16px;
  font-size: 11px;
  letter-spacing: 0.4px;
  border: 1px solid rgba(0,0,0,0.12);
  background: transparent;
  color: #555;
  cursor: pointer;
  font-family: 'Jost', sans-serif;
  transition: all 0.15s;
}
.analytics-range-btn:hover:not(.active) {
  border-color: var(--pink);
  color: var(--pink-dark);
}
.analytics-range-btn.active {
  background: var(--pink);
  color: #fff;
  border-color: var(--pink);
}

.analytics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin: 14px 0 18px;
}
.analytics-stat {
  border: 1.5px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  padding: 12px 14px;
  background: linear-gradient(135deg, #fff 0%, #fef9fc 100%);
}
.analytics-stat-label {
  font-size: 10px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  margin-bottom: 4px;
  font-family: 'Jost', sans-serif;
}
.analytics-stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: #1a0a12;
  font-weight: 600;
}
.analytics-stat-sub {
  font-size: 11px;
  color: #888;
  margin-top: 2px;
}

.analytics-section {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,0.05);
}
.analytics-section-title {
  font-size: 11px;
  font-weight: 600;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  margin-bottom: 12px;
  font-family: 'Jost', sans-serif;
}

/* Conversion funnel */
.analytics-funnel {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.analytics-funnel-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--pink-ultra);
  border-radius: 8px;
  font-size: 12px;
  font-family: 'Jost', sans-serif;
  position: relative;
  overflow: hidden;
}
.analytics-funnel-row::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--funnel-w, 0%);
  background: linear-gradient(90deg, var(--pink-pale) 0%, rgba(253,232,243,0.5) 100%);
  z-index: 0;
}
.analytics-funnel-row > * { position: relative; z-index: 1; }
.analytics-funnel-row .label { flex: 1; color: #1a0a12; }
.analytics-funnel-row .value { font-weight: 600; color: var(--pink-dark); min-width: 50px; text-align: right; }
.analytics-funnel-row .pct { font-size: 11px; color: #888; min-width: 50px; text-align: right; }

/* Top products list */
.analytics-top-product {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  font-family: 'Jost', sans-serif;
}
.analytics-top-product:last-child { border: none; }
.analytics-top-product img,
.analytics-top-product .ph {
  width: 42px;
  height: 52px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-size: 18px;
}
.analytics-top-product .info {
  flex: 1;
  min-width: 0;
}
.analytics-top-product .name {
  font-size: 13px;
  color: #1a0a12;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.analytics-top-product .meta {
  font-size: 11px;
  color: #888;
  margin-top: 1px;
}
.analytics-top-product .stats {
  display: flex;
  gap: 14px;
  font-size: 11px;
  flex-shrink: 0;
}
.analytics-top-product .stats span { color: #888; }
.analytics-top-product .stats .num {
  display: block;
  font-weight: 600;
  color: var(--pink-dark);
  font-size: 14px;
  font-family: 'Playfair Display', serif;
}

/* Bar list (referrers, devices) */
.analytics-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 12px;
  font-family: 'Jost', sans-serif;
}
.analytics-bar-label {
  width: 110px;
  flex-shrink: 0;
  color: #555;
  text-transform: capitalize;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.analytics-bar-track {
  flex: 1;
  height: 8px;
  background: var(--pink-ultra);
  border-radius: 4px;
  overflow: hidden;
}
.analytics-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--pink-light) 0%, var(--pink) 100%);
  border-radius: 4px;
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.analytics-bar-num {
  width: 50px;
  flex-shrink: 0;
  text-align: right;
  font-size: 11px;
  color: #555;
}

/* Search-term tags */
.analytics-search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.analytics-search-tag {
  padding: 5px 11px;
  background: var(--pink-pale);
  color: var(--pink-dark);
  border-radius: 14px;
  font-size: 11.5px;
  font-family: 'Jost', sans-serif;
}
.analytics-search-tag .count {
  opacity: 0.55;
  margin-left: 5px;
  font-size: 10px;
}

.analytics-empty {
  font-size: 12px;
  color: #aaa;
  padding: 14px 0;
  text-align: center;
  font-family: 'Jost', sans-serif;
}

.analytics-ga-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, #f56600 0%, #e55300 100%);
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  letter-spacing: 0.4px;
  transition: transform 0.15s, box-shadow 0.15s;
  margin-top: 14px;
  box-shadow: 0 4px 14px rgba(245,102,0,0.25);
}
.analytics-ga-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(245,102,0,0.32);
}
.analytics-ga-link svg { width: 14px; height: 14px; }

.analytics-loading {
  text-align: center;
  padding: 36px 20px;
  color: #aaa;
  font-size: 13px;
  font-family: 'Jost', sans-serif;
}
.analytics-loading::after {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 8px;
  border: 2px solid var(--pink-pale);
  border-top-color: var(--pink);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
