/*
Theme Name : TIFLI Premium Cookware
Description: Brand theme layer - overrides template defaults, defines TIFLI components
Version    : 1.0.0
*/

@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,700&display=swap");

/* ============================================================
   1. Design tokens
   ============================================================ */
:root {
  /* --- Brand accent: gold -------------------------------------------
     --theme is the fill/border gold. Small text and icons on a light
     background use --theme-700, which is the same hue darkened to a
     readable contrast ratio. */
  --theme: #C3AD7B;
  --theme-600: #B39A63;
  --theme-700: #8A7340;
  --theme-050: #F7F3EA;
  --theme-100: #EFE7D4;
  --theme2: #8A7340;
  --theme2-050: #F7F3EA;
  --theme3: #8A7340;
  --on-gold: #2A3B2B;

  /* --- Green: every surface that used to be blue --------------------- */
  --green-top: #43633C;
  --green-bottom: #334934;
  --green-deep: #2A3B2B;
  --green-gradient: linear-gradient(180deg, #43633C 0%, #334934 100%);
  --green-gradient-hover: linear-gradient(180deg, #375233 0%, #29392A 100%);

  --header: #1E2B1E;
  --ink: #1E2B1E;
  --base: #43633C;
  --text: #5C6B58;
  --text2: #B9C3B5;
  --border: #E4E8E0;
  --border2: #2F4430;
  --button: #1E2B1E;
  --button2: #43633C;
  --bg: #F5F7F3;
  --bg2: #EEF2EA;
  --white: #fff;
  --body: #fff;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(30, 43, 30, .05);
  --shadow: 0 14px 40px rgba(30, 43, 30, .08);
  --shadow-lg: 0 24px 70px rgba(30, 43, 30, .12);
  --font-head: "Outfit", "DM Sans", sans-serif;
  --font-body: "DM Sans", sans-serif;
  --color-gradient-1: var(--green-gradient);
}

/* ============================================================
   2. Typography reset - smaller, calmer scale
   ============================================================ */
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--ink);
  letter-spacing: -0.015em;
  text-transform: none;
}

h1 { font-size: clamp(2rem, 1.35rem + 2.4vw, 3.25rem); font-weight: 600; line-height: 1.12; }
h2 { font-size: clamp(1.55rem, 1.15rem + 1.5vw, 2.3rem); font-weight: 600; line-height: 1.18; }
h3 { font-size: clamp(1.15rem, 1.05rem + .35vw, 1.35rem); font-weight: 600; line-height: 1.3; }
h4 { font-size: 1.075rem; font-weight: 600; line-height: 1.35; }
h5 { font-size: .975rem; font-weight: 600; }
h6 { font-size: .875rem; font-weight: 600; }

@media (max-width: 575px) {
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.1rem; }
}

p { font-size: 1rem; line-height: 1.75; }

/* The base template hides every <br> under 576px, which glues words together. */
@media (max-width: 575px) { br { display: inline; } }
.lead-text { font-size: 1.0625rem; line-height: 1.8; }
.small-text { font-size: .9rem; }

a { color: var(--theme-700); }
a:hover { color: var(--green-top); }

::selection { background: var(--theme); color: var(--on-gold); }

/* ============================================================
   3. Layout utilities
   ============================================================ */
.section-padding { padding: 96px 0; }
.section-padding-sm { padding: 64px 0; }
@media (max-width: 991px) { .section-padding { padding: 68px 0; } .section-padding-sm { padding: 48px 0; } }

.bg-soft { background-color: var(--bg); }
.bg-tint { background-color: var(--theme-050); }
.bg-ink { background: var(--green-gradient); }
.text-theme { color: var(--theme-700) !important; }
.text-accent { color: var(--theme2) !important; }

.section-title { margin-bottom: 34px; margin-top: 0; }
.section-title span,
.sub-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--theme-700);
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title span::before,
.sub-title::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--theme2);
  display: inline-block;
}
.section-title h2 { text-transform: none; }
.section-title p { margin-top: 14px; max-width: 640px; }
.section-title.text-center p { margin-left: auto; margin-right: auto; }
.section-title.text-center span::before { display: none; }

