:root{
  --primary:#0f766e;
  --primary-dark:#0b5f59;
  --accent:#f59e0b;
  --blue:#1877f2;
  --dark:#0f172a;
  --text:#172033;
  --muted:#64748b;
  --line:#e5eaf3;
  --soft:#f6f8fb;
  --card:#ffffff;
  --danger:#dc2626;
  --shadow:0 12px 34px rgba(15,23,42,.08);
  --shadow-sm:0 6px 18px rgba(15,23,42,.06);
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:Inter,Arial,sans-serif;
  background:linear-gradient(180deg,#f8fbff 0,#f3f6fb 100%);
  color:var(--text);
  line-height:1.5;
}

a{
  text-decoration:none;
  color:inherit;
}

img{
  max-width:100%;
}

.container{
  width:92%;
  max-width:1200px;
  margin:0 auto;
}

.empty{
  padding:34px;
  text-align:center;
  background:#fff;
  border:1px dashed #cbd5e1;
  border-radius:22px;
  color:var(--muted);
}

main{
  min-height:70vh;
}


/* =========================
   BUTTONS / FORMS
========================= */

.input,
select,
textarea{
  width:100%;
  border:1px solid #dce4ef;
  border-radius:14px;
  padding:12px 14px;
  background:#fff;
  outline:none;
  transition:.18s;
  font:inherit;
}

.input:focus,
select:focus,
textarea:focus{
  border-color:var(--primary);
  box-shadow:0 0 0 4px rgba(15,118,110,.1);
}

.btn,
button{
  border:0;
  border-radius:14px;
  padding:12px 17px;
  background:var(--primary);
  color:#fff;
  font-weight:900;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  transition:.18s;
  box-shadow:0 8px 20px rgba(15,118,110,.18);
}

.btn:hover,
button:hover{
  background:var(--primary-dark);
  transform:translateY(-1px);
}

.btn.alt{
  background:var(--dark);
  box-shadow:0 8px 20px rgba(15,23,42,.2);
}

.btn.warn{
  background:var(--accent);
  color:#111827;
  box-shadow:0 8px 20px rgba(245,158,11,.2);
}

.btn.ghost{
  background:#eef2f7;
  color:#172033;
  box-shadow:none;
}

/* =========================
   LANDSCAPE SLIDER
========================= */

.landscape-slider{
  width:92%;
  max-width:1200px;
  margin:22px auto 0;
  border-radius:30px;
  overflow:hidden;
  position:relative;
  min-height:390px;
  background:var(--dark);
  box-shadow:var(--shadow);
}

.slide{
  display:none;
  min-height:390px;
  background-size:cover;
  background-position:center;
  padding:48px;
  color:#fff;
  align-items:center;
}

.slide.active{
  display:flex;
}

.slide.default{
  background:linear-gradient(135deg,#0f172a,#0f766e);
}

.slide h1{
  font-size:clamp(34px,5vw,58px);
  line-height:1.02;
  max-width:720px;
  margin:0 0 12px;
  letter-spacing:-.05em;
}

.slide p{
  font-size:18px;
  max-width:650px;
  color:#e2e8f0;
  margin:0 0 20px;
}

.hero-search{
  max-width:700px;
  background:rgba(255,255,255,.16);
  padding:8px;
  border-radius:18px;
  backdrop-filter:blur(8px);
}

.hero-search input{
  border:0;
}

/* =========================
   HERO
========================= */

.hero{
  width:92%;
  max-width:1200px;
  margin:20px auto 0;
  border-radius:28px;
  padding:34px;
  background:linear-gradient(135deg,#ecfeff,#fff7ed);
  display:grid;
  grid-template-columns:1.4fr .8fr;
  gap:22px;
  border:1px solid #d9f3f0;
  box-shadow:var(--shadow-sm);
}

.hero h1{
  font-size:clamp(30px,4vw,44px);
  line-height:1.08;
  margin:0 0 10px;
  letter-spacing:-.04em;
}

.hero p{
  font-size:17px;
  color:#475569;
  max-width:760px;
}

.hero-card{
  background:#fff;
  padding:24px;
  border-radius:24px;
  border:1px solid #e2e8f0;
  box-shadow:var(--shadow-sm);
}

.hero-card h2{
  margin-top:0;
}

/* =========================
   SECTIONS / GRIDS
========================= */

.section-title{
  display:flex;
  justify-content:space-between;
  align-items:end;
  margin:34px 0 15px;
  gap:10px;
}

.section-title h2{
  margin:0;
  font-size:clamp(22px,3vw,29px);
  letter-spacing:-.035em;
}

.section-title a{
  color:var(--primary);
  font-weight:900;
}

.grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

/* =========================
   CATEGORIES
========================= */

.cat-grid{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:14px;
}

.cat{
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  padding:14px;
  text-align:center;
  font-weight:900;
  box-shadow:var(--shadow-sm);
  transition:.18s;
}

.cat:hover{
  transform:translateY(-3px);
  border-color:#99f6e4;
}

.cat-img{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-height:140px;
}

.cat-img img{
  width:64px;
  height:64px;
  border-radius:20px;
  object-fit:cover;
  display:block;
  background:#eef2f7;
  border:1px solid #e2e8f0;
}

.cat-img span{
  display:block;
  padding-top:10px;
  text-align:center;
  font-size:14px;
  line-height:1.25;
  color:#172033;
}

/* =========================
   PRODUCT CARDS
========================= */

.product{
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  overflow:hidden;
  box-shadow:var(--shadow-sm);
  position:relative;
  transition:.2s;
}

.product:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow);
}

.product img{
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
  background:#e8edf5;
  display:block;
}

.product .p{
  padding:14px;
}

.product h3{
  font-size:16px;
  line-height:1.3;
  min-height:42px;
  margin:9px 0 8px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.price{
  color:var(--primary);
  font-weight:950;
  font-size:19px;
  letter-spacing:-.02em;
}

.muted{
  color:var(--muted);
  font-size:14px;
}

.badge{
  display:inline-block;
  background:#ecfeff;
  color:var(--primary);
  border:1px solid #ccfbf1;
  border-radius:999px;
  padding:4px 10px;
  font-weight:900;
  font-size:12px;
  text-transform:capitalize;
}

.badge.sold{
  background:#fee2e2;
  color:#991b1b;
  border-color:#fecaca;
}

.stars{
  color:var(--accent);
  font-weight:900;
  font-size:13px;
  margin:6px 0;
}

.stars span{
  color:var(--muted);
  font-weight:650;
}

.stars.big{
  font-size:18px;
}

/* =========================
   SHOPS / CARDS
========================= */

.shop-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}

.shop-card{
  display:flex;
  gap:14px;
  align-items:center;
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  padding:15px;
  box-shadow:var(--shadow-sm);
  transition:.18s;
}

.shop-card:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow);
}

.shop-card img{
  width:62px;
  height:62px;
  border-radius:18px;
  object-fit:cover;
  background:#e8edf5;
}

.shop-card p{
  margin:4px 0;
  color:var(--muted);
  font-size:14px;
}

.shop-card span{
  font-weight:950;
  color:var(--primary);
}

.info-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  margin-top:32px;
}

.card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  padding:22px;
  box-shadow:var(--shadow-sm);
}

.card h2,
.card h3{
  margin-top:0;
}

.notice{
  padding:12px;
  border-radius:14px;
  background:#ecfeff;
  border:1px solid #99f6e4;
  margin:10px 0;
}

.error{
  background:#fee2e2;
  border-color:#fecaca;
}

/* =========================
   FORMS / FILTERS / DETAILS
========================= */

.form{
  max-width:560px;
  margin:32px auto;
}

.form label{
  display:block;
  margin:13px 0 7px;
  font-weight:850;
}

.row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

.filters{
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1fr auto;
  gap:10px;
  margin:18px 0;
}

.detail{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:26px;
  margin-top:26px;
}

.detail img.main{
  width:100%;
  border-radius:26px;
  background:#e8edf5;
  box-shadow:var(--shadow-sm);
}

.actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.thumb{
  width:64px;
  height:64px;
  border-radius:14px;
  object-fit:cover;
}

.wide-thumb{
  width:160px;
  height:76px;
  border-radius:14px;
  object-fit:cover;
}

.category-banner{
  display:flex;
  gap:18px;
  align-items:center;
  margin:25px 0;
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  padding:18px;
  box-shadow:var(--shadow-sm);
}

.category-banner img{
  width:90px;
  height:90px;
  border-radius:22px;
  object-fit:cover;
  background:#eef2f7;
}

.shop-hero{
  min-height:260px;
  background-size:cover;
  background-position:center;
  color:#fff;
  display:flex;
  gap:18px;
  align-items:end;
}

.shop-hero img{
  width:96px;
  height:96px;
  border-radius:24px;
  object-fit:cover;
  background:#fff;
}

/* =========================
   PRODUCT GALLERY / QTY
========================= */

.gallery{
  display:grid;
  gap:12px;
}

.thumbs{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.thumbs img{
  width:76px;
  height:76px;
  border-radius:16px;
  object-fit:cover;
  border:2px solid #e2e8f0;
  cursor:pointer;
  background:#fff;
}

.thumbs img.active{
  border-color:var(--primary);
}

.qty-control{
  display:inline-flex;
  align-items:center;
  gap:0;
  border:1px solid #dbe4f0;
  border-radius:14px;
  overflow:hidden;
  background:#fff;
}

.qty-control button,
.qty-control a{
  border:0;
  background:#eef2f7;
  color:#0f172a;
  box-shadow:none;
  width:42px;
  height:42px;
  padding:0;
  border-radius:0;
  font-size:20px;
  font-weight:950;
  display:flex;
  align-items:center;
  justify-content:center;
}

.qty-control input,
.qty-control span{
  width:56px;
  text-align:center;
  border:0;
  background:#fff;
  font-weight:950;
  padding:10px;
}

.product-tools{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  margin-top:14px;
}

/* =========================
   VERIFIED BADGE
========================= */

.verified{
  display:inline-flex;
  align-items:center;
  gap:4px;
  color:var(--blue);
  font-weight:950;
}

.verified-badge{
  display:inline-flex;
  width:18px;
  height:18px;
  border-radius:999px;
  background:var(--blue);
  color:#fff;
  align-items:center;
  justify-content:center;
  font-size:12px;
  vertical-align:middle;
  box-shadow:0 2px 7px rgba(24,119,242,.25);
}

.verified-badge::before{
  content:"✓";
  font-weight:950;
}

/* =========================
   TABLES / DASHBOARD
========================= */

.table{
  width:100%;
  border-collapse:collapse;
  background:#fff;
  border-radius:18px;
  overflow:hidden;
  box-shadow:var(--shadow-sm);
}

.table th,
.table td{
  padding:13px;
  border-bottom:1px solid #eef2f7;
  text-align:left;
}

.table-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.mini-link{
  font-weight:850;
  color:var(--primary);
}

.danger{
  color:var(--danger)!important;
}

.dash{
  display:grid;
  grid-template-columns:250px 1fr;
  min-height:100vh;
}

.sidebar{
  background:#0f172a;
  color:#fff;
  padding:20px;
}

.sidebar a{
  display:block;
  padding:12px;
  border-radius:12px;
  margin:5px 0;
  color:#e2e8f0;
}

.sidebar a:hover{
  background:rgba(255,255,255,.1);
}

.dashmain{
  padding:24px;
}

.stats{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}

.stat{
  background:#fff;
  border-radius:20px;
  padding:18px;
  border:1px solid var(--line);
  box-shadow:var(--shadow-sm);
}

.dashboard-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin:18px 0;
}

/* =========================
   TOAST / ALERT
========================= */

.alert-toast{
  position:fixed;
  right:18px;
  bottom:18px;
  background:#0f172a;
  color:#fff;
  border-radius:16px;
  padding:13px 16px;
  z-index:99999;
  box-shadow:var(--shadow);
}

/* =========================
   FOOTER
========================= */

.footer{
  margin-top:44px;
  background:#0f172a;
  color:#dbeafe;
  padding:34px 5%;
  display:flex;
  justify-content:space-between;
  gap:20px;
}

.footer a{
  display:block;
  margin:8px 0;
  color:#fff;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:1050px){
  .grid{
    grid-template-columns:repeat(3,1fr);
  }

  .cat-grid{
    grid-template-columns:repeat(4,1fr);
  }

  .filters{
    grid-template-columns:1fr 1fr;
  }

  .shop-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .stats{
    grid-template-columns:repeat(2,1fr);
  }
}



/* =========================
   MOBILE GENERAL
========================= */

@media(max-width:760px){
  .landscape-slider{
    width:94%;
    min-height:300px;
    border-radius:22px;
  }

  .slide{
    min-height:300px;
    padding:28px;
  }

  .slide p{
    font-size:16px;
  }

  .hero{
    width:94%;
    grid-template-columns:1fr;
    padding:24px;
    border-radius:22px;
  }

  .grid{
    grid-template-columns:repeat(2,1fr);
    gap:12px;
  }

  .cat-grid{
    grid-template-columns:repeat(3,1fr);
    gap:10px;
  }

  .cat-img{
    min-height:118px;
    padding:12px;
  }

  .cat-img img{
    width:54px;
    height:54px;
    border-radius:17px;
  }

  .cat-img span{
    font-size:12.5px;
  }

  .shop-grid,
  .info-grid,
  .detail,
  .row,
  .dash{
    grid-template-columns:1fr;
  }

  .sidebar{
    position:relative;
    display:flex;
    gap:8px;
    overflow-x:auto;
    white-space:nowrap;
  }

  .sidebar h2{
    display:none;
  }

  .sidebar a{
    min-width:max-content;
  }

  .dashmain{
    padding:16px;
  }

  .footer{
    display:block;
  }

  .product img{
    aspect-ratio:1/1;
  }

  .product .p{
    padding:11px;
  }

  .product h3{
    font-size:14px;
    min-height:38px;
  }

  .price{
    font-size:17px;
  }

  .category-banner{
    align-items:flex-start;
  }

  .category-banner img{
    width:72px;
    height:72px;
  }

  .wide-thumb{
    width:110px;
    height:58px;
  }

  .actions .btn{
    width:100%;
  }

  .product-tools .btn{
    flex:1;
  }

  .table{
    display:block;
    overflow-x:auto;
    white-space:nowrap;
  }
}

@media(max-width:420px){
  .cat-grid{
    grid-template-columns:repeat(3,1fr);
  }

  .cat-img img{
    width:48px;
    height:48px;
  }

  .cat-img{
    min-height:108px;
  }

  .grid{
    gap:10px;
  }

  .stats{
    grid-template-columns:1fr;
  }

  .btn,
  button{
    padding:11px 13px;
  }

  .slide h1{
    font-size:30px;
  }
}

@media(max-width:380px){
  .topbar-main{
    padding:9px 8px;
  }

  .brand:before{
    width:40px;
    height:40px;
  }

  .top-search input{
    font-size:12px;
  }

  .menu-toggle{
    width:40px;
    height:40px;
    border-radius:13px;
  }

  .site-nav{
    top:62px;
    right:8px;
    width:calc(100vw - 16px);
  }
}

/* =========================
   AUTH / REGISTER PAGE
========================= */

.auth-wrap {
    width: 92%;
    max-width: 620px;
    margin: 34px auto;
    min-height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-card {
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.auth-head {
    text-align: center;
    margin-bottom: 24px;
}

.auth-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 12px;
    border-radius: 22px;
    background: #ecfeff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.auth-head h1 {
    margin: 0;
    font-size: clamp(25px, 4vw, 34px);
    letter-spacing: -0.04em;
    color: var(--dark);
}

.auth-head p {
    margin: 8px auto 0;
    max-width: 440px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
}

.auth-form label {
    display: block;
    margin: 14px 0 7px;
    font-weight: 850;
    color: var(--dark);
}

.auth-form .input {
    height: 48px;
}

.auth-btn {
    width: 100%;
    margin-top: 20px;
    height: 50px;
    border-radius: 16px;
    font-size: 15px;
}

.auth-links {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    text-align: center;
}

.auth-links p {
    margin: 0 0 8px;
    color: var(--muted);
}

.auth-links a {
    display: inline-flex;
    color: var(--primary);
    font-weight: 900;
}

.reset-link-box {
    word-break: break-word;
    line-height: 1.6;
}

@media (max-width: 760px) {
    .auth-wrap {
        width: 94%;
        margin: 22px auto;
        align-items: flex-start;
    }

    .auth-card {
        padding: 22px;
        border-radius: 22px;
    }

    .auth-icon {
        width: 56px;
        height: 56px;
        border-radius: 18px;
        font-size: 26px;
    }

    .auth-head {
        margin-bottom: 18px;
    }

    .auth-head p {
        font-size: 14px;
    }

    .auth-form .row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .auth-form label {
        margin-top: 12px;
    }

    .auth-form .input {
        height: 46px;
        font-size: 15px;
    }

    .auth-btn {
        height: 48px;
        width: 100%;
    }
}

@media (max-width: 380px) {
    .auth-card {
        padding: 18px;
    }

    .auth-head h1 {
        font-size: 23px;
    }

    .auth-head p {
        font-size: 13px;
    }
}

/* =========================
   REGISTER BUSINESS PAGE
========================= */

.business-register-hero {
    padding: 28px 0 8px;
}

.business-hero-box {
    background: linear-gradient(135deg, #ecfeff, #fff7ed);
    border: 1px solid #d9f3f0;
    border-radius: 30px;
    padding: 34px;
    display: grid;
    grid-template-columns: 1.4fr .8fr;
    gap: 22px;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

.small-badge {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    color: var(--primary);
    border: 1px solid #ccfbf1;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 12px;
}

.business-hero-box h1 {
    margin: 0 0 12px;
    font-size: clamp(30px, 5vw, 48px);
    line-height: 1.05;
    letter-spacing: -0.05em;
    color: var(--dark);
}

.business-hero-box p {
    margin: 0;
    max-width: 680px;
    font-size: 17px;
    color: #475569;
    line-height: 1.7;
}

.business-hero-note {
    background: rgba(255,255,255,.82);
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 22px;
    box-shadow: var(--shadow-sm);
}

.business-hero-note h3 {
    margin: 0 0 10px;
    font-size: 20px;
    color: var(--dark);
}

.business-hero-note ul {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
}

.business-hero-note li {
    margin: 7px 0;
}

.business-choice-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin: 28px 0 40px;
}

.business-choice-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: 270px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 26px;
    color: var(--text);
    box-shadow: var(--shadow-sm);
    transition: .2s ease;
    overflow: hidden;
}

.business-choice-card::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 999px;
    right: -70px;
    top: -70px;
    background: rgba(15,118,110,.08);
}

.worker-choice::after {
    background: rgba(245,158,11,.12);
}

.business-choice-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: #99f6e4;
}

.choice-icon {
    width: 66px;
    height: 66px;
    border-radius: 22px;
    background: #ecfeff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    z-index: 1;
}

.worker-choice .choice-icon {
    background: #fff7ed;
}

.business-choice-card h2 {
    margin: 0 0 8px;
    font-size: 25px;
    letter-spacing: -0.04em;
    color: var(--dark);
}

.business-choice-card p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

.choice-btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    background: var(--primary);
    color: #ffffff;
    padding: 13px 18px;
    border-radius: 999px;
    font-weight: 900;
    box-shadow: 0 8px 20px rgba(15,118,110,.18);
    z-index: 1;
}

.choice-btn.warn {
    background: var(--accent);
    color: #111827;
    box-shadow: 0 8px 20px rgba(245,158,11,.2);
}

@media (max-width: 760px) {
    .business-register-hero {
        padding: 18px 0 4px;
    }

    .business-hero-box {
        grid-template-columns: 1fr;
        padding: 24px;
        border-radius: 24px;
        gap: 18px;
    }

    .business-hero-box h1 {
        font-size: 31px;
    }

    .business-hero-box p {
        font-size: 15px;
    }

    .business-hero-note {
        padding: 18px;
        border-radius: 20px;
    }

    .business-choice-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        margin: 20px 0 32px;
    }

    .business-choice-card {
        min-height: auto;
        padding: 22px;
        border-radius: 24px;
    }

    .choice-icon {
        width: 58px;
        height: 58px;
        border-radius: 19px;
        font-size: 26px;
    }

    .business-choice-card h2 {
        font-size: 22px;
    }

    .business-choice-card p {
        font-size: 14px;
    }

    .choice-btn {
        width: 100%;
        padding: 13px 16px;
    }
}

