:root{
  --brown:#4b331d;
  --brown-dark:#2f2115;
  --brown-soft:#6c5137;
  --cream:#f5ede3;
  --ivory:#fffaf4;
  --gold:#b8945a;
  --gold-soft:#d7bc8d;
  --text:#2f251c;
  --muted:#756554;
  --line:#e6d8c8;
  --line-soft:#efe3d5;
  --white:#ffffff;
  --shadow:0 10px 30px rgba(47,33,21,.08);
  --shadow-soft:0 6px 18px rgba(47,33,21,.06);
  --radius:18px;
  --radius-sm:12px;
  --radius-pill:999px;
  --container:min(1120px,92%);
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:Georgia,"Times New Roman",serif;
  background:var(--ivory);
  color:var(--text);
  line-height:1.6;
}

img{
  max-width:100%;
  display:block;
}

a{
  color:var(--brown);
  text-decoration:none;
  transition:all .25s ease;
}

button,
input,
select,
textarea{
  font:inherit;
}

.container{
  width:var(--container);
  margin:auto;
}

/* =========================
   HEADER
========================= */
.site-header{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(255,250,244,.94);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(230,216,200,.85);
  box-shadow:0 4px 20px rgba(47,33,21,.04);
}

.header-top{
  background:linear-gradient(180deg,#fbf5ee 0%, #f8f1e8 100%);
}

.header-top-inner{
  display:grid;
  grid-template-columns:220px minmax(260px,1fr) auto;
  gap:18px;
  align-items:center;
  padding:16px 0;
}

.logo{
  display:inline-flex;
  align-items:baseline;
  gap:6px;
  font-size:2rem;
  letter-spacing:.5px;
  font-weight:700;
  white-space:nowrap;
}

.logo-mark{
  color:var(--brown);
}

.logo-accent{
  color:var(--gold);
}

.header-search{
  display:flex;
  align-items:center;
  gap:10px;
  background:rgba(255,255,255,.8);
  border:1px solid var(--line);
  border-radius:var(--radius-pill);
  padding:6px;
  box-shadow:var(--shadow-soft);
}

.header-search input{
  flex:1;
  min-width:0;
  border:none;
  outline:none;
  background:transparent;
  padding:10px 14px;
  color:var(--text);
}

.header-search input::placeholder{
  color:#8b7a69;
}

.header-search button,
.btn{
  border:none;
  cursor:pointer;
  background:linear-gradient(135deg,var(--brown) 0%, var(--brown-soft) 100%);
  color:var(--white);
  padding:11px 18px;
  border-radius:var(--radius-pill);
  font-weight:700;
  box-shadow:0 10px 18px rgba(75,51,29,.18);
  transition:transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.header-search button:hover,
.btn:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 24px rgba(75,51,29,.24);
}

.header-actions{
  display:flex;
  align-items:center;
  gap:12px;
}

.header-cart{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border:1px solid var(--line);
  border-radius:var(--radius-pill);
  background:rgba(255,255,255,.8);
  box-shadow:var(--shadow-soft);
  font-weight:700;
}

.header-cart:hover{
  border-color:var(--gold-soft);
  transform:translateY(-1px);
}

.cart-icon{
  font-size:1rem;
}

.cart-count{
  min-width:28px;
  height:28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 8px;
  border-radius:999px;
  background:var(--brown);
  color:#fff;
  font-size:.9rem;
  line-height:1;
}

.nav-toggle{
  display:none;
  width:48px;
  height:48px;
  border:none;
  border-radius:14px;
  background:var(--brown);
  cursor:pointer;
  padding:0;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;
  box-shadow:0 10px 18px rgba(75,51,29,.18);
}

.nav-toggle span{
  display:block;
  width:20px;
  height:2px;
  background:#fff;
  border-radius:999px;
  transition:all .25s ease;
}

.nav-toggle.active span:nth-child(1){
  transform:translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2){
  opacity:0;
}

.nav-toggle.active span:nth-child(3){
  transform:translateY(-7px) rotate(-45deg);
}

.header-nav-wrap{
  border-top:1px solid rgba(230,216,200,.7);
  border-bottom:1px solid rgba(230,216,200,.65);
  background:rgba(255,248,240,.88);
}

.main-nav{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:10px;
  padding:12px 0;
}

.nav-link{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:999px;
  color:var(--brown);
  font-weight:600;
}

.nav-link:hover{
  background:#fff;
  color:var(--brown-dark);
}

.nav-link.active{
  background:var(--brown);
  color:#fff;
  box-shadow:0 10px 18px rgba(75,51,29,.16);
}

.categories-strip-wrap{
  background:linear-gradient(180deg,#faf4ec 0%, #f6ede4 100%);
}

.categories-strip{
  display:flex;
  gap:10px;
  padding:12px 0 14px;
  flex-wrap:wrap;
}

.categories-strip a{
  display:inline-flex;
  align-items:center;
  padding:8px 14px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.7);
  color:var(--brown-soft);
  font-size:.95rem;
}

.categories-strip a:hover{
  background:var(--brown);
  color:#fff;
  border-color:var(--brown);
}

/* =========================
   MOBILE MENU
========================= */
.mobile-menu{
  display:none;
  border-top:1px solid var(--line);
  background:linear-gradient(180deg,#fcf8f2 0%, #f7efe6 100%);
}

.mobile-menu.open{
  display:block;
}

.mobile-menu-inner{
  padding:16px 0 20px;
}

.mobile-search{
  display:flex;
  gap:8px;
  margin-bottom:16px;
}

.mobile-search input{
  flex:1;
  border:1px solid var(--line);
  border-radius:999px;
  padding:11px 14px;
  background:#fff;
}

.mobile-search button{
  border:none;
  background:var(--brown);
  color:#fff;
  border-radius:999px;
  padding:11px 16px;
  font-weight:700;
  cursor:pointer;
}

.mobile-nav{
  display:grid;
  gap:8px;
}

.mobile-link{
  display:block;
  padding:12px 14px;
  border-radius:14px;
  background:rgba(255,255,255,.72);
  border:1px solid var(--line-soft);
  font-weight:600;
}

.mobile-link.active{
  background:var(--brown);
  border-color:var(--brown);
  color:#fff;
}

.mobile-categories{
  margin-top:18px;
}

.mobile-categories-title{
  margin-bottom:10px;
  color:var(--brown);
  font-weight:700;
}

.mobile-categories-list{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.mobile-categories-list a{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border:1px solid var(--line);
  border-radius:999px;
  background:#fff;
  font-size:.92rem;
}

/* =========================
   HERO / SECTIONS
========================= */
.hero{
  padding:78px 0;
  background:
    radial-gradient(circle at top right,rgba(184,148,90,.35) 0%, rgba(75,51,29,.98) 52%, #2f2115 100%);
  color:#fff;
}

.hero h1{
  margin:0 0 14px;
  font-size:clamp(2rem,4vw,3.2rem);
  line-height:1.15;
}

.hero p{
  max-width:700px;
  margin:0;
  color:rgba(255,255,255,.88);
}

.section{
  padding:52px 0;
}

.section h2{
  margin-top:0;
  margin-bottom:14px;
  color:var(--brown);
  font-size:clamp(1.55rem,2.6vw,2.1rem);
}

/* =========================
   GRIDS / CARDS
========================= */
.grid{
  display:grid;
  gap:22px;
}

.grid-4{
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
}

.card{
  background:#fff;
  border:1px solid var(--line-soft);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:var(--shadow);
}

.product-card img,
.cover{
  width:100%;
  height:220px;
  object-fit:cover;
  border-radius:14px;
  background:#eee;
}

.product-meta{
  font-size:.94rem;
  color:var(--muted);
}

.price{
  font-weight:700;
  color:var(--brown);
  font-size:1.08rem;
}

.old{
  color:#9b8167;
  text-decoration:line-through;
  margin-left:8px;
}

/* =========================
   FORMS / FILTERS / LAYOUT
========================= */
.layout{
  display:grid;
  grid-template-columns:280px 1fr;
  gap:24px;
}

.filters label,
.filters select,
.filters input,
.input,
textarea{
  width:100%;
}

.filters select,
.filters input,
.input,
textarea{
  margin-bottom:12px;
  padding:11px 12px;
  border:1px solid #cfbca5;
  border-radius:12px;
  background:#fff;
  color:var(--text);
}

textarea{
  min-height:120px;
  resize:vertical;
}

.filters select:focus,
.filters input:focus,
.input:focus,
textarea:focus,
.header-search input:focus,
.mobile-search input:focus{
  outline:none;
  border-color:var(--gold);
  box-shadow:0 0 0 3px rgba(184,148,90,.14);
}

/* =========================
   TABLES / ALERTS
========================= */
.table{
  width:100%;
  border-collapse:collapse;
  background:#fff;
  border-radius:16px;
  overflow:hidden;
  box-shadow:var(--shadow-soft);
}

.table th,
.table td{
  border:1px solid #e7d7c4;
  padding:12px;
  text-align:left;
  vertical-align:top;
}

.table th{
  background:#f8efe5;
  color:var(--brown);
}

.alert{
  padding:13px 14px;
  background:#e9f4ea;
  border-left:4px solid #2e7d32;
  border-radius:10px;
  margin-bottom:14px;
}

/* =========================
   FOOTER
========================= */
.site-footer{
  background:#2f2115;
  color:#ead7c0;
  padding:38px 0 14px;
  margin-top:48px;
}

.site-footer a{
  color:#f3e2cb;
}

.footer-grid{
  display:grid;
  gap:22px;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
}

/* =========================
   WHATSAPP FLOAT
========================= */
.whatsapp-float{
  position:fixed;
  right:18px;
  bottom:18px;
  background:#25D366;
  color:#fff;
  padding:13px 17px;
  border-radius:999px;
  font-weight:700;
  box-shadow:0 8px 22px rgba(0,0,0,.25);
  z-index:999;
}

.whatsapp-float:hover{
  transform:translateY(-2px);
}

/* =========================
   UTILITIES
========================= */
.text-center{
  text-align:center;
}

.hidden{
  display:none !important;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width:1024px){
  .header-top-inner{
    grid-template-columns:200px 1fr auto;
    gap:14px;
  }

  .main-nav{
    gap:8px;
  }

  .nav-link{
    padding:9px 12px;
    font-size:.96rem;
  }
}

@media (max-width:860px){
  .site-header{
    position:sticky;
  }

  .header-top-inner{
    grid-template-columns:1fr auto;
    grid-template-areas:
      "logo actions"
      "search search";
    gap:14px;
  }

  .logo{
    grid-area:logo;
    font-size:1.8rem;
  }

  .header-actions{
    grid-area:actions;
  }

  .header-search{
    grid-area:search;
  }

  .nav-toggle{
    display:inline-flex;
  }

  .header-cart .cart-text{
    display:none;
  }

  .header-nav-wrap{
    display:none;
  }

  .categories-strip-wrap{
    display:none;
  }

  .layout{
    grid-template-columns:1fr;
  }

  .hero{
    padding:62px 0;
  }
}

@media (max-width:640px){
  .container{
    width:min(94%,1120px);
  }

  .header-search{
    flex-direction:column;
    align-items:stretch;
    border-radius:18px;
    padding:10px;
  }

  .header-search button{
    width:100%;
  }

  .mobile-search{
    flex-direction:column;
  }

  .hero h1{
    font-size:2rem;
  }

  .section{
    padding:42px 0;
  }

  .card{
    padding:16px;
  }

  .product-card img,
  .cover{
    height:200px;
  }

  .whatsapp-float{
    right:14px;
    bottom:14px;
    padding:12px 14px;
    font-size:.95rem;
  }
}

.hero-home .hero-content{
  max-width: 760px;
}

.hero-badge{
  display:inline-flex;
  align-items:center;
  padding:8px 14px;
  margin-bottom:18px;
  border:1px solid rgba(255,255,255,.20);
  border-radius:999px;
  background:rgba(255,255,255,.08);
  color:rgba(255,255,255,.92);
  font-size:.95rem;
  font-weight:600;
  backdrop-filter:blur(8px);
}

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

.hero-btn,
.hero-btn-secondary{
  min-width:220px;
  text-align:center;
  justify-content:center;
  padding:14px 24px;
  font-size:1rem;
}

.btn-outline{
  background:transparent;
  color:#fff;
  border:1px solid rgba(255,255,255,.32);
  box-shadow:none;
}

.btn-outline:hover{
  background:rgba(255,255,255,.10);
  color:#fff;
}

@media (max-width:640px){
  .hero-actions{
    flex-direction:column;
    align-items:stretch;
  }

  .hero-btn,
  .hero-btn-secondary{
    width:100%;
    min-width:0;
  }
}

.site-footer{
  background:linear-gradient(180deg,#2f2115 0%, #24180f 100%);
  color:#ead7c0;
  margin-top:48px;
  border-top:1px solid rgba(255,255,255,.06);
}

.footer-top{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr;
  gap:32px;
  padding:50px 0 30px;
}

.footer-logo{
  display:inline-block;
  margin-bottom:14px;
  font-size:2rem;
  font-weight:700;
  color:#fff;
  letter-spacing:.5px;
}

.footer-logo span{
  color:var(--gold);
}

.footer-text{
  max-width:460px;
  margin:0 0 18px;
  color:#e8d8c6;
  line-height:1.75;
}

.footer-contact p{
  margin:0 0 10px;
  color:#ead7c0;
}

.site-footer a{
  color:#f3e2cb;
}

.site-footer a:hover{
  color:#fff;
}

.footer-links h4{
  margin:0 0 14px;
  color:#fff;
  font-size:1.08rem;
}

.footer-links ul{
  list-style:none;
  margin:0;
  padding:0;
}

.footer-links li{
  margin-bottom:10px;
}

.footer-links a{
  color:#e8d8c6;
}

.footer-links a:hover{
  color:#fff;
  padding-left:4px;
}

.footer-bottom{
  border-top:1px solid rgba(255,255,255,.08);
  padding:18px 0 20px;
}

.footer-copy{
  margin:0;
  text-align:center;
  color:#e8d8c6;
  line-height:1.7;
}

.footer-copy a{
  color:var(--gold-soft);
  font-weight:700;
}

.footer-copy a:hover{
  color:#fff;
}

@media (max-width:860px){
  .footer-top{
    grid-template-columns:1fr 1fr;
    gap:26px;
  }
}

@media (max-width:640px){
  .footer-top{
    grid-template-columns:1fr;
    padding:40px 0 24px;
  }

  .footer-brand,
  .footer-links{
    text-align:center;
  }

  .footer-text{
    max-width:none;
  }

  .footer-links ul{
    display:flex;
    flex-direction:column;
    gap:8px;
  }
}

.about-page{
  padding-bottom:10px;
}

.about-hero-block{
  max-width:820px;
}

.about-intro{
  max-width:760px;
  font-size:1.06rem;
  color:var(--muted);
}

.about-grid-main{
  grid-template-columns:repeat(2,minmax(0,1fr));
}

.about-grid-split{
  grid-template-columns:repeat(2,minmax(0,1fr));
}

.about-story-card,
.about-highlight,
.about-cta-card{
  padding:28px;
}

.about-highlight .btn,
.about-cta-card .btn{
  margin-top:10px;
}

.btn-outline-dark{
  background:transparent;
  color:var(--brown);
  border:1px solid var(--brown);
  box-shadow:none;
}

.btn-outline-dark:hover{
  background:var(--brown);
  color:#fff;
}

@media (max-width:860px){
  .about-grid-main,
  .about-grid-split{
    grid-template-columns:1fr;
  }

  .about-story-card,
  .about-highlight,
  .about-cta-card{
    padding:22px;
  }
}

.contact-page{
  padding-bottom:10px;
}

.contact-hero{
  max-width:820px;
}

.contact-intro{
  max-width:760px;
  font-size:1.05rem;
  color:var(--muted);
}

.contact-layout{
  grid-template-columns:380px minmax(0,1fr);
  align-items:start;
}

.contact-info-card,
.contact-form-card,
.contact-bottom-card{
  padding:28px;
}

.contact-info-list{
  display:grid;
  gap:16px;
  margin-top:22px;
}

.contact-info-item{
  padding-bottom:14px;
  border-bottom:1px solid var(--line-soft);
}

.contact-info-item:last-child{
  border-bottom:none;
  padding-bottom:0;
}

.contact-info-item h3{
  margin:0 0 6px;
  color:var(--brown);
  font-size:1.02rem;
}

.contact-info-item p{
  margin:0;
  color:var(--muted);
}

.contact-side-cta{
  margin-top:24px;
}

.contact-form-card h2,
.contact-info-card h2,
.contact-bottom-card h2{
  margin-top:0;
}

.contact-form-text{
  color:var(--muted);
  margin-bottom:18px;
}

.contact-form{
  display:grid;
  gap:16px;
}

.contact-form-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}

.contact-form label{
  display:block;
}

.contact-form label span{
  display:block;
  margin-bottom:8px;
  font-weight:700;
  color:var(--brown);
}

.contact-actions{
  margin-top:4px;
}

.alert-error{
  background:#fff2f2;
  border-left:4px solid #c62828;
  color:#7a1c1c;
}

.contact-bottom-card .grid{
  margin-top:18px;
}

.contact-bottom-card h3{
  margin-top:0;
  margin-bottom:8px;
  color:var(--brown);
}

@media (max-width:960px){
  .contact-layout{
    grid-template-columns:1fr;
  }
}

@media (max-width:640px){
  .contact-info-card,
  .contact-form-card,
  .contact-bottom-card{
    padding:22px;
  }

  .contact-form-grid{
    grid-template-columns:1fr;
  }
}

.cart-page{
  padding-bottom:20px;
}

.cart-hero{
  max-width:820px;
}

.cart-intro{
  max-width:760px;
  color:var(--muted);
  font-size:1.05rem;
}

.cart-empty-card{
  max-width:760px;
  padding:30px;
}

.cart-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 340px;
  gap:24px;
  align-items:start;
}

.cart-products{
  display:grid;
  gap:18px;
}

.cart-item-card{
  display:grid;
  grid-template-columns:180px minmax(0,1fr);
  gap:20px;
  align-items:center;
  padding:18px;
}

.cart-item-media img,
.cart-item-placeholder{
  width:100%;
  height:160px;
  border-radius:16px;
  object-fit:cover;
  background:#efe7dc;
}

.cart-item-placeholder{
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--brown);
  font-weight:700;
  letter-spacing:.5px;
}

.cart-item-content{
  display:grid;
  gap:18px;
}

.cart-item-top{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:start;
}

.cart-item-title{
  margin:0 0 8px;
  color:var(--brown);
}

.cart-item-desc{
  margin:0;
  color:var(--muted);
}

.cart-item-price{
  white-space:nowrap;
  font-size:1.08rem;
  font-weight:700;
  color:var(--brown);
}

.cart-item-bottom{
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:end;
}

.cart-qty-block{
  display:block;
  max-width:160px;
}

.cart-qty-block span,
.cart-subtotal-block span{
  display:block;
  margin-bottom:8px;
  font-weight:700;
  color:var(--brown);
}

.cart-qty-input{
  margin-bottom:0;
}

.cart-subtotal-block{
  text-align:right;
}

.cart-subtotal-block strong{
  font-size:1.08rem;
  color:var(--brown);
}

.cart-summary-card{
  padding:26px;
  position:sticky;
  top:140px;
}

.cart-summary-card h2{
  margin-top:0;
  margin-bottom:18px;
}

.cart-summary-line{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:12px 0;
  border-bottom:1px solid var(--line-soft);
}

.cart-summary-total{
  font-size:1.08rem;
  border-bottom:none;
  padding-top:18px;
}

.cart-actions{
  display:grid;
  gap:12px;
  margin-top:22px;
}

.cart-actions .btn{
  width:100%;
  text-align:center;
  justify-content:center;
}

.cart-note{
  margin:16px 0 0;
  color:var(--muted);
  font-size:.95rem;
  line-height:1.7;
}

@media (max-width:960px){
  .cart-layout{
    grid-template-columns:1fr;
  }

  .cart-summary-card{
    position:static;
    top:auto;
  }
}

@media (max-width:640px){
  .cart-item-card{
    grid-template-columns:1fr;
  }

  .cart-item-media img,
  .cart-item-placeholder{
    height:220px;
  }

  .cart-item-top,
  .cart-item-bottom{
    flex-direction:column;
    align-items:flex-start;
  }

  .cart-subtotal-block{
    text-align:left;
  }

  .cart-qty-block{
    max-width:none;
    width:100%;
  }
}

.checkout-page{
  padding-bottom:20px;
}

.checkout-hero{
  max-width:820px;
}

.checkout-intro{
  max-width:760px;
  color:var(--muted);
  font-size:1.05rem;
}

.checkout-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 380px;
  gap:24px;
  align-items:start;
}

.checkout-form-card,
.checkout-summary-card,
.checkout-success-card{
  padding:28px;
}

.checkout-form-card h2,
.checkout-summary-card h2,
.checkout-success-card h2{
  margin-top:0;
  margin-bottom:12px;
}

.checkout-form-text{
  margin-bottom:18px;
  color:var(--muted);
}

.checkout-form-card{
  display:grid;
  gap:16px;
}

.checkout-form-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}

