/*
Theme Name: Sodaipati
Theme URI: https://sodaipati.com
Author: Sodaipati
Author URI: https://www.facebook.com/sodaipati.official
Description: চাটমোহরের অনলাইন গ্রোসারি ও ফুড ডেলিভারি ব্র্যান্ড "সদাইপাতি"-এর জন্য তৈরি করা ওয়ানপেজ ওয়ার্ডপ্রেস থিম। Converted from a Blogger/Blogspot template.
Version: 2.0
Requires at least: 5.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sodaipati
*/

    /* ===== CSS VARIABLES ===== */
    :root {
      --primary: #0F7A2F;
      --primary-dark: #0a5c22;
      --primary-light: #12943a;
      --secondary: #ffffff;
      --accent: #F4B400;
      --accent-dark: #d99f00;
      --text-dark: #1a1a2e;
      --text-mid: #444;
      --text-light: #777;
      --bg: #f8fdf9;
      --bg-card: #ffffff;
      --border: #e8f5e9;
      --shadow-sm: 0 2px 12px rgba(15,122,47,0.08);
      --shadow-md: 0 8px 32px rgba(15,122,47,0.13);
      --shadow-lg: 0 20px 60px rgba(15,122,47,0.18);
      --radius-sm: 10px;
      --radius-md: 16px;
      --radius-lg: 24px;
      --radius-xl: 32px;
      --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
      --font-main: 'Hind Siliguri', 'Noto Sans Bengali', sans-serif;
    }
    [data-theme="dark"] {
      --primary: #15a83f;
      --secondary: #1a1a2e;
      --text-dark: #f0f0f0;
      --text-mid: #ccc;
      --text-light: #999;
      --bg: #0d1117;
      --bg-card: #161b22;
      --border: #21262d;
      --shadow-sm: 0 2px 12px rgba(0,0,0,0.3);
      --shadow-md: 0 8px 32px rgba(0,0,0,0.4);
    }

    /* ===== RESET & BASE ===== */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      font-family: var(--font-main);
      background: var(--bg);
      color: var(--text-dark);
      line-height: 1.7;
      overflow-x: hidden;
      transition: var(--transition);
    }
    img { max-width: 100%; height: auto; display: block; }
    a { text-decoration: none; color: inherit; }
    ul { list-style: none; }

    /* ===== HEADER ===== */
    .sp-header {
      position: sticky; top: 0; z-index: 1000;
      background: rgba(255,255,255,0.96);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-bottom: 1px solid var(--border);
      box-shadow: var(--shadow-sm);
      transition: var(--transition);
    }
    [data-theme="dark"] .sp-header {
      background: rgba(22,27,34,0.96);
    }
    .sp-header-inner {
      max-width: 1200px; margin: 0 auto;
      padding: 0 20px;
      display: flex; align-items: center;
      justify-content: space-between;
      height: 68px;
    }
    .sp-logo {
      display: flex; align-items: center; gap: 10px;
      font-size: 1.6rem; font-weight: 800;
      color: var(--primary);
    }
    .sp-logo-icon {
      width: 42px; height: 42px;
      background: linear-gradient(135deg, var(--primary), var(--primary-light));
      border-radius: 12px;
      display: flex; align-items: center; justify-content: center;
      color: white; font-size: 1.2rem;
      box-shadow: 0 4px 12px rgba(15,122,47,0.35);
    }
    .sp-logo-text span { color: var(--accent); }

    .sp-nav { display: flex; align-items: center; gap: 28px; }
    .sp-nav a {
      font-size: 0.95rem; font-weight: 500;
      color: var(--text-mid);
      transition: var(--transition);
      position: relative; padding: 4px 0;
    }
    .sp-nav a::after {
      content: ''; position: absolute;
      bottom: -2px; left: 0; width: 0; height: 2px;
      background: var(--primary);
      transition: var(--transition);
    }
    .sp-nav a:hover { color: var(--primary); }
    .sp-nav a:hover::after { width: 100%; }

    .sp-header-actions { display: flex; align-items: center; gap: 12px; }
    .sp-search-bar {
      display: flex; align-items: center;
      background: var(--bg); border: 1.5px solid var(--border);
      border-radius: 50px; padding: 6px 16px; gap: 8px;
      transition: var(--transition);
    }
    .sp-search-bar:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(15,122,47,0.1); }
    .sp-search-bar input {
      border: none; background: transparent;
      font-family: var(--font-main); font-size: 0.9rem;
      color: var(--text-dark); outline: none; width: 150px;
    }
    .sp-search-bar i { color: var(--text-light); font-size: 0.9rem; }

    .sp-dark-toggle {
      width: 38px; height: 38px;
      border: none; border-radius: 50%;
      background: var(--bg); border: 1.5px solid var(--border);
      cursor: pointer; display: flex; align-items: center; justify-content: center;
      color: var(--text-mid); font-size: 1rem;
      transition: var(--transition);
    }
    .sp-dark-toggle:hover { background: var(--primary); color: white; border-color: var(--primary); }

    .sp-order-btn {
      background: linear-gradient(135deg, var(--primary), var(--primary-light));
      color: white; border: none; border-radius: 50px;
      padding: 9px 22px; font-family: var(--font-main);
      font-size: 0.9rem; font-weight: 600; cursor: pointer;
      transition: var(--transition);
      box-shadow: 0 4px 15px rgba(15,122,47,0.3);
    }
    .sp-order-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(15,122,47,0.4); }

    .sp-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
    .sp-hamburger span { display: block; width: 22px; height: 2px; background: var(--text-dark); margin: 5px 0; transition: var(--transition); border-radius: 2px; }

    /* ===== HERO ===== */
    .sp-hero {
      background: linear-gradient(135deg, #0a3d1a 0%, #0F7A2F 50%, #1a9a3f 100%);
      min-height: 92vh; display: flex; align-items: center;
      position: relative; overflow: hidden;
      padding: 60px 0;
    }
    .sp-hero-shapes { position: absolute; inset: 0; pointer-events: none; }
    .sp-hero-shapes .shape1 {
      position: absolute; right: -100px; top: -100px;
      width: 500px; height: 500px;
      background: rgba(244,180,0,0.12); border-radius: 50%;
    }
    .sp-hero-shapes .shape2 {
      position: absolute; left: -60px; bottom: -80px;
      width: 350px; height: 350px;
      background: rgba(255,255,255,0.06); border-radius: 50%;
    }
    .sp-hero-shapes .shape3 {
      position: absolute; right: 200px; bottom: 100px;
      width: 150px; height: 150px;
      background: rgba(244,180,0,0.08); border-radius: 50%;
    }

    .sp-hero-inner {
      max-width: 1200px; margin: 0 auto; width: 100%;
      padding: 60px 20px; position: relative; z-index: 1;
      display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
      align-items: center;
    }
    /* When the hero has a background photo, there's no visual card on the
       right — let the text use the full width and centre nicely instead
       of being squeezed into half the grid. */
    .sp-hero-has-image .sp-hero-inner {
      grid-template-columns: 1fr; max-width: 820px; text-align: center;
      padding: 100px 20px 70px;
    }
    .sp-hero-has-image .sp-hero-badge { margin-left: auto; margin-right: auto; }
    .sp-hero-has-image .sp-hero-btns { justify-content: center; }
    .sp-hero-has-image .sp-hero-stats { justify-content: center; }
    .sp-hero-has-image::before {
      content: ''; position: absolute; inset: 0;
      background: linear-gradient(180deg, rgba(6,31,14,.55) 0%, rgba(6,31,14,.72) 55%, rgba(6,31,14,.85) 100%);
      z-index: 0;
    }

    .sp-hero-badge {
      display: inline-flex; align-items: center; gap: 8px;
      background: rgba(244,180,0,0.2);
      border: 1px solid rgba(244,180,0,0.4);
      color: var(--accent); border-radius: 50px;
      padding: 7px 18px; font-size: 0.85rem; font-weight: 600;
      margin-bottom: 24px;
      animation: fadeInDown 0.6s ease;
    }
    .sp-hero-badge i { font-size: 0.8rem; }
    .sp-hero-title {
      font-size: clamp(2rem, 4vw, 3.2rem);
      font-weight: 900; color: white;
      line-height: 1.3; margin-bottom: 22px;
      text-shadow: 0 2px 20px rgba(0,0,0,0.25);
      animation: fadeInUp 0.7s ease 0.1s both;
    }
    .sp-hero-title .accent { color: var(--accent); }
    .sp-hero-subtitle {
      font-size: 1.1rem; color: rgba(255,255,255,0.9);
      margin-bottom: 36px; font-weight: 400;
      animation: fadeInUp 0.7s ease 0.2s both;
    }
    .sp-hero-btns {
      display: flex; gap: 14px; flex-wrap: wrap;
      margin-bottom: 44px;
      animation: fadeInUp 0.7s ease 0.3s both;
    }
    .sp-btn-primary {
      background: var(--accent); color: #1a1a2e;
      border: none; border-radius: 50px; padding: 14px 32px;
      font-family: var(--font-main); font-size: 1rem; font-weight: 700;
      cursor: pointer; transition: var(--transition);
      box-shadow: 0 8px 25px rgba(244,180,0,0.4);
    }
    .sp-btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(244,180,0,0.5); background: #ffc107; }
    .sp-btn-wa {
      background: #25D366; color: white;
      border: none; border-radius: 50px; padding: 14px 32px;
      font-family: var(--font-main); font-size: 1rem; font-weight: 700;
      cursor: pointer; transition: var(--transition);
      display: flex; align-items: center; gap: 8px;
      box-shadow: 0 8px 25px rgba(37,211,102,0.35);
    }
    .sp-btn-wa:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(37,211,102,0.5); }

    .sp-hero-stats {
      display: flex; gap: 24px; margin-top: 8px;
      animation: fadeInUp 0.7s ease 0.4s both;
    }
    .sp-stat {
      background: rgba(255,255,255,0.14); backdrop-filter: blur(10px);
      border: 1px solid rgba(255,255,255,0.2);
      border-radius: var(--radius-md); padding: 16px 22px; text-align: center;
    }
    .sp-stat-num { font-size: 1.8rem; font-weight: 800; color: var(--accent); }
    .sp-stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.8); margin-top: 2px; }

    .sp-hero-visual {
      display: flex; justify-content: center; align-items: center;
      animation: fadeInRight 0.8s ease 0.2s both;
    }
    .sp-hero-card {
      background: rgba(255,255,255,0.1); backdrop-filter: blur(20px);
      border: 1px solid rgba(255,255,255,0.2);
      border-radius: var(--radius-xl); padding: 32px;
      width: 100%; max-width: 360px;
    }
    .sp-hero-emoji-grid {
      display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
      margin-bottom: 20px;
    }
    .sp-hero-emoji-item {
      background: rgba(255,255,255,0.12); border-radius: var(--radius-md);
      padding: 16px 10px; text-align: center;
      transition: var(--transition); cursor: default;
    }
    .sp-hero-emoji-item:hover { background: rgba(244,180,0,0.2); transform: scale(1.05); }
    .sp-hero-emoji-item .em { font-size: 1.8rem; }
    .sp-hero-emoji-item .lb { font-size: 0.7rem; color: rgba(255,255,255,0.8); margin-top: 4px; font-weight: 500; }
    .sp-hero-card-footer {
      background: rgba(244,180,0,0.2); border-radius: var(--radius-md);
      padding: 14px; text-align: center;
      color: var(--accent); font-weight: 700; font-size: 0.9rem;
    }

    /* ===== SECTION COMMON ===== */
    .sp-section { padding: 80px 20px; }
    .sp-container { max-width: 1200px; margin: 0 auto; }
    .sp-section-header { text-align: center; margin-bottom: 52px; }
    .sp-section-eyebrow {
      display: inline-block;
      background: rgba(15,122,47,0.1); color: var(--primary);
      border-radius: 50px; padding: 6px 18px;
      font-size: 0.82rem; font-weight: 600; letter-spacing: 0.03em;
      margin-bottom: 14px;
    }
    .sp-section-title {
      font-size: clamp(1.7rem, 3vw, 2.4rem);
      font-weight: 800; color: var(--text-dark);
      margin-bottom: 14px; line-height: 1.3;
    }
    .sp-section-sub {
      color: var(--text-light); font-size: 1rem; max-width: 520px; margin: 0 auto;
    }

    /* ===== CATEGORIES ===== */
    .sp-categories { background: var(--secondary); }
    .sp-cat-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
    }
    .sp-cat-card {
      background: var(--bg);
      border: 1.5px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 28px 16px; text-align: center;
      cursor: pointer; transition: var(--transition);
      position: relative; overflow: hidden;
    }
    .sp-cat-card::before {
      content: ''; position: absolute; inset: 0;
      background: linear-gradient(135deg, var(--primary), var(--primary-light));
      opacity: 0; transition: var(--transition);
    }
    .sp-cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--primary); }
    .sp-cat-card:hover::before { opacity: 1; }
    .sp-cat-card:hover .sp-cat-icon,
    .sp-cat-card:hover .sp-cat-name { color: white; position: relative; z-index: 1; }
    .sp-cat-icon { font-size: 2.4rem; margin-bottom: 12px; transition: var(--transition); display: block; }
    .sp-cat-name { font-size: 0.95rem; font-weight: 600; color: var(--text-dark); transition: var(--transition); }

    /* ===== FEATURED PRODUCTS ===== */
    .sp-products { background: var(--bg); }
    .sp-products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .sp-product-card {
      background: var(--bg-card);
      border: 1.5px solid var(--border);
      border-radius: var(--radius-lg);
      overflow: hidden; transition: var(--transition);
    }
    .sp-product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
    .sp-product-img {
      height: 200px; background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
      display: flex; align-items: center; justify-content: center;
      font-size: 4rem; position: relative;
    }
    .sp-product-badge {
      position: absolute; top: 14px; right: 14px;
      background: var(--accent); color: #1a1a2e;
      border-radius: 50px; padding: 4px 12px;
      font-size: 0.75rem; font-weight: 700;
    }
    .sp-product-body { padding: 22px; }
    .sp-product-name { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; color: var(--text-dark); }
    .sp-product-price { color: var(--primary); font-weight: 700; font-size: 0.95rem; line-height: 1.8; }
    .sp-product-actions { display: flex; gap: 10px; margin-top: 18px; }
    .sp-btn-order {
      flex: 1; background: var(--primary); color: white;
      border: none; border-radius: 50px; padding: 10px;
      font-family: var(--font-main); font-size: 0.9rem; font-weight: 600;
      cursor: pointer; transition: var(--transition);
    }
    .sp-btn-order:hover { background: var(--primary-dark); }
    .sp-btn-wa-sm {
      background: #25D366; color: white;
      border: none; border-radius: 50px; padding: 10px 16px;
      font-family: var(--font-main); font-size: 0.9rem;
      cursor: pointer; transition: var(--transition);
    }
    .sp-btn-wa-sm:hover { background: #20ba58; }

    /* ===== PRICE LIST ===== */
    .sp-price { background: var(--secondary); }
    .sp-price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
    .sp-price-card {
      background: var(--bg);
      border: 1.5px solid var(--border);
      border-radius: var(--radius-lg);
      overflow: hidden;
    }
    .sp-price-header {
      background: linear-gradient(135deg, var(--primary), var(--primary-light));
      padding: 18px 24px;
      display: flex; align-items: center; gap: 10px;
      color: white; font-weight: 700; font-size: 1.05rem;
    }
    .sp-price-header i { font-size: 1.1rem; }
    .sp-price-row {
      display: flex; align-items: center; justify-content: space-between;
      padding: 14px 24px; border-bottom: 1px solid var(--border);
      transition: var(--transition);
    }
    .sp-price-row:last-child { border-bottom: none; }
    .sp-price-row:hover { background: rgba(15,122,47,0.04); }
    .sp-price-item { font-size: 0.95rem; color: var(--text-dark); font-weight: 500; }
    .sp-price-val {
      font-size: 0.9rem; font-weight: 700; color: var(--primary);
      background: rgba(15,122,47,0.1); border-radius: 50px;
      padding: 3px 12px;
    }
    .sp-price-updated {
      text-align: center; font-size: 0.8rem; color: var(--text-light);
      padding: 16px; border-top: 1px solid var(--border);
      margin-top: 4px;
    }

    /* ===== ORDER MODAL ===== */
    .sp-modal-overlay {
      display: none; position: fixed; inset: 0; z-index: 2000;
      background: rgba(10,20,15,0.7); backdrop-filter: blur(6px);
      align-items: center; justify-content: center; padding: 16px;
    }
    .sp-modal-overlay.active { display: flex; }
    .sp-modal {
      background: var(--bg-card); border-radius: var(--radius-xl);
      width: 100%; max-width: 520px; max-height: 90vh;
      overflow-y: auto; box-shadow: var(--shadow-lg);
      animation: modalIn 0.32s cubic-bezier(0.34,1.56,0.64,1);
    }
    @keyframes modalIn { from { opacity:0; transform:scale(0.88) translateY(24px); } to { opacity:1; transform:scale(1) translateY(0); } }
    .sp-modal-head {
      background: linear-gradient(135deg, var(--primary), var(--primary-light));
      padding: 22px 24px 18px; border-radius: var(--radius-xl) var(--radius-xl) 0 0;
      display: flex; align-items: center; justify-content: space-between;
    }
    .sp-modal-head-left { display: flex; align-items: center; gap: 12px; }
    .sp-modal-head-icon { font-size: 1.8rem; }
    .sp-modal-head-title { color: white; font-size: 1.15rem; font-weight: 800; }
    .sp-modal-head-sub { color: rgba(255,255,255,0.75); font-size: 0.8rem; margin-top: 2px; }
    .sp-modal-close {
      background: rgba(255,255,255,0.18); border: none; border-radius: 50%;
      width: 34px; height: 34px; color: white; font-size: 1.1rem;
      cursor: pointer; display: flex; align-items: center; justify-content: center;
      transition: var(--transition); flex-shrink: 0;
    }
    .sp-modal-close:hover { background: rgba(255,255,255,0.3); }
    .sp-modal-body { padding: 24px; }
    .sp-modal-product-info {
      background: rgba(15,122,47,0.07); border: 1.5px solid rgba(15,122,47,0.15);
      border-radius: var(--radius-md); padding: 14px 18px; margin-bottom: 20px;
      display: flex; align-items: center; gap: 14px;
    }
    .sp-modal-product-em { font-size: 2.2rem; flex-shrink: 0; }
    .sp-modal-product-name { font-size: 1.05rem; font-weight: 700; color: var(--text-dark); }
    .sp-modal-product-price { font-size: 0.88rem; color: var(--primary); font-weight: 600; margin-top: 3px; }
    .sp-form-group { margin-bottom: 18px; }
    .sp-form-label {
      display: block; font-size: 0.85rem; font-weight: 600;
      color: var(--text-dark); margin-bottom: 7px;
    }
    .sp-form-label span { color: #e53e3e; }
    .sp-form-input, .sp-form-select, .sp-form-textarea {
      width: 100%; padding: 11px 15px;
      border: 1.5px solid var(--border); border-radius: var(--radius-md);
      background: var(--bg); color: var(--text-dark);
      font-family: var(--font-main); font-size: 0.95rem;
      transition: var(--transition); outline: none;
    }
    .sp-form-input:focus, .sp-form-select:focus, .sp-form-textarea:focus {
      border-color: var(--primary); box-shadow: 0 0 0 3px rgba(15,122,47,0.12);
    }
    .sp-form-textarea { resize: vertical; min-height: 80px; }
    .sp-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
    .sp-form-error {
      color: #e53e3e; font-size: 0.8rem; margin-top: 6px; display: none;
    }
    .sp-form-error.show { display: block; }
    .sp-form-input.error, .sp-form-select.error { border-color: #e53e3e; }
    .sp-payment-group { display: flex; gap: 10px; flex-wrap: wrap; }
    .sp-payment-pill { flex: 1; min-width: 100px; position: relative; }
    .sp-payment-pill input { position: absolute; opacity: 0; width: 0; height: 0; }
    .sp-payment-pill label {
      display: flex; align-items: center; justify-content: center; gap: 6px;
      padding: 11px; border: 1.5px solid var(--border); border-radius: var(--radius-md);
      font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: var(--transition);
      text-align: center; color: var(--text-mid);
    }
    .sp-payment-pill input:checked + label {
      background: var(--primary); color: white; border-color: var(--primary);
    }
    .sp-qty-control {
      display: flex; align-items: center; gap: 0;
      border: 1.5px solid var(--border); border-radius: var(--radius-md);
      overflow: hidden; width: fit-content;
    }
    .sp-qty-btn {
      width: 42px; height: 42px; border: none; background: var(--bg);
      color: var(--primary); font-size: 1.2rem; font-weight: 700;
      cursor: pointer; transition: var(--transition); flex-shrink: 0;
    }
    .sp-qty-btn:hover { background: var(--primary); color: white; }
    .sp-qty-num {
      width: 52px; text-align: center; font-weight: 700;
      font-size: 1rem; color: var(--text-dark); padding: 0 8px;
      border-left: 1.5px solid var(--border); border-right: 1.5px solid var(--border);
      line-height: 42px;
    }
    .sp-modal-total {
      background: linear-gradient(135deg, rgba(15,122,47,0.08), rgba(15,122,47,0.04));
      border: 1.5px solid rgba(15,122,47,0.18);
      border-radius: var(--radius-md); padding: 14px 18px;
      display: flex; justify-content: space-between; align-items: center;
      margin-bottom: 20px;
    }
    .sp-modal-total-label { font-size: 0.9rem; color: var(--text-mid); font-weight: 600; }
    .sp-modal-total-val { font-size: 1.3rem; font-weight: 800; color: var(--primary); }
    .sp-modal-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    .sp-modal-wa-btn {
      background: #25D366; color: white; border: none;
      border-radius: var(--radius-md); padding: 14px;
      font-family: var(--font-main); font-size: 0.95rem; font-weight: 700;
      cursor: pointer; transition: var(--transition);
      display: flex; align-items: center; justify-content: center; gap: 8px;
    }
    .sp-modal-wa-btn:hover { background: #20ba58; transform: translateY(-2px); box-shadow: 0 6px 18px rgba(37,211,102,0.35); }
    .sp-modal-call-btn {
      background: var(--primary); color: white; border: none;
      border-radius: var(--radius-md); padding: 14px;
      font-family: var(--font-main); font-size: 0.95rem; font-weight: 700;
      cursor: pointer; transition: var(--transition);
      display: flex; align-items: center; justify-content: center; gap: 8px;
    }
    .sp-modal-call-btn:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(15,122,47,0.35); }
    .sp-modal-note {
      text-align: center; font-size: 0.78rem; color: var(--text-light);
      margin-top: 14px; line-height: 1.6;
    }
    .sp-modal-success {
      text-align: center; padding: 30px 10px;
    }
    .sp-modal-success-icon {
      width: 70px; height: 70px; margin: 0 auto 18px;
      background: rgba(15,122,47,0.12); color: var(--primary);
      border-radius: 50%; display: flex; align-items: center; justify-content: center;
      font-size: 2rem;
    }
    .sp-modal-success-title { font-size: 1.2rem; font-weight: 800; color: var(--text-dark); margin-bottom: 8px; }
    .sp-modal-success-text { font-size: 0.9rem; color: var(--text-light); margin-bottom: 6px; }
    .sp-modal-success-id {
      display: inline-block; background: rgba(15,122,47,0.1); color: var(--primary);
      font-weight: 800; padding: 6px 16px; border-radius: 50px; margin: 12px 0 20px;
      font-size: 0.95rem; letter-spacing: 0.03em;
    }
    /* price row clickable order button */
    .sp-price-order-btn {
      background: rgba(15,122,47,0.1); color: var(--primary);
      border: 1px solid rgba(15,122,47,0.25); border-radius: 50px;
      padding: 4px 14px; font-size: 0.78rem; font-weight: 600;
      cursor: pointer; transition: var(--transition); font-family: var(--font-main);
      flex-shrink: 0;
    }
    .sp-price-order-btn:hover { background: var(--primary); color: white; }
    .sp-price-row-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 8px; }

    /* ===== OFFER BANNER ===== */
    .sp-offer-wrap { padding: 20px 20px; }
    .sp-offer-banner {
      max-width: 1200px; margin: 0 auto;
      background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0F3460 100%);
      border-radius: var(--radius-xl); padding: 50px 48px;
      display: flex; align-items: center; justify-content: space-between;
      gap: 32px; position: relative; overflow: hidden;
    }
    .sp-offer-banner::before {
      content: '🎉'; position: absolute;
      font-size: 8rem; right: -20px; top: -20px; opacity: 0.08;
    }
    .sp-offer-banner::after {
      content: ''; position: absolute;
      right: 120px; top: 0; bottom: 0; width: 2px;
      background: rgba(244,180,0,0.3);
    }
    .sp-offer-left { flex: 1; }
    .sp-offer-tag {
      display: inline-block; background: var(--accent); color: #1a1a2e;
      border-radius: 50px; padding: 5px 16px;
      font-size: 0.8rem; font-weight: 700; margin-bottom: 16px;
    }
    .sp-offer-title {
      font-size: clamp(1.4rem, 2.5vw, 2rem);
      font-weight: 800; color: white; line-height: 1.3; margin-bottom: 12px;
    }
    .sp-offer-title .accent { color: var(--accent); }
    .sp-offer-cond { font-size: 0.82rem; color: rgba(255,255,255,0.55); margin-top: 10px; line-height: 1.6; }
    .sp-offer-right { text-align: center; }
    .sp-offer-bottle { font-size: 5rem; animation: bounce 2s infinite; }
    .sp-offer-free {
      background: var(--accent); color: #1a1a2e;
      border-radius: var(--radius-md); padding: 10px 24px;
      font-weight: 800; font-size: 1.1rem; margin-top: 12px;
    }

    /* ===== WHY CHOOSE ===== */
    .sp-why { background: var(--bg); }
    .sp-why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .sp-why-card {
      background: var(--bg-card); border: 1.5px solid var(--border);
      border-radius: var(--radius-lg); padding: 32px 24px;
      text-align: center; transition: var(--transition);
    }
    .sp-why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--primary); }
    .sp-why-icon {
      width: 64px; height: 64px; margin: 0 auto 18px;
      background: linear-gradient(135deg, rgba(15,122,47,0.1), rgba(15,122,47,0.15));
      border-radius: var(--radius-md);
      display: flex; align-items: center; justify-content: center;
      font-size: 1.6rem; color: var(--primary);
      transition: var(--transition);
    }
    .sp-why-card:hover .sp-why-icon { background: var(--primary); color: white; }
    .sp-why-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; color: var(--text-dark); }
    .sp-why-desc { font-size: 0.88rem; color: var(--text-light); line-height: 1.6; }

    /* ===== REVIEWS ===== */
    .sp-reviews { background: var(--secondary); }
    .sp-reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .sp-review-card {
      background: var(--bg); border: 1.5px solid var(--border);
      border-radius: var(--radius-lg); padding: 24px;
      transition: var(--transition); display: flex; flex-direction: column; gap: 12px;
    }
    .sp-review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); }
    .sp-review-top { display: flex; align-items: center; gap: 11px; }
    .sp-review-stars { color: var(--accent); font-size: 1rem; letter-spacing: 2px; }
    .sp-review-text { font-size: 0.91rem; color: var(--text-mid); line-height: 1.75; font-style: italic; flex: 1; }
    .sp-review-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--border); }
    .sp-review-tag {
      display: inline-block; font-size: 0.75rem;
      background: rgba(15,122,47,0.08); color: var(--primary);
      border-radius: 50px; padding: 3px 11px; font-weight: 600;
    }
    .sp-review-date { font-size: 0.75rem; color: var(--text-light); }
    .sp-reviewer { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
    .sp-reviewer-avatar {
      width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
      display: flex; align-items: center; justify-content: center;
      font-weight: 700; font-size: 0.95rem;
    }
    .sp-reviewer-name { font-weight: 700; font-size: 0.91rem; color: var(--text-dark); }
    .sp-reviewer-loc { font-size: 0.76rem; color: var(--text-light); margin-top: 1px; }
    .sp-verified {
      display: flex; align-items: center; gap: 4px;
      font-size: 0.75rem; color: var(--primary); font-weight: 600;
      flex-shrink: 0; margin-left: auto;
    }
    .sp-reviews-summary {
      display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 48px;
    }
    .sp-rev-stat {
      background: var(--bg); border: 1.5px solid var(--border);
      border-radius: var(--radius-md); padding: 18px 16px; text-align: center;
    }
    .sp-rev-stat-num { font-size: 1.6rem; font-weight: 800; color: var(--primary); }
    .sp-rev-stat-lbl { font-size: 0.78rem; color: var(--text-light); margin-top: 4px; }

    /* ===== ORDER PROCESS ===== */
    .sp-process { background: var(--bg); }
    .sp-process-steps {
      display: grid; grid-template-columns: repeat(3, 1fr);
      gap: 28px; position: relative;
    }
    .sp-process-steps::before {
      content: ''; position: absolute;
      top: 56px; left: calc(16.66% + 28px); right: calc(16.66% + 28px);
      height: 2px; background: linear-gradient(90deg, var(--primary), var(--accent));
      z-index: 0;
    }
    .sp-step { text-align: center; position: relative; z-index: 1; }
    .sp-step-num {
      width: 72px; height: 72px; margin: 0 auto 20px;
      background: linear-gradient(135deg, var(--primary), var(--primary-light));
      border-radius: 50%; display: flex; align-items: center; justify-content: center;
      font-size: 1.8rem; color: white;
      box-shadow: 0 8px 24px rgba(15,122,47,0.35);
    }
    .sp-step-title { font-size: 1.1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
    .sp-step-desc { font-size: 0.88rem; color: var(--text-light); line-height: 1.6; }

    /* ===== ABOUT ===== */
    .sp-about { background: var(--secondary); }
    .sp-about-inner {
      display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
    }
    .sp-about-visual {
      background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
      border-radius: var(--radius-xl); padding: 48px;
      text-align: center; font-size: 5rem;
      box-shadow: var(--shadow-md); position: relative; overflow: hidden;
    }
    .sp-about-visual::before {
      content: ''; position: absolute; inset: 0;
      background: linear-gradient(135deg, rgba(15,122,47,0.05), rgba(15,122,47,0.1));
    }
    .sp-about-em { position: relative; z-index: 1; }
    .sp-about-text .sp-section-header { text-align: left; }
    .sp-about-text .sp-section-sub { margin: 0; text-align: left; }
    .sp-about-desc {
      font-size: 0.97rem; color: var(--text-mid); line-height: 1.85;
      margin-top: 16px;
    }
    .sp-about-highlights { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
    .sp-highlight-tag {
      display: flex; align-items: center; gap: 7px;
      background: rgba(15,122,47,0.1); color: var(--primary);
      border-radius: 50px; padding: 7px 16px; font-size: 0.85rem; font-weight: 600;
    }

    /* ===== CONTACT ===== */
    .sp-contact { background: var(--bg); }
    .sp-contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .sp-contact-card {
      background: var(--bg-card); border: 1.5px solid var(--border);
      border-radius: var(--radius-lg); padding: 36px 24px;
      text-align: center; transition: var(--transition);
    }
    .sp-contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--primary); }
    .sp-contact-icon {
      width: 64px; height: 64px; margin: 0 auto 18px;
      background: linear-gradient(135deg, var(--primary), var(--primary-light));
      border-radius: var(--radius-md);
      display: flex; align-items: center; justify-content: center;
      font-size: 1.6rem; color: white;
    }
    .sp-contact-title { font-weight: 700; font-size: 1rem; color: var(--text-dark); margin-bottom: 8px; }
    .sp-contact-val { font-size: 0.95rem; color: var(--primary); font-weight: 600; }

    /* ===== FOOTER ===== */
    .sp-footer {
      background: #0a1f0f; color: rgba(255,255,255,0.75);
      padding: 60px 20px 0;
    }
    .sp-footer-inner {
      max-width: 1200px; margin: 0 auto;
      display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
      padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .sp-footer-logo {
      display: flex; align-items: center; gap: 10px;
      font-size: 1.5rem; font-weight: 800; color: white; margin-bottom: 14px;
    }
    .sp-footer-logo-icon {
      width: 40px; height: 40px;
      background: linear-gradient(135deg, var(--primary), var(--primary-light));
      border-radius: 10px; display: flex; align-items: center; justify-content: center;
      font-size: 1.1rem; color: white;
    }
    .sp-footer-tagline { font-size: 0.88rem; color: rgba(255,255,255,0.55); line-height: 1.7; margin-bottom: 20px; }
    .sp-footer-social { display: flex; gap: 10px; }
    .sp-social-btn {
      width: 38px; height: 38px; border-radius: 50%;
      background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
      display: flex; align-items: center; justify-content: center;
      color: rgba(255,255,255,0.7); font-size: 0.9rem;
      transition: var(--transition);
    }
    .sp-social-btn:hover { background: var(--primary); color: white; border-color: var(--primary); }
    .sp-footer-col-title { font-size: 0.92rem; font-weight: 700; color: white; margin-bottom: 18px; letter-spacing: 0.02em; }
    .sp-footer-links li + li { margin-top: 10px; }
    .sp-footer-links a { font-size: 0.88rem; color: rgba(255,255,255,0.55); transition: var(--transition); }
    .sp-footer-links a:hover { color: var(--accent); padding-left: 4px; }
    .sp-footer-bottom {
      max-width: 1200px; margin: 0 auto;
      padding: 20px 0; text-align: center;
      font-size: 0.82rem; color: rgba(255,255,255,0.35);
    }
    .sp-footer-bottom span { color: var(--accent); }

    /* ===== FLOATING BUTTONS ===== */
    .sp-float-btns {
      position: fixed; right: 20px; bottom: 24px;
      display: flex; flex-direction: column; gap: 12px; z-index: 999;
    }
    .sp-float-btn {
      width: 54px; height: 54px; border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: 1.3rem; color: white; cursor: pointer;
      box-shadow: 0 6px 20px rgba(0,0,0,0.25);
      transition: var(--transition); text-decoration: none;
    }
    .sp-float-wa { background: #25D366; }
    .sp-float-wa:hover { background: #20ba58; transform: scale(1.1); }
    .sp-float-call { background: var(--primary); }
    .sp-float-call:hover { background: var(--primary-dark); transform: scale(1.1); }

    /* ===== ANIMATIONS ===== */
    @keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
    @keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
    @keyframes fadeInRight { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
    @keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
    @keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.4); } 50% { box-shadow: 0 0 0 10px rgba(37,211,102,0); } }
    .sp-float-wa { animation: pulse 2.5s infinite; }

    /* ===== SCROLL REVEAL ===== */
    .reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
    .reveal.visible { opacity: 1; transform: translateY(0); }

    /* ===== TOAST ===== */
    .sp-toast {
      position: fixed; bottom: 100px; left: 50%; transform: translateX(-50%) translateY(20px);
      background: #16201a; color: #fff; padding: 13px 22px; border-radius: 999px;
      font-size: 0.85rem; font-weight: 600; z-index: 2200; opacity: 0;
      transition: var(--transition); box-shadow: var(--shadow-lg); white-space: nowrap;
    }
    .sp-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

    /* ===== RESPONSIVE ===== */
    @media (max-width: 1024px) {
      .sp-cat-grid { grid-template-columns: repeat(4, 1fr); }
      .sp-products-grid { grid-template-columns: repeat(2, 1fr); }
      .sp-why-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 768px) {
      .sp-nav { display: none; }
      .sp-search-bar { display: none; }
      .sp-hamburger { display: block; }
      .sp-hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
      .sp-hero-btns { justify-content: center; }
      .sp-hero-stats { justify-content: center; }
      .sp-hero-visual { display: none; }
      .sp-cat-grid { grid-template-columns: repeat(2, 1fr); }
      .sp-products-grid { grid-template-columns: 1fr; }
      .sp-price-grid { grid-template-columns: 1fr; }
      .sp-offer-banner { flex-direction: column; text-align: center; padding: 36px 24px; }
      .sp-offer-banner::after { display: none; }
      .sp-why-grid { grid-template-columns: 1fr 1fr; }
      .sp-reviews-grid { grid-template-columns: 1fr; }
      .sp-process-steps { grid-template-columns: 1fr; }
      .sp-process-steps::before { display: none; }
      .sp-about-inner { grid-template-columns: 1fr; }
      .sp-contact-grid { grid-template-columns: 1fr; }
      .sp-footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
      .sp-form-row { grid-template-columns: 1fr; }
      .sp-modal-actions { grid-template-columns: 1fr; }
    }
    @media (max-width: 480px) {
      .sp-cat-grid { grid-template-columns: repeat(2, 1fr); }
      .sp-why-grid { grid-template-columns: 1fr; }
      .sp-footer-inner { grid-template-columns: 1fr; }
      .sp-hero-stats { flex-direction: column; align-items: center; }
    }

    /* ===== MOBILE MENU ===== */
    .sp-mobile-menu {
      position: fixed; inset: 0; z-index: 1100;
      background: rgba(10,31,15,0.97); backdrop-filter: blur(20px);
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
    }
    .sp-mobile-menu.open { transform: translateX(0); }
    .sp-mobile-close {
      position: absolute; top: 24px; right: 24px;
      background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer;
    }
    .sp-mobile-nav { display: flex; flex-direction: column; gap: 28px; text-align: center; }
    .sp-mobile-nav a { font-size: 1.4rem; font-weight: 700; color: rgba(255,255,255,0.85); transition: var(--transition); }
    .sp-mobile-nav a:hover { color: var(--accent); }

/* ===========================================================
   V2 ADDITIONS — cart, live search, reviews, single product
   =========================================================== */

/* ---- Cart button in header ---- */
.sp-cart-btn {
  position: relative;
  background: none;
  border: 2px solid var(--border);
  width: 42px; height: 42px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--text-dark);
  font-size: 16px;
  transition: var(--transition);
}
.sp-cart-btn:hover { border-color: var(--primary); color: var(--primary); }
.sp-cart-count {
  position: absolute; top: -6px; right: -6px;
  background: var(--accent); color: #1a1a2e;
  font-size: 11px; font-weight: 800;
  min-width: 18px; height: 18px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
}

/* ---- Search dropdown ---- */
.sp-search-bar { position: relative; }
.sp-search-results {
  position: absolute; top: calc(100% + 10px); left: 0; right: 0;
  background: var(--bg-card); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
  max-height: 380px; overflow-y: auto; z-index: 500;
  display: none;
}
.sp-search-results.active { display: block; }
.sp-search-result-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; text-decoration: none; color: inherit;
  border-bottom: 1px solid var(--border);
}
.sp-search-result-item:last-child { border-bottom: none; }
.sp-search-result-item:hover { background: var(--bg); }
.sp-search-result-visual { font-size: 26px; width: 40px; height: 40px; border-radius: 8px; overflow: hidden; display:flex; align-items:center; justify-content:center; background: var(--bg); flex-shrink: 0; }
.sp-search-result-visual img { width: 100%; height: 100%; object-fit: cover; }
.sp-search-result-info { display: flex; flex-direction: column; gap: 2px; }
.sp-search-result-name { font-weight: 600; font-size: 14px; }
.sp-search-result-price { font-size: 12px; color: var(--text-light); }
.sp-search-empty { padding: 14px; text-align: center; color: var(--text-light); font-size: 14px; }
.sp-search-standalone { max-width: 480px; margin: 0 auto 30px; padding: 12px 16px; background: var(--bg-card); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); display:flex; align-items:center; gap: 10px; }
.sp-search-standalone input { border: none; outline: none; flex: 1; background: transparent; font-family: var(--font-main); font-size: 15px; color: var(--text-dark); }