@media (max-width: 380px) {
    .business-hero-box {
        padding: 20px;
    }

    .business-hero-box h1 {
        font-size: 27px;
    }

    .business-choice-card {
        padding: 19px;
    }
}

/* =========================
   BUSINESS LOGIN PAGE
========================= */

.business-login-wrap {
    padding: 34px 0 44px;
}

.business-login-hero {
    max-width: 780px;
    margin: 0 auto 26px;
    text-align: center;
    background: linear-gradient(135deg, #ecfeff, #fff7ed);
    border: 1px solid #d9f3f0;
    border-radius: 30px;
    padding: 34px 24px;
    box-shadow: var(--shadow-sm);
}

.business-login-hero h1 {
    margin: 0 0 10px;
    font-size: clamp(30px, 5vw, 46px);
    line-height: 1.05;
    letter-spacing: -0.05em;
    color: var(--dark);
}

.business-login-hero p {
    margin: 0 auto;
    max-width: 600px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
}

.business-login-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.business-login-card {
    position: relative;
    min-height: 285px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 26px;
    color: var(--text);
    box-shadow: var(--shadow-sm);
    transition: .2s ease;
    overflow: hidden;
}

.business-login-card::after {
    content: "";
    position: absolute;
    width: 190px;
    height: 190px;
    border-radius: 999px;
    right: -75px;
    top: -75px;
    background: rgba(15,118,110,.08);
}

.worker-login-card::after {
    background: rgba(245,158,11,.13);
}

.business-login-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: #99f6e4;
}

.business-login-icon {
    width: 68px;
    height: 68px;
    border-radius: 22px;
    background: #ecfeff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    z-index: 1;
}

.worker-login-card .business-login-icon {
    background: #fff7ed;
}

.business-login-content {
    z-index: 1;
}

.business-login-content h2 {
    margin: 0 0 9px;
    font-size: 25px;
    color: var(--dark);
    letter-spacing: -0.04em;
}

.business-login-content p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

.business-login-btn {
    margin-top: auto;
    width: max-content;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #ffffff;
    padding: 13px 18px;
    border-radius: 999px;
    font-weight: 950;
    box-shadow: 0 8px 20px rgba(15,118,110,.18);
    z-index: 1;
}

.business-login-btn.warn {
    background: var(--accent);
    color: #111827;
    box-shadow: 0 8px 20px rgba(245,158,11,.2);
}

.business-login-bottom {
    max-width: 900px;
    margin: 24px auto 0;
    text-align: center;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.business-login-bottom p {
    margin: 0 0 12px;
    color: var(--muted);
}

/* Mobile */
@media (max-width: 760px) {
    .business-login-wrap {
        padding: 22px 0 32px;
    }

    .business-login-hero {
        padding: 24px 18px;
        border-radius: 24px;
        margin-bottom: 18px;
    }

    .business-login-hero h1 {
        font-size: 30px;
    }

    .business-login-hero p {
        font-size: 14px;
    }

    .business-login-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .business-login-card {
        min-height: auto;
        padding: 22px;
        border-radius: 24px;
    }

    .business-login-icon {
        width: 58px;
        height: 58px;
        border-radius: 19px;
        font-size: 27px;
    }

    .business-login-content h2 {
        font-size: 22px;
    }

    .business-login-content p {
        font-size: 14px;
    }

    .business-login-btn {
        width: 100%;
        padding: 13px 16px;
    }

    .business-login-bottom {
        padding: 18px;
        border-radius: 20px;
    }

    .business-login-bottom .btn {
        width: 100%;
    }
}

@media (max-width: 380px) {
    .business-login-hero {
        padding: 20px 16px;
    }

    .business-login-hero h1 {
        font-size: 27px;
    }

    .business-login-card {
        padding: 19px;
    }
}

/* =========================
   HOME PAGE MODERN STYLE
========================= */

.home-slider {
    width: 92%;
    max-width: 1200px;
    margin: 22px auto 0;
    border-radius: 32px;
    overflow: hidden;
    min-height: 410px;
    background: var(--dark);
    box-shadow: var(--shadow);
    position: relative;
}

.home-slide {
    display: none;
    min-height: 410px;
    background-size: cover;
    background-position: center;
    padding: 52px;
    align-items: center;
}

.home-slide.active {
    display: flex;
}

.home-slide.default {
    background: linear-gradient(135deg, #0f172a, #0f766e);
}

.home-slide-content {
    max-width: 760px;
    color: #fff;
}

.home-chip {
    display: inline-flex;
    align-items: center;
    width: max-content;
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.22);
    color: #fff;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 14px;
    backdrop-filter: blur(10px);
}

.home-slide h1 {
    margin: 0 0 12px;
    font-size: clamp(36px, 6vw, 64px);
    line-height: 1;
    letter-spacing: -0.06em;
}

.home-slide p {
    margin: 0 0 22px;
    max-width: 650px;
    font-size: 18px;
    color: #e2e8f0;
    line-height: 1.7;
}

.home-hero-search {
    display: flex;
    max-width: 720px;
    background: #ffffff;
    border: 1px solid #dce4ef;
    border-radius: 18px;
    padding: 6px;
    box-shadow: var(--shadow-sm);
}

.home-hero-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: none;
    padding: 13px 14px;
    background: transparent;
    font: inherit;
}

.home-hero-search button {
    border-radius: 14px;
    white-space: nowrap;
}

.home-section-title {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 12px;
    margin: 38px 0 16px;
}

.home-section-title span {
    display: block;
    color: var(--primary);
    font-size: 13px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 3px;
}

.home-section-title h2 {
    margin: 0;
    color: var(--dark);
    font-size: clamp(22px, 3vw, 31px);
    letter-spacing: -0.045em;
}

.home-section-title a {
    color: var(--primary);
    font-weight: 950;
    white-space: nowrap;
}

.home-section-title.small {
    margin-top: 0;
}

/* 6 products per row on desktop */
.home-product-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.home-product-card {
    min-width: 0;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: .2s ease;
}

.home-product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: #99f6e4;
}

.home-product-img {
    position: relative;
    background: #e8edf5;
}

.home-product-img img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.home-badge {
    position: absolute;
    left: 8px;
    top: 8px;
    max-width: calc(100% - 16px);
    background: rgba(255,255,255,.92);
    color: var(--primary);
    border: 1px solid rgba(204,251,241,.9);
    border-radius: 999px;
    padding: 4px 8px;
    font-size: 10.5px;
    font-weight: 950;
    text-transform: capitalize;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-product-body {
    padding: 9px;
}

.home-product-body h3 {
    margin: 0 0 4px;
    color: var(--dark);
    font-size: 13.5px;
    line-height: 1.25;
    min-height: auto;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-price {
    margin-top: 0;
    color: var(--primary);
    font-size: 16px;
    font-weight: 950;
    letter-spacing: -0.03em;
}

.home-stars {
    margin-top: 4px;
    color: var(--accent);
    font-size: 11.5px;
    font-weight: 900;
    white-space: nowrap;
}

.home-stars span {
    color: var(--muted);
    font-weight: 700;
}

.home-location {
    margin-top: 5px;
    color: var(--muted);
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    min-height: 18px;
}

.home-category-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 12px;
}

.home-category-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 13px 8px;
    min-height: 118px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: .2s ease;
}

.home-category-card:hover {
    transform: translateY(-3px);
    border-color: #99f6e4;
    box-shadow: var(--shadow);
}

.home-category-card img {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    object-fit: cover;
    background: #eef2f7;
    border: 1px solid #e2e8f0;
}

.home-category-card span {
    color: var(--dark);
    font-size: 12.5px;
    line-height: 1.25;
    font-weight: 950;
}

.home-shop-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.home-shop-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 16px;
    display: flex;
    gap: 14px;
    align-items: center;
    box-shadow: var(--shadow-sm);
    transition: .2s ease;
}

.home-shop-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: #99f6e4;
}

.home-shop-card img {
    width: 66px;
    height: 66px;
    border-radius: 20px;
    object-fit: cover;
    background: #e8edf5;
    flex-shrink: 0;
}

.home-shop-card h3 {
    margin: 0 0 4px;
    font-size: 16px;
    color: var(--dark);
}

.home-shop-card p {
    margin: 0 0 5px;
    color: var(--muted);
    font-size: 13px;
}

.home-shop-card span {
    color: var(--primary);
    font-weight: 950;
    font-size: 13px;
}

.home-split-sections {
    margin-top: 38px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.home-mini-section .home-product-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.home-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin: 40px 0 0;
}

.home-info-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 26px;
    box-shadow: var(--shadow-sm);
}

.home-info-icon {
    width: 58px;
    height: 58px;
    border-radius: 20px;
    background: #ecfeff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 12px;
}

.home-info-card h2 {
    margin: 0 0 12px;
    color: var(--dark);
    font-size: 25px;
    letter-spacing: -0.04em;
}

.home-info-card p {
    margin: 7px 0;
    color: var(--muted);
    line-height: 1.7;
}

/* laptop */
@media (max-width: 1180px) {
    .home-product-grid,
    .home-mini-section .home-product-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .home-category-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

/* tablet */
@media (max-width: 950px) {
    .home-product-grid,
    .home-mini-section .home-product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .home-shop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-info-grid {
        grid-template-columns: 1fr;
    }
}

/* mobile */
@media (max-width: 760px) {
    .home-slider {
        width: 94%;
        min-height: 310px;
        border-radius: 24px;
        margin-top: 16px;
    }

    .home-slide {
        min-height: 310px;
        padding: 28px 22px;
    }

    .home-slide h1 {
        font-size: 33px;
    }

    .home-slide p {
        font-size: 15px;
    }

    .home-hero-search {
        border-radius: 16px;
    }

    .home-hero-search input {
        padding: 12px 10px;
        font-size: 14px;
    }

    .home-hero-search button {
        padding: 11px 13px;
        font-size: 13px;
    }

    .home-section-title {
        margin: 30px 0 13px;
        align-items: center;
    }

    .home-section-title h2 {
        font-size: 23px;
    }

    .home-section-title span {
        font-size: 11.5px;
    }

    .home-product-grid,
    .home-mini-section .home-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 11px;
    }

    .home-product-card {
        border-radius: 17px;
    }

    .home-product-body {
        padding: 9px;
    }

    .home-product-body h3 {
        font-size: 13px;
        min-height: auto;
        margin-bottom: 3px;
    }

    .home-price {
        font-size: 15.5px;
    }

    .home-stars {
        font-size: 11px;
    }

    .home-location {
        font-size: 11.5px;
    }

    .home-category-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 9px;
    }

    .home-category-card {
        min-height: 104px;
        border-radius: 17px;
        padding: 10px 6px;
    }

    .home-category-card img {
        width: 46px;
        height: 46px;
        border-radius: 15px;
    }

    .home-category-card span {
        font-size: 11.5px;
    }

    .home-shop-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .home-shop-card {
        border-radius: 20px;
        padding: 14px;
    }

    .home-shop-card img {
        width: 58px;
        height: 58px;
        border-radius: 18px;
    }

    .home-info-card {
        border-radius: 22px;
        padding: 22px;
    }
}

/* small mobile */
@media (max-width: 420px) {
    .home-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-hero-search button {
        display: none;
    }

    .home-slide h1 {
        font-size: 28px;
    }
}

/* =========================
   HOME EXTRA SECTIONS
========================= */

.home-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 24px 0 8px;
}

.home-stat-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.home-stat-card strong {
    display: block;
    color: var(--primary);
    font-size: 28px;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.home-stat-card span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-weight: 850;
}

.home-lga-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.home-lga-grid a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 11px 15px;
    font-weight: 900;
    color: var(--dark);
    box-shadow: var(--shadow-sm);
    transition: .2s ease;
}

.home-lga-grid a:hover {
    background: #ecfeff;
    color: var(--primary);
    border-color: #99f6e4;
    transform: translateY(-2px);
}

.home-business-banner {
    margin: 38px 0 10px;
    background: linear-gradient(135deg, #0f172a, #0f766e);
    color: #ffffff;
    border-radius: 30px;
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: var(--shadow);
}

.home-business-banner span {
    display: inline-flex;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 950;
    margin-bottom: 12px;
}

.home-business-banner h2 {
    margin: 0 0 8px;
    font-size: clamp(24px, 4vw, 36px);
    line-height: 1.1;
    letter-spacing: -0.05em;
}

.home-business-banner p {
    margin: 0;
    color: #dbeafe;
    max-width: 650px;
    line-height: 1.7;
}

.popular-search-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.popular-search-grid a {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--line);
    color: var(--dark);
    border-radius: 999px;
    padding: 11px 15px;
    font-weight: 900;
    box-shadow: var(--shadow-sm);
    transition: .2s ease;
}

.popular-search-grid a:hover {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #9a3412;
    transform: translateY(-2px);
}

@media (max-width: 760px) {
    .home-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-top: 18px;
    }

    .home-stat-card {
        padding: 16px 10px;
        border-radius: 18px;
    }

    .home-stat-card strong {
        font-size: 23px;
    }

    .home-stat-card span {
        font-size: 13px;
    }

    .home-lga-grid {
        gap: 8px;
    }

    .home-lga-grid a {
        padding: 10px 12px;
        font-size: 13px;
    }

    .home-business-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
        border-radius: 24px;
    }

    .home-business-banner .btn {
        width: 100%;
    }

    .popular-search-grid {
        gap: 8px;
    }

    .popular-search-grid a {
        padding: 10px 12px;
        font-size: 13px;
    }
}


/* =========================
   SHOP PAGE MODERN STYLE
========================= */

.shop-page {
    padding-bottom: 20px;
}

.shop-cover {
    width: 92%;
    max-width: 1200px;
    margin: 24px auto 0;
    min-height: 320px;
    background-size: cover;
    background-position: center;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    align-items: flex-end;
}

.shop-cover-inner {
    width: 100%;
    padding: 34px;
    display: flex;
    align-items: flex-end;
    gap: 22px;
}

.shop-logo-wrap {
    width: 110px;
    height: 110px;
    min-width: 110px;
    background: #ffffff;
    border-radius: 28px;
    padding: 7px;
    box-shadow: 0 18px 40px rgba(0,0,0,.22);
}

.shop-logo-wrap img {
    width: 100%;
    height: 100%;
    border-radius: 22px;
    object-fit: cover;
    display: block;
    background: #e8edf5;
}

.shop-cover-content {
    color: #ffffff;
    max-width: 820px;
}

.shop-label {
    display: inline-flex;
    align-items: center;
    width: max-content;
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.24);
    color: #ffffff;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 950;
    margin-bottom: 10px;
    backdrop-filter: blur(10px);
}

.shop-cover-content h1 {
    margin: 0 0 8px;
    font-size: clamp(30px, 5vw, 52px);
    line-height: 1.02;
    letter-spacing: -0.055em;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.shop-desc {
    margin: 0 0 10px;
    max-width: 760px;
    color: #e2e8f0;
    font-size: 16px;
    line-height: 1.7;
}

.shop-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 18px;
}

.shop-meta span {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.18);
    color: #ffffff;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

.shop-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.shop-filter-card {
    margin: 26px 0 20px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.shop-filter-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.shop-filter-title h2 {
    margin: 0;
    color: var(--dark);
    font-size: 26px;
    letter-spacing: -0.04em;
}

.shop-filter-title p {
    margin: 0;
    color: var(--muted);
    font-weight: 800;
}

.shop-filters {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: 10px;
}

.shop-filters input,
.shop-filters select {
    height: 48px;
}

.shop-filters button {
    height: 48px;
    white-space: nowrap;
}

.shop-product-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.shop-product-card {
    min-width: 0;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: .2s ease;
}

.shop-product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: #99f6e4;
}

.shop-product-img {
    position: relative;
    background: #e8edf5;
}

.shop-product-img img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.shop-product-img span {
    position: absolute;
    left: 8px;
    top: 8px;
    max-width: calc(100% - 16px);
    background: rgba(255,255,255,.92);
    color: var(--primary);
    border: 1px solid rgba(204,251,241,.9);
    border-radius: 999px;
    padding: 4px 8px;
    font-size: 10.5px;
    font-weight: 950;
    text-transform: capitalize;
}

.shop-product-body {
    padding: 10px;
}