.checkout-form-card label{
  display:block;
}

.checkout-form-card label span{
  display:block;
  margin-bottom:8px;
  font-weight:700;
  color:var(--brown);
}

.checkout-help-box{
  padding:16px;
  border:1px solid var(--line-soft);
  border-radius:16px;
  background:#fbf6f0;
  color:var(--muted);
}

.checkout-help-box strong{
  display:block;
  margin-bottom:8px;
  color:var(--brown);
}

.checkout-help-box p{
  margin:0;
  line-height:1.7;
}

.checkout-actions{
  margin-top:6px;
}

.checkout-summary-card{
  position:sticky;
  top:140px;
}

.checkout-summary-items{
  display:grid;
  gap:16px;
}

.checkout-item{
  display:grid;
  grid-template-columns:86px minmax(0,1fr);
  gap:14px;
  padding:14px 0;
  border-bottom:1px solid var(--line-soft);
}

.checkout-item:first-child{
  padding-top:4px;
}

.checkout-item-media img,
.checkout-item-placeholder{
  width:100%;
  height:86px;
  border-radius:14px;
  object-fit:cover;
  background:#efe7dc;
}

.checkout-item-placeholder{
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--brown);
  font-weight:700;
  font-size:.86rem;
  text-align:center;
  padding:8px;
}

