/* GR Build HTML Redesign */
:root{
  --gb-bg:#f5f7fb;
  --gb-card:#ffffff;
  --gb-dark:#0f172a;
  --gb-text:#111827;
  --gb-muted:#64748b;
  --gb-line:#e5e7eb;
  --gb-blue:#0071e3;
  --gb-sky:#38bdf8;
  --gb-shadow:0 18px 50px rgba(15,23,42,.08);
  --gb-radius:28px;
}

body{
  margin:0;
  background:var(--gb-bg);
  color:var(--gb-text);
  font-family:"Yu Gothic","Meiryo",system-ui,sans-serif;
}

.site-header,
.grb-header{
  width:min(1320px, calc(100% - 32px));
  margin:18px auto;
  background:rgba(255,255,255,.92);
  border:1px solid var(--gb-line);
  border-radius:999px;
  box-shadow:var(--gb-shadow);
  backdrop-filter:blur(16px);
  padding:10px 16px;
}

.header-top,
.grb-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

.logo,
.grb-logo{
  color:var(--gb-text);
  font-weight:1000;
  text-decoration:none;
  font-size:22px;
}

.logo span,
.grb-logo span{
  color:var(--gb-blue);
}

.category-nav,
.grb-header nav{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

.category-nav a,
.grb-header nav a,
.cart-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:8px 14px;
  border-radius:999px;
  color:#334155;
  text-decoration:none;
  font-weight:900;
}

.category-nav a:hover,
.grb-header nav a:hover,
.cart-link:hover{
  background:#eef2ff;
  color:#1d4ed8;
}

.container,
.gb2-container,
.grb-main,
.products-page{
  width:min(1320px, calc(100% - 32px));
  margin:0 auto;
}

.page-hero,
.gb2-page-title,
.products-hero,
.grb-hero{
  background:linear-gradient(135deg,#020617,#111827);
  color:#fff;
  border-radius:36px;
  padding:42px;
  box-shadow:0 24px 70px rgba(15,23,42,.20);
  margin:24px auto;
}

.page-hero p,
.gb2-page-title p,
.products-hero p,
.grb-kicker{
  color:var(--gb-sky);
  font-weight:1000;
  letter-spacing:.14em;
}

.page-hero h1,
.gb2-page-title h1,
.products-hero h1,
.grb-hero h1{
  font-size:clamp(32px,5vw,58px);
  line-height:1.08;
  letter-spacing:-.05em;
  margin:.15em 0;
}

.form-box,
.card,
.gb2-legal-card,
.gb2-detail-section,
.grb-section,
.apple-section{
  background:var(--gb-card);
  border:1px solid var(--gb-line);
  border-radius:var(--gb-radius);
  box-shadow:var(--gb-shadow);
  padding:26px;
}

.btn,
.gb2-btn,
.grb-primary,
.grb-secondary,
.gb2-primary,
.gb2-secondary,
.apple-main-btn,
.apple-sub-btn{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:8px;
  min-height:44px;
  padding:11px 18px;
  border-radius:999px !important;
  font-weight:1000 !important;
  text-decoration:none !important;
  border:0;
  cursor:pointer;
}

.btn-orange,
.gb2-btn.primary,
.grb-primary,
.gb2-primary,
.apple-main-btn{
  background:linear-gradient(135deg,var(--gb-blue),var(--gb-sky)) !important;
  color:#fff !important;
}

.btn-dark{
  background:var(--gb-dark) !important;
  color:#fff !important;
}

input,
select,
textarea{
  border:1px solid var(--gb-line);
  border-radius:16px;
  padding:12px 14px;
  background:#fff;
  box-sizing:border-box;
}

input:focus,
select:focus,
textarea:focus{
  outline:none;
  border-color:var(--gb-blue);
  box-shadow:0 0 0 4px rgba(0,113,227,.12);
}

footer,
.grb-footer{
  width:min(1320px, calc(100% - 32px));
  margin:60px auto 24px;
  background:#fff;
  border:1px solid var(--gb-line);
  border-radius:28px;
  padding:24px;
  color:var(--gb-muted);
  box-shadow:var(--gb-shadow);
}

footer a,
.grb-footer a{
  color:#334155;
  font-weight:900;
  text-decoration:none;
  margin-right:12px;
}

@media(max-width:800px){
  .site-header,
  .grb-header{
    border-radius:26px;
  }

  .header-top,
  .grb-header{
    display:grid;
    grid-template-columns:1fr auto;
  }

  .category-nav,
  .grb-header nav{
    grid-column:1/-1;
    overflow-x:auto;
    flex-wrap:nowrap;
    padding-bottom:4px;
  }

  .page-hero,
  .gb2-page-title,
  .products-hero,
  .grb-hero{
    padding:28px;
    border-radius:28px;
  }
}


/* Home redesign final */
.home-page{
  width:min(1320px, calc(100% - 32px));
  margin:0 auto;
  padding:10px 0 70px;
}

.home-hero{
  display:grid;
  grid-template-columns:1.4fr .8fr;
  gap:24px;
  align-items:stretch;
  margin:24px 0;
}

.home-hero-content{
  background:linear-gradient(135deg,#020617,#111827);
  color:#fff;
  border-radius:38px;
  padding:48px;
  box-shadow:0 24px 70px rgba(15,23,42,.22);
}

.home-hero-content p,
.home-section-head p,
.home-split p,
.home-cta p{
  color:var(--gb-sky);
  font-weight:1000;
  letter-spacing:.14em;
  margin:0 0 10px;
}

.home-hero-content h1{
  font-size:clamp(42px,6vw,72px);
  line-height:1.02;
  letter-spacing:-.06em;
  margin:0 0 18px;
}

.home-hero-content span{
  color:#cbd5e1;
  line-height:1.9;
  display:block;
  max-width:720px;
}

.home-hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:24px;
}

.home-hero-card{
  background:#fff;
  border:1px solid var(--gb-line);
  border-radius:38px;
  padding:32px;
  box-shadow:var(--gb-shadow);
  display:grid;
  align-content:space-between;
}

.home-hero-card h2{
  font-size:30px;
  margin:0 0 10px;
}

.home-hero-card p{
  color:var(--gb-muted);
  line-height:1.8;
}

.home-stat-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  margin-top:24px;
}

