/* =========================================================
   BAZAR — ecommerce template
   Palette: deep bottle green (brand/nav), poppy red (sale/CTA),
   warm paper background, mustard gold (ratings/accents)
   Type: Fraunces (display) + Inter (UI/body)
   ========================================================= */

@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --green-900: #0d3f2b;
  --green-700: #145c3d;
  --green-600: #1c7a51;
  --red-600: #d1362f;
  --red-700: #b32b25;
  --gold-500: #c8952f;
  --paper: #faf7f1;
  --paper-dim: #f2ede2;
  --card: #ffffff;
  --ink: #1d2420;
  --ink-soft: #5b665f;
  --line: #e6e0d2;
  --radius-s: 6px;
  --radius-m: 10px;
  --shadow: 0 1px 2px rgba(20, 30, 22, 0.06), 0 6px 20px rgba(20, 30, 22, 0.05);
  --focus: 2px solid #1c7a51;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
.display {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
button {
  font-family: inherit;
  cursor: pointer;
}
:focus-visible {
  outline: var(--focus);
  outline-offset: 2px;
}
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* ---------- Top utility bar ---------- */
.utility-bar {
  background: var(--green-900);
  color: #d9e8de;
  font-size: 12.5px;
}
.utility-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 34px;
}
.utility-bar a {
  opacity: 0.9;
}
.utility-bar a:hover {
  opacity: 1;
  text-decoration: underline;
}
.utility-links {
  display: flex;
  gap: 18px;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--green-700);
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.header-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "brand search actions";
  align-items: center;
  column-gap: 24px;
  padding: 14px 0;
  position: relative;
}
.brand {
  grid-area: brand;
  display: flex;
  align-items: baseline;
  gap: 2px;
  color: #fff;
  font-size: 25px;
  font-weight: 700;
  white-space: nowrap;
}
.brand span {
  color: var(--gold-500);
}
.search-bar-wrap {
  grid-area: search;
  width: 100%;
  max-width: 640px;
  display: flex;
  align-items: center;
}
.search-close {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: none;
  border: none;
  color: #fff;
}
.search-form {
  flex: 1;
  min-width: 0;
  display: flex;
  background: #fff;
  border-radius: var(--radius-s);
  overflow: hidden;
}
.search-form input {
  flex: 1;
  min-width: 0;
  border: none;
  padding: 0 16px;
  font-size: 14.5px;
  height: 44px;
  font-family: inherit;
  background: transparent;
}
.search-form input:focus {
  outline: none;
}
.search-form button {
  background: var(--gold-500);
  border: none;
  width: 52px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  color: var(--green-900);
}
.header-row--simple {
  grid-template-columns: auto 1fr;
  grid-template-areas: "brand actions";
}
.header-actions {
  grid-area: actions;
  display: flex;
  align-items: center;
  gap: 22px;
  color: #eef4ef;
  margin-right: 15px;
  justify-self: end;
}
.header-actions .action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  line-height: 1;
  position: relative;
  white-space: nowrap;
  background: none;
  border: none;
  color: inherit;
  padding: 0;
}
.header-actions svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.search-trigger {
  display: none;
}
.cart-count {
  position: absolute;
  top: -6px;
  right: -10px;
  background: var(--red-600);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
}
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;

  background: none;
  border: none;
  border-radius: var(--radius-s);
  color: #fff;
}
.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
}
.menu-toggle svg {
  width: 22px;
  height: 22px;
}

/* Category strip (desktop: single horizontal row) */
.category-strip {
  background: var(--card);
  border-bottom: 1px solid var(--line);
}
.category-strip .container {
  display: flex;
  gap: 26px;
  overflow-x: auto;
  height: 46px;
  align-items: center;
  font-size: 13.5px;
  color: var(--ink-soft);
  scrollbar-width: none;
}
.category-strip .container::-webkit-scrollbar {
  display: none;
}
.category-strip a {
  white-space: nowrap;
}
.category-strip a:hover {
  color: var(--green-700);
}
.category-strip a.current {
  color: var(--green-700);
  font-weight: 600;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 13px;
  color: var(--ink-soft);
  padding: 14px 0;
}
.breadcrumb a:hover {
  color: var(--green-700);
}
.breadcrumb .sep {
  margin: 0 6px;
  color: #b9b2a0;
}