.shop-product-body h3 {
    margin: 0 0 7px;
    color: var(--dark);
    font-size: 13.5px;
    line-height: 1.3;
    min-height: 35px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.shop-product-price {
    color: var(--primary);
    font-size: 16px;
    font-weight: 950;
    letter-spacing: -0.03em;
}

.shop-product-stars {
    margin-top: 4px;
    color: var(--accent);
    font-size: 11.5px;
    font-weight: 900;
    white-space: nowrap;
}

.shop-product-stars small {
    color: var(--muted);
    font-weight: 700;
}

/* laptop */
@media (max-width: 1180px) {
    .shop-product-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

/* tablet */
@media (max-width: 950px) {
    .shop-product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .shop-filters {
        grid-template-columns: 1fr 1fr;
    }

    .shop-filters input {
        grid-column: 1 / -1;
    }
}

/* mobile */
@media (max-width: 760px) {
    .shop-cover {
        width: 94%;
        min-height: auto;
        border-radius: 24px;
        margin-top: 16px;
    }

    .shop-cover-inner {
        padding: 24px;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .shop-logo-wrap {
        width: 82px;
        height: 82px;
        min-width: 82px;
        border-radius: 22px;
        padding: 5px;
    }

    .shop-logo-wrap img {
        border-radius: 18px;
    }

    .shop-cover-content h1 {
        font-size: 30px;
    }

    .shop-desc {
        font-size: 14px;
    }

    .shop-meta {
        gap: 6px;
    }

    .shop-meta span {
        font-size: 12px;
        padding: 7px 10px;
    }

    .shop-actions {
        width: 100%;
    }

    .shop-actions .btn {
        width: 100%;
    }

    .shop-filter-card {
        padding: 16px;
        border-radius: 22px;
        margin-top: 18px;
    }

    .shop-filter-title {
        display: block;
    }

    .shop-filter-title h2 {
        font-size: 23px;
    }

    .shop-filter-title p {
        margin-top: 4px;
        font-size: 13px;
    }

    .shop-filters {
        grid-template-columns: 1fr;
    }

    .shop-filters input,
    .shop-filters select,
    .shop-filters button {
        width: 100%;
    }

    .shop-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 11px;
    }

    .shop-product-card {
        border-radius: 17px;
    }

    .shop-product-body {
        padding: 9px;
    }

    .shop-product-body h3 {
        font-size: 13px;
        min-height: 34px;
    }

    .shop-product-price {
        font-size: 15.5px;
    }

    .shop-product-stars {
        font-size: 11px;
    }
}


/* =========================
   AUTH PAGES
========================= */

.auth-wrap {
    width: 92%;
    max-width: 620px;
    margin: 34px auto;
    min-height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-card {
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.auth-head {
    text-align: center;
    margin-bottom: 24px;
}

.auth-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 12px;
    border-radius: 22px;
    background: #ecfeff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.auth-head h1 {
    margin: 0;
    font-size: clamp(25px, 4vw, 34px);
    letter-spacing: -0.04em;
    color: var(--dark);
}

.auth-head p {
    margin: 8px auto 0;
    max-width: 440px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
}

.auth-form label {
    display: block;
    margin: 14px 0 7px;
    font-weight: 850;
    color: var(--dark);
}

.auth-form .input {
    height: 48px;
}

.auth-btn {
    width: 100%;
    margin-top: 20px;
    height: 50px;
    border-radius: 16px;
    font-size: 15px;
}

.auth-links {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    text-align: center;
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.auth-links a {
    color: var(--primary);
    font-weight: 900;
}

.auth-links span {
    color: var(--muted);
}

.business-login-note {
    margin-top: 16px;
    text-align: center;
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 14px;
}

.business-login-note p {
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 14px;
}

.business-login-note a {
    display: inline-flex;
    color: var(--primary);
    font-weight: 950;
}

@media (max-width: 760px) {
    .auth-wrap {
        width: 94%;
        margin: 22px auto;
        align-items: flex-start;
    }

    .auth-card {
        padding: 22px;
        border-radius: 22px;
    }

    .auth-icon {
        width: 56px;
        height: 56px;
        border-radius: 18px;
        font-size: 26px;
    }

    .auth-head {
        margin-bottom: 18px;
    }

    .auth-head p {
        font-size: 14px;
    }

    .auth-form label {
        margin-top: 12px;
    }

    .auth-form .input {
        height: 46px;
        font-size: 15px;
    }

    .auth-btn {
        height: 48px;
        width: 100%;
    }

    .auth-links {
        flex-direction: column;
        gap: 6px;
    }

    .auth-links span {
        display: none;
    }
}

@media (max-width: 380px) {
    .auth-card {
        padding: 18px;
    }

    .auth-head h1 {
        font-size: 23px;
    }

    .auth-head p {
        font-size: 13px;
    }
}

/* =========================
   BUSINESS REGISTER FORMS
========================= */

.business-form-wrap {
    width: 92%;
    max-width: 760px;
    margin: 34px auto;
    min-height: 65vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.business-form-card {
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 30px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.business-form-head {
    text-align: center;
    margin-bottom: 24px;
}

.business-form-icon {
    width: 66px;
    height: 66px;
    margin: 0 auto 12px;
    border-radius: 22px;
    background: #ecfeff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.business-form-head h1 {
    margin: 0;
    font-size: clamp(26px, 4vw, 36px);
    color: var(--dark);
    letter-spacing: -0.04em;
}

.business-form-head p {
    margin: 8px auto 0;
    max-width: 500px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

.business-form label {
    display: block;
    margin: 14px 0 7px;
    font-weight: 850;
    color: var(--dark);
}

.business-form .input,
.business-form select {
    min-height: 48px;
}

.business-form textarea.input {
    min-height: 105px;
    resize: vertical;
}

.business-form-btn {
    width: 100%;
    margin-top: 20px;
    min-height: 52px;
    border-radius: 16px;
    font-size: 15px;
}

.business-form-links {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    text-align: center;
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    color: var(--muted);
}

.business-form-links p {
    width: 100%;
    margin: 0 0 4px;
    color: var(--muted);
}

.business-form-links a {
    color: var(--primary);
    font-weight: 950;
}

.business-form-links span {
    color: var(--muted);
}

@media (max-width: 760px) {
    .business-form-wrap {
        width: 94%;
        margin: 22px auto;
    }

    .business-form-card {
        padding: 22px;
        border-radius: 24px;
    }

    .business-form-icon {
        width: 58px;
        height: 58px;
        border-radius: 19px;
        font-size: 27px;
    }

    .business-form-head {
        margin-bottom: 18px;
    }

    .business-form-head p {
        font-size: 14px;
    }

    .business-form .row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .business-form label {
        margin-top: 12px;
    }

    .business-form .input,
    .business-form select {
        min-height: 46px;
        font-size: 15px;
    }

    .business-form textarea.input {
        min-height: 95px;
    }

    .business-form-btn {
        min-height: 49px;
    }

    .business-form-links {
        flex-direction: column;
        gap: 6px;
    }

    .business-form-links span {
        display: none;
    }
}

@media (max-width: 380px) {
    .business-form-card {
        padding: 18px;
    }

    .business-form-head h1 {
        font-size: 24px;
    }

    .business-form-head p {
        font-size: 13px;
    }
}

/* =========================
   VENDOR DASHBOARD LAYOUT
========================= */

.vendor-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 270px 1fr;
    background: #f6f8fb;
}

.vendor-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    background: #0f172a;
    color: #ffffff;
    padding: 20px;
    overflow-y: auto;
    z-index: 3000;
}

.vendor-sidebar-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 18px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.vendor-logo {
    width: 48px;
    height: 48px;
    border-radius: 17px;
    background: rgba(255,255,255,.10);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.vendor-sidebar-head h2 {
    margin: 0;
    font-size: 18px;
    color: #ffffff;
}

.vendor-sidebar-head p {
    margin: 3px 0 0;
    color: #cbd5e1;
    font-size: 13px;
    max-width: 160px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.vendor-nav {
    display: grid;
    gap: 7px;
}

.vendor-nav a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e2e8f0;
    padding: 12px 13px;
    border-radius: 14px;
    font-weight: 800;
    transition: .18s ease;
}

.vendor-nav a:hover {
    background: rgba(255,255,255,.10);
    color: #ffffff;
}

.vendor-nav .logout-link {
    margin-top: 12px;
    background: rgba(239,68,68,.14);
    color: #fecaca;
}

.vendor-nav .logout-link:hover {
    background: rgba(239,68,68,.24);
    color: #ffffff;
}

.vendor-main-wrap {
    min-width: 0;
}

.vendor-topbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: 76px;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid #e5e7eb;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.vendor-topbar h1 {
    margin: 0;
    color: var(--dark);
    font-size: 24px;
    letter-spacing: -0.04em;
}

.vendor-topbar p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.vendor-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 15px;
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-sm);
    font-size: 23px;
    padding: 0;
    flex-shrink: 0;
}

.vendor-view-btn {
    margin-left: auto;
    background: var(--primary);
    color: #ffffff;
    border-radius: 999px;
    padding: 11px 15px;
    font-weight: 900;
    box-shadow: 0 8px 20px rgba(15,118,110,.18);
    white-space: nowrap;
}

.vendor-main {
    padding: 24px;
    min-width: 0;
}

/* Make old dashboard classes still look fine */
.vendor-main .stats,
.dashmain .stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.vendor-main .stat,
.dashmain .stat {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 18px;
    box-shadow: var(--shadow-sm);
}

/* Mobile vendor dashboard */
@media (max-width: 900px) {
    .vendor-shell {
        display: block;
    }

    .vendor-sidebar {
        position: fixed;
        top: 0;
        left: -290px;
        width: 270px;
        max-width: calc(100vw - 40px);
        height: 100vh;
        transition: .22s ease;
        box-shadow: 25px 0 70px rgba(15,23,42,.25);
    }

    .vendor-sidebar.show {
        left: 0;
    }

    .vendor-topbar {
        padding: 12px;
        min-height: 66px;
    }

    .vendor-menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .vendor-topbar h1 {
        font-size: 19px;
    }

    .vendor-topbar p {
        display: none;
    }

    .vendor-view-btn {
        display: none;
    }

    .vendor-main {
        padding: 16px 12px;
    }

    .vendor-main .stats,
    .dashmain .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .vendor-main .stat,
    .dashmain .stat {
        padding: 15px;
        border-radius: 18px;
    }

    .vendor-main .table,
    .dashmain .table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .vendor-main .row,
    .dashmain .row {
        grid-template-columns: 1fr;
    }

    .vendor-main .filters,
    .dashmain .filters {
        grid-template-columns: 1fr;
    }

    .vendor-main .btn,
    .dashmain .btn,
    .vendor-main button,
    .dashmain button {
        width: 100%;
    }

    .vendor-main .dashboard-actions,
    .dashmain .dashboard-actions,
    .vendor-main .table-actions,
    .dashmain .table-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 420px) {
    .vendor-main .stats,
    .dashmain .stats {
        grid-template-columns: 1fr;
    }

    .vendor-topbar h1 {
        font-size: 17px;
    }
}

/* =========================
   VENDOR DASHBOARD PAGE
========================= */

.vendor-dashboard {
    display: grid;
    gap: 18px;
}

.vendor-welcome-card {
    background: linear-gradient(135deg, #ecfeff, #ffffff);
    border: 1px solid #d9f3f0;
    border-radius: 28px;
    padding: 26px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.vendor-small-badge {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    color: var(--primary);
    border: 1px solid #ccfbf1;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 950;
    margin-bottom: 12px;
}

.vendor-welcome-card h2 {
    margin: 0 0 8px;
    color: var(--dark);
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.vendor-welcome-card p {
    margin: 0;
    color: var(--muted);
    max-width: 600px;
    line-height: 1.7;
}

.vendor-welcome-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.vendor-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.vendor-stat-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.vendor-stat-card span {
    display: block;
    color: var(--muted);
    font-weight: 900;
    font-size: 13px;
}

.vendor-stat-card strong {
    display: block;
    margin: 7px 0 4px;
    color: var(--primary);
    font-size: 34px;
    line-height: 1;
    letter-spacing: -0.05em;
}

.vendor-stat-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.vendor-stat-card.success strong {
    color: #16a34a;
}

.vendor-stat-card.warning strong {
    color: #f59e0b;
}

.vendor-stat-card.dark strong {
    color: #0f172a;
}

.vendor-quick-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.vendor-quick-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 22px;
    box-shadow: var(--shadow-sm);
    transition: .2s ease;
}

.vendor-quick-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: #99f6e4;
}

.vendor-quick-card div {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: #ecfeff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 12px;
}

.vendor-quick-card h3 {
    margin: 0 0 8px;
    color: var(--dark);
    font-size: 18px;
}

.vendor-quick-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.vendor-section-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: 22px;
    box-shadow: var(--shadow-sm);
}

.vendor-section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 12px;
    margin-bottom: 16px;
}

.vendor-section-head h2 {
    margin: 0 0 4px;
    color: var(--dark);
    font-size: 25px;
    letter-spacing: -0.04em;
}

.vendor-section-head p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.vendor-section-head a {
    color: var(--primary);
    font-weight: 950;
    white-space: nowrap;
}

.vendor-recent-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.vendor-recent-product {
    display: flex;
    gap: 12px;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #eef2f7;
    border-radius: 18px;
    padding: 12px;
    transition: .2s ease;
}

.vendor-recent-product:hover {
    background: #ffffff;
    border-color: #99f6e4;
    transform: translateY(-2px);
}

.vendor-recent-product img {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    object-fit: cover;
    background: #e8edf5;
    flex-shrink: 0;
}

.vendor-recent-product h3 {
    margin: 0 0 4px;
    color: var(--dark);
    font-size: 14px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vendor-recent-product strong {
    display: block;
    color: var(--primary);
    font-size: 14px;
    margin-bottom: 4px;
}

.vendor-status {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 950;
    background: #eef2f7;
    color: #334155;
}

.vendor-status-active {
    background: #dcfce7;
    color: #166534;
}

.vendor-status-pending {
    background: #fef3c7;
    color: #92400e;
}

.vendor-status-rejected,
.vendor-status-hidden {
    background: #fee2e2;
    color: #991b1b;
}

.vendor-status-sold {
    background: #e0e7ff;
    color: #3730a3;
}

/* Mobile */
@media (max-width: 950px) {
    .vendor-welcome-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .vendor-welcome-actions {
        width: 100%;
    }

    .vendor-welcome-actions .btn {
        flex: 1;
    }

    .vendor-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .vendor-quick-grid {
        grid-template-columns: 1fr;
    }

    .vendor-recent-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .vendor-welcome-card {
        padding: 22px;
        border-radius: 22px;
    }

    .vendor-welcome-card h2 {
        font-size: 27px;
    }

    .vendor-welcome-actions {
        flex-direction: column;
    }

    .vendor-welcome-actions .btn {
        width: 100%;
    }

    .vendor-stats-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .vendor-stat-card {
        padding: 17px;
        border-radius: 18px;
    }

    .vendor-stat-card strong {
        font-size: 30px;
    }

    .vendor-section-card {
        padding: 17px;
        border-radius: 22px;
    }

    .vendor-section-head {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* =========================
   VENDOR PRODUCTS PAGE - FINAL
   Desktop Cards / Mobile List
========================= */

.vendor-products-page {
    display: grid;
    gap: 18px;
}

.vendor-page-head {
    background: linear-gradient(135deg, #ecfeff, #ffffff);
    border: 1px solid #d9f3f0;
    border-radius: 28px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.vendor-page-head h2 {
    margin: 0 0 6px;
    color: var(--dark);
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.vendor-page-head p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.vendor-products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.vendor-product-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: .2s ease;
}

.vendor-product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: #99f6e4;
}

.vendor-product-img {
    position: relative;
    background: #e8edf5;
}

.vendor-product-img img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.vendor-product-status {
    position: absolute;
    left: 9px;
    top: 9px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 11px;
    font-weight: 950;
    background: rgba(255,255,255,.94);
    color: #334155;
    border: 1px solid rgba(226,232,240,.9);
    text-transform: capitalize;
}

.status-active {
    background: #dcfce7;
    color: #166534;
    border-color: #bbf7d0;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
    border-color: #fde68a;
}

.status-rejected,
.status-hidden {
    background: #fee2e2;
    color: #991b1b;
    border-color: #fecaca;
}

.status-sold {
    background: #e0e7ff;
    color: #3730a3;
    border-color: #c7d2fe;
}

.vendor-product-body {
    padding: 12px;
}

.vendor-product-body h3 {
    margin: 0 0 4px;
    color: var(--dark);
    font-size: 15px;
    line-height: 1.3;
    min-height: 0 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vendor-product-price {
    margin: 0 0 7px;
    color: var(--primary);
    font-size: 17px;
    line-height: 1.15;
    font-weight: 950;
    letter-spacing: -0.03em;
}

.vendor-product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 7px 0 10px;
}

.vendor-product-meta span {
    display: inline-flex;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: var(--muted);
    border-radius: 999px;
    padding: 5px 8px;
    font-size: 11.5px;
    font-weight: 850;
}

.vendor-product-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
}

.vendor-product-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 9px 8px;
    font-size: 12.5px;
    font-weight: 950;
    color: var(--primary);
}

.vendor-product-actions a:hover {
    background: #ecfeff;
    border-color: #99f6e4;
}

.vendor-product-actions .danger {
    color: #dc2626 !important;
}

/* Laptop */
@media (max-width: 1100px) {
    .vendor-products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Tablet */
@media (max-width: 850px) {
    .vendor-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile list view */
@media (max-width: 600px) {
    .vendor-page-head {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        border-radius: 22px;
    }

    .vendor-page-head .btn {
        width: 100%;
    }

    .vendor-products-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .vendor-product-card {
        display: grid;
        grid-template-columns: 96px 1fr;
        border-radius: 18px;
        min-height: 118px;
    }

    .vendor-product-card:hover {
        transform: none;
    }

    .vendor-product-img {
        height: 100%;
    }

    .vendor-product-img img {
        width: 96px;
        height: 100%;
        min-height: 118px;
        aspect-ratio: auto;
        object-fit: cover;
    }

    .vendor-product-status {
        left: 6px;
        top: 6px;
        padding: 4px 7px;
        font-size: 10px;
    }

    .vendor-product-body {
        padding: 10px;
        min-width: 0;
        display: flex;
        flex-direction: column;
    }

    .vendor-product-body h3 {
        font-size: 14px;
        margin-bottom: 3px;
        line-height: 1.25;
    }

    .vendor-product-price {
        font-size: 15.5px;
        margin-bottom: 5px;
    }

    .vendor-product-meta {
        margin: 4px 0 8px;
        gap: 5px;
    }

    .vendor-product-meta span {
        font-size: 10.5px;
        padding: 4px 7px;
    }

    .vendor-product-actions {
        margin-top: auto;
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
    }

    .vendor-product-actions a {
        padding: 7px 5px;
        font-size: 11.5px;
        border-radius: 10px;
    }
}

@media (max-width: 360px) {
    .vendor-product-card {
        grid-template-columns: 86px 1fr;
    }

    .vendor-product-img img {
        width: 86px;
    }

    .vendor-product-body h3 {
        font-size: 13px;
    }

    .vendor-product-actions a {
        font-size: 11px;
        padding: 7px 4px;
    }
}

/* =========================
   VENDOR PAGINATION
========================= */

.vendor-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 18px 0 4px;
}

.vendor-pagination a,
.vendor-pagination span {
    min-width: 42px;
    height: 42px;
    padding: 0 13px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid var(--line);
    color: var(--dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    box-shadow: var(--shadow-sm);
}

.vendor-pagination a:hover {
    background: #ecfeff;
    color: var(--primary);
    border-color: #99f6e4;
}

.vendor-pagination a.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.vendor-pagination span {
    color: var(--muted);
    box-shadow: none;
}

@media (max-width: 600px) {
    .vendor-pagination {
        gap: 6px;
        justify-content: flex-start;
    }

    .vendor-pagination a,
    .vendor-pagination span {
        min-width: 38px;
        height: 38px;
        border-radius: 12px;
        font-size: 13px;
        padding: 0 10px;
    }
}

/* =========================
   VENDOR ADD PRODUCT PAGE
========================= */

.vendor-add-product-page {
    display: grid;
    gap: 18px;
}

.vendor-form-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    max-width: 900px;
}

.vendor-form-card label {
    display: block;
    margin: 14px 0 7px;
    color: var(--dark);
    font-weight: 900;
}

.vendor-form-card .input,
.vendor-form-card select,
.vendor-form-card textarea {
    width: 100%;
}

.vendor-form-section {
    background: #f8fafc;
    border: 1px solid #eef2f7;
    border-radius: 20px;
    padding: 16px;
    margin: 0 0 14px;
}

.vendor-form-section:not(:first-child) {
    margin-top: 22px;
}

.vendor-form-section h3 {
    margin: 0 0 4px;
    color: var(--dark);
    font-size: 20px;
    letter-spacing: -0.03em;
}

.vendor-form-section p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.vendor-upload-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.vendor-upload-box {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 20px;
    padding: 16px;
}

.vendor-upload-box label {
    margin-top: 0;
}

.vendor-upload-box small {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
}

.vendor-form-note {
    margin-top: 14px;
    background: #ecfeff;
    border: 1px solid #99f6e4;
    color: #0f766e;
    border-radius: 16px;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 800;
}

.vendor-form-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.vendor-form-actions button,
.vendor-form-actions .btn {
    min-width: 150px;
}

/* Mobile */
@media (max-width: 760px) {
    .vendor-form-card {
        padding: 18px;
        border-radius: 22px;
        max-width: 100%;
    }

    .vendor-form-card .row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .vendor-upload-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .vendor-form-section {
        padding: 14px;
        border-radius: 17px;
    }

    .vendor-form-section h3 {
        font-size: 18px;
    }

    .vendor-form-section p {
        font-size: 13px;
    }

    .vendor-form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .vendor-form-actions button,
    .vendor-form-actions .btn {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 380px) {
    .vendor-form-card {
        padding: 15px;
    }

    .vendor-upload-box {
        padding: 13px;
        border-radius: 17px;
    }
}

/* =========================
   VENDOR EDIT PRODUCT IMAGES
========================= */

.vendor-current-image {
    margin: 10px 0 16px;
}

.vendor-current-image label {
    display: block;
    margin: 0 0 8px;
    color: var(--dark);
    font-weight: 900;
}

.vendor-current-image img {
    width: 160px;
    height: 160px;
    border-radius: 22px;
    object-fit: cover;
    background: #e8edf5;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.vendor-edit-image-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-top: 12px;
}

.vendor-edit-image-card {
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 10px;
    text-align: center;
}

.vendor-edit-image-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 14px;
    background: #e8edf5;
    display: block;
    margin-bottom: 8px;
}

.vendor-edit-image-card a {
    font-size: 13px;
    font-weight: 950;
}

@media (max-width: 760px) {
    .vendor-current-image img {
        width: 130px;
        height: 130px;
        border-radius: 18px;
    }

    .vendor-edit-image-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 9px;
    }

    .vendor-edit-image-card {
        padding: 8px;
        border-radius: 15px;
    }

    .vendor-edit-image-card img {
        border-radius: 12px;
    }
}

@media (max-width: 380px) {
    .vendor-edit-image-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =========================
   VENDOR SHOP PROFILE PAGE
========================= */

.vendor-shop-profile-page {
    display: grid;
    gap: 18px;
}

.shop-link-copy-box {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: center;
}

.shop-link-copy-box .input {
    background: #f8fafc;
    font-weight: 800;
    color: var(--dark);
}

.vendor-profile-images {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 14px;
}

.vendor-profile-image-card {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 20px;
    padding: 16px;
}

.vendor-profile-image-card label {
    margin-top: 0;
}

.vendor-profile-image-card img,
.vendor-profile-image-card .image-placeholder {
    width: 130px;
    height: 130px;
    border-radius: 22px;
    object-fit: cover;
    background: #e8edf5;
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-weight: 900;
    margin-bottom: 12px;
}

.vendor-profile-image-card.cover img,
.vendor-profile-image-card.cover .image-placeholder {
    width: 100%;
    height: 160px;
    border-radius: 22px;
}

@media (max-width: 760px) {
    .shop-link-copy-box {
        grid-template-columns: 1fr;
    }

    .shop-link-copy-box .btn {
        width: 100%;
    }

    .vendor-profile-images {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .vendor-profile-image-card {
        padding: 14px;
        border-radius: 18px;
    }

    .vendor-profile-image-card img,
    .vendor-profile-image-card .image-placeholder {
        width: 110px;
        height: 110px;
        border-radius: 18px;
    }

    .vendor-profile-image-card.cover img,
    .vendor-profile-image-card.cover .image-placeholder {
        height: 135px;
        border-radius: 18px;
    }
}


/* =========================
   WORKER REGISTRATION PAGE
========================= */

.worker-register-page {
    width: 92%;
    max-width: 980px;
    margin: 28px auto 40px;
}

.worker-register-hero {
    background: linear-gradient(135deg, #ecfeff, #fff7ed);
    border: 1px solid #d9f3f0;
    border-radius: 30px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    display: grid;
    grid-template-columns: 1.4fr .8fr;
    gap: 20px;
    align-items: center;
    margin-bottom: 18px;
}

.worker-register-hero h1 {
    margin: 0 0 10px;
    color: var(--dark);
    font-size: clamp(30px, 5vw, 46px);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.worker-register-hero p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
    font-size: 16px;
}

.worker-register-note {
    background: rgba(255,255,255,.82);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 20px;
}

.worker-register-note h3 {
    margin: 0 0 8px;
    color: var(--dark);
}

.worker-register-note p {
    font-size: 14px;
}

.worker-register-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.worker-register-card label {
    display: block;
    margin: 14px 0 7px;
    color: var(--dark);
    font-weight: 900;
}

.worker-register-card .input,
.worker-register-card select,
.worker-register-card textarea {
    width: 100%;
}

.worker-register-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.worker-register-actions button,
.worker-register-actions .btn {
    min-width: 190px;
}

@media (max-width: 760px) {
    .worker-register-page {
        width: 94%;
        margin-top: 18px;
    }

    .worker-register-hero {
        grid-template-columns: 1fr;
        padding: 22px;
        border-radius: 24px;
    }

    .worker-register-hero h1 {
        font-size: 30px;
    }

    .worker-register-card {
        padding: 18px;
        border-radius: 22px;
    }

    .worker-register-card .row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .worker-register-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .worker-register-actions button,
    .worker-register-actions .btn {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 380px) {
    .worker-register-hero,
    .worker-register-card {
        padding: 16px;
    }

    .worker-register-hero h1 {
        font-size: 27px;
    }
}

/* =========================
   WORKER LOGIN PAGE
========================= */

.worker-login-page {
    width: 92%;
    max-width: 560px;
    margin: 34px auto 44px;
    min-height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.worker-login-card {
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 30px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.worker-login-head {
    text-align: center;
    margin-bottom: 22px;
}

.worker-login-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 12px;
    border-radius: 24px;
    background: #ecfeff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.worker-login-head h1 {
    margin: 10px 0 8px;
    color: var(--dark);
    font-size: clamp(28px, 5vw, 38px);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.worker-login-head p {
    margin: 0 auto;
    max-width: 430px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

.worker-login-form label {
    display: block;
    margin: 14px 0 7px;
    color: var(--dark);
    font-weight: 900;
}

.worker-login-form .input {
    height: 48px;
}

.worker-login-btn {
    width: 100%;
    height: 50px;
    margin-top: 20px;
    border-radius: 16px;
}

.worker-login-links {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    text-align: center;
}

.worker-login-links p {
    margin: 0 0 8px;
    color: var(--muted);
}

.worker-login-links a {
    color: var(--primary);
    font-weight: 950;
}

@media (max-width: 760px) {
    .worker-login-page {
        width: 94%;
        margin: 22px auto 34px;
        align-items: flex-start;
    }

    .worker-login-card {
        padding: 22px;
        border-radius: 24px;
    }

    .worker-login-icon {
        width: 58px;
        height: 58px;
        border-radius: 20px;
        font-size: 28px;
    }

    .worker-login-head h1 {
        font-size: 30px;
    }

    .worker-login-head p {
        font-size: 14px;
    }

    .worker-login-form .input {
        height: 46px;
    }

    .worker-login-btn {
        height: 48px;
    }
}

@media (max-width: 380px) {
    .worker-login-card {
        padding: 18px;
    }

    .worker-login-head h1 {
        font-size: 27px;
    }

    .worker-login-head p {
        font-size: 13px;
    }
}


/* =========================
   WORKER DASHBOARD LAYOUT
========================= */

.worker-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 270px 1fr;
    background: #f6f8fb;
}

.worker-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    background: #0f172a;
    color: #ffffff;
    padding: 20px;
    overflow-y: auto;
    z-index: 3000;
}

.worker-sidebar-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 18px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.worker-logo {
    width: 48px;
    height: 48px;
    border-radius: 17px;
    background: rgba(255,255,255,.10);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.worker-sidebar-head h2 {
    margin: 0;
    font-size: 18px;
    color: #ffffff;
}

.worker-sidebar-head p {
    margin: 3px 0 0;
    color: #cbd5e1;
    font-size: 13px;
    max-width: 160px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.worker-nav {
    display: grid;
    gap: 7px;
}

.worker-nav a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e2e8f0;
    padding: 12px 13px;
    border-radius: 14px;
    font-weight: 800;
    transition: .18s ease;
}

.worker-nav a:hover {
    background: rgba(255,255,255,.10);
    color: #ffffff;
}

.worker-nav .logout-link {
    margin-top: 12px;
    background: rgba(239,68,68,.14);
    color: #fecaca;
}

.worker-nav .logout-link:hover {
    background: rgba(239,68,68,.24);
    color: #ffffff;
}

.worker-main-wrap {
    min-width: 0;
}

.worker-topbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: 76px;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid #e5e7eb;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.worker-topbar h1 {
    margin: 0;
    color: var(--dark);
    font-size: 24px;
    letter-spacing: -0.04em;
}

.worker-topbar p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.worker-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 15px;
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-sm);
    font-size: 23px;
    padding: 0;
    flex-shrink: 0;
}

.worker-view-btn {
    margin-left: auto;
    background: var(--primary);
    color: #ffffff;
    border-radius: 999px;
    padding: 11px 15px;
    font-weight: 900;
    box-shadow: 0 8px 20px rgba(15,118,110,.18);
    white-space: nowrap;
}

.worker-main {
    padding: 24px;
    min-width: 0;
}

/* Mobile worker dashboard */
@media (max-width: 900px) {
    .worker-shell {
        display: block;
    }

    .worker-sidebar {
        position: fixed;
        top: 0;
        left: -290px;
        width: 270px;
        max-width: calc(100vw - 40px);
        height: 100vh;
        transition: .22s ease;
        box-shadow: 25px 0 70px rgba(15,23,42,.25);
    }

    .worker-sidebar.show {
        left: 0;
    }

    .worker-topbar {
        padding: 12px;
        min-height: 66px;
    }

    .worker-menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .worker-topbar h1 {
        font-size: 19px;
    }

    .worker-topbar p {
        display: none;
    }

    .worker-view-btn {
        display: none;
    }

    .worker-main {
        padding: 16px 12px;
    }

    .worker-main .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .worker-main .stat {
        padding: 15px;
        border-radius: 18px;
    }

    .worker-main .table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .worker-main .row {
        grid-template-columns: 1fr;
    }

    .worker-main .btn,
    .worker-main button {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .worker-main .stats {
        grid-template-columns: 1fr;
    }

    .worker-topbar h1 {
        font-size: 17px;
    }
}


/* =========================
   WORKER DASHBOARD PAGE
========================= */

.worker-dashboard-page {
    display: grid;
    gap: 18px;
}

.worker-dashboard-hero {
    background: linear-gradient(135deg, #ecfeff, #ffffff);
    border: 1px solid #d9f3f0;
    border-radius: 28px;
    padding: 26px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.worker-small-badge {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    color: var(--primary);
    border: 1px solid #ccfbf1;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 950;
    margin-bottom: 12px;
}

.worker-dashboard-hero h2 {
    margin: 0 0 8px;
    color: var(--dark);
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.worker-dashboard-hero p {
    margin: 0;
    color: var(--muted);
    max-width: 600px;
    line-height: 1.7;
}

.worker-dashboard-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.worker-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.worker-stat-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.worker-stat-card span {
    display: block;
    color: var(--muted);
    font-weight: 900;
    font-size: 13px;
}

.worker-stat-card strong {
    display: block;
    margin: 7px 0 4px;
    color: var(--primary);
    font-size: 32px;
    line-height: 1;
    letter-spacing: -0.05em;
}

.worker-stat-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.worker-stat-card.success strong {
    color: #16a34a;
}

.worker-stat-card.warning strong {
    color: #f59e0b;
}

.worker-stat-card.dark strong {
    color: #0f172a;
}

.worker-quick-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.worker-quick-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 22px;
    box-shadow: var(--shadow-sm);
    transition: .2s ease;
}

.worker-quick-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: #99f6e4;
}

.worker-quick-card div {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: #ecfeff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 12px;
}

.worker-quick-card h3 {
    margin: 0 0 8px;
    color: var(--dark);
    font-size: 18px;
}

.worker-quick-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 950px) {
    .worker-dashboard-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .worker-dashboard-actions {
        width: 100%;
    }

    .worker-dashboard-actions .btn {
        flex: 1;
    }

    .worker-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .worker-quick-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .worker-dashboard-hero {
        padding: 22px;
        border-radius: 22px;
    }

    .worker-dashboard-hero h2 {
        font-size: 27px;
    }

    .worker-dashboard-actions {
        flex-direction: column;
    }

    .worker-dashboard-actions .btn {
        width: 100%;
    }

    .worker-stats-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .worker-stat-card {
        padding: 17px;
        border-radius: 18px;
    }

    .worker-stat-card strong {
        font-size: 29px;
    }

    .worker-quick-card {
        padding: 18px;
        border-radius: 20px;
    }
}

/* =========================
   WORKER SERVICE PROFILE PAGE
========================= */

.worker-profile-page {
    display: grid;
    gap: 18px;
}

.worker-profile-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    max-width: 900px;
}

.worker-profile-card label {
    display: block;
    margin: 14px 0 7px;
    color: var(--dark);
    font-weight: 900;
}

.worker-profile-card .input,
.worker-profile-card select,
.worker-profile-card textarea {
    width: 100%;
}

.worker-current-image {
    margin: 12px 0 16px;
}

.worker-current-image img,
.worker-current-image .image-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 26px;
    object-fit: cover;
    background: #e8edf5;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-weight: 900;
}

.worker-profile-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.worker-profile-actions button,
.worker-profile-actions .btn {
    min-width: 160px;
}

@media (max-width: 760px) {
    .worker-profile-card {
        padding: 18px;
        border-radius: 22px;
        max-width: 100%;
    }

    .worker-profile-card .row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .worker-current-image img,
    .worker-current-image .image-placeholder {
        width: 120px;
        height: 120px;
        border-radius: 20px;
    }

    .worker-profile-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .worker-profile-actions button,
    .worker-profile-actions .btn {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 380px) {
    .worker-profile-card {
        padding: 15px;
    }
}


/* =========================
   WORKER SAMPLE BUNDLES FRESH
========================= */

.sample-bundle-list {
    display: grid;
    gap: 14px;
}

.sample-bundle-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.sample-bundle-top {
    width: 100%;
    cursor: pointer;
    background: #ffffff;
    color: var(--dark);
    padding: 14px;
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 14px;
    text-align: left;
    align-items: center;
}

.sample-bundle-top:hover {
    background: #f8fafc;
}

.sample-bundle-cover img,
.sample-no-cover {
    width: 100px;
    height: 100px;
    border-radius: 18px;
    object-fit: cover;
    background: #e8edf5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

.sample-bundle-info {
    min-width: 0;
}

.sample-bundle-info h3 {
    margin: 0 0 5px;
    color: var(--dark);
    font-size: 18px;
}

.sample-bundle-info p {
    margin: 0 0 7px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.sample-bundle-info span {
    display: inline-flex;
    background: #ecfeff;
    color: var(--primary);
    border: 1px solid #ccfbf1;
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 12px;
    font-weight: 950;
}

.sample-bundle-arrow {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: #ecfeff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.sample-bundle-details {
    display: none;
    border-top: 1px solid var(--line);
    padding: 16px;
    background: #f8fafc;
}

.sample-bundle-card.open .sample-bundle-details {
    display: block;
}

.sample-bundle-detail-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.sample-bundle-detail-head h3 {
    margin: 0 0 5px;
    color: var(--dark);
}

.sample-bundle-detail-head p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.sample-bundle-tools {
    display: flex;
    gap: 10px;
    align-items: center;
    white-space: nowrap;
}

.sample-bundle-images,
.edit-bundle-images {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.sample-bundle-image,
.edit-bundle-images div {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 8px;
}

.sample-bundle-image img,
.edit-bundle-images img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 14px;
    display: block;
    cursor: pointer;
    background: #e8edf5;
}

.sample-bundle-image a,
.edit-bundle-images a {
    display: flex;
    justify-content: center;
    margin-top: 7px;
    font-size: 12px;
    font-weight: 950;
}

.image-preview-modal {
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,.82);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.image-preview-modal.show {
    display: flex;
}

.image-preview-box {
    width: min(900px, 96vw);
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 90px rgba(0,0,0,.35);
}

.image-preview-box img {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    background: #0f172a;
    display: block;
}

.image-preview-text {
    padding: 16px;
}

.image-preview-text h3 {
    margin: 0 0 5px;
    color: var(--dark);
}

.image-preview-text p {
    margin: 0;
    color: var(--muted);
}

#imagePreviewCount {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-weight: 900;
}

.image-preview-close {
    position: fixed;
    right: 22px;
    top: 18px;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background: #ffffff;
    color: #0f172a;
    font-size: 28px;
    box-shadow: var(--shadow);
    padding: 0;
    z-index: 1000000;
}

.image-preview-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    border-radius: 999px;
    background: #ffffff;
    color: #0f172a;
    font-size: 42px;
    line-height: 1;
    padding: 0;
    box-shadow: var(--shadow);
    z-index: 1000000;
}

.image-preview-prev {
    left: 22px;
}

.image-preview-next {
    right: 22px;
}

.image-preview-nav:hover {
    background: var(--primary);
    color: #ffffff;
    transform: translateY(-50%) scale(1.04);
}

@media (max-width: 760px) {
    .sample-bundle-top {
        grid-template-columns: 82px 1fr auto;
        gap: 10px;
        padding: 11px;
    }

    .sample-bundle-cover img,
    .sample-no-cover {
        width: 82px;
        height: 82px;
        border-radius: 15px;
    }

    .sample-bundle-info h3 {
        font-size: 15px;
    }

    .sample-bundle-info p {
        font-size: 12.5px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .sample-bundle-arrow {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }

    .sample-bundle-detail-head {
        flex-direction: column;
    }

    .sample-bundle-tools {
        width: 100%;
        justify-content: space-between;
    }

    .sample-bundle-images,
    .edit-bundle-images {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .image-preview-box {
        border-radius: 18px;
        margin-bottom: 70px;
    }

    .image-preview-close {
        right: 12px;
        top: 12px;
    }

    .image-preview-nav {
        width: 44px;
        height: 44px;
        font-size: 34px;
        top: auto;
        bottom: 24px;
        transform: none;
    }

    .image-preview-prev {
        left: 22px;
    }

    .image-preview-next {
        right: 22px;
    }

    .image-preview-nav:hover {
        transform: none;
    }
}

/* =========================
   MOBILE FIX: SAMPLE MODAL BUTTONS
========================= */

@media (max-width: 760px) {

    /* Cancel / Create / Update buttons */
    .worker-samples-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 18px;
    }

    .worker-samples-actions button,
    .worker-samples-actions .btn {
        width: 100%;
        height: 48px;
        min-width: 0;
        border-radius: 16px;
        font-size: 14px;
        font-weight: 950;
    }

    .worker-samples-actions .btn.ghost {
        background: #f8fafc;
        color: #0f172a;
        border: 1px solid #dbe4f0;
        box-shadow: none;
    }

    /* Modal close button */
    .image-preview-close {
        position: fixed;
        top: 12px;
        right: 12px;
        width: 42px;
        height: 42px;
        border-radius: 999px;
        background: #ffffff;
        color: #0f172a;
        border: 1px solid #e2e8f0;
        font-size: 28px;
        font-weight: 950;
        line-height: 1;
        padding: 0;
        z-index: 1000001;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 14px 35px rgba(0,0,0,.22);
    }

    .image-preview-close:hover {
        background: #ffffff;
        color: #0f172a;
        transform: none;
    }

    /* Modal image box */
    .image-preview-modal {
        padding: 14px;
        align-items: center;
    }

    .image-preview-box {
        width: 100%;
        max-width: 100%;
        border-radius: 18px;
        margin: 0 0 72px;
        overflow: hidden;
    }

    .image-preview-box img {
        max-height: 62vh;
        width: 100%;
        object-fit: contain;
        background: #0f172a;
    }

    .image-preview-text {
        padding: 13px;
    }

    .image-preview-text h3 {
        font-size: 15px;
        line-height: 1.3;
        margin-bottom: 4px;
    }

    .image-preview-text p {
        font-size: 13px;
        line-height: 1.5;
    }

    #imagePreviewCount {
        font-size: 12px;
        margin-top: 6px;
    }

    /* Left / Right buttons at bottom */
    .image-preview-nav {
        position: fixed;
        top: auto;
        bottom: 16px;
        transform: none;
        width: 50px;
        height: 50px;
        border-radius: 999px;
        background: #ffffff;
        color: #0f172a;
        border: 1px solid #e2e8f0;
        font-size: 38px;
        font-weight: 800;
        line-height: 1;
        padding: 0 0 5px;
        z-index: 1000001;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 16px 38px rgba(0,0,0,.24);
    }

    .image-preview-prev {
        left: calc(50% - 62px);
        right: auto;
    }

    .image-preview-next {
        right: calc(50% - 62px);
        left: auto;
    }

    .image-preview-nav:hover {
        background: #ffffff;
        color: #0f172a;
        transform: none;
    }
}

/* Extra small phones */
@media (max-width: 380px) {
    .image-preview-nav {
        width: 46px;
        height: 46px;
        font-size: 34px;
    }

    .image-preview-prev {
        left: calc(50% - 56px);
    }

    .image-preview-next {
        right: calc(50% - 56px);
    }

    .image-preview-close {
        width: 40px;
        height: 40px;
        font-size: 26px;
    }
}


/* =========================
   PUBLIC ARTISAN PAGE
========================= */

.artisan-public-page {
    width: 92%;
    max-width: 1200px;
    margin: 24px auto 44px;
}

.artisan-public-hero {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 24px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 30px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.artisan-public-image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 26px;
    background: #e8edf5;
}

.artisan-public-info h1 {
    margin: 12px 0 8px;
    color: var(--dark);
    font-size: clamp(30px, 5vw, 48px);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.artisan-public-meta,
.artisan-about,
.artisan-address {
    color: var(--muted);
    line-height: 1.7;
}

.artisan-public-info h2 {
    color: var(--primary);
    margin: 14px 0;
    font-size: 28px;
    letter-spacing: -0.04em;
}

.artisan-public-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.artisan-section-card {
    margin-top: 22px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 22px;
    box-shadow: var(--shadow-sm);
}

.artisan-section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 12px;
    margin-bottom: 16px;
}

.artisan-section-head h2,
.artisan-section-card h2 {
    margin: 0 0 5px;
    color: var(--dark);
    font-size: 26px;
    letter-spacing: -0.04em;
}

.artisan-section-head p {
    margin: 0;
    color: var(--muted);
}

.artisan-public-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.artisan-review-item {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
}

.artisan-review-item:last-child {
    border-bottom: 0;
}

.artisan-review-item span {
    color: var(--accent);
    font-weight: 900;
    margin-left: 6px;
}

.artisan-review-item p {
    margin: 6px 0 0;
    color: var(--muted);
    line-height: 1.6;
}

.artisan-review-form label {
    display: block;
    margin: 14px 0 7px;
    font-weight: 900;
    color: var(--dark);
}

/* =========================
   PUBLIC SAMPLE BUNDLES
========================= */

.public-sample-bundle-list {
    display: grid;
    gap: 14px;
}

.public-sample-bundle-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.public-sample-bundle-top {
    cursor: pointer;
    background: #ffffff;
    color: var(--dark);
    padding: 14px;
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 14px;
    align-items: center;
}

.public-sample-bundle-top:hover {
    background: #f8fafc;
}

.public-sample-cover img,
.sample-no-cover {
    width: 100px;
    height: 100px;
    border-radius: 18px;
    object-fit: cover;
    background: #e8edf5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

.public-sample-info {
    min-width: 0;
}

.public-sample-info h3 {
    margin: 0 0 5px;
    color: var(--dark);
    font-size: 18px;
}

.public-sample-info p {
    margin: 0 0 7px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.public-sample-info span {
    display: inline-flex;
    background: #ecfeff;
    color: var(--primary);
    border: 1px solid #ccfbf1;
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 12px;
    font-weight: 950;
}

.public-sample-arrow {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: #ecfeff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.public-sample-details {
    display: none;
    border-top: 1px solid var(--line);
    padding: 16px;
    background: #f8fafc;
}

.public-sample-bundle-card.open .public-sample-details {
    display: block;
}

.public-sample-detail-head h3 {
    margin: 0 0 5px;
    color: var(--dark);
}

.public-sample-detail-head p {
    margin: 0 0 14px;
    color: var(--muted);
    line-height: 1.6;
}

.public-sample-images {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.public-sample-images img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 16px;
    cursor: pointer;
    background: #e8edf5;
    transition: .18s ease;
}

.public-sample-images img:hover {
    transform: scale(1.03);
}

/* =========================
   PUBLIC IMAGE PREVIEW
========================= */

.image-preview-modal {
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,.82);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.image-preview-modal.show {
    display: flex;
}

.image-preview-box {
    width: min(900px, 96vw);
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 90px rgba(0,0,0,.35);
    position: relative;
    z-index: 999999;
}

.image-preview-box img {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    background: #0f172a;
    display: block;
}

.image-preview-text {
    padding: 16px;
}

.image-preview-text h3 {
    margin: 0 0 5px;
    color: var(--dark);
}

.image-preview-text p {
    margin: 0;
    color: var(--muted);
}

#imagePreviewCount {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-weight: 900;
}

.image-preview-close {
    position: fixed;
    right: 22px;
    top: 18px;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #e2e8f0;
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 15px 35px rgba(0,0,0,.22);
    padding: 0;
    z-index: 1000000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-preview-close:hover {
    background: #fee2e2;
    color: #991b1b;
    transform: scale(1.04);
}

.image-preview-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 58px;
    height: 58px;
    border-radius: 999px;
    background: rgba(255,255,255,.96);
    color: #0f172a;
    border: 1px solid #e2e8f0;
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    padding: 0 0 5px;
    box-shadow: 0 18px 45px rgba(0,0,0,.25);
    z-index: 1000000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-preview-prev {
    left: 24px;
}

.image-preview-next {
    right: 24px;
}

.image-preview-nav:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.06);
}

/* =========================
   PUBLIC ARTISAN MOBILE
========================= */

@media (max-width: 900px) {
    .artisan-public-hero {
        grid-template-columns: 1fr;
    }

    .artisan-public-image img {
        max-height: 360px;
    }

    .artisan-public-grid {
        grid-template-columns: 1fr;
    }

    .public-sample-images {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .artisan-public-page {
        width: 94%;
        margin-top: 16px;
    }

    .artisan-public-hero {
        padding: 16px;
        border-radius: 24px;
        gap: 16px;
    }

    .artisan-public-image img {
        border-radius: 20px;
        max-height: none;
    }

    .artisan-public-info h1 {
        font-size: 30px;
    }

    .artisan-public-info h2 {
        font-size: 23px;
    }

    .artisan-public-actions .btn {
        width: 100%;
    }

    .artisan-section-card {
        padding: 16px;
        border-radius: 22px;
    }

    .public-sample-bundle-top {
        grid-template-columns: 82px 1fr auto;
        gap: 10px;
        padding: 11px;
    }

    .public-sample-cover img,
    .sample-no-cover {
        width: 82px;
        height: 82px;
        border-radius: 15px;
    }

    .public-sample-info h3 {
        font-size: 15px;
    }

    .public-sample-info p {
        font-size: 12.5px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .public-sample-arrow {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }

    .public-sample-images {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .image-preview-modal {
        padding: 14px;
        align-items: center;
    }

    .image-preview-box {
        width: 100%;
        max-width: 100%;
        border-radius: 18px;
        margin: 0 0 72px;
        overflow: hidden;
    }

    .image-preview-box img {
        max-height: 62vh;
        width: 100%;
        object-fit: contain;
        background: #0f172a;
    }

    .image-preview-text {
        padding: 13px;
    }

    .image-preview-text h3 {
        font-size: 15px;
        line-height: 1.3;
        margin-bottom: 4px;
    }

    .image-preview-text p {
        font-size: 13px;
        line-height: 1.5;
    }

    #imagePreviewCount {
        font-size: 12px;
        margin-top: 6px;
    }

    .image-preview-close {
        position: fixed;
        top: 12px;
        right: 12px;
        width: 42px;
        height: 42px;
        border-radius: 999px;
        background: #ffffff;
        color: #0f172a;
        border: 1px solid #e2e8f0;
        font-size: 28px;
        font-weight: 950;
        line-height: 1;
        padding: 0;
        z-index: 1000001;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 14px 35px rgba(0,0,0,.22);
    }

    .image-preview-close:hover {
        background: #ffffff;
        color: #0f172a;
        transform: none;
    }

    .image-preview-nav {
        position: fixed;
        top: auto;
        bottom: 16px;
        transform: none;
        width: 50px;
        height: 50px;
        border-radius: 999px;
        background: #ffffff;
        color: #0f172a;
        border: 1px solid #e2e8f0;
        font-size: 38px;
        font-weight: 800;
        line-height: 1;
        padding: 0 0 5px;
        z-index: 1000001;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 16px 38px rgba(0,0,0,.24);
    }

    .image-preview-prev {
        left: calc(50% - 62px);
        right: auto;
    }

    .image-preview-next {
        right: calc(50% - 62px);
        left: auto;
    }

    .image-preview-nav:hover {
        background: #ffffff;
        color: #0f172a;
        transform: none;
    }
}

@media (max-width: 380px) {
    .image-preview-nav {
        width: 46px;
        height: 46px;
        font-size: 34px;
    }

    .image-preview-prev {
        left: calc(50% - 56px);
    }

    .image-preview-next {
        right: calc(50% - 56px);
    }

    .image-preview-close {
        width: 40px;
        height: 40px;
        font-size: 26px;
    }
}

/* =========================
   ADMIN LOGIN PAGE
========================= */

.admin-login-page {
    width: 92%;
    max-width: 560px;
    margin: 34px auto 44px;
    min-height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-login-card {
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 30px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.admin-login-head {
    text-align: center;
    margin-bottom: 22px;
}

.admin-login-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 12px;
    border-radius: 24px;
    background: #ecfeff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.admin-login-head h1 {
    margin: 10px 0 8px;
    color: var(--dark);
    font-size: clamp(28px, 5vw, 38px);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.admin-login-head p {
    margin: 0 auto;
    max-width: 430px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

.admin-login-form label {
    display: block;
    margin: 14px 0 7px;
    color: var(--dark);
    font-weight: 900;
}

.admin-login-form .input {
    height: 48px;
}

.admin-login-btn {
    width: 100%;
    height: 50px;
    margin-top: 20px;
    border-radius: 16px;
}

@media (max-width: 760px) {
    .admin-login-page {
        width: 94%;
        margin: 22px auto 34px;
        align-items: flex-start;
    }

    .admin-login-card {
        padding: 22px;
        border-radius: 24px;
    }

    .admin-login-icon {
        width: 58px;
        height: 58px;
        border-radius: 20px;
        font-size: 28px;
    }

    .admin-login-head h1 {
        font-size: 30px;
    }

    .admin-login-head p {
        font-size: 14px;
    }

    .admin-login-form .input {
        height: 46px;
    }

    .admin-login-btn {
        height: 48px;
    }
}

@media (max-width: 380px) {
    .admin-login-card {
        padding: 18px;
    }

    .admin-login-head h1 {
        font-size: 27px;
    }

    .admin-login-head p {
        font-size: 13px;
    }
}


/* =========================
   ADMIN DASHBOARD LAYOUT
========================= */

.admin-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 280px 1fr;
    background: #f6f8fb;
}

.admin-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    background: #0f172a;
    color: #ffffff;
    padding: 20px;
    overflow-y: auto;
    z-index: 3000;
}

.admin-sidebar-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 18px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.admin-logo {
    width: 48px;
    height: 48px;
    border-radius: 17px;
    background: rgba(255,255,255,.10);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.admin-sidebar-head h2 {
    margin: 0;
    font-size: 18px;
    color: #ffffff;
}

.admin-sidebar-head p {
    margin: 3px 0 0;
    color: #cbd5e1;
    font-size: 13px;
    max-width: 170px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.admin-nav {
    display: grid;
    gap: 7px;
}

.admin-nav-title {
    display: block;
    margin: 14px 0 3px;
    padding: 0 8px;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e2e8f0;
    padding: 12px 13px;
    border-radius: 14px;
    font-weight: 850;
    transition: .18s ease;
}

.admin-nav a:hover {
    background: rgba(255,255,255,.10);
    color: #ffffff;
}

.admin-nav .logout-link {
    background: rgba(239,68,68,.14);
    color: #fecaca;
}

.admin-nav .logout-link:hover {
    background: rgba(239,68,68,.24);
    color: #ffffff;
}

.admin-main-wrap {
    min-width: 0;
}

.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: 76px;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid #e5e7eb;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.admin-topbar h1 {
    margin: 0;
    color: var(--dark);
    font-size: 24px;
    letter-spacing: -0.04em;
}

.admin-topbar p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.admin-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 15px;
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-sm);
    font-size: 23px;
    padding: 0;
    flex-shrink: 0;
}

.admin-view-btn {
    margin-left: auto;
    background: var(--primary);
    color: #ffffff;
    border-radius: 999px;
    padding: 11px 15px;
    font-weight: 900;
    box-shadow: 0 8px 20px rgba(15,118,110,.18);
    white-space: nowrap;
}

.admin-main {
    padding: 24px;
    min-width: 0;
}

/* Keep old dash pages clean */
.admin-main .stats {
    margin-bottom: 18px;
}

.admin-main .card {
    border-radius: 22px;
}

/* Mobile */
@media (max-width: 900px) {
    .admin-shell {
        display: block;
    }

    .admin-sidebar {
        position: fixed;
        top: 0;
        left: -300px;
        width: 280px;
        max-width: calc(100vw - 42px);
        height: 100vh;
        transition: .22s ease;
        box-shadow: 25px 0 70px rgba(15,23,42,.25);
    }

    .admin-sidebar.show {
        left: 0;
    }

    .admin-topbar {
        padding: 12px;
        min-height: 66px;
    }

    .admin-menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .admin-topbar h1 {
        font-size: 19px;
    }

    .admin-topbar p {
        display: none;
    }

    .admin-view-btn {
        display: none;
    }

    .admin-main {
        padding: 16px 12px;
    }

    .admin-main .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .admin-main .stat {
        padding: 15px;
        border-radius: 18px;
    }

    .admin-main .table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .admin-main .row {
        grid-template-columns: 1fr;
    }

    .admin-main .btn,
    .admin-main button {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .admin-main .stats {
        grid-template-columns: 1fr;
    }

    .admin-topbar h1 {
        font-size: 17px;
    }

    .admin-sidebar {
        width: 270px;
    }
}

/* =========================
   ADMIN DASHBOARD PAGE
========================= */

.admin-dashboard-page {
    display: grid;
    gap: 18px;
}

.admin-dashboard-hero {
    background: linear-gradient(135deg, #ecfeff, #ffffff);
    border: 1px solid #d9f3f0;
    border-radius: 28px;
    padding: 26px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.admin-small-badge {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    color: var(--primary);
    border: 1px solid #ccfbf1;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 950;
    margin-bottom: 12px;
}

.admin-dashboard-hero h2 {
    margin: 0 0 8px;
    color: var(--dark);
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.admin-dashboard-hero p {
    margin: 0;
    color: var(--muted);
    max-width: 650px;
    line-height: 1.7;
}

.admin-dashboard-hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.admin-stat-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
    transition: .2s ease;
}

.admin-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: #99f6e4;
}

.admin-stat-card span {
    display: block;
    color: var(--muted);
    font-weight: 950;
    font-size: 13px;
}

.admin-stat-card strong {
    display: block;
    margin: 8px 0 5px;
    color: var(--primary);
    font-size: 34px;
    line-height: 1;
    letter-spacing: -0.05em;
}

.admin-stat-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.admin-stat-card.success strong {
    color: #16a34a;
}

.admin-stat-card.warning strong {
    color: #f59e0b;
}

.admin-stat-card.danger strong {
    color: #dc2626;
}

.admin-stat-card.purple strong {
    color: #7c3aed;
}

.admin-quick-actions {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 22px;
    box-shadow: var(--shadow-sm);
}

.admin-section-title {
    margin-bottom: 16px;
}

.admin-section-title h2 {
    margin: 0 0 5px;
    color: var(--dark);
    font-size: 26px;
    letter-spacing: -0.04em;
}

.admin-section-title p {
    margin: 0;
    color: var(--muted);
}

.admin-action-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.admin-action-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    padding: 18px;
    transition: .2s ease;
}

.admin-action-card:hover {
    background: #ecfeff;
    border-color: #99f6e4;
    transform: translateY(-3px);
}

.admin-action-card div {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: #ffffff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
}

.admin-action-card h3 {
    margin: 0 0 7px;
    color: var(--dark);
    font-size: 17px;
}

.admin-action-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

/* Mobile */
@media (max-width: 1100px) {
    .admin-stats-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .admin-action-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .admin-dashboard-hero {
        flex-direction: column;
        align-items: flex-start;
        padding: 22px;
        border-radius: 22px;
    }

    .admin-dashboard-hero h2 {
        font-size: 30px;
    }

    .admin-dashboard-hero-actions {
        width: 100%;
        flex-direction: column;
    }

    .admin-dashboard-hero-actions .btn {
        width: 100%;
    }

    .admin-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .admin-stat-card {
        padding: 16px;
        border-radius: 18px;
    }

    .admin-stat-card strong {
        font-size: 29px;
    }

    .admin-stat-card p {
        font-size: 12.5px;
    }

    .admin-quick-actions {
        padding: 16px;
        border-radius: 22px;
    }

    .admin-action-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .admin-action-card {
        padding: 16px;
        border-radius: 18px;
    }
}

@media (max-width: 420px) {
    .admin-stats-grid {
        grid-template-columns: 1fr;
    }

    .admin-dashboard-hero h2 {
        font-size: 27px;
    }
}


/* =========================
   ADMIN VENDORS PAGE
========================= */

.admin-vendors-page {
    display: grid;
    gap: 18px;
}

.admin-vendor-form-card,
.admin-list-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 22px;
    box-shadow: var(--shadow-sm);
}

.admin-form-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.admin-form-head h2 {
    margin: 0 0 5px;
    color: var(--dark);
    font-size: 26px;
    letter-spacing: -0.04em;
}

.admin-form-head p {
    margin: 0;
    color: var(--muted);
}

.admin-vendor-form-card label {
    display: block;
    margin: 14px 0 7px;
    color: var(--dark);
    font-weight: 900;
}

.admin-vendor-form-card .input,
.admin-vendor-form-card select,
.admin-vendor-form-card textarea {
    width: 100%;
}

.admin-check-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.admin-check-grid label {
    margin: 0;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 12px;
    font-weight: 900;
    color: var(--dark);
    display: flex;
    gap: 8px;
    align-items: center;
}

.admin-form-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.admin-form-actions button,
.admin-form-actions .btn {
    min-width: 150px;
}

/* Vendor cards */
.admin-vendor-list {
    display: grid;
    gap: 12px;
}

.admin-vendor-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 15px;
    box-shadow: var(--shadow-sm);
}

.admin-vendor-main {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    min-width: 0;
}

.admin-vendor-avatar {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: #ecfeff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 950;
    flex-shrink: 0;
}

.admin-vendor-info {
    min-width: 0;
}

.admin-vendor-info h3 {
    margin: 0 0 5px;
    color: var(--dark);
    font-size: 18px;
    line-height: 1.25;
}

.admin-vendor-info p {
    margin: 0 0 4px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.admin-vendor-info small {
    display: block;
    color: var(--muted);
    font-size: 12.5px;
    word-break: break-word;
}

.admin-vendor-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 9px;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 11px;
    font-weight: 950;
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #e2e8f0;
}

.status-approved,
.status-active {
    background: #dcfce7;
    color: #166534;
    border-color: #bbf7d0;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
    border-color: #fde68a;
}

.status-blocked {
    background: #fee2e2;
    color: #991b1b;
    border-color: #fecaca;
}

.status-pill.top {
    background: #ede9fe;
    color: #6d28d9;
    border-color: #ddd6fe;
}

.status-pill.auto {
    background: #ecfeff;
    color: #0f766e;
    border-color: #99f6e4;
}

.admin-vendor-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 7px;
    max-width: 440px;
}

.admin-vendor-actions .mini-link {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 950;
    color: var(--primary);
}

.admin-vendor-actions .mini-link:hover {
    background: #ecfeff;
    border-color: #99f6e4;
}

.admin-vendor-actions .danger {
    color: #dc2626 !important;
    background: #fff1f2;
    border-color: #fecdd3;
}

/* Mobile */
@media (max-width: 900px) {
    .admin-vendor-card {
        grid-template-columns: 1fr;
    }

    .admin-vendor-actions {
        max-width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 760px) {
    .admin-vendor-form-card,
    .admin-list-card {
        padding: 16px;
        border-radius: 22px;
    }

    .admin-form-head {
        flex-direction: column;
    }

    .admin-form-head .btn {
        width: 100%;
    }

    .admin-vendor-form-card .row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .admin-check-grid {
        grid-template-columns: 1fr;
    }

    .admin-form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-form-actions button,
    .admin-form-actions .btn {
        width: 100%;
        min-width: 0;
    }

    .admin-vendor-card {
        padding: 13px;
        border-radius: 18px;
    }

    .admin-vendor-avatar {
        width: 48px;
        height: 48px;
        border-radius: 16px;
        font-size: 21px;
    }

    .admin-vendor-info h3 {
        font-size: 16px;
    }

    .admin-vendor-info p {
        font-size: 13px;
    }

    .admin-vendor-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    .admin-vendor-actions .mini-link {
        text-align: center;
        justify-content: center;
        border-radius: 13px;
        padding: 9px 8px;
        display: flex;
    }
}

@media (max-width: 380px) {
    .admin-vendor-main {
        gap: 10px;
    }

    .admin-vendor-actions {
        grid-template-columns: 1fr;
    }
}

/* =========================
   ADMIN ARTISANS NEW PAGE
========================= */

.admin-artisans-page {
    display: grid;
    gap: 18px;
}

/* Simple list */
.admin-simple-worker-list {
    display: grid;
    gap: 12px;
}

.admin-simple-worker-card {
    display: grid;
    grid-template-columns: 64px 1fr auto auto;
    gap: 14px;
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 14px;
    box-shadow: var(--shadow-sm);
}

.admin-simple-worker-img {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: #ecfeff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 950;
    overflow: hidden;
}

.admin-simple-worker-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-simple-worker-info {
    min-width: 0;
}

.admin-simple-worker-info h3 {
    margin: 0 0 5px;
    color: var(--dark);
    font-size: 18px;
    line-height: 1.25;
}

.admin-simple-worker-info p {
    margin: 0 0 4px;
    color: var(--muted);
    font-size: 14px;
}

.admin-simple-worker-info small {
    display: block;
    color: var(--muted);
    word-break: break-word;
}

.admin-simple-worker-status {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
}

.admin-simple-worker-action .btn {
    min-width: 88px;
}

/* Detail */
.admin-worker-detail-card,
.admin-worker-edit-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 22px;
    box-shadow: var(--shadow-sm);
}

.admin-worker-detail-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.admin-worker-detail-left {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 0;
}

.admin-worker-detail-img {
    width: 92px;
    height: 92px;
    border-radius: 28px;
    background: #ecfeff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    font-weight: 950;
    overflow: hidden;
    flex-shrink: 0;
}

.admin-worker-detail-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-worker-detail-left h2 {
    margin: 0 0 6px;
    color: var(--dark);
    font-size: 30px;
    letter-spacing: -0.04em;
}

.admin-worker-detail-left p {
    margin: 0;
    color: var(--muted);
}

.admin-worker-detail-actions {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* Toggle switches */
.admin-worker-switches {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    margin-bottom: 18px;
}

.toggle-switch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: #334155;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 8px 12px;
    font-weight: 950;
    font-size: 13px;
}

.toggle-switch span {
    width: 34px;
    height: 20px;
    border-radius: 999px;
    background: #cbd5e1;
    position: relative;
    flex-shrink: 0;
}

.toggle-switch span::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    left: 2px;
    top: 2px;
    border-radius: 999px;
    background: #ffffff;
    transition: .18s ease;
}

.toggle-switch.on {
    background: #ecfeff;
    color: var(--primary);
    border-color: #99f6e4;
}

.toggle-switch.on span {
    background: var(--primary);
}

.toggle-switch.on span::after {
    left: 16px;
}

.toggle-switch.danger.on {
    background: #fff1f2;
    color: #dc2626;
    border-color: #fecdd3;
}

.toggle-switch.danger.on span {
    background: #dc2626;
}

/* Detail info */
.admin-worker-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.admin-worker-info-grid > div {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 14px;
}

.admin-worker-info-grid > div.wide {
    grid-column: 1 / -1;
}

.admin-worker-info-grid b {
    display: block;
    color: var(--dark);
    margin-bottom: 5px;
    font-size: 13px;
}

.admin-worker-info-grid p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
    word-break: break-word;
}

.admin-worker-danger-zone {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

/* Edit form */
.admin-worker-edit-card label {
    display: block;
    margin: 14px 0 7px;
    color: var(--dark);
    font-weight: 900;
}

.admin-worker-edit-card .input,
.admin-worker-edit-card select,
.admin-worker-edit-card textarea {
    width: 100%;
}

/* Reuse status pill */
.status-pill.verified {
    background: #dcfce7;
    color: #166534;
    border-color: #bbf7d0;
}

.status-pill.featured {
    background: #ede9fe;
    color: #6d28d9;
    border-color: #ddd6fe;
}

/* Mobile */
@media (max-width: 900px) {
    .admin-simple-worker-card {
        grid-template-columns: 58px 1fr;
    }

    .admin-simple-worker-status,
    .admin-simple-worker-action {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    .admin-simple-worker-action .btn {
        width: 100%;
    }

    .admin-worker-detail-head {
        flex-direction: column;
    }

    .admin-worker-detail-actions {
        width: 100%;
        flex-direction: column;
    }

    .admin-worker-detail-actions .btn {
        width: 100%;
    }

    .admin-worker-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .admin-worker-detail-card,
    .admin-worker-edit-card {
        padding: 16px;
        border-radius: 22px;
    }

    .admin-simple-worker-card {
        padding: 12px;
        border-radius: 18px;
        gap: 10px;
    }

    .admin-simple-worker-img {
        width: 54px;
        height: 54px;
        border-radius: 17px;
        font-size: 21px;
    }

    .admin-simple-worker-info h3 {
        font-size: 16px;
    }

    .admin-simple-worker-info p,
    .admin-simple-worker-info small {
        font-size: 13px;
    }

    .admin-worker-detail-left {
        align-items: flex-start;
    }

    .admin-worker-detail-img {
        width: 72px;
        height: 72px;
        border-radius: 22px;
        font-size: 28px;
    }

    .admin-worker-detail-left h2 {
        font-size: 24px;
    }

    .admin-worker-switches {
        display: grid;
        grid-template-columns: 1fr;
        padding: 12px;
    }

    .toggle-switch {
        justify-content: space-between;
        border-radius: 16px;
        padding: 11px 12px;
    }

    .admin-worker-info-grid {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .admin-worker-edit-card .row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* ADMIN PRODUCT EXTRA IMAGES */
.admin-product-images {
    margin-top: 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 16px;
}

.admin-product-images h3 {
    margin: 0 0 12px;
    color: var(--dark);
}

.admin-product-image-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.admin-product-image-grid img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 14px;
    background: #e8edf5;
}

@media (max-width: 760px) {
    .admin-product-image-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.admin-place-gallery-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 8px;
}

.admin-place-gallery-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.admin-place-gallery-card a {
    display: flex;
    justify-content: center;
    margin-top: 7px;
    font-size: 12px;
    font-weight: 950;
}

/* ADMIN HERO SLIDES */
.admin-slide-thumb,
.admin-slide-list-img {
    border-radius: 18px;
}

.admin-slide-preview {
    margin: 16px 0;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 12px;
}

.admin-slide-preview label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark);
    font-weight: 900;
}

.admin-slide-preview img {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
    background: #e8edf5;
}

@media (max-width: 760px) {
    .admin-slide-preview img {
        max-height: 220px;
    }
}

/* USER DASHBOARD */
.user-dashboard-page {
    width: 92%;
    max-width: 1100px;
    margin: 30px auto 50px;
    display: grid;
    gap: 18px;
}

.user-dashboard-hero {
    background: linear-gradient(135deg, #0f172a, #0f766e);
    color: #fff;
    border-radius: 30px;
    padding: 26px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: var(--shadow);
}

.user-dashboard-avatar {
    width: 76px;
    height: 76px;
    border-radius: 26px;
    background: rgba(255,255,255,.16);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    font-weight: 950;
    flex-shrink: 0;
}

.user-dashboard-hero h1 {
    margin: 8px 0 8px;
    font-size: clamp(28px, 5vw, 42px);
    letter-spacing: -.05em;
    line-height: 1.05;
}

.user-dashboard-hero p {
    margin: 0;
    color: rgba(255,255,255,.82);
    line-height: 1.7;
}

.user-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.user-dashboard-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-sm);
    color: var(--dark);
}

.user-dashboard-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.user-dashboard-card.highlight {
    background: #ecfeff;
    border-color: #99f6e4;
}

.user-dashboard-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.user-dashboard-card.highlight .user-dashboard-icon {
    background: #0f766e;
    color: #fff;
}

.user-dashboard-card b {
    display: block;
    color: var(--dark);
    font-size: 24px;
    line-height: 1.1;
}

.user-dashboard-card span {
    display: block;
    color: var(--muted);
    margin-top: 4px;
    font-size: 14px;
}

.user-dashboard-actions {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    box-shadow: var(--shadow-sm);
}

@media (max-width: 860px) {
    .user-dashboard-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .user-dashboard-page {
        width: 94%;
        margin-top: 20px;
    }

    .user-dashboard-hero {
        padding: 20px;
        border-radius: 24px;
        align-items: flex-start;
    }

    .user-dashboard-avatar {
        width: 58px;
        height: 58px;
        border-radius: 20px;
        font-size: 26px;
    }

    .user-dashboard-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .user-dashboard-card {
        border-radius: 20px;
        padding: 15px;
    }

    .user-dashboard-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .user-dashboard-actions .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

/* USER ACCOUNT SETTINGS */
.account-settings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.account-settings-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: 22px;
    box-shadow: var(--shadow-sm);
}

.account-settings-head {
    margin-bottom: 18px;
}

.account-settings-head h2 {
    margin: 0 0 6px;
    color: var(--dark);
    font-size: 24px;
    letter-spacing: -.04em;
}

.account-settings-head p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.account-settings-card label {
    display: block;
    margin: 14px 0 7px;
    color: var(--dark);
    font-weight: 900;
}

.account-settings-card .input {
    width: 100%;
}

.account-settings-actions {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

@media (max-width: 860px) {
    .account-settings-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .account-settings-card {
        padding: 18px;
        border-radius: 22px;
    }

    .account-settings-card .row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .account-settings-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .account-settings-actions button,
    .account-settings-actions .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

/* CART PAGE */
.cart-page {
    width: 92%;
    max-width: 1180px;
    margin: 28px auto 50px;
    display: grid;
    gap: 18px;
}

.cart-hero {
    background: linear-gradient(135deg, #0f172a, #0f766e);
    color: #fff;
    border-radius: 30px;
    padding: 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    box-shadow: var(--shadow);
}

.cart-hero h1 {
    margin: 8px 0;
    font-size: clamp(30px, 5vw, 46px);
    line-height: 1.05;
    letter-spacing: -.05em;
}

.cart-hero p {
    margin: 0;
    color: rgba(255,255,255,.82);
    line-height: 1.7;
}

.cart-hero-total {
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 22px;
    padding: 16px 20px;
    min-width: 180px;
    text-align: right;
}

.cart-hero-total span {
    display: block;
    color: rgba(255,255,255,.75);
    font-size: 13px;
    margin-bottom: 6px;
}

.cart-hero-total b {
    font-size: 26px;
    color: #fff;
}

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 18px;
    align-items: start;
}

.cart-groups {
    display: grid;
    gap: 18px;
}

.cart-vendor-card,
.cart-summary-card,
.cart-empty-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 26px;
    box-shadow: var(--shadow-sm);
}

.cart-vendor-card {
    overflow: hidden;
}

.cart-vendor-head {
    padding: 18px;
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

.cart-vendor-head h2 {
    margin: 8px 0 5px;
    color: var(--dark);
    font-size: 24px;
    letter-spacing: -.04em;
}

.cart-vendor-head p {
    margin: 0;
    color: var(--muted);
}

.cart-vendor-head strong {
    color: var(--primary);
    font-size: 22px;
    white-space: nowrap;
}

.cart-item-list {
    display: grid;
}

.cart-item-card {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr) auto auto auto;
    gap: 14px;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
}

.cart-item-img {
    width: 82px;
    height: 82px;
    border-radius: 18px;
    overflow: hidden;
    background: #f1f5f9;
}

.cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info {
    min-width: 0;
}

.cart-item-info h3 {
    margin: 0 0 6px;
    font-size: 16px;
    line-height: 1.35;
}

.cart-item-info h3 a {
    color: var(--dark);
}

.cart-item-info p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.cart-mobile-price {
    display: none;
    color: var(--primary);
    font-weight: 950;
    margin-top: 5px;
}

.cart-qty-control {
    white-space: nowrap;
}

.cart-item-total {
    color: var(--dark);
    font-weight: 950;
    white-space: nowrap;
}

.cart-remove-btn {
    color: #dc2626;
    font-size: 13px;
    font-weight: 950;
    white-space: nowrap;
}

.cart-vendor-foot {
    padding: 16px 18px;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    background: #f8fafc;
}

.cart-vendor-foot span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 4px;
}

.cart-vendor-foot b {
    color: var(--dark);
    font-size: 22px;
}

.cart-checkout-btn {
    white-space: nowrap;
}

.cart-summary-card {
    padding: 20px;
    position: sticky;
    top: 90px;
}

.cart-summary-card h2 {
    margin: 0 0 16px;
    color: var(--dark);
    font-size: 24px;
    letter-spacing: -.04em;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
}

.cart-summary-row b {
    color: var(--dark);
}

.cart-summary-row.total {
    font-size: 18px;
}

.cart-summary-row.total b {
    color: var(--primary);
}

.cart-summary-card p {
    color: var(--muted);
    line-height: 1.7;
    font-size: 14px;
}

.cart-summary-card .btn {
    width: 100%;
    justify-content: center;
}

.cart-empty-card {
    padding: 36px 20px;
    text-align: center;
}

.cart-empty-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 14px;
    border-radius: 26px;
    background: #ecfeff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
}

.cart-empty-card h2 {
    margin: 0 0 8px;
    color: var(--dark);
}

.cart-empty-card p {
    color: var(--muted);
    margin-bottom: 18px;
}

@media (max-width: 980px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-summary-card {
        position: static;
    }
}

@media (max-width: 700px) {
    .cart-page {
        width: 94%;
        margin-top: 20px;
    }

    .cart-hero {
        border-radius: 24px;
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
    }

    .cart-hero-total {
        width: 100%;
        text-align: left;
    }

    .cart-vendor-card,
    .cart-summary-card,
    .cart-empty-card {
        border-radius: 22px;
    }

    .cart-vendor-head,
    .cart-vendor-foot {
        flex-direction: column;
        align-items: flex-start;
    }

    .cart-checkout-btn {
        width: 100%;
        justify-content: center;
        text-align: center;
        white-space: normal;
    }

    .cart-item-card {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 12px;
        padding: 14px;
    }

    .cart-item-img {
        width: 72px;
        height: 72px;
        border-radius: 16px;
    }

    .cart-qty-control,
    .cart-remove-btn {
        grid-column: 2;
    }

    .cart-item-total {
        display: none;
    }

    .cart-mobile-price {
        display: block;
    }

    .cart-remove-btn {
        width: fit-content;
    }
}

/* FAVOURITES PAGE */
.favourites-page {
    width: 92%;
    max-width: 1180px;
    margin: 28px auto 50px;
    display: grid;
    gap: 18px;
}

.favourites-hero {
    background: linear-gradient(135deg, #0f172a, #0f766e);
    color: #fff;
    border-radius: 30px;
    padding: 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    box-shadow: var(--shadow);
}

.favourites-hero h1 {
    margin: 8px 0;
    font-size: clamp(30px, 5vw, 46px);
    line-height: 1.05;
    letter-spacing: -.05em;
}

.favourites-hero p {
    margin: 0;
    color: rgba(255,255,255,.82);
    line-height: 1.7;
}

.favourites-count {
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 22px;
    padding: 16px 20px;
    min-width: 150px;
    text-align: right;
}

.favourites-count span {
    display: block;
    color: rgba(255,255,255,.75);
    font-size: 13px;
    margin-bottom: 6px;
}

.favourites-count b {
    font-size: 30px;
    color: #fff;
}

.favourites-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.favourite-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.favourite-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.favourite-img {
    position: relative;
    display: block;
    background: #f1f5f9;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.favourite-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.favourite-img span {
    position: absolute;
    left: 10px;
    top: 10px;
    background: rgba(15,23,42,.88);
    color: #fff;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 900;
}

.favourite-body {
    padding: 14px;
    display: grid;
    gap: 7px;
    flex: 1;
}

.favourite-body h3 {
    margin: 0;
    font-size: 16px;
    line-height: 1.35;
}

.favourite-body h3 a {
    color: var(--dark);
}

.favourite-price {
    color: var(--primary);
    font-size: 18px;
    font-weight: 950;
}

.favourite-stars {
    color: #f59e0b;
    font-size: 13px;
    font-weight: 800;
}

.favourite-stars span {
    color: var(--muted);
}

.favourite-shop,
.favourite-location {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.favourite-actions {
    padding: 14px;
    border-top: 1px solid var(--line);
    display: grid;
    gap: 9px;
}

.favourite-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
}

.favourite-remove {
    color: #dc2626;
    font-size: 13px;
    font-weight: 950;
    text-align: center;
}

.favourites-empty-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 26px;
    box-shadow: var(--shadow-sm);
    padding: 36px 20px;
    text-align: center;
}

.favourites-empty-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 14px;
    border-radius: 26px;
    background: #ecfeff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    font-weight: 950;
}

.favourites-empty-card h2 {
    margin: 0 0 8px;
    color: var(--dark);
}

.favourites-empty-card p {
    color: var(--muted);
    margin-bottom: 18px;
}

@media (max-width: 1050px) {
    .favourites-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .favourites-page {
        width: 94%;
        margin-top: 20px;
    }

    .favourites-hero {
        border-radius: 24px;
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
    }

    .favourites-count {
        width: 100%;
        text-align: left;
    }

    .favourites-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .favourite-card {
        border-radius: 20px;
    }
}

@media (max-width: 430px) {
    .favourites-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .favourite-body {
        padding: 10px;
        gap: 5px;
    }

    .favourite-body h3 {
        font-size: 13px;
        line-height: 1.35;
    }

    .favourite-price {
        font-size: 14px;
    }

    .favourite-stars,
    .favourite-shop,
    .favourite-location {
        font-size: 11px;
    }

    .favourite-actions {
        padding: 10px;
        gap: 7px;
    }

    .favourite-actions .btn {
        font-size: 12px;
        padding: 9px 8px;
        border-radius: 12px;
    }

    .favourite-remove {
        font-size: 12px;
    }

    .favourite-img span {
        font-size: 10px;
        padding: 4px 7px;
    }
}
/* SEARCH PAGE */
.search-page {
    width: 92%;
    max-width: 1180px;
    margin: 28px auto 50px;
    display: grid;
    gap: 18px;
}

.search-hero {
    background: linear-gradient(135deg, #0f172a, #0f766e);
    color: #fff;
    border-radius: 30px;
    padding: 26px;
    display: block;
    box-shadow: var(--shadow);
}

.search-hero h1 {
    margin: 8px 0;
    font-size: clamp(30px, 5vw, 46px);
    line-height: 1.05;
    letter-spacing: -.05em;
}

.search-hero p {
    margin: 0;
    max-width: 720px;
    color: rgba(255,255,255,.82);
    line-height: 1.7;
}

.search-filter-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 26px;
    box-shadow: var(--shadow-sm);
    padding: 18px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr auto;
    gap: 12px;
    align-items: end;
}

.search-filter-card label {
    display: block;
    color: var(--dark);
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 7px;
}

.search-filter-card .input,
.search-filter-card select {
    width: 100%;
    height: 46px;
}

.search-filter-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.search-filter-actions button,
.search-filter-actions .btn {
    height: 46px;
    white-space: nowrap;
}

.search-active-filter {
    background: #ecfeff;
    border: 1px solid #99f6e4;
    color: #0f766e;
    border-radius: 18px;
    padding: 12px 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.search-active-filter span {
    font-weight: 950;
}

.search-active-filter b {
    background: #fff;
    border: 1px solid #ccfbf1;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 13px;
}

.search-product-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.search-product-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.search-product-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.search-product-img {
    position: relative;
    display: block;
    background: #f1f5f9;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.search-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-product-img span {
    position: absolute;
    left: 10px;
    top: 10px;
    background: rgba(15,23,42,.88);
    color: #fff;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 900;
}

.search-product-body {
    padding: 12px;
    display: grid;
    gap: 5px;
    flex: 1;
}

.search-product-body h3 {
    margin: 0 0 2px;
    font-size: 15px;
    line-height: 1.3;
    min-height: auto;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.search-product-body h3 a {
    color: var(--dark);
}

.search-product-price {
    color: var(--primary);
    font-size: 17px;
    font-weight: 950;
    letter-spacing: -.03em;
}

.search-product-stars {
    color: #f59e0b;
    font-size: 12px;
    font-weight: 800;
}

.search-product-stars span {
    color: var(--muted);
}

.search-product-shop,
.search-product-location {
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.45;
}

.search-product-actions {
    padding: 12px;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.search-product-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
}

.search-empty-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 26px;
    box-shadow: var(--shadow-sm);
    padding: 36px 20px;
    text-align: center;
}

.search-empty-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 14px;
    border-radius: 26px;
    background: #ecfeff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
}

.search-empty-card h2 {
    margin: 0 0 8px;
    color: var(--dark);
}

.search-empty-card p {
    color: var(--muted);
    margin-bottom: 18px;
}

@media (max-width: 1150px) {
    .search-filter-card {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .search-filter-main {
        grid-column: 1 / -1;
    }

    .search-filter-actions {
        grid-column: 1 / -1;
    }

    .search-product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .search-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .search-page {
        width: 94%;
        margin-top: 20px;
    }

    .search-hero {
        border-radius: 24px;
        padding: 20px;
    }

    .search-filter-card {
        grid-template-columns: 1fr 1fr;
        border-radius: 22px;
        padding: 14px;
        gap: 10px;
    }

    .search-filter-main,
    .search-filter-actions {
        grid-column: 1 / -1;
    }

    .search-filter-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .search-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .search-product-card {
        border-radius: 20px;
    }
}

@media (max-width: 430px) {
    .search-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .search-product-body {
        padding: 10px;
        gap: 4px;
    }

    .search-product-body h3 {
        font-size: 13px;
        line-height: 1.3;
        margin-bottom: 1px;
    }

    .search-product-price {
        font-size: 14px;
    }

    .search-product-stars,
    .search-product-shop,
    .search-product-location {
        font-size: 11px;
    }

    .search-product-actions {
        padding: 10px;
        gap: 7px;
    }

    .search-product-actions .btn {
        font-size: 12px;
        padding: 9px 8px;
        border-radius: 12px;
    }

    .search-product-img span {
        font-size: 10px;
        padding: 4px 7px;
    }
}
.search-load-more-wrap {
    display: grid;
    place-items: center;
    gap: 10px;
    margin: 12px 0 0;
}

.search-load-more-btn {
    min-width: 230px;
    height: 48px;
    border-radius: 999px;
    font-weight: 950;
}

.search-load-more-btn:disabled {
    opacity: .65;
    cursor: not-allowed;
}

#loadMoreText {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

@media (max-width: 560px) {
    .search-load-more-btn {
        width: 100%;
    }
}

/* =========================
   WORKERS PAGE
========================= */

.workers-page {
    width: 92%;
    max-width: 1180px;
    margin: 28px auto 50px;
    display: grid;
    gap: 18px;
}

.workers-hero {
    background: linear-gradient(135deg, #0f172a, #0f766e);
    color: #fff;
    border-radius: 30px;
    padding: 26px;
    box-shadow: var(--shadow);
}

.workers-hero h1 {
    margin: 8px 0;
    font-size: clamp(30px, 5vw, 46px);
    line-height: 1.05;
    letter-spacing: -.05em;
}

.workers-hero p {
    margin: 0;
    max-width: 760px;
    color: rgba(255,255,255,.82);
    line-height: 1.7;
}

.workers-filter-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 26px;
    box-shadow: var(--shadow-sm);
    padding: 18px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: 12px;
    align-items: end;
}

.workers-filter-card label {
    display: block;
    color: var(--dark);
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 7px;
}

.workers-filter-card .input,
.workers-filter-card select {
    width: 100%;
    height: 46px;
}

.workers-filter-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.workers-filter-actions button,
.workers-filter-actions .btn {
    height: 46px;
    white-space: nowrap;
}

.workers-active-filter {
    background: #ecfeff;
    border: 1px solid #99f6e4;
    color: #0f766e;
    border-radius: 18px;
    padding: 12px 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.workers-active-filter span {
    font-weight: 950;
}

.workers-active-filter b {
    background: #fff;
    border: 1px solid #ccfbf1;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 13px;
}

.workers-section-title {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 12px;
    margin: 12px 0 -2px;
}

.workers-section-title span {
    display: block;
    color: var(--primary);
    font-size: 13px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 3px;
}

.workers-section-title h2 {
    margin: 0;
    color: var(--dark);
    font-size: clamp(22px, 3vw, 31px);
    letter-spacing: -0.045em;
}

.workers-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.worker-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: .2s ease;
}

.worker-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: #99f6e4;
}

.worker-img {
    position: relative;
    display: block;
    background: #f1f5f9;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.worker-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.worker-img span {
    position: absolute;
    left: 10px;
    top: 10px;
    max-width: calc(100% - 20px);
    background: rgba(15,23,42,.88);
    color: #fff;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.worker-body {
    padding: 12px;
    display: grid;
    gap: 5px;
    flex: 1;
}

.worker-body h3 {
    margin: 0 0 2px;
    font-size: 15px;
    line-height: 1.3;
    min-height: auto;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.worker-body h3 a {
    color: var(--dark);
}

.worker-price {
    color: var(--primary);
    font-size: 17px;
    font-weight: 950;
    letter-spacing: -.03em;
}

.worker-stars {
    color: #f59e0b;
    font-size: 12px;
    font-weight: 800;
}

.worker-stars span {
    color: var(--muted);
}

.worker-location {
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.45;
}

.worker-actions {
    padding: 12px;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.worker-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
}

.workers-empty-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 26px;
    box-shadow: var(--shadow-sm);
    padding: 36px 20px;
    text-align: center;
}

.workers-empty-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 14px;
    border-radius: 26px;
    background: #ecfeff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
}

.workers-empty-card h2 {
    margin: 0 0 8px;
    color: var(--dark);
}

.workers-empty-card p {
    color: var(--muted);
    margin-bottom: 18px;
}

.workers-load-more-wrap {
    display: grid;
    place-items: center;
    gap: 10px;
    margin: 12px 0 0;
}

.workers-load-more-btn {
    min-width: 230px;
    height: 48px;
    border-radius: 999px;
    font-weight: 950;
}

.workers-load-more-btn:disabled {
    opacity: .65;
    cursor: not-allowed;
}

#workersLoadMoreText {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

@media (max-width: 1150px) {
    .workers-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .workers-filter-card {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .workers-filter-main {
        grid-column: 1 / -1;
    }

    .workers-filter-actions {
        grid-column: 1 / -1;
    }
}

@media (max-width: 900px) {
    .workers-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .workers-page {
        width: 94%;
        margin-top: 20px;
    }

    .workers-hero {
        border-radius: 24px;
        padding: 20px;
    }

    .workers-filter-card {
        grid-template-columns: 1fr 1fr;
        border-radius: 22px;
        padding: 14px;
        gap: 10px;
    }

    .workers-filter-main,
    .workers-filter-actions {
        grid-column: 1 / -1;
    }

    .workers-filter-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .workers-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .worker-card {
        border-radius: 20px;
    }
}

@media (max-width: 430px) {
    .workers-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .worker-body {
        padding: 10px;
        gap: 4px;
    }

    .worker-body h3 {
        font-size: 13px;
        line-height: 1.3;
        margin-bottom: 1px;
    }

    .worker-price {
        font-size: 14px;
    }

    .worker-stars,
    .worker-location {
        font-size: 11px;
    }

    .worker-actions {
        padding: 10px;
        gap: 7px;
    }

    .worker-actions .btn {
        font-size: 12px;
        padding: 9px 8px;
        border-radius: 12px;
    }

    .worker-img span {
        font-size: 10px;
        padding: 4px 7px;
    }

    .workers-load-more-btn {
        width: 100%;
    }
}

/* =========================
   PLACES PAGE
========================= */

.places-page {
    width: 92%;
    max-width: 1180px;
    margin: 28px auto 50px;
    display: grid;
    gap: 18px;
}

.places-hero {
    background: linear-gradient(135deg, #0f172a, #0f766e);
    color: #fff;
    border-radius: 30px;
    padding: 26px;
    box-shadow: var(--shadow);
}

.places-hero h1 {
    margin: 8px 0;
    font-size: clamp(30px, 5vw, 46px);
    line-height: 1.05;
    letter-spacing: -.05em;
}

.places-hero p {
    margin: 0;
    max-width: 760px;
    color: rgba(255,255,255,.82);
    line-height: 1.7;
}

.places-filter-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 26px;
    box-shadow: var(--shadow-sm);
    padding: 18px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: 12px;
    align-items: end;
}

.places-filter-card label {
    display: block;
    color: var(--dark);
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 7px;
}

.places-filter-card .input,
.places-filter-card select {
    width: 100%;
    height: 46px;
}

.places-filter-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.places-filter-actions button,
.places-filter-actions .btn {
    height: 46px;
    white-space: nowrap;
}

.places-active-filter {
    background: #ecfeff;
    border: 1px solid #99f6e4;
    color: #0f766e;
    border-radius: 18px;
    padding: 12px 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.places-active-filter span {
    font-weight: 950;
}

.places-active-filter b {
    background: #fff;
    border: 1px solid #ccfbf1;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 13px;
}

.places-section-title {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 12px;
    margin: 12px 0 -2px;
}

.places-section-title span {
    display: block;
    color: var(--primary);
    font-size: 13px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 3px;
}

.places-section-title h2 {
    margin: 0;
    color: var(--dark);
    font-size: clamp(22px, 3vw, 31px);
    letter-spacing: -0.045em;
}

.places-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.place-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: .2s ease;
}

.place-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: #99f6e4;
}

.place-img {
    position: relative;
    display: block;
    background: #f1f5f9;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.place-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.place-img span {
    position: absolute;
    left: 10px;
    top: 10px;
    max-width: calc(100% - 20px);
    background: rgba(15,23,42,.88);
    color: #fff;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.place-body {
    padding: 12px;
    display: grid;
    gap: 5px;
    flex: 1;
}

.place-body h3 {
    margin: 0 0 2px;
    font-size: 15px;
    line-height: 1.3;
    min-height: auto;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.place-body h3 a {
    color: var(--dark);
}

.place-stars {
    color: #f59e0b;
    font-size: 12px;
    font-weight: 800;
}

.place-stars span {
    color: var(--muted);
}

.place-location {
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.45;
}

.place-actions {
    padding: 12px;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.place-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
}

.places-empty-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 26px;
    box-shadow: var(--shadow-sm);
    padding: 36px 20px;
    text-align: center;
}

.places-empty-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 14px;
    border-radius: 26px;
    background: #ecfeff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
}

.places-empty-card h2 {
    margin: 0 0 8px;
    color: var(--dark);
}

.places-empty-card p {
    color: var(--muted);
    margin-bottom: 18px;
}

.places-load-more-wrap {
    display: grid;
    place-items: center;
    gap: 10px;
    margin: 12px 0 0;
}

.places-load-more-btn {
    min-width: 230px;
    height: 48px;
    border-radius: 999px;
    font-weight: 950;
}

.places-load-more-btn:disabled {
    opacity: .65;
    cursor: not-allowed;
}

#placesLoadMoreText {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

@media (max-width: 1150px) {
    .places-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .places-filter-card {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .places-filter-main {
        grid-column: 1 / -1;
    }

    .places-filter-actions {
        grid-column: 1 / -1;
    }
}

@media (max-width: 900px) {
    .places-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .places-page {
        width: 94%;
        margin-top: 20px;
    }

    .places-hero {
        border-radius: 24px;
        padding: 20px;
    }

    .places-filter-card {
        grid-template-columns: 1fr 1fr;
        border-radius: 22px;
        padding: 14px;
        gap: 10px;
    }

    .places-filter-main,
    .places-filter-actions {
        grid-column: 1 / -1;
    }

    .places-filter-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .places-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .place-card {
        border-radius: 20px;
    }
}

@media (max-width: 430px) {
    .places-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .place-body {
        padding: 10px;
        gap: 4px;
    }

    .place-body h3 {
        font-size: 13px;
        line-height: 1.3;
        margin-bottom: 1px;
    }

    .place-stars,
    .place-location {
        font-size: 11px;
    }

    .place-actions {
        padding: 10px;
        gap: 7px;
    }

    .place-actions .btn {
        font-size: 12px;
        padding: 9px 8px;
        border-radius: 12px;
    }

    .place-img span {
        font-size: 10px;
        padding: 4px 7px;
    }

    .places-load-more-btn {
        width: 100%;
    }
}

/* PLACE DETAIL IMAGE PREVIEW */
.place-preview-gallery {
    display: grid;
    gap: 12px;
}

.place-preview-main {
    position: relative;
    background: #f1f5f9;
    border: 1px solid var(--line);
    border-radius: 26px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.place-preview-main img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.place-preview-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: rgba(15, 23, 42, .72);
    color: #fff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.place-preview-nav:hover {
    background: rgba(15, 23, 42, .9);
}

.place-preview-nav.prev {
    left: 12px;
}

.place-preview-nav.next {
    right: 12px;
}

.place-preview-counter {
    position: absolute;
    right: 12px;
    bottom: 12px;
    background: rgba(15, 23, 42, .78);
    color: #fff;
    border-radius: 999px;
    padding: 6px 11px;
    font-size: 12px;
    font-weight: 900;
}

.place-preview-thumbs {
    display: flex;
    gap: 9px;
    overflow-x: auto;
    padding: 4px 2px 8px;
    scrollbar-width: thin;
}

.place-preview-thumb {
    width: 76px;
    height: 76px;
    border: 2px solid transparent;
    border-radius: 18px;
    padding: 0;
    overflow: hidden;
    background: #f1f5f9;
    flex: 0 0 auto;
    cursor: pointer;
}

.place-preview-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.place-preview-thumb.active {
    border-color: var(--primary);
}

@media (max-width: 760px) {
    .place-preview-main {
        border-radius: 22px;
    }

    .place-preview-main img {
        aspect-ratio: 1 / 1;
    }

    .place-preview-nav {
        width: 36px;
        height: 36px;
        font-size: 28px;
    }

    .place-preview-thumb {
        width: 64px;
        height: 64px;
        border-radius: 15px;
    }
}

/* REPORT PAGE */
.report-page {
    width: 92%;
    max-width: 680px;
    margin: 30px auto 50px;
}

.report-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 30px;
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

.report-head {
    text-align: center;
    margin-bottom: 20px;
}

.report-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 14px;
    border-radius: 24px;
    background: #fff7ed;
    color: #ea580c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
}

.report-head h1 {
    margin: 10px 0 8px;
    color: var(--dark);
    font-size: clamp(28px, 5vw, 40px);
    letter-spacing: -.05em;
    line-height: 1.05;
}

.report-head p {
    margin: 0 auto;
    max-width: 500px;
    color: var(--muted);
    line-height: 1.7;
}

.report-form label {
    display: block;
    margin: 14px 0 7px;
    color: var(--dark);
    font-weight: 900;
}

.report-form .input,
.report-form select,
.report-form textarea {
    width: 100%;
}

.report-form textarea {
    min-height: 130px;
    resize: vertical;
}

.report-form button {
    width: 100%;
    height: 50px;
    margin-top: 18px;
    border-radius: 16px;
}

.report-foot {
    margin-top: 14px;
    text-align: center;
}

@media (max-width: 560px) {
    .report-page {
        width: 94%;
        margin-top: 22px;
    }

    .report-card {
        padding: 20px;
        border-radius: 24px;
    }

    .report-icon {
        width: 60px;
        height: 60px;
        border-radius: 20px;
        font-size: 30px;
    }
}


/* PRODUCT DETAIL IMAGE PREVIEW */
.product-preview-gallery {
    display: grid;
    gap: 12px;
}

.product-preview-main {
    position: relative;
    background: #f1f5f9;
    border: 1px solid var(--line);
    border-radius: 26px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.product-preview-main img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.product-preview-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: rgba(15, 23, 42, .72);
    color: #fff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.product-preview-nav:hover {
    background: rgba(15, 23, 42, .9);
}

.product-preview-nav.prev {
    left: 12px;
}

.product-preview-nav.next {
    right: 12px;
}

.product-preview-counter {
    position: absolute;
    right: 12px;
    bottom: 12px;
    background: rgba(15, 23, 42, .78);
    color: #fff;
    border-radius: 999px;
    padding: 6px 11px;
    font-size: 12px;
    font-weight: 900;
}

.product-preview-thumbs {
    display: flex;
    gap: 9px;
    overflow-x: auto;
    padding: 4px 2px 8px;
    scrollbar-width: thin;
}

.product-preview-thumb {
    width: 76px;
    height: 76px;
    border: 2px solid transparent;
    border-radius: 18px;
    padding: 0;
    overflow: hidden;
    background: #f1f5f9;
    flex: 0 0 auto;
    cursor: pointer;
}

.product-preview-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-preview-thumb.active {
    border-color: var(--primary);
}

.product-detail-page {
    margin-top: 24px;
}

.product-detail-card h1 {
    margin-top: 10px;
}

.product-detail-price {
    font-size: 32px;
}

.product-detail-actions {
    margin-top: 14px;
}

.product-rating-card {
    margin-top: 18px;
}

.product-rating-card label {
    display: block;
    margin: 14px 0 7px;
    font-weight: 900;
    color: var(--dark);
}

.product-rating-card .input,
.product-rating-card select,
.product-rating-card textarea {
    width: 100%;
}

.product-rating-card textarea {
    min-height: 120px;
    resize: vertical;
}

@media (max-width: 760px) {
    .product-preview-main {
        border-radius: 22px;
    }

    .product-preview-main img {
        aspect-ratio: 1 / 1;
    }

    .product-preview-nav {
        width: 36px;
        height: 36px;
        font-size: 28px;
    }

    .product-preview-thumb {
        width: 64px;
        height: 64px;
        border-radius: 15px;
    }

    .product-detail-price {
        font-size: 26px;
    }

    .product-detail-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .product-detail-actions .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

/* SMART HEADER SEARCH */
.top-search-smart {
    display: flex;
    align-items: center;
    gap: 0;
}

.top-search-type {
    height: 42px;
    border: 0;
    border-right: 1px solid #e2e8f0;
    background: #f8fafc;
    color: var(--dark);
    padding: 0 10px;
    font-weight: 900;
    outline: none;
    border-radius: 14px 0 0 14px;
}

.top-search-smart input {
    border-radius: 0;
}

.top-search-smart button {
    border-radius: 0 14px 14px 0;
}

@media (max-width: 760px) {
    .top-search-smart {
        width: 100%;
    }

    .top-search-type {
        width: 92px;
        font-size: 12px;
        padding: 0 6px;
    }

    .top-search-smart input {
        min-width: 0;
        font-size: 13px;
    }

    .top-search-smart button {
        padding-left: 10px;
        padding-right: 10px;
        font-size: 13px;
    }
}



/* =========================
   SMALL MODERN HEADER
========================= */

.topbar {
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.topbar-main {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--dark);
    font-weight: 950;
    letter-spacing: -.04em;
    white-space: nowrap;
}

.brand-icon {
    width: 40px;
    height: 40px;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--primary), #0f172a);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 950;
}

.brand b {
    font-size: 22px;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid #dbe4ef;
    background: #fff;
    border-radius: 15px;
    color: var(--dark);
    font-size: 24px;
    cursor: pointer;
}

.site-nav {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 9px 13px;
    border-radius: 999px;
    color: #334155;
    font-weight: 850;
    font-size: 14px;
}

.site-nav a:hover {
    background: #ecfeff;
    color: var(--primary);
}

.site-nav .sell {
    background: var(--primary);
    color: #fff;
    font-weight: 950;
}

.site-nav .sell:hover {
    background: #0f172a;
    color: #fff;
}

.nav-icon {
    position: relative;
}

.nav-icon em {
    min-width: 19px;
    height: 19px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-style: normal;
    margin-left: 5px;
    font-weight: 950;
}

@media (max-width: 820px) {
    .topbar-main {
        width: 94%;
        min-height: 62px;
    }

    .brand-icon {
        width: 37px;
        height: 37px;
        border-radius: 14px;
        font-size: 10px;
    }

    .brand b {
        font-size: 19px;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .site-nav {
        display: none;
        width: 94%;
        padding: 0 0 14px;
        gap: 8px;
    }

    .site-nav.show {
        display: grid;
        grid-template-columns: 1fr;
    }

    .site-nav a {
        width: 100%;
        min-height: 44px;
        border-radius: 16px;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
    }

    .site-nav .sell {
        background: var(--primary);
        color: #fff;
        border-color: var(--primary);
    }
}

/* =========================
   GOMBE360 HEADER + FOOTER
========================= */
/* =========================
   FINAL PROFESSIONAL HEADER OVERRIDE
   Paste this at the VERY BOTTOM of style.css
========================= */

.topbar {
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 9999;
}

.topbar-main {
    width: 92%;
    max-width: 1200px;
    min-height: 60px;
    margin: 0 auto;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--dark);
    font-weight: 950;
    white-space: nowrap;
}

.brand::before {
    display: none !important;
}

.brand-icon {
    width: 36px;
    height: 36px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), #0f172a);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 9.5px;
    font-weight: 950;
    box-shadow: 0 8px 20px rgba(15,118,110,.20);
}