/* ---- Product visual fallback (emoji when no image) ---- */
.sp-product-emoji-fallback { font-size: 54px; display:flex; align-items:center; justify-content:center; width:100%; height:100%; }

/* ---- Cart Drawer ---- */
.sp-cart-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.5);
  z-index: 3000; opacity: 0; pointer-events: none; transition: var(--transition);
}
.sp-cart-overlay.active { opacity: 1; pointer-events: all; }
.sp-cart-drawer {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(420px, 92vw); background: var(--bg-card);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: var(--transition);
  box-shadow: var(--shadow-lg);
}
.sp-cart-overlay.active .sp-cart-drawer { transform: translateX(0); }
.sp-cart-items { flex: 1; overflow-y: auto; padding: 10px 20px; }
.sp-cart-empty { text-align: center; color: var(--text-light); padding: 40px 0; }
.sp-cart-item {
  display: grid; grid-template-columns: 1fr auto auto auto;
  align-items: center; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--border);
}
.sp-cart-item-name { font-weight: 600; font-size: 14px; }
.sp-cart-item-unit { font-weight: 400; color: var(--text-light); font-size: 12px; }
.sp-cart-item-sub { font-weight: 700; color: var(--primary); font-size: 13px; white-space: nowrap; }
.sp-cart-item-remove { background: none; border: none; color: #c0392b; cursor: pointer; font-size: 15px; }
.sp-qty-control-sm .sp-qty-btn { width: 26px; height: 26px; font-size: 14px; }
.sp-qty-control-sm .sp-qty-num { min-width: 22px; text-align: center; font-size: 13px; }
.sp-cart-footer { padding: 16px 20px 22px; border-top: 1px solid var(--border); }

/* ---- Checkout summary ---- */
.sp-checkout-summary { background: var(--bg); border-radius: var(--radius-sm); padding: 12px 16px; margin-bottom: 16px; }
.sp-checkout-summary-title { font-weight: 700; margin-bottom: 8px; }
.sp-checkout-summary-row { display: flex; justify-content: space-between; font-size: 13px; padding: 3px 0; color: var(--text-mid); }

/* ---- Single product page ---- */
.sp-single-product-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; margin-bottom: 50px; }
.sp-single-product-visual { background: var(--bg-card); border-radius: var(--radius-lg); aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; font-size: 90px; overflow: hidden; box-shadow: var(--shadow-sm); }
.sp-single-product-visual img { width: 100%; height: 100%; object-fit: cover; }
.sp-single-rating { display: flex; align-items: center; gap: 8px; color: var(--text-mid); font-size: 14px; }
.sp-single-product-desc { color: var(--text-mid); margin: 14px 0; line-height: 1.8; }
.sp-single-reviews { margin-top: 40px; }
.sp-review-form-box { max-width: 560px; margin-top: 30px; background: var(--bg-card); padding: 24px; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.sp-star-picker { font-size: 26px; letter-spacing: 4px; cursor: pointer; color: #ccc; }
.sp-star-picker span { transition: color .15s; }
.sp-star-picker span.active { color: var(--accent); }
.sp-review-form-msg { margin-top: 10px; font-weight: 600; font-size: 14px; }
@media (max-width: 780px) {
  .sp-single-product-grid { grid-template-columns: 1fr; }
}