.divider-line { height: 1px; background: var(--border); border: 0; opacity: 1; }

/* ============================================================
   4. Buttons
   ============================================================ */
.theme-btn {
  position: relative;
  isolation: isolate;          /* own stacking context for the sweep below */
  overflow: hidden;            /* clips the circle to the pill */
  background: var(--green-gradient);
  color: #fff;
  font-family: var(--font-head);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 15px 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
  border: 1px solid var(--green-top);
  transition: color .3s ease, border-color .3s ease, transform .28s ease, box-shadow .28s ease;
}
.theme-btn::after { display: none; }

/* Gold sweep. A circle centred on the button's bottom edge scales up and
   floods the pill from the bottom. z-index -1 inside the button's own
   stacking context paints it over the button background but still under
   the label, so no wrapper element is needed around the text.
   width == padding-bottom keeps the box square, so it stays a true circle
   at any button size; 165% guarantees it covers the top corners. */
.theme-btn::before {
  content: "";
  position: absolute;
  z-index: -1;
  /* top/right reset explicitly: main.css anchors this pseudo at top:0/left:0,
     and leaving top set would over-constrain the box and push the circle
     out below the button, where overflow:hidden eats it. */
  top: auto;
  right: auto;
  left: 50%;
  bottom: 0;
  width: 165%;
  height: 0;
  padding-bottom: 165%;
  border-radius: 50%;
  background: var(--theme);
  transform: translate(-50%, 50%) scale(0);
  transition: transform .55s cubic-bezier(.4, 0, .2, 1);
  pointer-events: none;
}
/* width is repeated here on purpose: main.css ships its own two-pseudo wipe
   and its `.theme-btn:hover::before { width: 100% }` is a class+pseudo-class
   selector, so it outranks the base rule above and would squash the circle
   into an ellipse exactly while it is meant to be filling. */
.theme-btn:hover::before,
.theme-btn:focus-visible::before {
  width: 165%;
  transform: translate(-50%, 50%) scale(1);
}

.theme-btn i { font-size: .85rem; }

.theme-btn.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}

.theme-btn.btn-light {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.theme-btn.btn-ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .45);
}

/* Declared after the variants on purpose. `.theme-btn:hover` and
   `.theme-btn.btn-ghost-light` have identical specificity, so source order
   decides: earlier and the ghost button would keep its white label sitting
   on gold, which is 1.9:1. The background itself never changes - the sweep
   is what fills the button, so every variant lands on the same
   dark-green-on-gold reading. */
.theme-btn:hover,
.theme-btn:focus-visible {
  color: var(--on-gold);
  border-color: var(--theme);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(195, 173, 123, .35);
}

@media (prefers-reduced-motion: reduce) {
  .theme-btn::before { transition: none; }
  .theme-btn:hover, .theme-btn:focus-visible { transform: none; }
}

/* Already gold, so this one sweeps the other way. */
.theme-btn.btn-accent { background: var(--theme); border-color: var(--theme); color: var(--on-gold); }
.theme-btn.btn-accent::before { background: var(--green-gradient); }
.theme-btn.btn-accent:hover,
.theme-btn.btn-accent:focus-visible {
  color: #fff;
  border-color: var(--green-top);
  box-shadow: 0 10px 24px rgba(67, 99, 60, .3);
}

.theme-btn.btn-sm { padding: 11px 22px; font-size: .75rem; }

.link-btn {
  font-family: var(--font-head);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--theme-700);
  background-image: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.link-btn:hover { color: var(--green-top); gap: 13px; }

/* ============================================================
   5. Header
   ============================================================ */