.brand b {
    font-size: 20px;
    letter-spacing: -.045em;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-cart {
    width: 39px;
    height: 39px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: var(--dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-size: 17px;
}

.header-cart:hover {
    background: #ecfeff;
    color: var(--primary);
    border-color: #99f6e4;
}

.header-cart em {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    border: 2px solid #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-style: normal;
    font-weight: 950;
}

.menu-toggle {
    width: 39px;
    height: 39px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: var(--dark);
    font-size: 21px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

.menu-toggle:hover {
    background: #f8fafc;
    transform: none;
}

/* Desktop menu centered */
.site-nav {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex-wrap: wrap;
    position: static;
    height: auto;
    background: transparent;
    border: 0;
    box-shadow: none;
    transform: none;
    overflow: visible;
}

.site-nav a {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #334155;
    font-size: 13.5px;
    font-weight: 850;
    padding: 7px 12px;
    border-radius: 999px;
    background: transparent;
    border: 0;
}

.site-nav a:hover {
    background: #ecfeff;
    color: var(--primary);
}

.site-nav a[href*="business-login.php"],
.site-nav a[href*="dashboard.php"],
.site-nav a[href*="logout.php"] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

/* Mobile right drawer */
@media (max-width: 820px) {
    .topbar-main {
        width: 94%;
        min-height: 58px;
    }

    .brand-icon {
        width: 34px;
        height: 34px;
        border-radius: 13px;
        font-size: 9px;
    }

    .brand b {
        font-size: 18px;
    }

    .header-cart,
    .menu-toggle {
        width: 38px;
        height: 38px;
        border-radius: 13px;
    }

    .menu-toggle {
        display: inline-flex;
        position: relative;
        z-index: 10002;
    }

    .site-nav {
        position: fixed !important;
        top: 58px !important;
        right: 0 !important;
        left: auto !important;
        width: min(70vw, 260px) !important;
        height: auto !important;
        max-height: calc(100vh - 70px);
        margin: 0 !important;
        padding: 10px !important;
        background: rgba(255,255,255,.98) !important;
        backdrop-filter: blur(16px);
        border-left: 1px solid #e2e8f0 !important;
        border-bottom: 1px solid #e2e8f0 !important;
        border-radius: 0 0 0 20px;
        box-shadow: -18px 18px 45px rgba(15,23,42,.16) !important;
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 6px;
        transform: translateX(105%) !important;
        transition: transform .24s ease;
        overflow-y: auto;
        z-index: 10001;
    }

    .site-nav.show {
        transform: translateX(0) !important;
    }

    .site-nav a {
        width: 100%;
        min-height: 37px;
        justify-content: flex-start;
        padding: 8px 10px;
        border-radius: 12px;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        color: var(--dark);
        font-size: 12.5px;
        font-weight: 850;
    }

    .site-nav a:hover {
        background: #ecfeff;
        border-color: #99f6e4;
        color: var(--primary);
    }

    .site-nav a[href*="business-login.php"],
    .site-nav a[href*="dashboard.php"],
    .site-nav a[href*="logout.php"] {
        background: #0f172a;
        border-color: #0f172a;
        color: #fff;
    }
}

@media (max-width: 420px) {
    .site-nav {
        width: min(74vw, 250px) !important;
    }

    .brand b {
        font-size: 17px;
    }
}

/* FOOTER */
.g360-footer {
    margin-top: 52px;
    background: #0f172a;
    color: #cbd5e1;
    padding: 42px 0 20px;
}

.g360-footer-inner {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 32px;
}

.g360-footer .footer-brand {
    color: #fff;
}

.g360-footer-brand p {
    margin: 16px 0 18px;
    max-width: 480px;
    color: #cbd5e1;
    line-height: 1.8;
}

.g360-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.g360-socials a {
    width: 42px;
    height: 42px;
    border-radius: 15px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: .2s ease;
}

.g360-socials a:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.g360-socials svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.g360-footer-links h3 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 16px;
}

.g360-footer-links a {
    display: block;
    color: #cbd5e1;
    margin: 10px 0;
    font-weight: 750;
}

.g360-footer-links a:hover {
    color: #fff;
}

.g360-footer-bottom {
    width: 92%;
    max-width: 1200px;
    margin: 28px auto 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.12);
    display: flex;
    justify-content: space-between;
    gap: 14px;
    color: #94a3b8;
    font-size: 13px;
}

/* MOBILE */
@media (max-width: 900px) {
    .g360-header-inner {
        grid-template-columns: 1fr auto;
        gap: 12px;
        padding: 12px 0;
    }

    .g360-search {
        grid-column: 1 / -1;
        grid-row: 2;
        max-width: none;
    }

    .g360-menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .g360-nav {
        display: none;
        padding: 0 0 14px;
        gap: 8px;
    }

    .g360-nav.open,
    .g360-nav.is-open,
    .g360-nav.active {
        display: grid;
        grid-template-columns: 1fr;
    }

    .g360-nav a {
        width: 100%;
        justify-content: center;
        border-radius: 16px;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
    }

    .g360-footer-inner {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .g360-footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    .g360-brand span {
        width: 38px;
        height: 38px;
        border-radius: 14px;
        font-size: 11px;
    }

    .g360-brand b {
        font-size: 19px;
    }

    .g360-search {
        height: auto;
        grid-template-columns: 1fr;
        border-radius: 18px;
        overflow: visible;
        padding: 8px;
        gap: 8px;
    }

    .g360-search-type,
    .g360-search input,
    .g360-search button {
        width: 100%;
        height: 42px;
        border-radius: 13px;
    }

    .g360-search-type {
        border: 1px solid #e2e8f0;
    }

    .g360-search input {
        background: #fff;
        border: 1px solid #e2e8f0;
    }

    .g360-search button {
        margin: 0;
    }

    .g360-footer {
        padding-top: 34px;
    }
}

/* HOME BIG SMART SEARCH */
.home-smart-search {
    width: 92%;
    max-width: 1200px;
    margin: 20px auto 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: 18px;
    box-shadow: var(--shadow-sm);
    display: grid;
    gap: 14px;
}

.home-smart-search span {
    color: var(--primary);
    font-size: 13px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.home-smart-search h2 {
    margin: 4px 0 0;
    color: var(--dark);
    font-size: clamp(24px, 4vw, 34px);
    letter-spacing: -.05em;
}

.home-smart-search-form {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr) auto;
    gap: 10px;
}

.home-smart-search-form select,
.home-smart-search-form input {
    height: 48px;
    border: 1px solid #dbe4ef;
    border-radius: 16px;
    padding: 0 13px;
    outline: none;
    font: inherit;
}

.home-smart-search-form select {
    font-weight: 900;
    color: var(--dark);
    background: #f8fafc;
}

.home-smart-search-form button {
    height: 48px;
    border-radius: 16px;
    padding: 0 22px;
    font-weight: 950;
}

@media (max-width: 700px) {
    .home-smart-search {
        width: 94%;
        border-radius: 22px;
        padding: 15px;
    }

    .home-smart-search-form {
        grid-template-columns: 1fr;
    }

    .home-smart-search-form select,
    .home-smart-search-form input,
    .home-smart-search-form button {
        width: 100%;
    }
}

/* =========================
   FIX MOBILE MENU STILL SHOWING WHEN HIDDEN
   Paste at VERY BOTTOM of style.css
========================= */

html,
body {
    overflow-x: hidden;
}

@media (max-width: 820px) {
    .site-nav {
        position: fixed !important;
        top: 58px !important;
        right: 0 !important;
        left: auto !important;

        width: min(70vw, 260px) !important;
        max-width: 260px !important;
        height: auto !important;
        max-height: calc(100vh - 70px) !important;

        margin: 0 !important;
        padding: 10px !important;

        background: rgba(255,255,255,.98) !important;
        backdrop-filter: blur(16px);

        border-left: 1px solid #e2e8f0 !important;
        border-bottom: 1px solid #e2e8f0 !important;
        border-radius: 0 0 0 20px !important;

        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 6px !important;

        transform: translateX(120%) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;

        box-shadow: none !important;
        overflow-y: auto !important;
        z-index: 10001 !important;

        transition:
            transform .24s ease,
            opacity .18s ease,
            visibility .18s ease;
    }

    .site-nav.show {
        transform: translateX(0) !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        box-shadow: -18px 18px 45px rgba(15,23,42,.16) !important;
    }

    .site-nav a {
        width: 100% !important;
        min-height: 37px !important;
        justify-content: flex-start !important;
        padding: 8px 10px !important;
        border-radius: 12px !important;
        background: #f8fafc !important;
        border: 1px solid #e2e8f0 !important;
        color: var(--dark) !important;
        font-size: 12.5px !important;
        font-weight: 850 !important;
    }

    .site-nav a:hover {
        background: #ecfeff !important;
        border-color: #99f6e4 !important;
        color: var(--primary) !important;
    }
}

@media (max-width: 420px) {
    .site-nav {
        width: min(74vw, 250px) !important;
        max-width: 250px !important;
        right: 0 !important;
    }
}

@media (max-width: 380px) {
    .site-nav {
        top: 58px !important;
        right: 0 !important;
        width: min(76vw, 245px) !important;
        max-width: 245px !important;
    }
}

/* =========================
   LEGAL PAGES
========================= */

.legal-page {
    width: 92%;
    max-width: 900px;
    margin: 34px auto 60px;
}

.legal-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 30px;
    padding: 34px;
    box-shadow: var(--shadow-sm);
}

.legal-badge {
    display: inline-flex;
    align-items: center;
    width: max-content;
    background: #ecfeff;
    color: var(--primary);
    border: 1px solid #ccfbf1;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 950;
    margin-bottom: 12px;
}

.legal-card h1 {
    margin: 0 0 8px;
    color: var(--dark);
    font-size: clamp(30px, 5vw, 46px);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.legal-muted {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 22px;
}

.legal-card h2 {
    margin: 26px 0 8px;
    color: var(--dark);
    font-size: 21px;
    letter-spacing: -0.03em;
}

.legal-card p {
    color: #475569;
    line-height: 1.8;
    margin: 10px 0;
}

.legal-card ul {
    margin: 12px 0 0;
    padding-left: 20px;
    color: #475569;
    line-height: 1.8;
}

.legal-card li {
    margin: 6px 0;
}

.legal-card a {
    color: var(--primary);
    font-weight: 900;
}

@media (max-width: 760px) {
    .legal-page {
        width: 94%;
        margin: 22px auto 42px;
    }

    .legal-card {
        padding: 22px;
        border-radius: 24px;
    }

    .legal-card h1 {
        font-size: 30px;
    }

    .legal-card h2 {
        font-size: 18px;
        margin-top: 22px;
    }

    .legal-card p,
    .legal-card ul {
        font-size: 14px;
    }
}

/* =========================
   LOGO DISPLAY
========================= */

.brand-logo-img {
    width: 36px;
    height: 36px;
    border-radius: 14px;
    object-fit: cover;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 20px rgba(15,118,110,.16);
    flex-shrink: 0;
}

.footer-logo-img {
    width: 42px;
    height: 42px;
    border-radius: 15px;
    object-fit: cover;
    background: #fff;
    border: 1px solid rgba(255,255,255,.14);
    flex-shrink: 0;
}

@media (max-width: 820px) {
    .brand-logo-img {
        width: 34px;
        height: 34px;
        border-radius: 13px;
    }
}

/* =========================
   FIX GALLERY RIGHT SPACE / OVERFLOW
========================= */

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

.product-preview-gallery,
.place-preview-gallery,
.product-preview-main,
.place-preview-main {
    max-width: 100%;
    overflow: hidden;
}

.product-preview-thumbs,
.place-preview-thumbs {
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    display: flex;
    gap: 8px;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
}

.product-preview-thumb,
.place-preview-thumb {
    flex: 0 0 auto;
}

.product-preview-thumb img,
.place-preview-thumb img {
    display: block;
}



/* =========================
   PRODUCT DETAIL ACTIONS
========================= */

.product-main-actions {
    margin-top: 18px;
    display: grid;
    gap: 10px;
}

.product-contact-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.product-contact-actions .btn,
.product-cart-btn {
    width: 100%;
    min-height: 46px;
    border-radius: 16px;
}

.product-whatsapp-btn {
    background: #16a34a;
}

.product-whatsapp-btn:hover {
    background: #15803d;
}

.product-call-btn {
    background: #0f172a;
    color: #fff;
}

.product-cart-btn {
    font-size: 15px;
}

.product-icon-actions {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
}

.product-icon-btn {
    width: 43px;
    height: 43px;
    border-radius: 15px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: var(--dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    font-weight: 950;
    transition: .18s ease;
}

.product-icon-btn:hover {
    background: #ecfeff;
    border-color: #99f6e4;
    color: var(--primary);
    transform: translateY(-1px);
}

.product-icon-btn.danger-icon:hover {
    background: #fee2e2;
    border-color: #fecaca;
    color: #dc2626;
}

.product-safety-tip {
    margin-top: 14px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
    border-radius: 16px;
    padding: 12px 14px;
    font-size: 13.5px;
    font-weight: 800;
    line-height: 1.6;
}

/* Fix gallery overflow */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

.product-preview-gallery,
.product-preview-main {
    max-width: 100%;
    overflow: hidden;
}

.product-preview-thumbs {
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    display: flex;
    gap: 8px;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
}

.product-preview-thumb {
    flex: 0 0 auto;
}

.product-preview-thumb img {
    display: block;
}

@media (max-width: 520px) {
    .product-contact-actions {
        grid-template-columns: 1fr 1fr;
    }

    .product-contact-actions .btn,
    .product-cart-btn {
        min-height: 44px;
        font-size: 13px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .product-icon-btn {
        width: 40px;
        height: 40px;
        border-radius: 14px;
        font-size: 18px;
    }
}

/* =========================
   PRODUCT REVIEWS
========================= */

.product-reviews-card {
    margin-top: 22px;
}

.product-reviews-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
}

.product-reviews-head h2 {
    margin: 0 0 4px;
    color: var(--dark);
    letter-spacing: -.04em;
}

.product-reviews-head p {
    margin: 0;
    color: var(--muted);
    font-weight: 750;
}

.product-review-list {
    display: grid;
    gap: 12px;
}

.product-review-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 15px;
}

.product-review-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.product-review-top strong {
    color: var(--dark);
    font-weight: 950;
}

.product-review-top span {
    color: var(--accent);
    font-weight: 950;
    white-space: nowrap;
}

.product-review-item p {
    margin: 0 0 8px;
    color: #475569;
    line-height: 1.7;
}

.product-review-item small {
    color: var(--muted);
    font-weight: 750;
}

.product-review-more {
    margin-top: 14px;
}

.product-review-more .btn {
    width: 100%;
}

/* All reviews page */
.product-all-reviews-page {
    width: 92%;
    max-width: 900px;
    margin: 34px auto 60px;
}

.product-all-reviews-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 30px;
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

.product-all-reviews-head {
    margin-bottom: 22px;
}

.product-review-product {
    margin-top: 18px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.product-review-product img {
    width: 90px;
    height: 90px;
    border-radius: 22px;
    object-fit: cover;
    background: #e8edf5;
    border: 1px solid #e2e8f0;
}

.product-review-product h1 {
    margin: 8px 0 5px;
    color: var(--dark);
    font-size: clamp(25px, 4vw, 36px);
    line-height: 1.08;
    letter-spacing: -.05em;
}

.product-review-product p {
    margin: 0;
    color: var(--muted);
    font-weight: 800;
}

.product-review-pagination {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-review-pagination a {
    min-width: 38px;
    height: 38px;
    padding: 0 13px;
    border-radius: 13px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: var(--dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.product-review-pagination a.active,
.product-review-pagination a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

@media (max-width: 760px) {
    .product-reviews-head {
        display: block;
    }

    .product-reviews-head .mini-link {
        display: inline-flex;
        margin-top: 10px;
    }

    .product-all-reviews-page {
        width: 94%;
        margin: 22px auto 44px;
    }

    .product-all-reviews-card {
        padding: 20px;
        border-radius: 24px;
    }

    .product-review-product {
        align-items: flex-start;
    }

    .product-review-product img {
        width: 72px;
        height: 72px;
        border-radius: 18px;
    }

    .product-review-product h1 {
        font-size: 24px;
    }

    .product-review-top {
        align-items: flex-start;
    }
}

.terms-check{
    display:flex;
    align-items:flex-start;
    gap:10px;
    margin:12px 0 4px;
    font-size:14px;
    line-height:1.5;
    color:#374151;
}

.terms-check input{
    width:18px;
    height:18px;
    margin-top:2px;
    flex:0 0 auto;
}

.terms-check a{
    color:#16a34a;
    font-weight:700;
    text-decoration:none;
}

.terms-check a:hover{
    text-decoration:underline;
}

/* Fix verified badge inside shop cards */
.home-shop-card .verified-badge{
    color:#ffffff !important;
    background:var(--blue);
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
}

.home-shop-card .verified-badge::before{
    color:#ffffff !important;
}

/* =========================
   ACTIVE TOP MENU LINKS ONLY
========================= */

.site-nav a{
    border:1px solid transparent;
}

.site-nav a.active{
    background:linear-gradient(135deg,#0f766e,#0b5f59) !important;
    color:#ffffff !important;
    border-color:#0f766e !important;
    box-shadow:0 8px 20px rgba(15,118,110,.22);
}

.site-nav a.active:hover{
    background:linear-gradient(135deg,#0b5f59,#064e49) !important;
    color:#ffffff !important;
}

.header-cart.active{
    background:linear-gradient(135deg,#0f766e,#0b5f59) !important;
    color:#ffffff !important;
    border:1px solid #0f766e !important;
    box-shadow:0 8px 20px rgba(15,118,110,.22);
}

.header-cart.active em{
    background:#f59e0b !important;
    color:#111827 !important;
}

.places-seo-text{
    margin:28px auto 0;
    background:#ffffff;
    border:1px solid var(--line);
    border-radius:24px;
    padding:22px;
    box-shadow:var(--shadow-sm);
    max-width:1180px;
}

.places-seo-text h2{
    margin:0 0 8px;
    color:var(--dark);
    font-size:24px;
    letter-spacing:-.03em;
}

.places-seo-text p{
    margin:0;
    color:var(--muted);
    line-height:1.8;
    font-size:15px;
}

.product-seo-text{
    margin:22px 0;
}

.product-seo-text h2{
    margin:0 0 8px;
    color:var(--dark);
    font-size:24px;
    letter-spacing:-.03em;
}

.product-seo-text p{
    margin:0;
    color:var(--muted);
    line-height:1.8;
    font-size:15px;
}

.shop-active-filter{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    margin:0 0 18px;
}

.shop-active-filter b{
    background:#ecfeff;
    color:var(--primary);
    border:1px solid #99f6e4;
    padding:8px 12px;
    border-radius:999px;
    font-size:13px;
}

.shop-seo-text{
    margin:28px 0 0;
    background:#ffffff;
    border:1px solid var(--line);
    border-radius:24px;
    padding:22px;
    box-shadow:var(--shadow-sm);
}

.shop-seo-text h2{
    margin:0 0 8px;
    color:var(--dark);
    font-size:24px;
    letter-spacing:-.03em;
}

.shop-seo-text p{
    margin:0;
    color:var(--muted);
    line-height:1.8;
    font-size:15px;
}

.artisan-seo-text{
    margin:22px auto;
}

.artisan-seo-text h2{
    margin:0 0 8px;
    color:var(--dark);
    font-size:24px;
    letter-spacing:-.03em;
}

.artisan-seo-text p{
    margin:0;
    color:var(--muted);
    line-height:1.8;
    font-size:15px;
}

.place-seo-text{
    margin:22px 0;
}

.place-seo-text h2{
    margin:0 0 8px;
    color:var(--dark);
    font-size:24px;
    letter-spacing:-.03em;
}

.place-seo-text p{
    margin:0;
    color:var(--muted);
    line-height:1.8;
    font-size:15px;
}

.place-detail-card{
    align-self:start;
}


/* =========================
   ADMIN SIDEBAR FIX
   Desktop fixed, mobile drawer safe
========================= */

/* Desktop only */
@media (min-width: 901px) {
    .admin-shell,
    .dash {
        display: block;
        min-height: 100vh;
    }

    .admin-sidebar,
    .dash > .sidebar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 270px !important;
        height: 100vh !important;
        max-height: 100vh !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        z-index: 9999 !important;
    }

    .admin-main-wrap,
    .dashmain {
        margin-left: 270px !important;
        width: calc(100% - 270px) !important;
        min-width: 0 !important;
        overflow-x: hidden !important;
        padding: 24px !important;
    }

    .admin-main-wrap table,
    .dashmain table,
    .admin-main-wrap .table,
    .dashmain .table {
        display: block;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* Mobile: restore clean mobile layout */
@media (max-width: 900px) {
    .admin-shell,
    .dash {
        display: block !important;
        min-height: 100vh;
    }

    .admin-sidebar {
        position: fixed !important;
        top: 0 !important;
        left: -290px !important;
        width: 270px !important;
        max-width: calc(100vw - 40px) !important;
        height: 100vh !important;
        max-height: 100vh !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        z-index: 99999 !important;
        transition: left .25s ease !important;
        box-shadow: 20px 0 60px rgba(15,23,42,.25);
    }

    .admin-sidebar.show,
    .admin-sidebar.active,
    body.admin-menu-open .admin-sidebar {
        left: 0 !important;
    }

    .admin-main-wrap,
    .dashmain {
        margin-left: 0 !important;
        width: 100% !important;
        padding: 16px !important;
        overflow-x: hidden !important;
    }

    /* Old dashboard sidebar mobile fallback */
    .dash > .sidebar {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        display: flex !important;
        gap: 8px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        white-space: nowrap !important;
        z-index: 1 !important;
    }

    .dash > .sidebar h2 {
        display: none !important;
    }

    .dash > .sidebar a {
        min-width: max-content !important;
    }
}

.admin-mini-list{
    display:grid;
    gap:10px;
}

.admin-mini-item{
    display:block;
    padding:12px 14px;
    border:1px solid #e5eaf3;
    border-radius:14px;
    background:#fff;
    text-decoration:none;
    color:#0f172a;
}

.admin-mini-item strong{
    display:block;
    font-size:14px;
    margin-bottom:4px;
}

.admin-mini-item span{
    display:block;
    font-size:12px;
    color:#64748b;
}

.admin-mini-item:hover{
    border-color:#16a34a;
    box-shadow:0 8px 22px rgba(15,23,42,.08);
}