/* ---------- Hero / promo grid ---------- */
.promo-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  margin: 20px 0;
}
.promo-tile {
  border-radius: var(--radius-m);
  overflow: hidden;
  position: relative;
  min-height: 140px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  padding: 22px;
}
.promo-tile.main {
  grid-row: 1 / 3;
  min-height: 320px;
}
.promo-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.promo-tile.main::before {
  background: linear-gradient(120deg, var(--green-900), var(--green-600) 70%);
}
.promo-tile.a::before {
  background: linear-gradient(120deg, var(--red-700), var(--red-600));
}
.promo-tile.b::before {
  background: linear-gradient(120deg, #7a5a1e, var(--gold-500));
}
.promo-tile-content {
  position: relative;
  z-index: 1;
}
.promo-eyebrow {
  font-size: 13px;
  opacity: 0.85;
  margin-bottom: 6px;
}
.promo-tile.main h2 {
  font-size: 34px;
  color: #fff;
  max-width: 380px;
  line-height: 1.15;
}
.promo-tile.a h3,
.promo-tile.b h3 {
  font-size: 20px;
  color: #fff;
}
.promo-cta {
  display: inline-block;
  margin-top: 14px;
  background: #fff;
  color: var(--green-900);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
}

/* ---------- Section headers ---------- */
.section {
  margin: 34px 0;
}
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}
.section-head h2 {
  font-size: 22px;
}
.section-head .see-all {
  font-size: 13.5px;
  color: var(--green-700);
  font-weight: 600;
}

/* Flash sale countdown */
.flash-head {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.flash-head h2 {
  color: var(--red-600);
}
.countdown {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 13px;
  color: var(--ink-soft);
}
.countdown b {
  background: var(--ink);
  color: #fff;
  padding: 3px 7px;
  border-radius: 4px;
  font-variant-numeric: tabular-nums;
}

/* ---------- Product grid & cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.product-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.product-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.product-thumb {
  aspect-ratio: 1 / 1;
  background: var(--paper-dim);
  position: relative;
  overflow: hidden;
}
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--red-600);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 4px;
}
.badge.gold {
  background: var(--gold-500);
}
.product-info {
  padding: 10px 12px 14px;
}
.product-name {
  font-size: 13.5px;
  line-height: 1.4;
  height: 2.8em;
  overflow: hidden;
  margin-bottom: 6px;
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 7px;
}
.price-now {
  color: var(--red-600);
  font-weight: 700;
  font-size: 15.5px;
}
.price-was {
  color: #a39c8b;
  font-size: 12px;
  text-decoration: line-through;
}
.discount-pct {
  font-size: 11.5px;
  color: var(--green-700);
  font-weight: 600;
}
.rating-row {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  color: var(--ink-soft);
  margin-top: 5px;
}
.stars {
  color: var(--gold-500);
  letter-spacing: 1px;
  font-size: 11px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-900);
  color: #cfe0d6;
  margin-top: 56px;
  padding: 44px 0 20px;
  font-size: 13.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.footer-grid h4 {
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 12px;
}
.footer-grid a {
  display: block;
  padding: 4px 0;
  opacity: 0.85;
}
.footer-grid a:hover {
  opacity: 1;
  text-decoration: underline;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 30px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  opacity: 0.75;
  font-size: 12.5px;
}

/* ---------- Mobile bottom nav (mobile only) ---------- */
.mobile-tabbar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid var(--line);
  z-index: 50;
  padding: 6px 0 max(6px, env(safe-area-inset-bottom));
}
.mobile-tabbar .container {
  display: flex;
  justify-content: space-around;
}
.mobile-tabbar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 10.5px;
  color: var(--ink-soft);
}
.mobile-tabbar a.current {
  color: var(--green-700);
}
.mobile-tabbar svg {
  width: 21px;
  height: 21px;
}

/* ================= Product page ================= */
.product-layout {
  display: grid;
  grid-template-columns: 440px 1fr 300px;
  gap: 30px;
  align-items: start;
  padding: 10px 0 40px;
}
.gallery-main {
  aspect-ratio: 1/1;
  background: var(--paper-dim);
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1px solid var(--line);
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.gallery-thumbs button {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-s);
  overflow: hidden;
  border: 2px solid transparent;
  background: var(--paper-dim);
  padding: 0;
}
.gallery-thumbs button.active {
  border-color: var(--green-700);
}
.gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pd-title {
  font-size: 18px;
  line-height: 1.3;
  margin-bottom: 10px;
 
font-family: sans-serif !important;
}
.pd-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--ink-soft);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.pd-price-block {
  background: var(--paper-dim);
  border-radius: var(--radius-m);
  padding: 16px 18px;
  margin: 16px 0;
}
.pd-price-now {
  font-size: 28px;
  font-weight: 700;
  color: var(--red-600);
}
.pd-price-was {
  font-size: 15px;
  color: #a39c8b;
  text-decoration: line-through;
  margin-left: 10px;
}
.pd-discount {
  display: inline-block;
  margin-left: 10px;
  background: var(--red-600);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

.option-group {
  margin-bottom: 18px;
}
.option-label {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}
.swatches {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.swatch {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius-s);
  padding: 8px 14px;
  font-size: 13px;
}
.swatch.active {
  border-color: var(--green-700);
  color: var(--green-700);
  background: #eef6f0;
  font-weight: 600;
}
.swatch:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  text-decoration: line-through;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
}
.qty-stepper button {
  width: 34px;
  height: 34px;
  border: none;
  background: none;
  font-size: 16px;
}
.qty-stepper input {
  width: 42px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  height: 34px;
  font-family: inherit;
  font-size: 14px;
}