.checkout-item-content h3{
  margin:0 0 6px;
  font-size:1rem;
  color:var(--brown);
}

.checkout-item-content p{
  margin:0 0 8px;
  color:var(--muted);
  font-size:.94rem;
}

.checkout-item-meta{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
  flex-wrap:wrap;
}

.checkout-item-meta span{
  color:var(--muted);
}

.checkout-item-meta strong{
  color:var(--brown);
}

.checkout-summary-total{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
  margin-top:18px;
  padding-top:18px;
  border-top:1px solid var(--line-soft);
  font-size:1.08rem;
}

.checkout-summary-total strong{
  color:var(--brown);
}

.checkout-note{
  margin:16px 0 0;
  color:var(--muted);
  line-height:1.7;
}

.checkout-success-card{
  max-width:780px;
}

.checkout-success-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:22px;
}

@media (max-width:960px){
  .checkout-layout{
    grid-template-columns:1fr;
  }

  .checkout-summary-card{
    position:static;
    top:auto;
  }
}

@media (max-width:640px){
  .checkout-form-grid{
    grid-template-columns:1fr;
  }

  .checkout-form-card,
  .checkout-summary-card,
  .checkout-success-card{
    padding:22px;
  }

  .checkout-item{
    grid-template-columns:1fr;
  }

  .checkout-item-media img,
  .checkout-item-placeholder{
    height:180px;
  }

  .checkout-success-actions{
    flex-direction:column;
  }

  .checkout-success-actions .btn{
    width:100%;
    text-align:center;
    justify-content:center;
  }
}