.header-1 { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.header-1 .container-fluid { padding: 0 40px; }
@media (max-width: 767px) { .header-1 .container-fluid { padding: 0 16px; } }

.header-main { padding: 16px 0; }
.logo img { height: 56px; width: auto; }
.sticky .logo img { height: 46px; }
@media (max-width: 575px) { .logo img { height: 40px; } }

.header-1 .mega-menu-wrapper .header-main .header-left .mean__menu-wrapper .main-menu > nav > ul > li > a,
.main-menu > nav > ul > li > a {
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .01em;
  text-transform: none;
  padding: 26px 0;
}
.main-menu nav > ul > li { margin-inline-end: 30px; }
.main-menu nav > ul > li:last-child { margin-inline-end: 0; }
.main-menu nav > ul > li > a:hover,
.main-menu nav > ul > li.active > a { color: var(--theme) !important; }

.sticky.header-1 { background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); box-shadow: var(--shadow-sm); }
.sticky .header-main { padding: 10px 0; }

.main-menu .submenu {
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 10px 0;
  min-width: 230px;
}
.main-menu .submenu li a {
  font-family: var(--font-body);
  font-size: .9rem;
  padding: 8px 20px;
  text-transform: none;
  color: var(--ink) !important;
}
.main-menu .submenu li a:hover { color: var(--theme-700) !important; background: var(--theme-050); }

.header-right { gap: 18px; }
.header-right .search-icon, .header-right .cart-icon { font-size: 1rem; }
.header-right .header-cta { margin-inline-start: 4px; }
@media (max-width: 1199px) { .header-right .header-cta { display: none; } }