.buybox {
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 18px;
  position: sticky;
  top: 90px;
  background: #fff;
}
.buybox-row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
}
.buybox-row:last-of-type {
  border-bottom: none;
}
.btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 13px;
  border-radius: var(--radius-s);
  font-weight: 700;
  font-size: 14.5px;
  border: none;
}
.btn-primary {
  background: var(--red-600);
  color: #fff;
}
.btn-primary:hover {
  background: var(--red-700);
}
.btn-outline {
  background: #fff;
  color: var(--green-700);
  border: 1.5px solid var(--green-700);
}
.btn-outline:hover {
  background: #eef6f0;
}
.btn-secondary {
  background: var(--green-700);
  color: #fff;
}
.btn-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.tabs {
  margin-top: 46px;
}
.tab-buttons {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid var(--line);
}
.tab-buttons button {
  background: none;
  border: none;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.tab-buttons button.active {
  color: var(--green-700);
  border-color: var(--green-700);
}
.tab-panel {
  display: none;
  padding: 22px 4px;
  font-size: 14px;
  line-height: 1.75;
  color: #3a423c;
  max-width: 720px;
}
.tab-panel.active {
  display: block;
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.spec-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
}
.spec-table td:first-child {
  color: var(--ink-soft);
  width: 200px;
}

.review-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.review-head {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.review-name {
  font-weight: 600;
  color: var(--ink);
}

/* ================= Checkout page ================= */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 28px;
  padding: 24px 0 60px;
  align-items: start;
}
.checkout-steps {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--ink-soft);
}
.checkout-steps .step {
  display: flex;
  align-items: center;
  gap: 8px;
}
.checkout-steps .step.done {
  color: var(--green-700);
  font-weight: 600;
}
.checkout-steps .num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--paper-dim);
  display: grid;
  place-items: center;
  font-size: 11px;
}
.checkout-steps .step.done .num {
  background: var(--green-700);
  color: #fff;
}
.checkout-steps .arrow {
  opacity: 0.5;
}

.co-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 22px;
  margin-bottom: 18px;
}
.co-card h3 {
  font-size: 16px;
  margin-bottom: 16px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
/* ==============================
   Checkout Form Grid
   ============================== */

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
    min-width: 0;
}

.field.full {
    grid-column: 1 / -1;
}

.field label {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink-soft);
}


/* ==============================
   Normal Fields
   ============================== */

.field input,
.field select,
.field textarea {
    width: 100%;
    min-width: 0;
    min-height: 43px;
    box-sizing: border-box;

    border: 1px solid var(--line);
    border-radius: var(--radius-s);

    padding: 10px 12px;

    font-size: 14px;
    font-family: inherit;

    background: #fff;
    color: var(--ink);

    outline: none;
}

.field textarea {
    resize: vertical;
    min-height: 64px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--green-700);
    box-shadow: 0 0 0 3px rgba(144, 194, 83, .10);
}


/* ==============================
   Dynamic District Container
   ============================== */

/* Make txtResult occupy exactly one grid column */
.form-grid > #txtResult.field.full {
    grid-column: auto;
    width: 100%;
    min-width: 0;
    margin-bottom: 14px;
    box-sizing: border-box;
}


/* Dynamic content inside txtResult */
#txtResult {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}


/* Generated select/input containers */
#txtResult .product-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
}


/* Generated District/Upozila/Area/House fields */
#txtResult .product-container select,
#txtResult .product-container input {
    display: block;

    width: 100%;
    max-width: 100%;
    min-width: 0;

    height: 43px;
    min-height: 43px;

    box-sizing: border-box;

    border: 1px solid var(--line);
    border-radius: var(--radius-s);

    padding: 10px 12px;

    font-size: 14px;
    font-family: inherit;

    background: #fff;
    color: var(--ink);

    outline: none;
}

#txtResult .product-container select:focus,
#txtResult .product-container input:focus {
    border-color: var(--green-700);
    box-shadow: 0 0 0 3px rgba(144, 194, 83, .10);
}


/* ==============================
   Mobile
   ============================== */

@media (max-width: 600px) {

    .form-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .field.full,
    .form-grid > #txtResult.field.full {
        grid-column: auto;
    }
}
.pay-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pay-option {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 12px 14px;
  font-size: 14px;
}
.pay-option.selected {
  border-color: var(--green-700);
  background: #f2f9f4;
}
.pay-option img {
  height: 20px;
}

