/* ==========================================================================
   Tarangini Handloom — Sareeka-inspired theme
   Serif (Cinzel) headings, clean Inter body, black/white/neutral palette,
   green sale prices, "/" separated uppercase menu, editorial product grid.
   ========================================================================== */

:root {
  --ink: #1f1f1f;
  --body: #4d4d4d;
  --muted: #8c8c8c;
  --line: #e7e7e7;
  --soft: #f7f7f7;
  --sale: #e0322f;
  --green: #2f8f3f;
  --gold: #b08d57;
  --burgundy: #800020;
  --serif: "Nunito", "Inter", Arial, sans-serif;
  --sans: "Nunito", "Inter", Arial, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--body);
  font-weight: 400;
  background: #fff;
  margin: 0;
}
h1, h2, h3, h4, h5, h6, .serif { font-family: var(--serif); color: var(--ink); font-weight: 500; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--gold); }
.container { max-width: 1200px; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn, button.btn {
  border-radius: 0;
  font-family: var(--sans);
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .78rem;
  font-weight: 600;
}
.btn-tg {
  background: #111;
  color: #fff;
  border: 1px solid #111;
  padding: 12px 26px;
  transition: background .2s ease, color .2s ease;
}
.btn-tg:hover { background: #fff; color: #111; }
.btn-tg-outline {
  background: transparent;
  color: #111;
  border: 1px solid #111;
  padding: 11px 25px;
}
.btn-tg-outline:hover { background: #111; color: #fff; }
.btn-checkout {
  background: #111; color: #fff !important; padding: 8px 16px;
}

/* --------------------------------------------------------------------------
   Announcement bar
   -------------------------------------------------------------------------- */
.tg-announce {
  background: #fff;
  border-bottom: 1px solid var(--line);
  text-align: center;
  font-size: .8rem;
  color: #333;
  padding: 9px 12px;
  letter-spacing: .02em;
}
.tg-announce a { text-decoration: underline; color: #111; font-weight: 600; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.tg-header { padding: 22px 0 18px; border-bottom: 1px dashed var(--line); }
.tg-header-inner { display: flex; align-items: center; gap: 20px; }
.tg-header-left { flex: 1 1 0; display: flex; align-items: center; gap: 22px; }
.tg-header-right { flex: 1 1 0; display: flex; align-items: center; justify-content: flex-end; gap: 26px; }
.tg-logo { flex: 0 0 auto; text-align: center; }
.tg-logo img { max-height: 66px; width: auto; display: inline-block; }
.tg-logo .tg-tagline {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: .04em;
  color: #555;
  margin-top: 2px;
  line-height: 1.1;
}
.tg-logo h1 { font-size: 1.6rem; letter-spacing: .14em; margin: 0; }



/* header search: icon that expands to input */
.tg-search { position: relative; flex: 1 1 auto; max-width: 240px; }
.tg-search form.input-group { margin: 0; max-width: none; }
.tg-search .form-control {
  border: 1px solid var(--line);
  border-radius: 0;
  font-size: .85rem;
  padding: 8px 12px 8px 34px;
  box-shadow: none;
  background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='1.8'><circle cx='11' cy='11' r='7'/><path d='M21 21l-4.3-4.3'/></svg>") no-repeat 10px center;
}
.tg-search .btn { display: none; }

.tg-head-link { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: .72rem; color: #333; letter-spacing: .04em; }
.tg-head-link i { font-size: 1.15rem; color: #222; }
.tg-head-link:hover { color: var(--gold); }
.tg-head-link:hover i { color: var(--gold); }
.tg-cart-count {
  position: relative;
}
.tg-cart-count .count {
  position: absolute; top: -8px; right: -12px;
  background: #111; color: #fff; border-radius: 50%;
  min-width: 18px; height: 18px; line-height: 18px; text-align: center;
  font-size: .66rem; font-weight: 700; padding: 0 4px;
}

/* --------------------------------------------------------------------------
   Main menu (OpenCart #menu markup restyled)
   -------------------------------------------------------------------------- */
.tg-menu { border-bottom: 1px solid var(--line); background: #fff; }
main { padding-top: 25px; padding-bottom: 25px; }
.tg-menu #menu.navbar { padding: 0; background: transparent !important; border: 0 !important; border-radius: 0 !important; margin: 0 !important; min-height: 0 !important; }
.tg-menu #menu .navbar-nav { flex-direction: row; }
.tg-menu #category { display: none !important; }
.tg-menu .navbar-collapse { justify-content: center; }
.tg-menu ul.nav.navbar-nav {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  width: 100%; margin: 0; padding: 0;
}
.tg-menu ul.nav.navbar-nav > li.nav-item { position: relative; list-style: none; }
.tg-menu ul.nav.navbar-nav > li.nav-item > a,
.tg-menu ul.nav.navbar-nav > li.nav-item > .dropdown-item {
  display: block; padding: 15px 7px; font-size: .68rem; font-weight: 500;
  letter-spacing: .04em; text-transform: uppercase; color: #222 !important; white-space: nowrap;
  text-shadow: none !important; background: transparent !important;
}
.tg-menu ul.nav.navbar-nav > li.nav-item > a:hover { color: var(--gold) !important; }
.tg-menu ul.nav.navbar-nav > li.nav-item + li.nav-item > a::before {
  content: "/"; color: #cfcfcf; margin-right: 12px; margin-left: -7px; font-weight: 400;
}
/* dropdown children */
.tg-menu .navbar-toggler { border: 1px solid var(--line) !important; border-radius: 0 !important; padding: 9px 14px; margin: 8px 0; }
.tg-menu .navbar-toggler i { color: #222 !important; }
.tg-menu-toggle { border: 1px solid var(--line) !important; border-radius: 0 !important; padding: 9px 14px; background: #fff; }
.tg-menu-toggle i { color: #222 !important; }
.tg-menu .dropdown-menu {
  border: 1px solid var(--line); border-radius: 0; box-shadow: 0 10px 30px rgba(0,0,0,.08);
  padding: 8px 0; margin-top: 0;
}
.tg-menu .dropdown-menu .dropdown-item { text-transform: none; letter-spacing: .02em; font-size: .85rem; padding: 7px 18px; }

/* --------------------------------------------------------------------------
   Section headings
   -------------------------------------------------------------------------- */
.tg-section-title {
  font-family: var(--serif); text-align: center; text-transform: uppercase;
  letter-spacing: .18em; font-size: 1.35rem; color: #222; margin: 8px 0 26px;
}
.tg-section-title.left { text-align: left; }
.tg-section-title::after {
  content: ""; display: block; width: 46px; height: 1px; background: #111; margin: 12px auto 0;
}
.tg-section-title.left::after { margin-left: 0; }

/* --------------------------------------------------------------------------
   Home — promo banner + category tiles
   -------------------------------------------------------------------------- */
.tg-home { padding-top: 22px; }
/* Shop by category tiles */
.tg-cat-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 40px; }
.tg-cat-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 26px 14px; min-height: 110px;
  background: var(--soft); border: 1px solid var(--line); border-radius: 14px;
  color: var(--ink); transition: all .2s ease;
}
.tg-cat-tile:hover { border-color: var(--gold); background: #fbf8f0; }
.tg-cat-tile:hover .name { color: var(--gold); }
.tg-cat-tile .name { font-family: var(--serif); font-size: 1.05rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.tg-cat-tile .count { font-size: .72rem; color: var(--muted); margin-top: 6px; }
.tg-cat-more { display: none; text-align: center; margin: 0 0 30px; }
.tg-cat-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--ink); background: #fff; color: var(--ink);
  padding: 10px 22px; border-radius: 999px; font-size: .78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em; cursor: pointer;
}
.tg-cat-toggle:hover { background: var(--ink); color: #fff; }
.tg-cat-toggle i { transition: transform .2s ease; }
.tg-cat-toggle.expanded i { transform: rotate(180deg); }
/* Product grid (catalog / listings) */
.tg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.featured-products .tg-grid::-webkit-scrollbar { display: none; }
.featured-products .tg-grid > * { flex: 0 0 calc((100% - 40px) / 3); min-width: 0; scroll-snap-align: start; }
.tg-related-carousel-wrap { position: relative; }
.tg-related-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 5; width: 34px; height: 34px; border-radius: 50%;
  border: none; background: rgba(255,255,255,.9); color: #888;
  display: grid; place-items: center; cursor: pointer; opacity: .55;
  box-shadow: 0 1px 4px rgba(0,0,0,.12);
}
.tg-related-arrow:hover { opacity: .9; color: #222; }
.tg-related-arrow.prev { left: -6px; }
.tg-related-arrow.next { right: -6px; }
.tg-related-arrow i { font-size: .95rem; }
.tg-related-carousel {
  display: flex; gap: 16px;
  padding: 0 16px; box-sizing: border-box;
  overflow-x: auto; scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.tg-related-carousel::-webkit-scrollbar { display: none; }
.tg-related-hint {
  text-align: center; font-size: .7rem; letter-spacing: .05em;
  color: #9a9a9a; margin: 14px 0 0;
}
.tg-related-slide { flex: 0 0 calc(100% / 3 - 14px); min-width: 0; scroll-snap-align: center; }
@media (min-width: 1300px) {
  .tg-related-slide { flex: 0 0 calc(100% / 4 - 15px); }
}
@media (max-width: 899.98px) {
  .tg-related-slide { flex: 0 0 calc(100% / 2 - 13px); }
}
.product-card { position: relative; display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid #ececec; border-radius: 16px; padding: 10px; overflow: hidden; transition: box-shadow .2s ease, border-color .2s ease; }
.product-card:hover { border-color: #e0cba6; box-shadow: 0 6px 18px rgba(0,0,0,.07); }
.product-card .product-image { position: relative; overflow: hidden; background: #f4f4f4; width: 85%; margin: 0 auto 20px; aspect-ratio: 3 / 4; border-radius: 12px; }
.product-card .product-image img { width: 100%; height: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; transition: transform .5s ease; }
.product-card:hover .product-image img { transform: scale(1.04); }
.product-card .badge-sale,
.product-card .badge-sold {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700;
  padding: 4px 9px; color: #fff; border-radius: 0;
}
.product-card .badge-sale { background: var(--sale); }
.product-card .badge-sold { background: #555; }
.product-card .product-wish {
  position: absolute; top: 8px; right: 8px; z-index: 3;
  width: 34px; height: 34px; border: none; border-radius: 50%; background: rgba(255,255,255,.92);
  color: #333; display: flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,.12);
}
.product-card .product-wish:hover { color: var(--sale); }
.product-card .product-wish i { font-size: .95rem; }
.product-rating i.empty { color: #ddd; }
.product-card .product-actions { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; gap: 8px; padding: 10px; background: linear-gradient(transparent, rgba(0,0,0,.35)); opacity: 0; transform: translateY(8px); transition: all .3s ease; }
.product-card:hover .product-actions { opacity: 1; transform: translateY(0); }
.product-card .product-actions .btn-action { width: 34px; height: 34px; border: none; background: #fff; color: #222; border-radius: 50%; cursor: pointer; }
.product-card .product-actions .btn-action:hover { background: #111; color: #fff; }
.product-card .product-name { font-family: var(--sans); font-size: .88rem; font-weight: 400; line-height: 1.4; margin: 0 0 20px; }
.product-card .product-name a { color: #333; }
.product-card .product-name a:hover { color: var(--gold); }
.product-card .product-rating { color: #e2a712; font-size: .74rem; margin-bottom: 8px; }
.product-card .product-price { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; margin-bottom: 16px; }
.product-card .price-new { color: var(--green); font-weight: 700; font-size: calc(0.95rem + 2px); }
.product-card .price-old { color: var(--muted); text-decoration: line-through; font-size: 0.95rem; }
.product-card .price-off { color: var(--green); font-size: .82rem; font-weight: 700; }
.product-card .product-info { display: flex; flex-direction: column; flex: 1 1 auto; }
.product-card .btn-cart {
  margin-top: auto; background: #111; color: #fff; border: 1px solid #111; width: 100%;
  padding: 10px; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600;
}
.product-card .btn-cart:hover { background: #fff; color: #111; }

/* --------------------------------------------------------------------------
   Category page
   -------------------------------------------------------------------------- */
.tg-cat-wrap { display: flex; gap: 100px; padding: 22px 0 40px; align-items: flex-start; }
.tg-cat-page { padding: 18px 0 20px; }
.tg-cat-title {
  font-family: var(--serif); text-transform: uppercase; letter-spacing: .14em;
  font-size: 1.9rem; margin: 0 0 20px; text-align: center; color: var(--ink);
}
.tg-cat-desc { font-size: .9rem; line-height: 1.7; color: #666; text-align: center; max-width: 760px; margin: 0 auto 20px; }
.tg-sidebar { flex: 0 0 auto; width: auto; }
#column-left { width: auto !important; flex: 0 0 auto !important; padding-left: 0 !important; padding-right: 0 !important; }
.tg-sidebar .tg-filter-block { border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 18px; }
.tg-sidebar h3 { font-family: var(--sans); text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; margin: 0 0 14px; display: flex; justify-content: space-between; align-items: center; }
.tg-sidebar h3 a { font-size: .7rem; color: var(--muted); text-transform: none; letter-spacing: 0; }
.tg-sidebar ul { list-style: none; margin: 0; padding: 0; }
.tg-sidebar ul li { margin-bottom: 9px; }
.tg-sidebar ul li a { font-size: .86rem; color: #444; }
.tg-sidebar ul li a:hover, .tg-sidebar ul li.active > a { color: var(--gold); }
.tg-sidebar ul li ul { margin: 8px 0 0 12px; }
.tg-sidebar ul li ul li a { font-size: .8rem; color: #777; }
.tg-sidebar .price-range { font-size: .84rem; color: #444; }
.tg-sidebar .price-range a { display: block; padding: 3px 0; }
.tg-main { flex: 1 1 auto; min-width: 0; }
.tg-breadcrumb { font-size: .78rem; color: var(--muted); margin-bottom: 14px; }
.tg-breadcrumb a { color: var(--muted); }
.tg-breadcrumb a:hover { color: var(--gold); }
.tg-cat-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.tg-cat-head h1 { font-family: var(--serif); text-transform: uppercase; letter-spacing: .14em; font-size: 1.5rem; margin: 0; }
.tg-cat-head .tg-cat-count { font-size: .8rem; color: var(--muted); }
.tg-cat-banner { margin-bottom: 22px; }
.tg-cat-banner img { width: 100%; display: block; }
.tg-toolbar { display: flex; justify-content: flex-start; align-items: center; gap: 14px; margin-bottom: 22px; }
.tg-toolbar label { font-size: .8rem; color: var(--muted); margin: 0; }
.tg-toolbar select { border: 1px solid var(--line); border-radius: 0; padding: 7px 12px; font-size: .82rem; color: #333; box-shadow: none; }
.tg-toolbar label[for="input-limit"], .tg-toolbar #input-limit { display: none !important; }
.tg-empty { padding: 40px 0; color: var(--muted); }
.tg-cat-desc { font-size: .88rem; line-height: 1.7; color: #666; }
.tg-pagination { font-size: .82rem; }

/* Sidebar modules rendered by OpenCart (category list + filter + banner) */
.tg-sidebar .list-group { border-radius: 0; margin-bottom: 4px; }
.tg-sidebar .list-group-item {
  border: none; border-bottom: 1px solid var(--line); border-radius: 0 !important;
  padding: 9px 0; font-size: .86rem; color: #444; background: transparent;
}
.tg-sidebar .list-group-item.active { background: transparent; color: var(--gold); font-weight: 600; }
.tg-sidebar .list-group-item:hover { color: var(--gold); }
.tg-sidebar .card { border: none; border-radius: 0; margin-bottom: 18px; }
.tg-sidebar .card-header {
  background: transparent; border: none; border-bottom: 1px solid var(--line);
  padding: 0 0 14px; margin-bottom: 14px; white-space: nowrap;
  font-family: var(--sans); text-transform: uppercase; letter-spacing: .08em;
  font-size: 1.1rem; font-weight: 700; color: #222;
}
.tg-sidebar .form-check-input { width: 20px; height: 20px; margin-top: 5px; flex: 0 0 auto; }
.tg-sidebar .form-check { display: flex; align-items: center; gap: 10px; }
.tg-sidebar .card-header i { display: none; }
.tg-sidebar .card .list-group-item { border-bottom: none; padding: 2px 0; font-weight: 600; font-size: .84rem; color: #333; }
.tg-sidebar .card .list-group-item + .list-group-item { padding-bottom: 10px; }
.tg-sidebar .form-check { margin: 8px 0; }
.tg-sidebar .form-check-label { font-size: 18px; color: #555; }
.tg-sidebar .card .list-group-item { border-bottom: none; padding: 6px 0 12px; font-weight: 700; font-size: 1.2rem; color: #333; text-transform: none; }
.tg-sidebar .card-footer { background: transparent; border: none; padding: 10px 0 0; text-align: left !important; }
.tg-sidebar .card-footer .btn { background: #111; border: 1px solid #111; color: #fff; padding: 8px 18px; }
.tg-sidebar .card-footer .btn:hover { background: #fff; color: #111; }
.tg-sidebar .banner, .tg-sidebar .carousel { display: none; }

/* --------------------------------------------------------------------------
   Product detail page
   -------------------------------------------------------------------------- */
.tg-product { padding: 24px 0 10px; }
.tg-product .tg-gallery { position: relative; padding-left: 128px; }
.tg-product .tg-thumbs { position: absolute; left: 0; top: 0; bottom: 0; width: 112px; display: flex; flex-direction: column; gap: 8px; justify-content: center; overflow-y: auto; scrollbar-width: thin; -ms-overflow-style: none; padding-right: 4px; }
.tg-product .tg-thumbs::-webkit-scrollbar { width: 4px; }
.tg-product .tg-thumbs::-webkit-scrollbar-thumb { background: #d9d9d9; border-radius: 4px; }
.tg-product .tg-thumbs img { flex: 0 0 auto; width: 112px; height: 144px; object-fit: cover; cursor: pointer; border: 1px solid var(--line); }
.tg-product .tg-thumbs img:hover, .tg-product .tg-thumbs img.active { border-color: #111; }
.tg-product .tg-main-image { position: relative; background: #f4f4f4; border-radius: 24px; overflow: hidden; }
.tg-product .tg-main-image img { width: 100%; display: block; border: 10px solid var(--soft); border-radius: 24px; }
.tg-product .tg-main-image .badge-sale { position: absolute; top: 14px; right: 14px; background: var(--sale); color: #fff; padding: 6px 12px; font-size: .78rem; font-weight: 700; }
.tg-product h1 { font-family: var(--serif); font-size: 1.5rem; letter-spacing: .03em; margin: 0 0 12px; }
.tg-product .tg-price { display: flex; align-items: baseline; gap: 12px; margin: 10px 0; }
.tg-product .tg-price .price-new { color: var(--green); font-size: calc(1.4rem + 2px); font-weight: 700; }
.tg-product .tg-price .price-old { color: var(--muted); text-decoration: line-through; font-size: 1.4rem; }
.tg-product .tg-price .price-off { color: var(--green); font-weight: 700; }
.tg-product .tg-meta { font-size: .82rem; color: var(--muted); margin: 8px 0; }
.tg-product .tg-free-ship { color: var(--green); font-size: .82rem; margin: 10px 0; }
.tg-product .tg-option { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; }
.tg-product .tg-option > label { font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.tg-product .tg-qty { display: flex; align-items: stretch; margin: 18px 0; }
.tg-product .tg-qty button { width: 42px; border: 1px solid #ccc; background: #fff; font-size: 1.1rem; cursor: pointer; }
.tg-product .tg-qty input { width: 60px; border: 1px solid #ccc; border-left: none; border-right: none; text-align: center; }
.tg-product .tg-addcart { background: #111; color: #fff; border: none; padding: 15px 30px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; width: 100%; }
.tg-product .tg-addcart:hover { background: #000; }
.tg-product .tg-spec { width: 100%; font-size: .85rem; border-collapse: collapse; margin-top: 18px; }
.tg-product .tg-spec th, .tg-product .tg-spec td { padding: 9px 6px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.tg-product .tg-spec th { color: var(--muted); font-weight: 400; width: 38%; }
.tg-product .tg-tabs { border-bottom: 1px solid var(--line); margin: 40px 0 0; }
.tg-product .tg-tabs a { display: inline-block; padding: 12px 22px; text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; color: var(--muted); border-bottom: 2px solid transparent; }
.tg-product .tg-tabs a.active, .tg-product .tg-tabs a:hover { color: #111; border-bottom-color: #111; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.tg-trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 34px 0; margin: 40px 0; }
.tg-trust .row > div { display: flex; flex-direction: column; align-items: center; text-align: center; }
.tg-trust i { font-size: 1.7rem; color: #222; margin: 0 auto 10px; display: block; width: fit-content; }
.tg-trust h6 { font-family: var(--sans); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; margin: 0 0 4px; }
.tg-trust small { color: var(--muted); font-size: .78rem; }

.tg-footer { padding: 40px 0 30px !important; }
.tg-footer h5 { font-family: var(--sans); text-transform: uppercase; letter-spacing: .14em; font-size: .82rem; font-weight: 700; color: #222; margin: 0 0 16px; }
.tg-footer ul { list-style: none; margin: 0; padding: 0; }
.tg-footer ul li { margin-bottom: 9px; }
.tg-footer ul li a { font-size: .86rem; color: #555; }
.tg-footer ul li a:hover { color: var(--gold); }
.tg-footer .tg-about p { font-size: .86rem; line-height: 1.75; color: #666; }
.tg-footer .tg-social { display: flex; gap: 12px; margin: 14px 0 20px; }
.tg-footer .tg-social a { width: 34px; height: 34px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: #444; border-radius: 50%; }
.tg-footer .tg-social a:hover { background: #111; color: #fff; border-color: #111; }
.tg-newsletter { display: flex; }
.tg-newsletter input { flex: 1 1 auto; border: 1px solid var(--line); border-right: none; padding: 10px 12px; font-size: .84rem; }
.tg-newsletter button { border: none; background: #111; color: #fff; padding: 0 18px; text-transform: uppercase; font-size: .74rem; letter-spacing: .1em; }
.tg-footer-bottom { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 30px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.tg-footer-bottom p { margin: 0; font-size: .8rem; color: var(--muted); }
.tg-payments i { font-size: 1.5rem; margin-left: 12px; color: #444; }

/* WhatsApp + back-to-top */
.whatsapp-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 9999;
  width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 27px;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.whatsapp-fab:hover { color: #fff; transform: translateY(-2px); }
#tg-totop {
  position: fixed; right: 24px; bottom: 88px; z-index: 9998;
  width: 46px; height: 46px; border-radius: 50%; border: none; background: #111; color: #fff;
  display: none; align-items: center; justify-content: center; cursor: pointer;
}
#tg-totop.show { display: flex; }
#tg-totop:hover { background: var(--gold); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .tg-header-inner { flex-wrap: wrap; }
  .tg-logo { order: 1; flex: 1 1 100%; text-align: center; }
  .tg-logo img { margin: 0 auto; }
  .tg-header-left { order: 2; flex: 1 1 100%; justify-content: center; }
  .tg-search { max-width: 100%; width: 100%; }
  .tg-header-right {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1030;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 6px 12px; gap: 26px; justify-content: center;
    flex: 0 0 auto;
  }
  .tg-header-right .tg-menu-toggle { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); }
  body { padding-top: 58px; }
  .tg-product .tg-gallery { display: flex; flex-direction: column-reverse; gap: 12px; padding-left: 0; }
  .tg-product .tg-thumbs { position: static; left: auto; top: auto; bottom: auto; height: auto; width: 100%; flex-direction: row; overflow-x: auto; overflow-y: hidden; gap: 8px; padding: 4px 0; justify-content: center; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .tg-product .tg-thumbs::-webkit-scrollbar { display: none; }
  .tg-product .tg-thumbs img { flex: 0 0 calc((100% - 40px) / 6); width: auto; height: auto; min-width: 0; aspect-ratio: 3 / 4; object-fit: cover; scroll-snap-align: center; border-radius: 8px; }
  .tg-cat-tiles { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 20px; }
  .tg-cat-tiles .tg-cat-tile:nth-child(n+5) { display: none; }
  .tg-cat-tiles.expanded .tg-cat-tile:nth-child(n+5) { display: block; }
  .tg-cat-tile { padding: 14px 8px; border-radius: 10px; }
  .tg-cat-tile .name { font-size: .82rem; letter-spacing: .06em; }
  .tg-cat-tile .count { font-size: .68rem; margin-top: 2px; }
  .tg-cat-more { display: block; margin: 0 0 30px; }
  .tg-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5px; }
  .tg-cat-wrap { flex-direction: column; }
  .tg-sidebar { width: 100%; flex-basis: auto; }
  body { padding-left: 10px; padding-right: 10px; }
}
@media (max-width: 575px) {
  .tg-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5px; }
  .product-card .product-name { font-size: .72rem; }
  .tg-menu ul.nav.navbar-nav > li.nav-item + li.nav-item > a::before { margin: 0 6px; }
  .tg-menu ul.nav.navbar-nav > li.nav-item > a { padding: 12px 8px; font-size: .72rem; letter-spacing: .06em; }
}

/* keep legacy home hero usable if referenced */
.tg-hero { display: none; }

/* --------------------------------------------------------------------------
   Core OpenCart layout overrides
   -------------------------------------------------------------------------- */
#content, #column-left, #column-right { padding-bottom: 0 !important; }
footer { position: static !important; width: 100% !important; background: #fff !important; color: var(--body) !important; border: 0 !important; padding: 0 !important; }
.breadcrumb { background: transparent !important; border: 0 !important; padding: 0 !important; margin-bottom: 12px !important; font-size: .72rem !important; letter-spacing: .02em; color: var(--muted); }
.breadcrumb > li.breadcrumb-item { padding: 0 6px !important; text-shadow: none !important; }
.breadcrumb > li.breadcrumb-item:first-child { padding-left: 0 !important; }
.breadcrumb > li.breadcrumb-item > a { color: var(--muted); text-decoration: none; }
.breadcrumb > li.breadcrumb-item > a:hover { color: var(--gold); }
.breadcrumb i { font-size: .8rem; }
.breadcrumb > li.breadcrumb-item:after { display: none !important; }
.tg-breadcrumb .sep { margin: 0 8px; color: #cfcfcf; }
.tg-breadcrumb a { color: var(--muted); }
.tg-breadcrumb a:hover { color: var(--gold); }

/* Buttons used across core pages */
.btn-primary { background: #111 !important; border-color: #111 !important; }
.btn-primary:hover { background: #333 !important; border-color: #333 !important; }
.page-link { color: #333; }
.page-item.active .page-link { background: #111; border-color: #111; }

/* --------------------------------------------------------------------------
   Toast / Add-to-cart popup
   -------------------------------------------------------------------------- */
#tg-toast-wrap {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1080;
  width: 360px;
  max-width: calc(100% - 40px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}
.tg-toast {
  position: relative;
  pointer-events: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid #111;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .16);
  padding: 16px 38px 16px 16px;
  display: flex;
  gap: 13px;
  overflow: hidden;
  animation: tgToastIn .38s cubic-bezier(.22, .61, .36, 1);
}
.tg-toast.is-hiding { animation: tgToastOut .3s ease forwards; }
@keyframes tgToastIn {
  from { opacity: 0; transform: translateX(36px) scale(.97); }
  to   { opacity: 1; transform: none; }
}
@keyframes tgToastOut {
  to { opacity: 0; transform: translateX(36px); }
}
.tg-toast-icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
  color: #fff;
  font-size: 15px;
}
.tg-toast-success { border-left-color: var(--green); }
.tg-toast-success .tg-toast-icon { background: var(--green); }
.tg-toast-danger { border-left-color: var(--sale); }
.tg-toast-danger .tg-toast-icon { background: var(--sale); }
.tg-toast-body { min-width: 0; flex: 1 1 auto; }
.tg-toast-title {
  display: block;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: .02em;
  margin-bottom: 3px;
}
.tg-toast-msg { margin: 0; font-size: .82rem; color: var(--body); line-height: 1.5; }
.tg-toast-msg a { color: var(--ink); text-decoration: underline; }
.tg-toast-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.tg-toast-btn,
.tg-toast-dismiss {
  font-family: var(--sans);
  font-size: .66rem;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-weight: 600;
  padding: 9px 15px;
  cursor: pointer;
  border: 1px solid #111;
  background: #111;
  color: #fff;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.tg-toast-btn:hover { background: #fff; color: #111; }
.tg-toast-dismiss { background: transparent; color: #111; border-color: var(--line); }
.tg-toast-dismiss:hover { background: #111; color: #fff; border-color: #111; }
.tg-toast-close {
  position: absolute;
  top: 7px;
  right: 9px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 19px;
  line-height: 1;
  padding: 3px;
  cursor: pointer;
}
.tg-toast-close:hover { color: #111; }
.tg-toast-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: var(--gold);
  transform-origin: left;
  animation: tgToastBar 6s linear forwards;
}
@keyframes tgToastBar {
  from { transform: scaleX(1); }
  to   { transform: scaleX(0); }
}
@media (max-width: 480px) {
  #tg-toast-wrap { top: 12px; right: 12px; left: 12px; width: auto; max-width: none; }
  .tg-toast { padding: 14px 34px 14px 14px; }
}

/* --------------------------------------------------------------------------
   Cart drawer (slides in from the right)
   -------------------------------------------------------------------------- */
.tg-cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
  z-index: 1090;
}
.tg-cart-overlay.open { opacity: 1; visibility: visible; }

.tg-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 420px;
  max-width: 92vw;
  background: #fff;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .42s cubic-bezier(.22, .61, .36, 1);
  box-shadow: 0 0 60px rgba(0, 0, 0, .22);
}
.tg-cart-drawer.open { transform: translateX(0); }

.tg-cart-drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 22px 22px 16px;
  border-bottom: 1px solid var(--line);
}
.tg-cart-drawer-head h5 {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.tg-drawer-count { color: var(--muted); font-size: .85rem; font-family: var(--sans); }
.tg-drawer-cheer {
  margin: 6px 0 0;
  font-family: var(--serif);
  color: var(--gold);
  font-size: .82rem;
  letter-spacing: .04em;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .3s ease, transform .3s ease;
}
.tg-cart-drawer.show-cheer .tg-drawer-cheer { opacity: 1; transform: none; }
.tg-cart-drawer-close {
  border: 0;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
  padding: 0 2px;
}
.tg-cart-drawer-close:hover { color: var(--gold); }

.tg-cart-drawer-body { flex: 1 1 auto; overflow-y: auto; -webkit-overflow-scrolling: touch; }

.tg-drawer-ship {
  padding: 13px 22px 15px;
  font-size: .8rem;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  color: var(--body);
}
.tg-drawer-ship-msg { display: flex; align-items: center; gap: 8px; margin: 0 0 9px; }
.tg-drawer-ship i { color: var(--burgundy); }
.tg-drawer-ship strong { color: var(--ink); }
.tg-drawer-ship-bar {
  height: 6px;
  border-radius: 999px;
  background: #e6dfe0;
  overflow: hidden;
}
.tg-drawer-ship-bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: var(--burgundy);
  transition: width .45s cubic-bezier(.22, .61, .36, 1);
}
.tg-drawer-ship.unlocked .tg-drawer-ship-msg { color: var(--green); }
.tg-drawer-ship.unlocked i { color: var(--green); }

.tg-drawer-items { padding: 6px 22px; }
.tg-drawer-item {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.tg-drawer-thumb { flex: 0 0 84px; width: 84px; }
.tg-drawer-thumb img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  background: var(--soft);
}
.tg-drawer-info { flex: 1 1 auto; min-width: 0; }
.tg-drawer-name {
  display: block;
  font-size: .86rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.35;
}
.tg-drawer-name:hover { color: var(--gold); }
.tg-drawer-opt { font-size: .74rem; color: var(--muted); margin-top: 3px; }
.tg-drawer-buy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
}
.tg-drawer-price { font-size: .86rem; color: var(--ink); font-weight: 600; }
.tg-drawer-qty { display: inline-flex; align-items: center; border: 1px solid var(--line); }
.tg-drawer-qty button {
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 15px;
  color: var(--ink);
  line-height: 1;
}
.tg-drawer-qty button:hover { background: var(--soft); }
.tg-drawer-qty input {
  width: 38px;
  height: 30px;
  border: 0;
  text-align: center;
  font-size: .82rem;
  color: var(--ink);
  background: transparent;
}
.tg-drawer-qty input:focus { outline: none; }
.tg-drawer-remove {
  margin-top: 10px;
  border: 0;
  background: transparent;
  padding: 0;
  font-size: .72rem;
  color: var(--muted);
  text-decoration: underline;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.tg-drawer-remove:hover { color: var(--sale); }

.tg-drawer-foot { padding: 18px 22px 24px; border-top: 1px solid var(--line); }
.tg-drawer-saved {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: #1f7a2c;
  background: #eef7ef;
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 12px;
}
.tg-drawer-saved i { color: #2f8f3f; }
.tg-drawer-saved strong { font-weight: 700; }
.tg-drawer-sub {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: .95rem;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 4px;
}
.tg-drawer-note { font-size: .72rem; color: var(--muted); margin: 0 0 16px; }
.tg-drawer-checkout {
  display: block;
  text-align: center;
  background: #111;
  color: #fff !important;
  padding: 15px;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 600;
  transition: background .2s ease;
}
.tg-drawer-checkout:hover { background: var(--gold); }
.tg-drawer-viewcart {
  display: block;
  text-align: center;
  margin-top: 10px;
  padding: 13px;
  border: 1px solid #111;
  color: #111;
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 600;
  transition: background .2s ease, color .2s ease;
}
.tg-drawer-viewcart:hover { background: #111; color: #fff; }

.tg-drawer-empty { text-align: center; padding: 70px 24px; color: var(--muted); }
.tg-drawer-empty i { font-size: 34px; color: var(--line); display: block; margin-bottom: 14px; }
.tg-drawer-empty p {
  font-family: var(--serif);
  color: var(--ink);
  font-size: 1.05rem;
  margin: 0 0 18px;
}
.tg-drawer-continue {
  display: inline-block;
  border: 1px solid #111;
  background: #111;
  color: #fff;
  padding: 12px 22px;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
  cursor: pointer;
}
.tg-drawer-continue:hover { background: #fff; color: #111; }

body.tg-drawer-open { overflow: hidden; }

@media (max-width: 575px) {
  .tg-cart-drawer { width: 90vw; }
}

/* ==========================================================================
   Global design system — constant rounded type scale + spacing rhythm
   ========================================================================== */
:root {
  --gap-section: 40px;    /* div-to-div  */
  --gap-component: 20px;  /* class-to-class */
  --fs-h1: 2rem;
  --fs-h2: 1.75rem;
  --fs-h3: 1.5rem;
  --fs-h4: 1.25rem;
  --fs-h5: 1.125rem;
  --fs-h6: 1rem;
  --fs-body: 1rem;
}

body { font-family: var(--sans); font-size: var(--fs-body); line-height: 1.5; }

h1, h2, h3, h4, h5, h6, .serif {
  font-family: var(--sans) !important;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 var(--gap-component);
}
h1 { font-size: var(--fs-h1) !important; }
h2 { font-size: var(--fs-h2) !important; }
h3 { font-size: var(--fs-h3) !important; }
h4 { font-size: var(--fs-h4) !important; }
h5 { font-size: var(--fs-h5) !important; }
h6 { font-size: var(--fs-h6) !important; }
p { font-size: var(--fs-body) !important; line-height: 1.5; }
.tg-section-title, .tg-cat-head h1 { letter-spacing: .06em; }

/* Section-to-section rhythm (40px) */
.tg-home > section,
.tg-home > .tg-section-title,
.featured-products,
.tg-related,
.tg-trust,
.tg-product > .row,
.tg-cat-wrap { margin-bottom: var(--gap-section); }
.tg-related { margin-top: var(--gap-section); }

/* Component rhythm (20px) */
.tg-cat-tiles { gap: var(--gap-component); }
.tg-section-title { margin: 0 0 var(--gap-component); }
.tg-trust .row { --bs-gutter-x: var(--gap-component); --bs-gutter-y: var(--gap-component); }
.tg-product > .row.g-5 { --bs-gutter-x: 60px; --bs-gutter-y: var(--gap-section); }
.tg-footer .row { --bs-gutter-x: var(--gap-component); --bs-gutter-y: var(--gap-section); }
.tg-product .tg-tabs { margin-top: var(--gap-section); }

@media (max-width: 991px) {
  .featured-products .tg-grid > * { flex: 0 0 calc((100% - 20px) / 2); }
}

/* --------------------------------------------------------------------------
   Cart page
   -------------------------------------------------------------------------- */
.tg-cart-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin: 0 0 38px; padding-bottom: 22px; border-bottom: 1px solid var(--line);
}
.tg-cart-title {
  font-family: var(--serif); font-size: 2.25rem; font-weight: 500;
  letter-spacing: .02em; color: var(--ink); margin: 0;
}
.tg-cart-continue {
  color: var(--ink); font-size: .98rem; text-decoration: underline;
  text-underline-offset: 4px;
}
.tg-cart-continue:hover { color: var(--gold); }

.tg-cart-wrap { }

.tg-cart-row {
  display: grid;
  grid-template-columns: 1fr 260px 130px;
  gap: 0 28px; align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.tg-cart-labels {
  padding: 0 0 16px; border-bottom: 1px solid var(--line);
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.tg-cart-labels .tg-cart-col-qty { text-align: center; }
.tg-cart-labels .tg-cart-col-total { text-align: right; }

.tg-cart-product { display: flex; gap: 22px; }
.tg-cart-thumb { flex: 0 0 128px; width: 128px; height: 152px; border-radius: 16px; overflow: hidden; background: var(--soft); }
.tg-cart-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tg-cart-info { min-width: 0; }
.tg-cart-name {
  font-family: var(--serif); font-size: 1.08rem; font-weight: 600;
  color: var(--ink); display: block; line-height: 1.3;
}
.tg-cart-name:hover { color: var(--gold); }
.tg-cart-price { margin-top: 9px; font-size: .98rem; color: var(--body); }
.tg-cart-options { margin: 10px 0 0; padding: 0; }
.tg-cart-options li { color: var(--muted); }
.tg-cart-options small { font-size: .78rem; }

.tg-cart-help {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 18px; padding: 12px 16px; border-radius: 14px;
  background: #eef7ef; color: #2f8f3f; max-width: 420px;
}
.tg-cart-help-ic {
  flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.05rem;
}
.tg-cart-help-txt { font-size: .88rem; line-height: 1.35; color: #2f8f3f; }
.tg-cart-help-txt em { font-style: normal; font-weight: 600; text-decoration: underline; color: #1f7a2c; }

.tg-cart-qtyform { display: flex; align-items: center; justify-content: center; gap: 16px; }
.tg-cart-qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 4px; }
.tg-cart-qty button {
  width: 44px; height: 44px; border: none; background: #fff;
  color: var(--ink); font-size: .95rem; cursor: pointer; display: grid; place-items: center;
}
.tg-cart-qty button:hover { background: var(--soft); }
.tg-cart-qty input {
  width: 46px; height: 44px; border: none; text-align: center;
  font-size: 1rem; color: var(--ink); background: transparent;
}
.tg-cart-qty input:focus { outline: none; }
.tg-cart-remove { color: var(--muted); font-size: 1.15rem; }
.tg-cart-remove:hover { color: var(--sale); }

.tg-cart-col-total { text-align: right; font-size: 1.05rem; color: var(--ink); font-weight: 500; padding-top: 4px; }

.tg-cart-totals { padding: 30px 0 6px; }
.tg-cart-total-row {
  display: flex; align-items: baseline; justify-content: flex-end; gap: 14px;
  padding: 4px 0;
}
.tg-cart-total-title { font-size: 1.02rem; color: var(--body); }
.tg-cart-total-val { font-size: 1.1rem; color: var(--ink); font-weight: 600; min-width: 120px; text-align: right; }

.tg-cart-actions {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 30px; padding-top: 6px;
}
.tg-cart-actions .btn.btn-primary { background: var(--ink); border-color: var(--ink); }
.tg-cart-actions .btn.btn-primary:hover { background: var(--gold); border-color: var(--gold); }

@media (max-width: 767px) {
  .tg-cart-row { grid-template-columns: 1fr; gap: 18px; }
  .tg-cart-labels { display: none; }
  .tg-cart-qtyform { justify-content: flex-start; }
  .tg-cart-col-total { text-align: left; padding-top: 0; }
  .tg-cart-thumb { flex-basis: 96px; width: 96px; height: 116px; }
}

/* --------------------------------------------------------------------------
   Hide breadcrumbs globally (per user request)
   -------------------------------------------------------------------------- */
ul.breadcrumb,
.tg-breadcrumb { display: none !important; }


/* ==========================================================================
   Shopify-style two-column guest checkout
   ========================================================================== */

/* === SHOPIFY CHECKOUT === */
.checkout-shopify .checkout-hero {
  text-align: center;
  padding: 20px 0 30px;
}
.checkout-shopify .checkout-hero h1 {
  font-size: 2rem;
  letter-spacing: .08em;
  margin: 0;
}
.tg-back-link {
  display: inline-block;
  margin-top: 8px;
  font-size: .85rem;
  color: var(--ink);
}

/* Two-column layout */
.checkout-row {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}
.checkout-form-col {
  flex: 1 1 60%;
  min-width: 0;
}
.checkout-summary-col {
  flex: 0 0 36%;
  position: sticky;
  top: 20px;
}

/* Sections */
.tg-section {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px 22px;
  margin-bottom: 16px;
}
.tg-section-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

/* Fields */
.tg-field-group {
  margin-bottom: 14px;
}
.tg-label {
  display: block;
  font-size: .82rem;
  font-weight: 500;
  color: var(--body);
  margin-bottom: 5px;
}
.tg-required { color: #d00; }
.tg-optional { color: var(--muted); font-weight: 400; font-size: .75rem; }
.tg-input, .tg-select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: .88rem;
  font-family: var(--sans);
  color: var(--ink);
  background: #fff;
  transition: border .15s;
  box-sizing: border-box;
}
.tg-input:focus, .tg-select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(176,139,87,.15);
}
.tg-input-wrap {
  position: relative;
}
.tg-input-wrap .tg-search-icon,
.tg-input-wrap .tg-help {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 1rem;
  color: var(--muted);
  cursor: pointer;
}
.tg-input-prefix {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  font-size: .9rem; color: var(--body); pointer-events: none; z-index: 2;
}
.tg-input-prefixed { padding-left: 48px; padding-right: 38px; }
.tg-input-wrap .tg-help { z-index: 3; }
.tg-badge {
  display: inline-block;
  font-size: .65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: #f0f0f0;
  color: #555;
  margin-left: 6px;
  vertical-align: middle;
}

.tg-row-2, .tg-row-3 {
  display: flex;
  gap: 12px;
}
.tg-row-2 > .tg-field-group, .tg-row-3 > .tg-field-group {
  flex: 1;
}

/* Toggle Ship/Pickup */
.tg-toggle-row {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}
.tg-toggle {
  flex: 1;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-family: var(--sans);
  font-size: .85rem;
  cursor: pointer;
  text-align: center;
  color: var(--body);
  transition: all .15s;
}
.tg-toggle:hover { border-color: var(--gold); }
.tg-toggle-active, .tg-toggle-active:hover {
  background: #111;
  color: #fff;
  border-color: #111;
}

/* Radio card (Razorpay) */
.tg-radio-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border: 2px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color .15s;
}
.tg-radio-card:hover { border-color: var(--gold); }
.tg-radio-selected {
  border-color: var(--gold);
  background: #fbf8f0;
}
.tg-radio-card input[type="radio"] {
  margin-top: 3px;
  accent-color: var(--gold);
}
.tg-radio-card-inner { flex: 1; }
.tg-radio-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}
.tg-payment-brand {
  font-weight: 600;
  font-size: .92rem;
  color: var(--ink);
}
.tg-badges { display: flex; gap: 4px; }
.tg-badge { font-size: .6rem; padding: 2px 5px; }
.tg-badge-gst { background: #e8f5e9; color: #2f7d32; }
.tg-badge-visa { background: #e3f2fd; color: #1565c0; }
.tg-badge-more { background: #f3e5f5; color: #7b1fa2; }
.tg-radio-card-desc {
  font-size: .78rem;
  color: var(--muted);
  margin: 0;
}

/* Radio label (billing) */
.tg-radio-label {
  display: block;
  padding: 6px 0;
  font-size: .88rem;
  cursor: pointer;
}
.tg-radio-label input[type="radio"] {
  accent-color: var(--gold);
  margin-right: 6px;
}

/* Buttons */
.tg-btn-next, .tg-btn-pay-now {
  width: 100%;
  padding: 14px;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .15s;
  margin-top: 8px;
}
.tg-btn-next:hover, .tg-btn-pay-now:hover { background: #333; }
.tg-btn-pay-now { background: #2a5bd7; }
.tg-btn-pay-now:hover { background: #1e4fc4; }
.tg-btn-apply {
  padding: 8px 16px;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: .82rem;
  cursor: pointer;
}

/* Order summary */
.tg-summary-sticky {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px;
}
.tg-summary-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.tg-summary-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.tg-summary-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
}
.tg-summary-item-info { flex: 1; }
.tg-summary-item-name {
  font-size: .85rem;
  font-weight: 500;
  margin: 0 0 2px;
}
.tg-summary-item-qty {
  font-size: .75rem;
  color: var(--muted);
  margin: 0;
}
.tg-summary-item-price {
  font-size: .85rem;
  color: var(--ink);
  margin: 2px 0 0;
}
.tg-summary-discount {
  display: flex;
  gap: 6px;
  margin: 12px 0;
}
.tg-summary-discount .tg-input { flex: 1; padding: 8px; }
.tg-summary-lines { margin-top: 12px; }
.tg-summary-line {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: .88rem;
  color: var(--body);
}
.tg-summary-total {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  border-top: 2px solid var(--ink);
  margin-top: 4px;
}
.tg-summary-footer {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tg-footer-link {
  font-size: .72rem;
  color: var(--muted);
}

/* Address confirm (page 2) */
.tg-address-confirm {
  font-size: .88rem;
  line-height: 1.6;
  color: var(--body);
}
.tg-security-sub {
  font-size: .78rem;
  color: var(--muted);
  margin: 4px 0 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .checkout-row { flex-direction: column; }
  .checkout-form-col, .checkout-summary-col {
    flex: 1 1 100%;
    width: 100%;
    position: static;
  }
  .tg-row-2, .tg-row-3 { flex-direction: column; }
}

/* Checkout step indicator */
.checkout-step {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 500;
  color: var(--ink);
  margin: 10px 0 24px;
}

/* Continue-to-payment button (page 1) */
.tg-btn-continue {
  width: 100%;
  padding: 14px;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .15s;
  margin-top: 8px;
}
.tg-btn-continue:hover { background: var(--gold); }

/* Inline field errors */
.tg-err {
  display: block;
  color: var(--sale);
  font-size: .75rem;
  margin-top: 4px;
}
.tg-input.is-invalid, .tg-select.is-invalid { border-color: var(--sale); }

/* Shipping-method placeholder message */
.tg-placeholder-msg {
  font-size: .85rem;
  color: var(--muted);
  background: var(--soft);
  padding: 14px;
  border-radius: 8px;
  margin: 6px 0 0;
}

/* Summary qty badge */
.tg-summary-qty {
  order: -1;
  align-self: flex-start;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #fff;
  font-size: .72rem;
  font-weight: 600;
  border-radius: 999px;
}
.tg-summary-item { align-items: center; }

/* COD partial payment box */
.tg-cod-box {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid #cfe8cf;
  border-radius: 10px;
  background: #f2faf1;
}
.tg-cod-box-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .95rem;
  color: #1f7a2c;
  margin-bottom: 8px;
}
.tg-cod-box-head i { color: #2f8f3f; }
.tg-cod-box-msg {
  font-size: .82rem;
  color: var(--body);
  margin: 0 0 12px;
  line-height: 1.5;
}
.tg-cod-breakdown {
  border-top: 1px solid #d7ead7;
  padding-top: 10px;
}
.tg-cod-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 4px 0;
  font-size: .88rem;
  color: var(--body);
}
.tg-cod-row strong { color: var(--ink); font-size: .95rem; }

/* Fabric filter pills (catalog page) */
.tg-fabric-filter { margin: 4px 0 22px; }
.tg-fabric-head {
  font-size: .78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; color: var(--muted); margin-bottom: 12px;
}
.tg-fabric-pills { display: flex; flex-wrap: wrap; gap: 12px; }
.tg-fabric-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border: 1px solid var(--line);
  border-radius: 999px; background: #fff; color: var(--ink);
  font-size: .82rem; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; transition: all .15s ease;
}
.tg-fabric-pill:hover { border-color: var(--gold); color: var(--gold); background: #fbf8f0; }
.tg-fabric-pill.active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Product videos (shown above description) */
.tg-product-videos { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 20px; }
.tg-video-frame { flex: 1 1 100%; max-width: 100%; border-radius: 12px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.tg-video-frame iframe, .tg-video-frame video { width: 100%; height: 100%; display: block; border: 0; }
@media (min-width: 640px) {
  .tg-video-frame { flex: 1 1 calc(50% - 8px); }
}

/* Magnific image popup — close button at bottom-center */
.mfp-image-holder .mfp-close {
  top: auto !important; right: auto !important; bottom: 24px; left: 50%;
  transform: translateX(-50%); width: auto; height: auto; line-height: 1; padding: 0;
  font-size: 0; color: transparent; opacity: 1; display: flex; align-items: center;
  justify-content: center; gap: 8px; background: rgba(0,0,0,.65); color: #fff;
  padding: 12px 26px; border-radius: 999px; font-family: var(--sans);
  text-transform: uppercase; letter-spacing: .1em;
}
.mfp-image-holder .mfp-close:active { top: auto !important; }
.mfp-image-holder .mfp-close::-moz-selection { color: #fff; }
.mfp-image-holder .mfp-close::after { content: "× Close"; font-size: .9rem; color: #fff; font-weight: 600; }
.mfp-image-holder .mfp-close:hover, .mfp-image-holder .mfp-close:focus { opacity: 1; background: #000; }

/* Flat shipping line (checkout page 2) */
.tg-flat-shipping {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 14px 16px; border: 2px solid var(--line); border-radius: 10px;
  background: #fff;
}
.tg-flat-shipping-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; }
.tg-flat-shipping-note { font-size: .82rem; color: var(--muted); margin: 6px 0 0; }
/* -------------------------------------------
   Promo banner on homepage
   ------------------------------------------- */

.tg-promo {
  text-align: center; padding: 34px 20px; 
}
.tg-promo .tg-promo-flat { font-family: var(--serif); font-size: 1.1rem; letter-spacing: .2em; text-transform: uppercase; color: #6b5a3e; }
.tg-promo .tg-promo-big { font-family: var(--serif); font-size: 3.4rem; line-height: 1; color: #4a3c26; margin: 6px 0; }
.tg-promo .tg-promo-sub { font-size: 1.05rem; color: #5b4c33; letter-spacing: .04em; }
.tg-promo .tg-promo-code { display: inline-block; margin-top: 12px; border: 1px solid #4a3c26; padding: 5px 16px; letter-spacing: .12em; font-size: .8rem; text-transform: uppercase; }

/* Home "New Arrivals" — full-width row of as many cards as fit, rest hidden (swipe) */
.featured-products .tg-grid { display: flex; flex-wrap: nowrap; gap: var(--gap-component);
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
  padding-bottom: 6px;
}
.featured-products .tg-grid::-webkit-scrollbar { display: none; }
.featured-products .tg-grid > * { flex: 0 0 calc((100% - 40px) / 3); min-width: 0; scroll-snap-align: start; }


/* Homepage — 40px space between sections/divs */
.tg-home > * { margin-bottom: 40px; }
.tg-home > *:last-child { margin-bottom: 0; }

/* Homepage product strips — slider arrows (mobile) */
.tg-strip-wrap { position: relative; }
.tg-strip-arrow {
  display: none;
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(255,255,255,.96); color: #333;
  align-items: center; justify-content: center; cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,.14);
}
.tg-strip-arrow.prev { left: 6px; }
.tg-strip-arrow.next { right: 6px; }
.tg-strip-arrow i { font-size: 1.15rem; }
.tg-strip-arrow.is-hidden { display: none !important; }
@media (max-width: 991px) {
  .featured-products .tg-grid > * { flex: 0 0 100%; }
  .tg-strip-arrow { display: flex; }
}