.header-top-bar {
  background: var(--green-gradient);
  color: #C7D2C3;
  font-size: .82rem;
  padding: 9px 0;
}
.header-top-bar a { color: #C7D2C3; }
.header-top-bar a:hover { color: #fff; }
.header-top-bar .top-bar-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.header-top-bar .top-bar-list { display: flex; gap: 22px; flex-wrap: wrap; }
@media (max-width: 767px) { .header-top-bar { display: none; } }

/* Solid header - pages with no dark hero behind the bar */
body.tf-solid-header .header-1 {
  position: relative;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
body.tf-solid-header .header-1 .header-logo { display: none !important; }
body.tf-solid-header .header-1 .header-logo-2 { display: block !important; }
body.tf-solid-header .main-menu nav > ul > li > a { color: var(--ink) !important; }
body.tf-solid-header .main-menu nav > ul > li > a:hover,
body.tf-solid-header .main-menu nav > ul > li.active > a { color: var(--theme-700) !important; }
body.tf-solid-header .header__hamburger .sidebar__toggle { color: var(--ink); }
body.tf-solid-header .tf-404 { padding-top: 70px; min-height: 66vh; }

/* Offcanvas */
.offcanvas__info { background: #fff; }
.offcanvas__logo img { height: 44px; width: auto; }
.offcanvas__contact h4 { font-size: 1rem; margin-bottom: 14px; }
.offcanvas__contact ul li { margin-bottom: 12px; font-size: .92rem; }
/* main.css capitalises every word in this list, which renders the address as
   "Hello@Tifliglobal.Com". Its selector carries three classes, so match that
   depth to win. Contact details are printed verbatim. */
.offcanvas__wrapper .offcanvas__content .offcanvas__contact ul li,
.offcanvas__wrapper .offcanvas__content .offcanvas__contact ul li a,
.offcanvas__wrapper .offcanvas__content .offcanvas__contact ul li span { text-transform: none; }

/* ============================================================
   6. Hero
   ============================================================ */
.tf-hero { position: relative; overflow: hidden; }
.tf-hero .swiper-slide { position: relative; }
.tf-hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  transition: transform 8s ease;
}
.tf-hero .swiper-slide-active .tf-hero-media { transform: scale(1); }
.tf-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(26, 40, 26, .88) 0%, rgba(35, 52, 34, .62) 46%, rgba(51, 73, 52, .32) 100%);
}
.tf-hero-inner {
  position: relative;
  z-index: 2;
  min-height: 640px;
  display: flex;
  align-items: center;
  padding: 150px 0 100px;
}
@media (max-width: 991px) { .tf-hero-inner { min-height: 540px; padding: 130px 0 80px; } }
@media (max-width: 575px) { .tf-hero-inner { min-height: 470px; } }

.tf-hero-content { max-width: 660px; }
.tf-hero-content .sub-title { color: #fff; opacity: .85; }
.tf-hero-content .sub-title::before { background: var(--theme); }
.tf-hero-content h1 { color: #fff; margin-bottom: 18px; }
.tf-hero-content p { color: rgba(255, 255, 255, .82); font-size: 1.0625rem; max-width: 520px; margin-bottom: 30px; }
.tf-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.tf-hero .array-button { position: absolute; right: 40px; bottom: 40px; z-index: 5; display: flex; gap: 10px; }
.tf-hero .array-button button {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .4);
  color: #fff; background: rgba(255, 255, 255, .08);
  transition: all .3s ease;
}
.tf-hero .array-button button:hover { background: #fff; color: var(--green-top); }
@media (max-width: 767px) { .tf-hero .array-button { display: none; } }

.tf-hero-stats {
  position: relative;
  z-index: 3;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-top: -52px;
  padding: 8px 0;
}
.tf-hero-stats .stat-item { padding: 22px 26px; text-align: center; }
.tf-hero-stats .stat-item h3 { font-size: 1.55rem; color: var(--green-top); margin-bottom: 2px; }
.tf-hero-stats .stat-item p { font-size: .86rem; letter-spacing: .04em; text-transform: uppercase; color: var(--text); }
.tf-hero-stats .col-6:not(:last-child) .stat-item { border-right: 1px solid var(--border); }
@media (max-width: 767px) { .tf-hero-stats .stat-item { padding: 16px; } .tf-hero-stats .col-6:nth-child(2n) .stat-item { border-right: 0; } }

/* ============================================================
   7. Breadcrumb / page head
   ============================================================ */
.breadcrumb-wrapper {
  position: relative;
  padding: 170px 0 90px;
  background-size: cover;
  background-position: center;
}
.breadcrumb-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(26, 40, 26, .9) 0%, rgba(51, 73, 52, .62) 100%);
}
.breadcrumb-wrapper .container { position: relative; z-index: 2; }
.breadcrumb-wrapper .page-heading { display: block; max-width: 680px; }
.breadcrumb-wrapper .page-heading h1 {
  color: #fff;
  margin-bottom: 12px;
  font-size: clamp(1.85rem, 1.3rem + 2vw, 2.85rem);
}
.breadcrumb-wrapper .page-heading p { color: rgba(255, 255, 255, .78); }
.breadcrumb-wrapper .page-heading .breadcrumb-items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
  margin-top: 18px;
}
.breadcrumb-wrapper .page-heading .breadcrumb-items li,
.breadcrumb-wrapper .page-heading .breadcrumb-items li a {
  color: rgba(255, 255, 255, .78);
  font-size: .875rem;
  font-weight: 400;
  text-transform: none;
}
.breadcrumb-wrapper .page-heading .breadcrumb-items li a:hover { color: #fff; }
.breadcrumb-wrapper .page-heading .breadcrumb-items li i { font-size: .55rem; color: rgba(255, 255, 255, .45); }

/* ============================================================
   8. Cards - features, categories, values
   ============================================================ */
.tf-feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  height: 100%;
  transition: all .32s ease;
}
.tf-feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.tf-feature-card .icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--theme-050);
  color: var(--theme-700);
  font-size: 1.25rem;
  margin-bottom: 18px;
  transition: all .32s ease;
}
.tf-feature-card:hover .icon { background: var(--theme); color: var(--on-gold); }
.tf-feature-card h3 { margin-bottom: 8px; }
.tf-feature-card p { font-size: .945rem; }