.home-stat-grid div{
  background:#f8fafc;
  border-radius:20px;
  padding:16px;
}

.home-stat-grid strong{
  display:block;
  font-size:20px;
}

.home-stat-grid span{
  color:var(--gb-muted);
  font-size:13px;
}

.home-category{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
  margin:24px 0;
}

.home-category a{
  background:#fff;
  border:1px solid var(--gb-line);
  border-radius:28px;
  padding:22px;
  text-decoration:none;
  color:var(--gb-text);
  box-shadow:var(--gb-shadow);
}

.home-category strong{
  display:block;
  font-size:20px;
}

.home-category span{
  color:var(--gb-muted);
}

.home-section{
  background:#fff;
  border:1px solid var(--gb-line);
  border-radius:34px;
  padding:28px;
  box-shadow:var(--gb-shadow);
  margin:24px 0;
}

.home-section-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:16px;
  margin-bottom:18px;
}

.home-section-head h2{
  margin:0;
  font-size:30px;
}

.home-section-head a{
  font-weight:1000;
  color:var(--gb-blue);
  text-decoration:none;
}

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

.gb2-home-card{
  background:#f8fafc;
  border:1px solid var(--gb-line);
  border-radius:26px;
  overflow:hidden;
  text-decoration:none;
  color:var(--gb-text);
  position:relative;
  box-shadow:0 10px 30px rgba(15,23,42,.06);
}

.gb2-home-card .img-wrap{
  height:170px;
  background:#eef2ff;
  display:grid;
  place-items:center;
}

.gb2-home-card img{
  max-width:100%;
  max-height:160px;
  object-fit:contain;
}

.gb2-home-card .body{
  padding:18px;
}

.gb2-home-card h3{
  margin:8px 0;
  font-size:16px;
  line-height:1.5;
}

.gb2-home-card strong{
  color:var(--gb-blue);
  font-size:20px;
}

