  :root{
    --bg:#eef0f3;
    --card:#ffffff;
    --text:#1b1f27;
    --muted:#8a8f99;
    --accent:#22c55e;
    --accent-dark:#16a34a;
    --orange:#f5811f;
    --border:#e7e9ee;
    --radius:16px;
  }
  *{box-sizing:border-box;}
  html,body{
    max-width:100%;
    overflow-x:hidden;
  }
  body{
    margin:0;
    font-family:'Manrope','Montserrat',sans-serif;
    background:var(--bg);
    color:var(--text);
  }
  a{text-decoration:none;color:inherit;}

  /* Header */
  header.site-header{
    background:#fff;
    border-bottom:1px solid var(--border);
    padding:14px 32px;
    position:sticky;
    top:0;
    z-index:30;
  }
  .header-inner{
    max-width:1400px;
    margin:0 auto;
    display:flex;
    align-items:center;
    gap:24px;
    position:relative;
  }
  .logo{
    display:flex;
    align-items:center;
    gap:10px;
    flex-shrink:0;
    font-weight:800;
  }
  .logo .bee{
    width:34px;height:34px;
    display:flex;align-items:center;justify-content:center;
    font-size:26px;
  }
  .logo .name{
    font-size:20px;
    line-height:1.1;
  }
  .logo .name small{
    display:block;
    font-size:11px;
    font-weight:500;
    color:var(--muted);
    letter-spacing:.5px;
  }
  .search-bar{
    flex:1;
    display:flex;
    align-items:center;
    gap:10px;
    background:#f2f3f6;
    border-radius:12px;
    padding:12px 18px;
    color:var(--muted);
  }
  .search-bar input{
    border:none;background:transparent;outline:none;
    font-size:15px;width:100%;font-family:inherit;color:var(--text);
  }
  .header-actions{
    display:flex;
    gap:10px;
    flex-shrink:0;
  }
  .pill-btn{
    display:flex;align-items:center;gap:8px;
    background:#f2f3f6;
    border-radius:10px;
    padding:11px 18px;
    font-size:14px;
    font-weight:600;
    white-space:nowrap;
  }

  /* Layout */
  main{
    max-width:1400px;
    margin:0 auto;
    padding:24px 32px 60px;
  }
  .product-section{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:24px;
    align-items:start;
  }
  .card{
    background:var(--card);
    border-radius:var(--radius);
    padding:28px;
  }

  /* Gallery */
  .product-title{
    font-size:26px;
    font-weight:800;
    margin:0 0 20px;
  }
  .gallery{
    display:flex;
    gap:14px;
  }
  .thumbs{
    display:flex;
    flex-direction:column;
    gap:12px;
    width:110px;
    flex-shrink:0;
  }
  .thumbs{
    max-height:min(480px,calc((100vw - 500px) * 3/4));
    overflow-y:auto;
    scrollbar-width:thin;
  }
  .thumb{
    position:relative;
    border-radius:12px;
    overflow:hidden;
    aspect-ratio:1/1;
    background:linear-gradient(135deg,#dfe2e8,#c9cdd6);
    display:flex;align-items:center;justify-content:center;
    color:#7d828d;
    font-size:22px;
    cursor:pointer;
    border:2px solid transparent;
  }
  .thumb img{
    width:100%;height:100%;object-fit:cover;
  }
  .thumb.active{border-color:var(--accent);}
  .thumb .play-badge{
    position:absolute;bottom:6px;right:6px;
    background:rgba(0,0,0,.55);
    color:#fff;border-radius:50%;
    width:22px;height:22px;
    display:flex;align-items:center;justify-content:center;
    font-size:10px;
  }
  .main-view{
    flex:1;
    position:relative;
    border-radius:12px;
    overflow:hidden;
    background:#000;
    aspect-ratio:4/3;
    display:flex;align-items:center;justify-content:center;
  }
  .main-view img,
  .main-view video{
    width:100%;height:100%;
    object-fit:cover;
    display:none;
  }
  .main-view img.active,
  .main-view video.active{
    display:block;
  }
  .play-overlay{cursor:pointer;}
  .play-overlay.hidden{display:none;}
  .gallery-mute{
    position:absolute;top:10px;right:10px;
    width:34px;height:34px;
    background:rgba(0,0,0,.5);
    color:#fff;border:none;border-radius:50%;
    display:none;align-items:center;justify-content:center;
    font-size:14px;cursor:pointer;z-index:4;
  }
  .gallery-mute.show{display:flex;}
  .nav-arrow{
    position:absolute;top:50%;transform:translateY(-50%);
    width:34px;height:34px;
    background:rgba(255,255,255,.9);
    border-radius:50%;
    display:flex;align-items:center;justify-content:center;
    color:#333;
    cursor:pointer;
    font-size:14px;
    z-index:3;
  }
  .nav-arrow.left{left:10px;}
  .nav-arrow.right{right:10px;}
  .play-overlay{
    position:absolute;
    width:56px;height:56px;
    border-radius:50%;
    background:rgba(0,0,0,.45);
    display:flex;align-items:center;justify-content:center;
    color:#fff;font-size:22px;
    z-index:2;
  }
  .video-progress{
    position:absolute;bottom:0;left:0;right:0;
    padding:8px 12px 10px;
    background:linear-gradient(transparent,rgba(0,0,0,.6));
    display:flex;align-items:center;gap:8px;
    color:#fff;font-size:11px;
    z-index:2;
  }
  .video-progress .bar{
    flex:1;height:3px;background:rgba(255,255,255,.35);
    border-radius:2px;position:relative;
  }
  .video-progress .bar::before{
    content:"";position:absolute;left:0;top:0;bottom:0;
    width:var(--pct,0%);background:var(--accent);border-radius:2px;
  }
  .video-progress .dot{
    position:absolute;left:var(--pct,0%);top:50%;transform:translate(-50%,-50%);
    width:9px;height:9px;border-radius:50%;background:var(--accent);
  }
  .dots{
    display:flex;justify-content:center;gap:6px;
    margin-top:12px;
  }
  .dots span{
    width:6px;height:6px;border-radius:50%;
    background:#d6d9df;
  }
  .dots span.active{background:var(--muted);}

  /* Right panel */
  .price-box{
    display:flex;
    justify-content:space-between;
    align-items:baseline;
    padding-bottom:20px;
    margin-bottom:20px;
    border-bottom:1px dashed var(--border);
  }
  .price-box .price{
    font-size:28px;font-weight:800;
  }
  .price-box .label{
    font-size:13px;color:var(--muted);font-weight:500;
  }
  .form-title{
    font-size:17px;font-weight:700;margin:0 0 16px;
  }
  .field{
    width:100%;
    background:#f2f3f6;
    border:none;
    border-radius:10px;
    padding:14px 16px;
    font-size:14px;
    font-family:inherit;
    margin-bottom:12px;
    color:var(--text);
    outline:none;
    appearance:none;
  }
  select.field{
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a8f99' stroke-width='1.6' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E");
    background-repeat:no-repeat;
    background-position:right 16px center;
    color:var(--muted);
  }
  .order-btn{
    width:100%;
    background:var(--accent);
    border:none;
    border-radius:12px;
    padding:16px;
    font-size:16px;
    font-weight:800;
    font-family:inherit;
    color:#1b1f27;
    cursor:pointer;
    margin-top:4px;
  }
  .order-btn:hover{background:var(--accent-dark);}
  .delivery-box{
    background:var(--card);
    border-radius:var(--radius);
    margin-top:24px;
    padding:20px 24px;
    display:flex;
    align-items:center;
    gap:14px;
    font-size:14px;
  }
  .delivery-box i{font-size:18px;color:var(--muted);}
  .delivery-box .amount{margin-left:auto;font-weight:700;}

  /* Tabs + product grid */
  .tabs-section{
    background:var(--card);
    border-radius:var(--radius);
    margin-top:24px;
    padding:24px 28px 32px;
  }
  .tabs{
    display:flex;
    align-items:center;
    gap:32px;
    border-bottom:1px solid var(--border);
    margin-bottom:24px;
  }
  .tab{
    padding-bottom:14px;
    font-size:15px;
    font-weight:600;
    color:var(--muted);
    cursor:pointer;
    position:relative;
  }
  .tab.active{color:#2f6fed;}
  .tab.active::after{
    content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:#2f6fed;
  }
  .video-link{
    margin-left:auto;
    display:flex;align-items:center;gap:6px;
    color:var(--muted);
    font-size:15px;font-weight:600;
    cursor:pointer;
    padding-bottom:14px;
    white-space:nowrap;
  }
  .video-link:hover{color:var(--text);}
  .description-text{
    font-size:14px;
    line-height:1.7;
    color:#3d4148;
    max-width:720px;
  }
  .description-text ul{
    margin:12px 0 0;
    padding-left:20px;
  }
  .description-text li{margin-bottom:6px;}

  /* 404 / error page */
  .error-page{
    display:flex;
    justify-content:center;
    padding:40px 0 60px;
  }
  .error-card{
    background:var(--card);
    border-radius:var(--radius);
    padding:56px 40px;
    max-width:480px;
    width:100%;
    text-align:center;
  }
  .error-emoji{font-size:56px;line-height:1;margin-bottom:8px;}
  .error-code{
    font-size:15px;
    font-weight:800;
    letter-spacing:2px;
    color:var(--muted);
    margin-bottom:8px;
  }
  .error-card h1{
    font-size:24px;
    font-weight:800;
    margin:0 0 12px;
  }
  .error-card .description-text{
    margin:0 auto 28px;
  }
  .error-actions .order-btn{
    display:inline-block;
    width:auto;
    padding:14px 32px;
  }

  .product-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:20px;
  }
  .product-card .thumb-img{
    position:relative;
    aspect-ratio:1/1;
    border-radius:12px;
    background:linear-gradient(135deg,#e6e8ec,#d3d6dc);
    margin-bottom:12px;
    display:flex;align-items:center;justify-content:center;
    color:#9ba0aa;
    font-size:30px;
    overflow:hidden;
  }
  .badge{
    position:absolute;top:8px;left:8px;
    background:var(--orange);
    color:#fff;
    font-size:12px;
    font-weight:700;
    padding:3px 8px;
    border-radius:6px;
  }
  .product-card .new-price{
    font-size:16px;font-weight:800;
  }
  .product-card .old-price{
    font-size:13px;
    color:var(--orange);
    text-decoration:line-through;
    margin-left:8px;
  }
  .product-card .p-title{
    font-size:13px;
    color:#4a4e57;
    margin-top:4px;
    line-height:1.4;
  }

  /* Homepage product grid + pagination */
  .home-section{margin-top:24px;}
  .home-grid{grid-template-columns:repeat(4,1fr);}
  .site-pagination{
    display:flex;justify-content:center;align-items:center;
    gap:8px;margin-top:32px;flex-wrap:wrap;
  }
  .site-pagination .page-btn{
    min-width:36px;height:36px;padding:0 10px;
    border-radius:10px;background:#fff;
    display:flex;align-items:center;justify-content:center;
    font-size:14px;font-weight:600;color:var(--text);
    border:1px solid var(--border);
  }
  a.page-btn:hover{border-color:var(--accent);}
  .site-pagination .page-btn.active{
    background:var(--accent);color:#1b1f27;border-color:var(--accent);
  }
  .site-pagination .page-btn.disabled{opacity:.4;pointer-events:none;}

  /* Footer */
  footer{
    max-width:1400px;
    margin:0 auto;
    padding:24px 32px 40px;
    display:flex;
    justify-content:space-between;
    color:var(--muted);
    font-size:13px;
  }

  @media (max-width:960px) and (min-width:721px){
    .product-section{grid-template-columns:1fr;}
    .product-grid{grid-template-columns:repeat(2,1fr);}
    .header-inner{flex-wrap:wrap;}
    .search-bar{order:3;width:100%;}
  }

  /* ---------- Mobile ---------- */
  .mobile-only{display:none;}
  .icon-btn{
    width:44px;height:44px;
    border-radius:50%;
    background:#f2f3f6;
    border:none;
    display:flex;align-items:center;justify-content:center;
    font-size:16px;
    color:var(--text);
    flex-shrink:0;
  }

  .mobile-gallery{
    position:relative;
    width:100%;
    aspect-ratio:1/1;
    background:#000;
    overflow:hidden;
  }
  .mobile-gallery video,
  .mobile-gallery img{
    width:100%;height:100%;
    object-fit:cover;
    display:none;
  }
  .mobile-gallery video.active,
  .mobile-gallery img.active{display:block;}
  .mobile-dots{
    position:absolute;left:16px;bottom:16px;
    display:flex;gap:5px;
    z-index:2;
  }
  .mobile-dots span{
    width:7px;height:7px;border-radius:50%;
    background:rgba(0,0,0,.25);
    transition:width .2s;
  }
  .mobile-dots span.active{
    width:22px;border-radius:4px;
    background:#1b1f27;
  }
  .video-pill{
    position:absolute;right:16px;bottom:16px;
    z-index:2;
    background:rgba(255,255,255,.95);
    border:none;
    border-radius:999px;
    padding:10px 16px;
    display:flex;align-items:center;gap:8px;
    font-size:14px;font-weight:600;
    font-family:inherit;
    color:var(--text);
  }

  .mobile-info-card{
    background:var(--card);
    border-radius:20px 20px 0 0;
    margin-top:-20px;
    position:relative;
    z-index:1;
    padding:24px 20px 20px;
  }
  .mobile-price-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-top:16px;
    gap:8px;
    flex-wrap:wrap;
  }
  .mobile-price{
    font-size:26px;font-weight:800;
    white-space:nowrap;
    flex-shrink:0;
  }
  .mobile-price span{
    font-size:15px;font-weight:600;color:var(--muted);
  }
  .detail-btn{
    display:flex;align-items:center;gap:6px;
    background:#f2f3f6;
    border:none;
    border-radius:999px;
    padding:12px 14px;
    font-size:13px;font-weight:600;
    font-family:inherit;
    color:var(--text);
    white-space:nowrap;
    flex-shrink:0;
  }
  .mobile-form-card{
    background:var(--card);
    margin-top:12px;
    padding:20px;
  }
  .mobile-delivery{
    text-align:center;
    color:var(--muted);
    font-size:13px;
    padding:16px 20px 8px;
  }
  .sticky-cta{
    position:fixed;
    left:0;right:0;bottom:0;
    background:var(--bg);
    padding:12px 16px calc(12px + env(safe-area-inset-bottom));
    box-shadow:0 -6px 16px rgba(0,0,0,.06);
    z-index:20;
  }

  @media (max-width:720px){
    .desktop-only{display:none !important;}
    .mobile-only{display:block;}
    header .header-inner .mobile-only{display:flex;}
    .search-bar{display:none;}
    .search-bar.mobile-open{
      display:flex;
      position:absolute;
      top:100%;left:0;right:0;
      margin:0 16px;
      z-index:15;
    }
    body{padding-bottom:84px;}
    main{padding:0 0 24px;}
    .error-page{padding:24px 16px 40px;}
    .error-card{padding:40px 24px;}
    .tabs-section{
      border-radius:20px 20px 0 0;
      margin-top:12px;
      padding:20px 16px 28px;
    }
    .product-grid{
      display:flex;
      overflow-x:auto;
      gap:14px;
      padding-bottom:4px;
      scroll-snap-type:x mandatory;
      -webkit-overflow-scrolling:touch;
    }
    .product-card{
      flex:0 0 44%;
      scroll-snap-align:start;
    }
    .home-grid{
      display:grid;
      grid-template-columns:repeat(2,1fr);
      overflow-x:visible;
    }
    .home-grid .product-card{flex:none;}
    footer{flex-direction:column;gap:6px;padding:20px 16px 20px;}
  }

  /* ---------- Reels (full-screen video feed) ---------- */
  .reels-overlay{
    position:fixed;inset:0;
    background:#000;
    z-index:200;
    display:none;
  }
  .reels-overlay.open{display:block;}
  .reels-scroll{
    height:100%;
    overflow-y:auto;
    scroll-snap-type:y mandatory;
    -webkit-overflow-scrolling:touch;
  }
  .reel-item{
    position:relative;
    height:100%;
    width:100%;
    max-width:520px;
    margin:0 auto;
    scroll-snap-align:start;
    display:flex;align-items:center;justify-content:center;
    background:#0b0b0c;
    overflow:hidden;
  }
  .reel-item video,
  .reel-item img.reel-media{
    width:100%;height:100%;
    object-fit:cover;
  }
  .reel-close,.reel-mute{
    position:absolute;top:20px;
    width:40px;height:40px;
    border-radius:50%;
    background:rgba(0,0,0,.45);
    color:#fff;
    border:none;
    display:flex;align-items:center;justify-content:center;
    font-size:16px;
    cursor:pointer;
    z-index:5;
  }
  .reel-close{left:20px;}
  .reel-mute{right:20px;}
  .reel-play-toggle{
    position:absolute;inset:0;
    width:100%;height:100%;
    background:transparent;
    border:none;
    display:flex;align-items:center;justify-content:center;
    cursor:pointer;z-index:3;
  }
  .reel-play-toggle i{
    font-size:56px;color:#fff;
    opacity:0;
    filter:drop-shadow(0 2px 8px rgba(0,0,0,.5));
    transition:opacity .15s ease;
  }
  .reel-item.paused .reel-play-toggle i{opacity:1;}
  .reel-actions{
    position:absolute;right:14px;bottom:150px;
    display:flex;flex-direction:column;gap:22px;align-items:center;
    z-index:5;color:#fff;
  }
  .reel-actions button{
    background:none;border:none;color:#fff;
    display:flex;flex-direction:column;align-items:center;gap:6px;
    font-size:12px;font-weight:600;font-family:inherit;cursor:pointer;
    text-shadow:0 1px 4px rgba(0,0,0,.5);
  }
  .reel-actions button i{font-size:26px;}
  .reel-actions button.liked i{color:var(--accent);}
  .reel-card{
    position:absolute;left:14px;right:14px;bottom:24px;
    background:#fff;border-radius:16px;padding:12px;
    display:flex;align-items:center;gap:12px;
    z-index:5;
  }
  .reel-card img{width:52px;height:52px;border-radius:10px;object-fit:cover;flex-shrink:0;}
  .reel-card .info{flex:1;min-width:0;}
  .reel-card .info h3{margin:0;font-size:14px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
  .reel-card .info .price{font-size:15px;font-weight:800;margin-top:2px;}
  .reel-card .info .price span{font-size:12px;font-weight:600;color:var(--muted);}
  .reel-card button.order{
    flex-shrink:0;background:var(--accent);border:none;border-radius:10px;
    padding:12px 16px;font-weight:800;font-family:inherit;font-size:13px;cursor:pointer;
    display:flex;align-items:center;gap:6px;white-space:nowrap;
  }

  /* Order bottom-sheet (inside reels) */
  .reel-sheet-backdrop{
    position:absolute;inset:0;
    background:rgba(0,0,0,.35);
    opacity:0;pointer-events:none;
    transition:opacity .25s ease;
    z-index:40;
  }
  .reel-sheet-backdrop.open{opacity:1;pointer-events:auto;}
  .reel-order-sheet{
    position:absolute;left:0;right:0;bottom:0;
    max-width:520px;margin:0 auto;
    background:#fff;
    border-radius:20px 20px 0 0;
    padding:12px 20px 20px;
    max-height:82%;
    overflow-y:auto;
    transform:translateY(100%);
    transition:transform .3s ease;
    z-index:41;
  }
  .reel-order-sheet.open{transform:translateY(0);}
  .sheet-handle{
    width:36px;height:4px;border-radius:2px;
    background:#e0e2e7;
    margin:4px auto 16px;
  }
  .sheet-product{
    display:flex;align-items:center;gap:12px;
    margin-bottom:16px;
  }
  .sheet-product img{width:56px;height:56px;border-radius:12px;object-fit:cover;flex-shrink:0;}
  .sheet-product h3{margin:0;font-size:15px;font-weight:700;}
  .sheet-prices{
    display:flex;gap:24px;
    padding-bottom:16px;margin-bottom:16px;
    border-bottom:1px dashed var(--border);
  }
  .sheet-prices .price-block .amt{font-size:17px;font-weight:800;}
  .sheet-prices .price-block .amt small{font-size:12px;font-weight:600;color:var(--muted);}
  .sheet-prices .price-block .amt.accent{color:var(--orange);}
  .sheet-prices .price-block .label{font-size:12px;color:var(--muted);margin-top:2px;}

  /* Real product thumbnails inside recommended grid / reel cards */
  .product-card .thumb-img img,
  .reel-media img{
    width:100%;height:100%;object-fit:cover;
  }
  .form-msg{
    font-size:13px;
    font-weight:600;
    margin-top:10px;
    text-align:center;
  }
  .form-msg.success{color:#1a9c5c;}
  .form-msg.error{color:#e0433d;}
  .order-btn:disabled{opacity:.6;cursor:default;}