.tf-category-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  min-height: 270px;
  background: var(--green-deep);
}
.tf-category-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute; inset: 0;
  transition: transform .6s ease;
  opacity: .78;
}
.tf-category-card:hover img { transform: scale(1.07); }
.tf-category-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26, 40, 26, 0) 30%, rgba(26, 40, 26, .88) 100%);
}
.tf-category-card .cat-body {
  position: relative;
  z-index: 2;
  padding: 26px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.tf-category-card .cat-body h3 { color: #fff; margin-bottom: 4px; font-size: 1.2rem; }
.tf-category-card .cat-body p { color: rgba(255, 255, 255, .78); font-size: .9rem; margin-bottom: 0; }
.tf-category-card .cat-arrow {
  position: absolute; top: 20px; right: 20px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .16);
  color: #fff; font-size: .8rem;
  transition: all .3s ease;
}
.tf-category-card:hover .cat-arrow { background: #fff; color: var(--green-top); }

.tf-value-item { padding: 26px 0; border-bottom: 1px solid var(--border); display: flex; gap: 20px; }
.tf-value-item:last-child { border-bottom: 0; }
.tf-value-item .num {
  font-family: var(--font-head);
  font-size: .8rem; font-weight: 600; letter-spacing: .1em;
  color: var(--theme2); padding-top: 4px; min-width: 34px;
}
.tf-value-item h3 { margin-bottom: 6px; }
.tf-value-item p { font-size: .945rem; margin-bottom: 0; }

/* ============================================================
   9. Image blocks
   ============================================================ */
.tf-figure { border-radius: var(--radius); overflow: hidden; position: relative; }
.tf-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tf-figure.ratio-4-3 { aspect-ratio: 4 / 3; }
.tf-figure.ratio-1-1 { aspect-ratio: 1 / 1; }
.tf-figure.ratio-3-4 { aspect-ratio: 3 / 4; }
.tf-figure.ratio-16-9 { aspect-ratio: 16 / 9; }

.tf-figure-badge {
  position: absolute;
  left: 22px; bottom: 22px;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  box-shadow: var(--shadow-sm);
}
.tf-figure-badge strong { display: block; font-family: var(--font-head); font-size: 1.25rem; color: var(--green-top); line-height: 1.2; }
.tf-figure-badge span { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }

.tf-check-list { display: grid; gap: 12px; margin: 22px 0 28px; }
.tf-check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .965rem; }
.tf-check-list li i { color: var(--theme-700); font-size: .85rem; margin-top: 6px; }

/* ============================================================
   10. Split / lifestyle banner
   ============================================================ */
.tf-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  overflow: hidden;
}
.tf-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(26, 40, 26, .86), rgba(51, 73, 52, .5)); }
.tf-banner .banner-inner { position: relative; z-index: 2; padding: 72px 60px; max-width: 620px; }
.tf-banner h2 { color: #fff; margin-bottom: 14px; }
.tf-banner p { color: rgba(255, 255, 255, .82); margin-bottom: 26px; }
@media (max-width: 767px) { .tf-banner .banner-inner { padding: 48px 26px; } }

.tf-cta-strip {
  background: var(--color-gradient-1);
  border-radius: var(--radius);
  padding: 46px 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.tf-cta-strip h2 { color: #fff; margin-bottom: 6px; }
.tf-cta-strip p { color: rgba(255, 255, 255, .82); margin-bottom: 0; }
@media (max-width: 767px) { .tf-cta-strip { padding: 34px 24px; } }

/* ============================================================
   11. Product cards & grid
   ============================================================ */
.tf-product-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}
.tf-filter-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.tf-filter-pills button {
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 500;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  transition: all .25s ease;
}
.tf-filter-pills button:hover { border-color: var(--theme); color: var(--theme-700); }
.tf-filter-pills button.active { background: var(--theme); border-color: var(--theme); color: var(--on-gold); }

.tf-search-field { position: relative; min-width: 260px; }
.tf-search-field input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 11px 18px 11px 42px;
  font-size: .92rem;
  color: var(--ink);
  background: #fff;
}
.tf-search-field input:focus { outline: none; border-color: var(--theme); color: var(--ink); }
.tf-search-field i { position: absolute; left: 17px; top: 50%; transform: translateY(-50%); color: var(--text); font-size: .88rem; }

.tf-product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all .32s ease;
}
.tf-product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.tf-product-thumb { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg); }
.tf-product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.tf-product-card:hover .tf-product-thumb img { transform: scale(1.06); }
.tf-product-tag {
  position: absolute; top: 14px; left: 14px;
  background: rgba(255, 255, 255, .95);
  color: var(--theme-700);
  font-family: var(--font-head);
  font-size: .68rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
}
.tf-product-tag.is-featured { background: var(--theme); color: var(--on-gold); }
.tf-product-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.tf-product-body .cat { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--theme2); font-weight: 600; font-family: var(--font-head); }
.tf-product-body h3 { margin: 6px 0 8px; font-size: 1.08rem; }
.tf-product-body h3 a { color: var(--ink); }
.tf-product-body h3 a:hover { color: var(--theme-700); }
.tf-product-body p { font-size: .91rem; margin-bottom: 0; }