.order-summary {
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 20px;
  position: sticky;
  top: 90px;
  background: #fff;
}
.order-line {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.order-line img {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-s);
  object-fit: cover;
  background: var(--paper-dim);
}
.order-line .name {
  font-size: 13px;
  line-height: 1.4;
}
.order-line .sub {
  font-size: 11.5px;
  color: var(--ink-soft);
}
.order-line .amt {
  margin-left: auto;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  padding: 8px 0;
}
.summary-row.total {
  font-size: 16px;
  font-weight: 700;
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 14px;
}
.promo-row {
  display: flex;
  gap: 8px;
  margin: 14px 0;
}
.promo-row input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 9px 12px;
  font-size: 13px;
}
.promo-row button {
  border: 1px solid var(--green-700);
  color: var(--green-700);
  background: #fff;
  border-radius: var(--radius-s);
  padding: 0 16px;
  font-size: 13px;
  font-weight: 600;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .product-layout {
    grid-template-columns: 380px 1fr;
  }
  .buybox {
    grid-column: 1 / -1;
    position: static;
  }
  .checkout-layout {
    grid-template-columns: 1fr;
  }
  .order-summary {
    position: static;
  }
}

@media (max-width: 860px) {
  .utility-bar {
    display: none;
  }

  .header-row {
    grid-template-columns: auto auto 1fr auto;
    grid-template-areas: "toggle brand . actions";
    column-gap: 12px;
    padding: 10px 0;
  }
  .menu-toggle {
    display: flex;
  }
  .brand {
    font-size: 20px;
  }
  .header-row--simple {
    grid-template-columns: auto 1fr;
    grid-template-areas: "brand actions";
  }
  .header-actions {
    gap: 18px;
  }
  .header-actions .action span {
    display: none;
  }
  .header-actions svg {
    width: 23px;
    height: 23px;
  }
  .search-trigger {
    display: flex;
  }

  /* Search expands into a full-width overlay across the header row */
  .search-bar-wrap {
    display: none;
  }
  .search-bar-wrap.active {
    display: flex;
    position: absolute;
    inset: 0;
    background: var(--green-700);
    align-items: center;
    padding-right: 4px;
    z-index: 5;
  }
  .search-bar-wrap.active .search-close {
    display: flex;
  }
  .search-form {
    max-width: none;
  }

  /* Category menu becomes a dropdown panel toggled from the header */
  .category-strip {
    display: none;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
  }
  .category-strip.open {
    display: block;
  }
  .category-strip .container {
    flex-direction: column;
    align-items: stretch;
    height: auto;
    gap: 0;
    padding: 6px 20px 10px;
  }
  .category-strip a {
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
    white-space: normal;
  }
  .category-strip a:last-child {
    border-bottom: none;
  }

  .promo-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .promo-tile.main {
    grid-row: auto;
    min-height: 220px;
  }
  .promo-tile.main h2 {
    font-size: 26px;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-layout {
    grid-template-columns: 1fr;
    padding-bottom: 90px;
  }
  .gallery-main {
    max-width: 480px;
    margin: 0 auto;
  }
  .gallery-thumbs {
    max-width: 480px;
    margin-inline: auto;
  }
  .buybox {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .site-footer {
    padding-bottom: 90px;
  }

  .mobile-tabbar {
    display: block;
  }
  body.has-sticky-buy {
    padding-bottom: 0;
  }

  .sticky-buy-mobile {
    display: flex;
    position: fixed;
    bottom: 54px;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--line);
    padding: 10px 14px;
    gap: 10px;
    z-index: 45;
  }
  .sticky-buy-mobile .btn {
    flex: 1;
    padding: 12px;
    font-size: 13.5px;
  }
}
@media (min-width: 861px) {
  .sticky-buy-mobile {
    display: none;
  }
}

@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .pd-price-now {
    font-size: 24px;
  }
}

@media (max-width: 860px) {
    .product-layout {
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .product-layout > * {
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    .product-layout img {
        max-width: 100%;
    }

    .gallery-main,
    .gallery-thumbs {
        width: 100%;
        max-width: 480px;
        min-width: 0;
        box-sizing: border-box;
    }

    .gallery-main {
        overflow: hidden;
    }

    .gallery-main img {
        display: block;
        max-width: 100%;
    }

    .pd-title,
    .product-name,
    .product-description,
    .pd-meta {
        max-width: 100%;
        min-width: 0;
        overflow-wrap: anywhere;
        word-break: break-word;
    }
}

@media (max-width: 600px) {
    .product-layout {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .gallery-main,
    .gallery-thumbs {
        max-width: 100%;
    }

    #img-zoomer-box {
        overflow: hidden;
    }

    #img-1 {
        max-width: 100%;
    }
}

.footer-grid a.f-app {
  display: flex;
  align-items: center;
  gap: 10px;

  width: 190px;
  min-height: 52px;
  box-sizing: border-box;

  padding: 7px 14px;

  border: 1px solid #fff;
  border-radius: 8px;

  color: #fff;
  opacity: 1;
  margin-top: 10px;
  text-decoration: none;
}

.footer-grid a.f-app:hover {
  text-decoration: none;
  color: #1c7a51;
  border-color: #1c7a51;
}

.footer-grid a.f-app svg {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}

.footer-grid a.f-app span {
  display: block;
  padding: 0;
}

.footer-grid a.f-app small {
  display: block;
  padding: 0;
  margin: 0 0 4px;

  font-size: 0.58rem;
  line-height: 1;

  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-grid a.f-app b {
  display: block;
  padding: 0;

  font-size: 1rem;
  line-height: 1;
  white-space: nowrap;
}
.deal-carousel {
    position: relative;
    overflow: hidden;
    padding: 0 !important;
}

.deal-slide {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    opacity: 0;
    visibility: hidden;

    transition: opacity 0.35s ease;
}

.deal-slide.active {
    opacity: 1;
    visibility: visible;
}

.deal-slide img {
    display: block;
    width: 100%;
    height: 100%;
     /* object-fit: cover; */
}


/* Slider arrows */

.deal-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translateY(-50%);

    border: 0;
    border-radius: 50%;

    background: rgba(0, 0, 0, 0.45);
    color: #fff;

    cursor: pointer;
}

.deal-arrow:hover {
    background: rgba(0, 0, 0, 0.65);
}

.deal-arrow.prev {
    left: 15px;
}

.deal-arrow.next {
    right: 15px;
}

.deal-arrow svg {
    width: 20px;
    height: 20px;

    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}


/* Slider dots */

.deal-dots {
    position: absolute;
    left: 50%;
    bottom: 15px;
    z-index: 5;

    display: flex;
    align-items: center;
    gap: 6px;

    transform: translateX(-50%);
}

.deal-dots button {
    width: 7px;
    height: 7px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.55);

    cursor: pointer;
}