.gb2-home-card small{
  display:block;
  color:var(--gb-muted);
  margin-top:6px;
}

.home-split{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:22px;
  background:#fff;
  border:1px solid var(--gb-line);
  border-radius:34px;
  padding:32px;
  box-shadow:var(--gb-shadow);
  margin:24px 0;
}

.home-split h2{
  font-size:36px;
  margin:0 0 12px;
}

.home-split span{
  color:var(--gb-muted);
  line-height:1.9;
}

.home-dark-card{
  background:#111827;
  color:#fff;
  border-radius:28px;
  padding:28px;
}

.home-dark-card h3{
  margin-top:0;
}

.home-dark-card li{
  margin:12px 0;
  color:#cbd5e1;
}

.home-why{
  margin:24px 0;
}

.home-why-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}

.home-why-grid div{
  background:#fff;
  border:1px solid var(--gb-line);
  border-radius:28px;
  padding:24px;
  box-shadow:var(--gb-shadow);
}

.home-why-grid span{
  color:var(--gb-blue);
  font-weight:1000;
}

.home-why-grid p{
  color:var(--gb-muted);
  line-height:1.8;
}

.home-cta{
  background:linear-gradient(135deg,#e0f2fe,#ffffff);
  border:1px solid #bae6fd;
  border-radius:34px;
  padding:34px;
  box-shadow:var(--gb-shadow);
  margin:24px 0;
}

.home-cta h2{
  font-size:34px;
  margin:0 0 10px;
}

.home-cta span{
  display:block;
  color:var(--gb-muted);
  margin-bottom:20px;
}

@media(max-width:900px){
  .home-page{
    width:min(100% - 20px,1320px);
  }

  .home-hero,
  .home-split,
  .home-why-grid{
    grid-template-columns:1fr;
  }

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

  .home-hero-content{
    padding:32px;
  }

  .home-stat-grid{
    grid-template-columns:1fr;
  }
}

@media(max-width:560px){
  .home-category{
    grid-template-columns:1fr;
  }

  .home-section-head{
    display:grid;
  }
}


/* Products v3 */
.products-v3{
  padding-bottom:80px;
}

.products-v3-hero{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:24px;
}

.products-hero-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.products-v3-quick{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:0 0 18px;
}

.quick-chip{
  border:1px solid var(--gb-line);
  background:#fff;
  border-radius:999px;
  padding:12px 18px;
  font-weight:1000;
  cursor:pointer;
  box-shadow:0 10px 25px rgba(15,23,42,.05);
}

.quick-chip.active,
.quick-chip:hover{
  background:var(--gb-blue);
  color:#fff;
  border-color:var(--gb-blue);
}

.products-v3-filter{
  background:#fff;
  border:1px solid var(--gb-line);
  border-radius:30px;
  padding:22px;
  box-shadow:var(--gb-shadow);
  margin-bottom:18px;
}

.products-search-main label,
.products-filter-grid label{
  display:block;
  color:var(--gb-muted);
  font-weight:1000;
  margin-bottom:8px;
  font-size:13px;
}

.products-search-box{
  display:grid;
  grid-template-columns:1fr auto;
  gap:10px;
}

.products-search-box input{
  width:100%;
}

.products-filter-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr)) auto;
  gap:12px;
  align-items:end;
  margin-top:16px;
}

.stock-check{
  display:flex !important;
  align-items:center;
  gap:8px;
  background:#f8fafc;
  border:1px solid var(--gb-line);
  border-radius:16px;
  padding:12px 14px;
  min-height:46px;
}

.products-v3-toolbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  margin:18px 0;
}

.products-count-card{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  background:#fff;
  border:1px solid var(--gb-line);
  border-radius:24px;
  padding:18px 22px;
  box-shadow:var(--gb-shadow);
  flex:1;
}

.products-count-card h2{
  margin:0;
  font-size:24px;
}

.products-count-card p{
  margin:4px 0 0;
  color:var(--gb-muted);
  font-weight:800;
}

.products-v3-current{
  background:#eef2ff;
  color:#3730a3;
  border-radius:999px;
  padding:8px 12px;
  font-weight:1000;
}