/* =========================
   ADMIN RESPONSIVE
========================= */

@media (max-width:1024px){
  .table{
    display:block;
    overflow-x:auto;
    white-space:nowrap;
  }
}

@media (max-width:860px){
  body{
    overflow-x:hidden;
  }

  .container{
    width:min(94%, 1120px);
  }

  h1{
    font-size:2rem !important;
    line-height:1.15 !important;
  }

  h2{
    font-size:1.5rem !important;
  }

  h3{
    font-size:1.15rem !important;
  }

  .card{
    padding:16px;
  }

  .btn{
    width:100%;
    text-align:center;
    justify-content:center;
  }

  .grid,
  .grid-4{
    grid-template-columns:1fr !important;
  }
}

@media (max-width:640px){
  .container{
    width:min(95%, 1120px);
  }

  .card{
    padding:14px;
    border-radius:14px;
  }

  .table th,
  .table td{
    padding:10px;
    font-size:.95rem;
  }

  .alert{
    font-size:.95rem;
  }

  input,
  select,
  textarea,
  .input{
    font-size:16px;
  }
}

/* =========================
   ADMIN HEADER HELPERS
========================= */

@media (max-width:860px){
  header > div[style*="padding:24px 26px"]{
    padding:20px 18px !important;
    border-radius:22px !important;
  }

  nav[style*="display:flex"]{
    gap:8px !important;
  }

  nav[style*="display:flex"] a{
    flex:1 1 calc(50% - 8px);
    text-align:center;
  }
}