.deal-dots button.active {
    width: 20px;
    border-radius: 10px;
    background: #fff;
}


/* Small promo images */

.promo-tile {
    position: relative;
    overflow: hidden;
}

.promo-tile-bg {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    /* object-fit: cover; */
}

.promo-tile-content {
    position: relative;
    z-index: 2;
}



.empty-products {
    width: 100%;
    padding: 80px 20px;
    text-align: center;
    box-sizing: border-box;
}

.empty-products-inner {
    max-width: 520px;
    margin: 0 auto;
}

.empty-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f5f6f3;
}

.empty-icon .svg-ico {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    color: var(--accent);
}

.empty-products h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: #222;
}

.empty-products p {
    margin: 10px auto 0;
    max-width: 460px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.empty-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
}

.empty-actions .btn-bz {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    box-sizing: border-box;
    transition: 0.2s ease;
}



.empty-actions .btn-primary:hover {
    opacity: 0.9;
}

.empty-actions .btn-outline {
  
    color: #333;
    border: 1px solid #d9d9d9;
}



@media (max-width: 576px) {
    .empty-products {
        padding: 60px 16px;
    }

    .empty-icon {
        width: 64px;
        height: 64px;
        margin-bottom: 16px;
    }

    .empty-icon .svg-ico {
        width: 30px;
        height: 30px;
    }

    .empty-products h2 {
        font-size: 21px;
    }

    .empty-products p {
        font-size: 13px;
    }

    .empty-actions {
        gap: 8px;
    }

    .empty-actions .btn-bz {
        flex: 1;
        padding: 10px 12px;
        font-size: 13px;
    }
}

.stars {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    line-height: 1;
}

.stars svg {
    width: 17px;
    height: 17px;
    display: block;

    fill: #f5b301;
    stroke: #f5b301;
    stroke-width: 1;
}

.stars svg.empty {
    fill: #d9dde3;
    stroke: #d9dde3;
}
.shop-alert {
    width: 100%;
    padding: 12px 16px;
    margin: 12px 0;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
}

.shop-alert-success {
    background: #ecfdf3;
    border: 1px solid #b7ebc6;
    color: #18794e;
}

.shop-alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

/* ==========================================
   CART PAGE
   ========================================== */

.cart-page {
    padding-top: 25px;
    padding-bottom: 45px;
}

.cart-page,
.cart-page * {
    box-sizing: border-box;
}


/* ==========================================
   CHECKOUT STEPS
   ========================================== */

.cart-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 25px;
    color: #9ca3af;
    font-size: 13px;
    font-weight: 500;
}