.view-switch{
  display:flex;
  background:#fff;
  border:1px solid var(--gb-line);
  border-radius:999px;
  padding:6px;
  box-shadow:var(--gb-shadow);
}

.view-btn{
  border:0;
  border-radius:999px;
  padding:10px 14px;
  background:transparent;
  font-weight:1000;
  cursor:pointer;
}

.view-btn.active{
  background:#111827;
  color:#fff;
}

.products-list.view-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(300px,1fr));
  gap:22px;
}

.products-list.view-list{
  display:grid;
  gap:14px;
}

.products-v3-card{
  position:relative;
  background:#fff;
  border:1px solid var(--gb-line);
  border-radius:30px;
  overflow:hidden;
  box-shadow:var(--gb-shadow);
  cursor:pointer;
  transition:.22s ease;
}

.products-v3-card:hover{
  transform:translateY(-4px);
  box-shadow:0 24px 60px rgba(15,23,42,.14);
}

.gb2-product-img{
  position:relative;
  aspect-ratio:16/10;
  background:linear-gradient(180deg,#f8fafc,#eef2ff);
  display:grid;
  place-items:center;
  overflow:hidden;
}

.gb2-product-img img{
  width:100%;
  height:100%;
  object-fit:contain;
  padding:20px;
  box-sizing:border-box;
}

.products-v3-floating-badge{
  position:absolute;
  left:14px;
  top:14px;
  background:#111827;
  color:#fff;
  border-radius:999px;
  padding:7px 11px;
  font-size:12px;
  font-weight:1000;
}

.gb2-product-body{
  padding:18px;
}

.gb2-badges{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-bottom:10px;
}

.gb2-badge{
  display:inline-flex;
  background:#f1f5f9;
  color:#334155;
  border-radius:999px;
  padding:5px 9px;
  font-size:12px;
  font-weight:900;
}

.gb2-badge.available{
  background:#dcfce7;
  color:#166534;
}

.gb2-badge.soldout{
  background:#fee2e2;
  color:#991b1b;
}

.gb2-product-body h2{
  margin:0 0 6px;
  font-size:18px;
  line-height:1.5;
  letter-spacing:-.02em;
}

.gb2-product-body .brand{
  color:var(--gb-muted);
  margin:0 0 12px;
  font-weight:800;
}

.gb2-product-body .desc{
  display:none;
}

.gb2-specs{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  padding:0;
  margin:12px 0 0;
  list-style:none;
}

.gb2-specs li{
  background:#f8fafc;
  border:1px solid #eef2f7;
  border-radius:14px;
  padding:9px 10px;
}

.gb2-specs span{
  display:block;
  color:var(--gb-muted);
  font-size:11px;
  font-weight:1000;
}

.gb2-specs strong{
  display:block;
  font-size:13px;
  margin-top:3px;
}

.gb2-product-price{
  border-top:1px solid var(--gb-line);
  padding:18px;
  display:grid;
  gap:10px;
}

.gb2-product-price p{
  margin:0;
  font-size:28px;
  font-weight:1000;
  letter-spacing:-.04em;
}

.gb2-product-price > span{
  color:var(--gb-muted);
  font-size:12px;
  font-weight:900;
}

.product-card-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}

.gb2-btn.disabled{
  background:#e5e7eb !important;
  color:#64748b !important;
  cursor:not-allowed;
}

.more-products-wrap{
  grid-column:1/-1;
  text-align:center;
  margin:20px 0;
}

.products-list.view-list .products-v3-card{
  display:grid;
  grid-template-columns:240px 1fr 260px;
}

.products-list.view-list .gb2-product-img{
  aspect-ratio:auto;
  min-height:210px;
}

@media(max-width:900px){
  .products-v3-hero,
  .products-v3-toolbar{
    display:grid;
  }

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

  .products-list.view-list .products-v3-card{
    grid-template-columns:1fr;
  }
}

@media(max-width:560px){
  .products-filter-grid,
  .products-search-box{
    grid-template-columns:1fr;
  }

  .products-list.view-grid{
    grid-template-columns:1fr;
  }

  .product-card-actions{
    grid-template-columns:1fr;
  }
}