@media (max-width:640px){
  nav[style*="display:flex"] a{
    flex:1 1 100%;
  }

  a[style*="padding:12px 18px"]{
    width:100%;
    justify-content:center;
    text-align:center;
  }
}

/* =========================
   ADMIN RESPONSIVE
========================= */

.admin-page-grid-2,
.admin-page-grid-split,
.admin-stats-grid,
.admin-quick-grid{
  display:grid;
  gap:22px;
}

.admin-stats-grid{
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
}

.admin-quick-grid{
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
}

.admin-page-grid-2{
  grid-template-columns:1.4fr 1fr;
}

.admin-page-grid-split{
  grid-template-columns:1fr 1fr;
}

.admin-table-wrap{
  overflow-x:auto;
}

@media (max-width: 960px){
  .admin-page-grid-2,
  .admin-page-grid-split{
    grid-template-columns:1fr;
  }
}

@media (max-width: 640px){
  .admin-header-card{
    padding:18px 14px !important;
  }

  .admin-title{
    font-size:26px !important;
    line-height:1.15 !important;
  }

  .admin-subtitle{
    font-size:14px !important;
  }

  .admin-header-actions{
    flex-direction:column;
    align-items:stretch;
  }

  .admin-action-btn{
    width:100%;
  }

  .admin-nav{
    grid-template-columns:1fr;
  }

  .admin-nav-link{
    width:100%;
  }

  .card{
    padding:14px;
  }

  .table{
    min-width:700px;
  }

  .admin-table-wrap{
    width:100%;
    overflow-x:auto;
  }
}

/* =========================
   ADMIN RESPONSIVE
========================= */

.admin-page-grid-2,
.admin-page-grid-split,
.admin-stats-grid,
.admin-quick-grid{
  display:grid;
  gap:22px;
}

.admin-stats-grid{
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
}

.admin-quick-grid{
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
}

.admin-page-grid-2{
  grid-template-columns:1.4fr 1fr;
}

.admin-page-grid-split{
  grid-template-columns:1fr 1fr;
}

.admin-table-wrap{
  width:100%;
  overflow-x:auto;
}

@media (max-width: 960px){
  .admin-page-grid-2,
  .admin-page-grid-split{
    grid-template-columns:1fr;
  }
}

@media (max-width: 640px){
  .admin-title{
    font-size:26px !important;
    line-height:1.15 !important;
  }

  .admin-subtitle{
    font-size:14px !important;
  }

  .admin-header-actions{
    flex-direction:column;
    align-items:stretch;
  }

  .admin-action-btn{
    width:100%;
  }

  .admin-nav{
    grid-template-columns:1fr;
  }

  .admin-nav-link{
    width:100%;
  }

  .card{
    padding:14px;
  }

  .table{
    min-width:700px;
  }
}