.cart-step {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.cart-step-number {
    width: 30px;
    height: 30px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: #f1f3f5;
    color: #8b929a;

    font-size: 13px;
    font-weight: 600;
}

.cart-step.active {
    color: #222;
}

.cart-step.active .cart-step-number {
    background: #1c7a51;
    color: #fff;
}

.cart-step-line {
    width: 55px;
    height: 1px;
    background: #e2e5e9;
}


/* ==========================================
   COMMON PANEL
   ========================================== */

.cart-page .panel,
.cart-page .cart-card {
    background: #fff;
    border: 1px solid #e8ebee;
    border-radius: 12px;
}


/* ==========================================
   PAGE HEADING
   ========================================== */

.cart-page-head {
    padding: 20px 22px;
    margin-bottom: 18px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-page-head h1 {
    margin: 0;
    color: #20252b;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 600;
}

.cart-page-head p {
    margin: 6px 0 0;
    color: #858c94;
    font-size: 13px;
}


/* ==========================================
   CART LAYOUT
   ========================================== */

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 20px;
    align-items: start;
}


/* ==========================================
   CART CARD
   ========================================== */

.cart-card {
    overflow: hidden;
}

.cart-card-head {
    min-height: 62px;
    padding: 16px 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid #edf0f2;
}

.cart-card-head h2 {
    margin: 0;
    color: #20252b;
    font-size: 17px;
    font-weight: 600;
}

.cart-count {
    padding: 5px 10px;

    border-radius: 20px;
    background: #f3f7ee;
    color: #6c963c;

    font-size: 12px;
    font-weight: 500;
}


/* ==========================================
   CART ITEMS
   ========================================== */

.cart-items {
    width: 100%;
}

.cart-item {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr) auto;
    gap: 16px;

    padding: 18px 20px;

    border-bottom: 1px solid #edf0f2;
}

.cart-item:last-child {
    border-bottom: 0;
}


/* ==========================================
   PRODUCT IMAGE
   ========================================== */

.cart-item-image {
    width: 90px;
    height: 90px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
    border-radius: 9px;
    background: #f7f8f9;

    text-decoration: none;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    display: block;

    object-fit: contain;
}


/* ==========================================
   PRODUCT INFO
   ========================================== */

.cart-item-info {
    min-width: 0;
    padding-top: 2px;
}

.cart-item-name {
    display: block;

    color: #24292f;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 500;

    text-decoration: none;

    transition: color .2s ease;
}

.cart-item-name:hover {
    color: #78a542;
}

.cart-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;

    margin-top: 7px;

    color: #858c94;
    font-size: 12px;
}

.cart-item-price {
    margin-top: 10px;

    color: #20252b;
    font-size: 14px;
    font-weight: 600;
}


/* ==========================================
   ITEM SIDE
   ========================================== */

.cart-item-side {
    min-width: 130px;

    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
}


/* ==========================================
   QUANTITY
   ========================================== */

.cart-quantity {
    height: 36px;

    display: inline-flex;
    align-items: center;

    border: 1px solid #dfe3e7;
    border-radius: 7px;
    overflow: hidden;

    background: #fff;
}

.cart-quantity button {
    width: 34px;
    height: 34px;

    padding: 0;
    border: 0;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: #f8f9fa;
    color: #454b52;

    font-size: 18px;
    line-height: 1;

    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.cart-quantity button:hover {
    background: #1c7a51;
    color: #fff;
}

.cart-quantity input {
    width: 42px;
    height: 34px;

    padding: 0;

    border: 0;
    outline: 0;

    background: #fff;
    color: #24292f;

    text-align: center;
    font-size: 13px;
    font-weight: 500;

    appearance: textfield;
    -moz-appearance: textfield;
}

.cart-quantity input::-webkit-outer-spin-button,
.cart-quantity input::-webkit-inner-spin-button {
    margin: 0;
    appearance: none;
}


/* ==========================================
   ITEM TOTAL
   ========================================== */

.cart-item-total {
    color: #20252b;
    font-size: 14px;
    font-weight: 600;
}


/* ==========================================
   REMOVE
   ========================================== */

.cart-remove {
    color: #a1a7ad;
    font-size: 12px;
    text-decoration: none;

    transition: color .2s ease;
}

.cart-remove:hover {
    color: #e74c3c;
    text-decoration: underline;
}


/* ==========================================
   CART ACTIONS / COUPON
   ========================================== */

.cart-actions {
    padding: 18px 20px;

    border-top: 1px solid #edf0f2;
    background: #fafbfc;
}

.coupon-form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.coupon-label {
    color: #50565d;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.coupon-input {
    height: 40px;
    min-width: 0;
    flex: 1;

    padding: 0 12px;

    border: 1px solid #dfe3e7;
    border-radius: 7px;
    outline: 0;

    background: #fff;
    color: #24292f;

    font-size: 13px;

    transition: border-color .2s ease, box-shadow .2s ease;
}

.coupon-input:focus {
    border-color: #1c7a51;
    box-shadow: 0 0 0 3px rgba(144, 194, 83, .12);
}

.coupon-input:disabled {
    background: #f2f3f4;
    color: #8b9299;
}

.coupon-button,
.coupon-remove {
    height: 40px;

    padding: 0 14px;

    border-radius: 7px;

    font-size: 12.5px;
    font-weight: 500;

    cursor: pointer;
    white-space: nowrap;

    transition: all .2s ease;
}

.coupon-button {
    border: 1px solid #1c7a51;
    background: #1c7a51;
    color: #fff;
}

.coupon-button:hover {
    background: #7eae46;
    border-color: #7eae46;
}

.coupon-remove {
    border: 1px solid #dfe3e7;
    background: #fff;
    color: #666d74;
}

.coupon-remove:hover {
    border-color: #e74c3c;
    color: #e74c3c;
}


/* ==========================================
   ORDER SUMMARY
   ========================================== */

.cart-summary {
    position: sticky;
    top: 20px;
}

.cart-summary .summary-body {
    padding: 20px;
}


/* ==========================================
   SUMMARY ROWS
   ========================================== */

.cart-summary .summary-row,
.cart-summary .buybox-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    padding: 10px 0;

    color: #646b72;
    font-size: 13px;
}