.tf-skeleton { border-radius: var(--radius); background: linear-gradient(90deg, #eef1f4 25%, #f7f9fa 50%, #eef1f4 75%); background-size: 200% 100%; animation: tf-shimmer 1.3s infinite; }
.tf-skeleton-card { height: 380px; }
@keyframes tf-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.tf-empty-state { text-align: center; padding: 60px 20px; border: 1px dashed var(--border); border-radius: var(--radius); }
.tf-empty-state i { font-size: 2rem; color: var(--theme-700); margin-bottom: 14px; display: block; }

/* ============================================================
   12. Product detail
   ============================================================ */
.tf-gallery-main { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg); }
.tf-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.tf-gallery-thumbs { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.tf-gallery-thumbs button {
  width: 84px; height: 68px; border-radius: var(--radius-sm);
  overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--bg);
}
.tf-gallery-thumbs button.active { border-color: var(--theme); }
.tf-gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.tf-spec-table { width: 100%; border-collapse: collapse; }
.tf-spec-table th, .tf-spec-table td { padding: 13px 16px; border-bottom: 1px solid var(--border); font-size: .945rem; text-align: left; vertical-align: top; }
.tf-spec-table th { width: 40%; font-family: var(--font-head); font-weight: 600; color: var(--ink); background: var(--bg); }

.tf-feature-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 26px; }
.tf-feature-chips span {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border); border-radius: 999px;
  padding: 8px 15px; font-size: .85rem; color: var(--ink);
}
.tf-feature-chips i { color: var(--theme-700); font-size: .8rem; }

/* ============================================================
   13. Accordion / FAQ
   ============================================================ */