.cart-summary .summary-row strong,
.cart-summary .buybox-row strong {
    color: #24292f;
    font-weight: 600;
}


/* ==========================================
   CHECKOUT BUTTON
   ========================================== */

.checkout-btn {
    width: 100%;
    min-height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-top: 5px;
    padding: 0 16px;

    border-radius: 8px;

    background: #1c7a51;
    color: #fff;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;

    transition: background .2s ease, transform .2s ease;
}

.checkout-btn:hover {
    background: #7eae46;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}


/* ==========================================
   CONTINUE SHOPPING
   ========================================== */

.continue-shopping {
    min-height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    margin-top: 10px;

    color: #666d74;

    font-size: 12.5px;
    font-weight: 500;

    text-decoration: none;
}

.continue-shopping:hover {
    color: #78a542;
    text-decoration: none;
}

.continue-shopping svg {
    flex: 0 0 auto;
}


/* ==========================================
   EMPTY CART
   ========================================== */

.cart-page > .cart-card:has(.cart-empty) {
    min-height: 400px;
}

.cart-empty {
    min-height: 400px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 40px 20px;

    text-align: center;
}

.cart-empty-icon {
    width: 72px;
    height: 72px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 18px;

    border-radius: 50%;
    background: #f3f7ee;
    color: #1c7a51;
}

.cart-empty-icon svg {
    width: 36px;
    height: 36px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cart-empty h2 {
    margin: 0;

    color: #24292f;

    font-size: 20px;
    line-height: 1.3;
    font-weight: 600;
}

.cart-empty p {
    max-width: 400px;

    margin: 8px 0 20px;

    color: #858c94;

    font-size: 13px;
    line-height: 1.6;
}

.cart-empty-btn {
    min-height: 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 20px;

    border-radius: 7px;

    background: #1c7a51;
    color: #fff;

    font-size: 13px;
    font-weight: 500;

    text-decoration: none;

    transition: background .2s ease;
}

.cart-empty-btn:hover {
    background: #7eae46;
    color: #fff;
    text-decoration: none;
}


/* ==========================================
   MOBILE
   ========================================== */

@media (max-width: 900px) {

    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-summary {
        position: static;
    }

}


@media (max-width: 650px) {

    .cart-page {
        padding-top: 15px;
        padding-bottom: 30px;
    }

    .cart-steps {
        gap: 7px;
        font-size: 11px;
    }

    .cart-step {
        gap: 5px;
    }

    .cart-step-number {
        width: 26px;
        height: 26px;
        font-size: 11px;
    }

    .cart-step-line {
        width: 20px;
    }

    .cart-page-head {
        padding: 16px;
        margin-bottom: 12px;
    }

    .cart-page-head h1 {
        font-size: 20px;
    }

    .cart-card-head {
        padding: 14px 16px;
        min-height: 54px;
    }

    .cart-card-head h2 {
        font-size: 15px;
    }

    .cart-item {
        grid-template-columns: 70px minmax(0, 1fr);
        gap: 12px;

        padding: 15px;
    }

    .cart-item-image {
        width: 70px;
        height: 70px;
    }

    .cart-item-info {
        padding: 0;
    }

    .cart-item-name {
        font-size: 14px;
    }

    .cart-item-price {
        margin-top: 7px;
        font-size: 13px;
    }

    .cart-item-side {
        grid-column: 1 / -1;

        min-width: 0;

        flex-direction: row;
        align-items: center;
        justify-content: space-between;

        padding-top: 3px;
    }

    .cart-item-total {
        margin-left: auto;
        margin-right: 8px;
    }

    .cart-actions {
        padding: 15px;
    }

    .coupon-form {
        display: grid;
        grid-template-columns: 1fr auto;
    }

    .coupon-label {
        grid-column: 1 / -1;
    }

    .coupon-input {
        width: 100%;
    }

    .coupon-button,
    .coupon-remove {
        padding: 0 11px;
    }

    .cart-summary .summary-body {
        padding: 16px;
    }

}


@media (max-width: 420px) {

    .cart-steps {
        justify-content: space-between;
        width: 100%;
    }

    .cart-step span:last-child {
        display: none;
    }

    .cart-step-number {
        width: 30px;
        height: 30px;
    }

    .cart-step-line {
        flex: 1;
        max-width: 45px;
    }

    .cart-page-head h1 {
        font-size: 18px;
    }

    .cart-count {
        font-size: 11px;
        padding: 4px 8px;
    }

    .cart-item {
        grid-template-columns: 62px minmax(0, 1fr);
    }

    .cart-item-image {
        width: 62px;
        height: 62px;
    }

    .cart-item-meta {
        display: block;
    }

    .cart-item-meta span {
        display: block;
        margin-top: 3px;
    }

    .cart-quantity {
        height: 34px;
    }

    .cart-quantity button {
        width: 31px;
        height: 32px;
    }

    .cart-quantity input {
        width: 38px;
        height: 32px;
    }

    .cart-item-total {
        font-size: 13px;
    }

    .cart-remove {
        font-size: 11px;
    }

    .coupon-form {
        grid-template-columns: 1fr;
    }

    .coupon-button,
    .coupon-remove {
        width: 100%;
    }

}

.login-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 45px 20px;
    box-sizing: border-box;
}

.login-card {
    width: 100%;
    max-width: 430px;
    padding: 30px;
    box-sizing: border-box;

    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    box-shadow: 0 8px 30px rgba(0, 0, 0, .05);
}

.login-head {
    text-align: center;
    margin-bottom: 25px;
}

.login-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: rgba(144, 194, 83, .10);
    color: var(--green-700);
}

.login-icon svg {
    width: 29px;
    height: 29px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.login-eyebrow {
    display: block;
    margin-bottom: 5px;

    color: var(--green-700);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.login-head h1 {
    margin: 0;
    color: var(--ink);
    font-size: 25px;
    line-height: 1.3;
    font-weight: 600;
}

.login-head p {
    margin: 7px 0 0;
    color: var(--ink-soft);
    font-size: 13px;
    line-height: 1.5;
}

.login-alert {
    margin-bottom: 18px;
    padding: 11px 13px;

    border: 1px solid #f0caca;
    border-radius: var(--radius-s);

    background: #fff5f5;
    color: #c0392b;

    font-size: 12.5px;
    line-height: 1.5;
}

.login-alert div + div {
    margin-top: 4px;
}

.login-form {
    width: 100%;
}

.login-field {
    margin-bottom: 17px;
}

.login-field > label {
    display: block;
    margin-bottom: 7px;

    color: var(--ink-soft);
    font-size: 12.5px;
    font-weight: 600;
}

.login-input-wrap {
    position: relative;
    width: 100%;
}

.login-input-icon {
    position: absolute;
    left: 13px;
    top: 50%;

    width: 18px;
    height: 18px;

    transform: translateY(-50%);

    color: #9aa1a8;
    pointer-events: none;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.login-input {
    width: 100%;
    height: 44px;
    box-sizing: border-box;

    padding: 10px 13px 10px 42px;

    border: 1px solid var(--line);
    border-radius: var(--radius-s);

    background: #fff;
    color: var(--ink);

    font-size: 14px;
    font-family: inherit;

    outline: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.login-input::placeholder {
    color: #a5abb1;
}

.login-input:focus {
    border-color: var(--green-700);
    box-shadow: 0 0 0 3px rgba(144, 194, 83, .10);
}

.login-password {
    padding-right: 45px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 8px;

    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translateY(-50%);

    padding: 0;
    border: 0;
    border-radius: 6px;

    background: transparent;
    color: #9299a0;

    cursor: pointer;
}

.password-toggle:hover {
    background: #f5f7f8;
    color: var(--green-700);
}

.password-toggle svg {
    width: 18px;
    height: 18px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 2px 0 20px;
}

.remember-me {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: var(--ink-soft);
    font-size: 12.5px;
    cursor: pointer;
}

.remember-me input {
    width: 15px;
    height: 15px;
    margin: 0;

    accent-color: var(--green-700);
}

.login-submit {
    width: 100%;
    min-height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 16px;

    border: 1px solid var(--green-700);
    border-radius: var(--radius-s);

    background: var(--green-700);
    color: #fff;

    font-size: 13.5px;
    font-weight: 600;
    font-family: inherit;

    cursor: pointer;

    transition:
        background .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.login-submit:hover {
    background: #7eae46;
    border-color: #7eae46;
    color: #fff;
    transform: translateY(-1px);
}

.login-register {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;

    margin-top: 22px;
    padding-top: 20px;

    border-top: 1px solid var(--line);

    color: var(--ink-soft);
    font-size: 12.5px;
    text-align: center;
}

.login-register a {
    color: var(--green-700);
    font-weight: 600;
    text-decoration: none;
}

.login-register a:hover {
    color: #78a542;
    text-decoration: underline;
}

@media (max-width: 500px) {
    .login-page {
        min-height: auto;
        padding: 30px 15px;
    }

    .login-card {
        max-width: 100%;
        padding: 24px 18px;
        border-radius: 10px;
    }

    .login-head {
        margin-bottom: 22px;
    }

    .login-head h1 {
        font-size: 22px;
    }
}

@media (max-width: 360px) {
    .login-card {
        padding: 22px 15px;
    }

    .login-icon {
        width: 52px;
        height: 52px;
    }

    .login-head h1 {
        font-size: 21px;
    }
}