.tf-accordion .accordion-item { border: 1px solid var(--border); border-radius: var(--radius-sm) !important; margin-bottom: 12px; overflow: hidden; background: #fff; }
.tf-accordion .accordion-button {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  padding: 18px 22px;
  background: #fff;
  box-shadow: none;
}
.tf-accordion .accordion-button:not(.collapsed) { background: var(--theme-050); color: var(--theme-700); }
.tf-accordion .accordion-button:focus { box-shadow: none; border-color: var(--border); }
.tf-accordion .accordion-body { padding: 0 22px 20px; font-size: .95rem; }

/* ============================================================
   14. Forms
   ============================================================ */
.tf-form-field { margin-bottom: 18px; }
.tf-form-field label { display: block; font-family: var(--font-head); font-size: .82rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.tf-input, .tf-form-field input, .tf-form-field textarea, .tf-form-field select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 13px 16px;
  font-size: .95rem;
  color: var(--ink);
  font-family: var(--font-body);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.tf-input:focus, .tf-form-field input:focus, .tf-form-field textarea:focus, .tf-form-field select:focus {
  outline: none;
  border-color: var(--theme);
  box-shadow: 0 0 0 3px rgba(195, 173, 123, .25);
  color: var(--ink);
}
.tf-form-field textarea { min-height: 140px; resize: vertical; }
.tf-form-note { font-size: .82rem; color: var(--text); }

.tf-alert { border-radius: var(--radius-sm); padding: 13px 16px; font-size: .9rem; margin-bottom: 16px; display: none; }
.tf-alert.is-visible { display: block; }
.tf-alert.success { background: #E8F5EE; color: #1D6B42; }
.tf-alert.error { background: #FDECEC; color: #A32020; }
.tf-alert.info { background: var(--theme-050); color: var(--theme-700); }

.tf-contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  height: 100%;
  transition: all .3s ease;
}
.tf-contact-card:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-4px); }
.tf-contact-card .icon { width: 46px; height: 46px; border-radius: 12px; background: var(--theme-050); color: var(--theme-700); display: grid; place-items: center; margin-bottom: 16px; }
.tf-contact-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.tf-contact-card a { color: var(--text); font-size: .95rem; }
.tf-contact-card a:hover { color: var(--theme-700); }

.tf-map { border-radius: var(--radius); overflow: hidden; line-height: 0; box-shadow: var(--shadow-sm); }
.tf-map iframe { width: 100%; height: 420px; border: 0; }

/* ============================================================
   15. Legal / long-form content
   ============================================================ */
.tf-prose h2 { margin: 34px 0 12px; font-size: 1.4rem; }
.tf-prose h3 { margin: 24px 0 10px; }
.tf-prose p, .tf-prose li { font-size: .975rem; }
.tf-prose ul { list-style: disc; padding-left: 20px; margin-bottom: 16px; }
.tf-prose ul li { margin-bottom: 7px; }
.tf-prose > *:first-child { margin-top: 0; }

.tf-toc {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  position: sticky;
  top: 100px;
}
.tf-toc h4 { margin-bottom: 12px; }
.tf-toc a { display: block; font-size: .9rem; padding: 6px 0; color: var(--text); }
.tf-toc a:hover { color: var(--theme-700); }

/* ============================================================
   16. Footer
   ============================================================ */
.footer-section { background: var(--green-top); background-image: var(--green-gradient); }
.footer-widgets-wrapper { padding: 76px 0 46px; }
.single-footer-widget .widget-head h3 { color: #fff; font-size: 1rem; margin-bottom: 18px; letter-spacing: .04em; }
.single-footer-widget .footer-content p { color: #C2CDBE; font-size: .93rem; }
.single-footer-widget .list-area li { margin-bottom: 9px; }
.single-footer-widget .list-area li a { color: #C2CDBE; font-size: .93rem; }
.single-footer-widget .list-area li a:hover { color: #fff; padding-left: 4px; }
.footer-logo img { height: 48px; width: auto; margin-bottom: 18px; }
.footer-section .social-icon { gap: 10px; margin-top: 18px; display: flex; }
.footer-section .social-icon a {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .08);
  color: #fff; font-size: .85rem;
  transition: all .3s ease;
}
.footer-section .social-icon a:hover { background: var(--theme); color: var(--on-gold); }
.footer-contact-list li { display: flex; gap: 12px; margin-bottom: 12px; color: #C2CDBE; font-size: .93rem; }
.footer-contact-list li i { color: var(--theme); margin-top: 6px; font-size: .85rem; }
.footer-contact-list li a { color: #C2CDBE; }
.footer-contact-list li a:hover { color: #fff; }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom-wrapper { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; padding: 22px 0; }
.footer-bottom p, .footer-bottom a { color: #A6B3A1; font-size: .875rem; margin: 0; }
.footer-bottom a:hover { color: #fff; }
.footer-legal-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* ============================================================
   17. Misc
   ============================================================ */
.scroll-up { background: #fff; box-shadow: var(--shadow-sm); }
.scroll-up::after { color: var(--green-top); }
.scroll-up svg path { stroke: var(--green-top); }


.tf-badge-row { display: flex; flex-wrap: wrap; gap: 26px; align-items: center; }
.tf-badge-row .badge-item { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--ink); font-weight: 500; }
.tf-badge-row .badge-item i { color: var(--theme-700); }

.tf-404 { min-height: 78vh; display: grid; place-items: center; text-align: center; padding: 140px 0 80px; }
.tf-404 .code { font-family: var(--font-head); font-size: clamp(4.5rem, 12vw, 9rem); font-weight: 700; line-height: 1; color: var(--green-top); letter-spacing: -.04em; }
.tf-404 p { max-width: 460px; margin: 12px auto 26px; }
.tf-404-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   18. Motion - scroll reveal + hero entrance
   ============================================================ */
/* Hidden only once JS confirms it can reveal them again. */
.tf-anim .wow { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.tf-anim .wow.fadeInLeft { transform: translateX(-26px); }
.tf-anim .wow.fadeInRight { transform: translateX(26px); }
.tf-anim .wow.tf-in { opacity: 1; transform: none; }

@keyframes tf-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.tf-hero .swiper-slide-active .tf-hero-content > * { animation: tf-rise .85s cubic-bezier(.2, .7, .3, 1) both; }
.tf-hero .swiper-slide-active .tf-hero-content > *:nth-child(1) { animation-delay: .15s; }
.tf-hero .swiper-slide-active .tf-hero-content > *:nth-child(2) { animation-delay: .28s; }
.tf-hero .swiper-slide-active .tf-hero-content > *:nth-child(3) { animation-delay: .41s; }
.tf-hero .swiper-slide-active .tf-hero-content > *:nth-child(4) { animation-delay: .54s; }

@media (prefers-reduced-motion: reduce) {
  .tf-anim .wow { opacity: 1 !important; transform: none !important; transition: none; }
  .tf-hero .swiper-slide-active .tf-hero-content > * { animation: none; }
  .tf-hero-media { transition: none; transform: none; }
}

/* Hide unused template chrome */
.mouse-cursor { display: none; }

/* ============================================================
   19. Viewport guards - no horizontal scroll on phones
   ============================================================ */
/* Bootstrap containers carry 12px of side padding, but a .g-5 row pulls its
   own margins out by 24px. Every g-5 row therefore stuck 12px past the
   viewport on a phone and dragged the whole document into a horizontal
   scroll. Matching the container padding to the widest gutter we use lines
   the geometry back up - and gives the content the side spacing it lacked. */
@media (max-width: 991.98px) {
  .container,
  .container-fluid,
  .container-sm,
  .container-md,
  .container-lg,
  .container-xl {
    padding-left: 20px;
    padding-right: 20px;
  }
  .g-5, .gx-5 { --bs-gutter-x: 2.5rem; }   /* 40px -> -20px margins */
}
@media (max-width: 575.98px) {
  .container,
  .container-fluid,
  .container-sm,
  .container-md,
  .container-lg,
  .container-xl {
    padding-left: 16px;
    padding-right: 16px;
  }
  .g-5, .gx-5 { --bs-gutter-x: 2rem; }     /* 32px -> -16px margins */
}

/* Reveal offsets must not be horizontal until the container has enough side
   margin to absorb them, otherwise a not-yet-revealed column parks 26px past
   the viewport and re-opens the scrollbar. 1200px+ leaves 30px of margin. */
@media (max-width: 1199.98px) {
  .tf-anim .wow.fadeInLeft,
  .tf-anim .wow.fadeInRight { transform: translateY(22px); }
}

/* Backstop for anything that still overhangs. `clip` rather than `hidden`
   so neither element becomes a scroll container and position: sticky
   (the legal-page table of contents) keeps working. */
html { overflow-x: clip; }
body { overflow-x: clip; max-width: 100%; }

/* Media never wider than its column. */
img, svg, video, iframe, table { max-width: 100%; }

/* ============================================================
   20. Preloader - real brand mark
   ============================================================ */
.preloader { background: #fff; }
.preloader .loader { display: flex; }
.preloader .loader .loader-section { width: 50%; height: 100%; display: flex; }
.preloader .loader .section-right { justify-content: flex-end; }
.preloader .loader .loader-section .bg { background-color: #fff; }
.preloader .animation-preloader { text-align: center; padding: 0 24px; max-width: 100%; }
/* Logo first, spinner under it - so the margin sits on top, not the bottom,
   and the spinner drops to a supporting size rather than leading. */
.preloader .animation-preloader .spinner {
  border: 3px solid rgba(30, 43, 30, .12);
  border-top-color: var(--theme);
  width: 2.75em;
  height: 2.75em;
  margin: 2.2em auto 0 auto;
}
@media (max-width: 767px) {
  .preloader .animation-preloader .spinner { width: 2.25em; height: 2.25em; margin: 1.8em auto 0 auto; }
}
.tf-preloader-logo { max-width: min(300px, 68vw); margin: 0 auto; }
.tf-preloader-logo img { width: 100%; height: auto; display: block; }
