/* ============================================================
   main.css — Nam Dương Design System
   Covers: tokens, fonts, reset, layout, header, footer,
           all components, page-specific sections.
   Media queries live in responsive.css.
   ============================================================ */

/* ──────────────────────────────────────────────────────────
   Bootstrap 3 → 4 column compatibility shim
   (col-xs-* used in dynamically generated HTML cards)
   ────────────────────────────────────────────────────────── */
.col-xs-12 { width: 100%; max-width: 100%; flex: 0 0 100%; }
@media (min-width: 768px)  { .col-md-6 { flex: 0 0 50%; max-width: 50%; } }
@media (min-width: 992px)  { .col-lg-4 { flex: 0 0 33.3333%; max-width: 33.3333%; } }
@media (min-width: 1200px) { .col-xl-4 { flex: 0 0 33.3333%; max-width: 33.3333%; } }

/* ──────────────────────────────────────────────────────────
   1. DESIGN TOKENS (CSS Custom Properties)
   ────────────────────────────────────────────────────────── */
:root {
  /* Brand palette */
  --color-wine:       #91331d;   /* primary brand — nav active, headings */
  --color-wine-dark:  #6e2515;   /* hover / pressed wine */
  --color-orange:     #e26e41;   /* gradient partner */
  --color-gold:       #c8a96e;   /* CTA buttons, accent */
  --color-gold-hover: #a88a50;   /* gold hover */
  --color-red:        #e81214;   /* alert / error */
  --color-navy:       #39588d;   /* secondary accent */

  /* Neutrals */
  --color-dark:   #2d2d2d;
  --color-body:   #444444;
  --color-muted:  #777777;
  --color-light:  #f9f5f0;   /* warm off-white page bg */
  --color-border: #ebebeb;
  --color-white:  #ffffff;

  /* Typography */
  --font-body:    "SourceSansPro-Regular", "Source Sans Pro", sans-serif;
  --font-light:   "SourceSansPro-Light",   "Source Sans Pro", sans-serif;
  --font-semi:    "SourceSansPro-SemiBold","Source Sans Pro", sans-serif;
  --font-bold:    "SourceSansPro-Bold",    "Source Sans Pro", sans-serif;
  --font-display: "Lobster-Regular",       cursive;

  /* Type scale */
  --text-xs:   0.75rem;    /* 12px */
  --text-sm:   0.875rem;   /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-md:   1.125rem;   /* 18px */
  --text-lg:   1.25rem;    /* 20px */
  --text-xl:   1.5rem;     /* 24px */
  --text-2xl:  1.875rem;   /* 30px */
  --text-3xl:  2.25rem;    /* 36px */
  --text-4xl:  3rem;       /* 48px */

  /* Spacing scale */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Layout */
  --container-max: 1200px;
  --container-pad: 1rem;
  --header-height: 70px;
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 4px rgba(0,0,0,.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,.12);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.16);

  /* Transitions */
  --transition-fast:   0.15s ease;
  --transition-base:   0.3s ease;
  --transition-slow:   0.5s ease;

  /* Z-index stack */
  --z-header:  1000;
  --z-overlay: 1100;
  --z-drawer:  1200;
  --z-modal:   1300;
  --z-toast:   1400;
}

/* ──────────────────────────────────────────────────────────
   2. FONTS
   ────────────────────────────────────────────────────────── */
@font-face {
  font-family: "SourceSansPro-Light";
  src: url("../fonts/SourceSansPro-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SourceSansPro-Regular";
  src: url("../fonts/SourceSansPro-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SourceSansPro-SemiBold";
  src: url("../fonts/SourceSansPro-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SourceSansPro-Bold";
  src: url("../fonts/SourceSansPro-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lobster-Regular";
  src: url("../fonts/Lobster-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ──────────────────────────────────────────────────────────
   3. RESET & BASE
   ────────────────────────────────────────────────────────── */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-body);
  background-color: var(--color-white);
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }
/* When mobile nav is open, prevent fullPage from absorbing pointer/touch events
   so the overlay blanket (left side) remains tappable to close the menu */
body.nav-open #fullpage { pointer-events: none; }

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--color-wine); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}
address { font-style: normal; }

/* Accessibility / screen-reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ──────────────────────────────────────────────────────────
   4. LAYOUT PRIMITIVES
   ────────────────────────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.container-fluid {
  width: 100%;
  padding-inline: var(--container-pad);
}

/* Flex helpers */
.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col     { flex-direction: column; }
.flex-wrap    { flex-wrap: wrap; }
.gap-1 { gap: var(--space-4); }
.gap-2 { gap: var(--space-8); }

/* Product / recipe / news card grids */
.card-grid {
  display: grid;
  gap: var(--space-8);
  grid-template-columns: repeat(4, 1fr);
}

.card-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

/* ──────────────────────────────────────────────────────────
   5. TYPOGRAPHY
   ────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-bold);
  color: var(--color-dark);
  line-height: 1.25;
}

h1 { font-size: var(--text-3xl); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); }
h5 { font-size: var(--text-md); }
h6 { font-size: var(--text-base); }

p { margin-block: 0; }
p + p { margin-top: var(--space-4); }

/* Section headings used across all pages */
.section-heading {
  text-align: center;
  margin-bottom: var(--space-10);
}

.section-heading__title {
  font-family: var(--font-bold);
  font-size: var(--text-3xl);
  color: var(--color-wine);
  position: relative;
  display: inline-block;
  padding-bottom: var(--space-4);
}

.section-heading__title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-wine), var(--color-orange));
  border-radius: var(--radius-full);
}

.section-heading__subtitle {
  margin-top: var(--space-4);
  color: var(--color-muted);
  font-size: var(--text-md);
}

/* Page banner (inner pages) */
.page-banner {
  margin-top: var(--header-height);
  width: 100%;
  overflow: hidden;
  position: relative;
}

.page-banner img {
  width: 100%;
  height: auto;
  display: block;
}

.page-banner__overlay {
  display: none;
}

.page-banner__title {
  font-family: var(--font-bold);
  font-size: var(--text-3xl);
  color: var(--color-white);
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
  text-align: center;
  letter-spacing: 0.04em;
  position: relative;
  padding-bottom: var(--space-4);
}

.page-banner__title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--color-gold);
  border-radius: var(--radius-full);
}

/* ──────────────────────────────────────────────────────────
   6. BUTTONS
   ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-sm);
  font-family: var(--font-semi);
  font-size: var(--text-base);
  line-height: 1;
  transition: background var(--transition-base), color var(--transition-base), border-color var(--transition-base);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-wine);
  color: var(--color-white);
  border: 2px solid var(--color-wine);
}
.btn-primary:hover {
  background: var(--color-wine-dark);
  border-color: var(--color-wine-dark);
  color: var(--color-white);
}

.btn-gold {
  background: var(--color-gold);
  color: var(--color-white);
  border: 2px solid var(--color-gold);
}
.btn-gold:hover {
  background: var(--color-gold-hover);
  border-color: var(--color-gold-hover);
  color: var(--color-white);
}

.btn-outline {
  background: transparent;
  color: var(--color-wine);
  border: 2px solid var(--color-wine);
}
.btn-outline:hover {
  background: var(--color-wine);
  color: var(--color-white);
}

.btn-ghost {
  background: transparent;
  border: none;
  color: inherit;
  padding: var(--space-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast);
}
.btn-ghost:hover { color: var(--color-wine); }

/* Gradient CTA used on homepage sections */
.btn-gradient {
  background: linear-gradient(135deg, var(--color-wine) 0%, var(--color-orange) 100%);
  color: var(--color-white);
  border: none;
  padding: var(--space-3) var(--space-8);
  border-radius: var(--radius-full);
  font-family: var(--font-semi);
  font-size: var(--text-md);
  letter-spacing: 0.03em;
  transition: opacity var(--transition-base);
}
.btn-gradient:hover { opacity: 0.88; color: var(--color-white); }

/* ──────────────────────────────────────────────────────────
   7. HEADER & NAVIGATION
   ────────────────────────────────────────────────────────── */
#header {
  background-color: #fff;
  position: fixed;
  padding: 15px 0;
  border-top: 2px solid #e7191b;
  z-index: var(--z-header);
  left: 0;
  right: 0;
  top: 0;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

#header.is-sticky {
  box-shadow: 0 2px 12px rgba(0,0,0,.12);
}

.main-header > .container { position: initial; }

.all-header { position: relative; z-index: 9; }


/* Logo — absolutely centred between the two nav panels */
#header .logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -25%);
  margin: 0;
  flex-shrink: 0;
}

#header .logo img { width: 120px; }

/* Desktop split-nav wrapper — flex row: [left-nav | logo | right-nav] */
.menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* Each nav panel takes equal flex space; half the logo width as inner padding
   keeps nav items from overlapping the absolutely-positioned logo */
.header-nav {
  flex: 1;
  display: flex;
  align-items: center;
}
.header-nav--left  { justify-content: flex-end;   padding-right: 70px; }
.header-nav--right { justify-content: flex-start; padding-left:  70px; gap: var(--space-3); }

/* Desktop ul inside each panel — horizontal row */
.header-nav .main_menu {
  margin: 0;
  padding: 0;
  list-style: none;
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
}

/* Mobile drawer ul — vertical column (responsive.css sets the drawer itself) */
.menu-main-menu-container .main_menu {
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

#header ul.main_menu li {
  margin: 0 14px;
  display: inline-flex;
  position: relative;
  align-items: center;
}

/* Dropdown chevron — shown only beside items that have sub-menus */
.header-nav .nav-arrow {
  font-size: 10px;
  line-height: 1;
  margin-left: 4px;
  display: inline-block;
  vertical-align: middle;
  color: inherit;
  pointer-events: none;
  transition: transform 0.25s ease;
  position: relative;
  top: -5px;
}
#header ul.main_menu li:hover > a .nav-arrow { transform: rotate(180deg); }

#header ul li a {
  color: #333;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-semi);
  line-height: 22px;
  text-transform: uppercase;
  text-decoration: none;
  display: block;
  text-align: center;
  transition: 0.5s all;
}

#header ul li a:hover { color: #e2222e; transition: 0.5s all; }

/* Underline effect on hover / active */
#header ul li a:after {
  content: "";
  height: 3px;
  width: 0;
  background-color: #e2222e;
  display: block;
  transition: 0.5s all;
}
#header ul li a:hover:after {
  width: 100%;
  transition: 0.5s all;
}

#header ul.main_menu li.current-menu-item a { color: #e2222e; }
#header ul.main_menu li.current-menu-item a:after {
  content: "";
  height: 3px;
  width: 100%;
  background-color: #e2222e;
  display: block;
}

/* Home icon */
#header i.fa.fa-home {
  font-size: 22px !important;
  color: #e7191b;
}

/* Dropdown / sub-menu */
#header ul.main_menu li ul.sub-menu {
  width: 180px;
  position: absolute;
  top: 22px;
  background-image: linear-gradient(-187deg, #e7191b 0%, #080808 99%, #080808 100%);
  margin: 0 auto !important;
  visibility: hidden;
  transition: opacity 0.4s ease, max-height 0.4s ease, padding 0.4s ease, visibility 0.4s ease;
  opacity: 0;
  max-height: 0;
  padding: 0 10px;
  left: 50%;
  transform: translateX(-50%);
  list-style: none;
  overflow: hidden;
}

#header ul.main_menu li:hover > ul.sub-menu {
  visibility: visible;
  opacity: 1;
  max-height: 400px;
  padding: 5px 10px;
  z-index: 999999;
}

#header ul.main_menu li ul.sub-menu li {
  display: block !important;
  text-align: left !important;
  margin: 0 !important;
}

#header ul.main_menu li ul.sub-menu li a {
  color: #fff !important;
  padding: 7px 0;
  font-size: 12px !important;
}

#header ul.main_menu li ul.sub-menu li a:after {
  margin: 5px auto 0;
  content: "";
  height: 1px;
  width: 0;
  background-color: #fff;
  display: block;
}

#header ul.main_menu li ul.sub-menu li a:hover:after { width: 50%; }

/* show_menu chevron (injected by theme-main.js) */
span.show_menu { margin-left: 5px; margin-top: -15px !important; }
span.show_menu i { color: #e7191b; font-size: 15px; height: auto; }

/* WPML — hide current language item (already selected) */
.wpml-ls-current-language { display: none; }

.multi_lang_top a img {
  display: flex !important;
  justify-content: center;
  align-items: center;
  border: 1px solid #e1e1e1;
  border-radius: 50%;
  background-color: #fff;
  width: 24px !important;
  height: 24px !important;
  padding: 1px;
  object-fit: cover;
}
.multi_lang_top a:after { display: none !important; }
.multi_lang_top ul { list-style-type: none; padding: 0 !important; margin: 0 0 0 15px !important; }

/* Search icon */
.search_icon_header {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.search_icon_header .open_search {
  display: flex;
  align-items: center;
  padding: 6px;
  transition: opacity 0.3s;
}
.search_icon_header .open_search:hover { opacity: 0.75; }
.search_icon_header img { width: 20px; height: 20px; object-fit: contain; }

/* bg_menu — decorative wave strip below header */
.bg_menu {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -70px;
  z-index: 8;
}
.bg_menu img { width: 100%; height: auto; }

/* Burger button — hidden on desktop */
#header .burgerbutton { display: none; }

.fa-sort-down:before, .fa-sort-desc:before {
  color: #e7191b;
  font-size: 15px;
}

/* Mobile drawer — hidden on desktop; responsive.css overrides to flex on mobile */
#mobile-drawer { display: none; }

/* Nav overlay (mobile backdrop) */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  /* Drawer (#mobile-drawer) is a DOM sibling at z-index --z-drawer (1200).
     Overlay sits between: page content < overlay (1199) < drawer (1200) > header (1000) */
  z-index: calc(var(--z-drawer) - 1);
}
.nav-overlay.is-visible { display: block; }

/* ──────────────────────────────────────────────────────────
   8. SEARCH OVERLAY
   ────────────────────────────────────────────────────────── */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(145,51,29,.92);
  z-index: var(--z-modal);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--space-8);
}
.search-overlay.is-open { display: flex; }

.search-overlay__inner {
  width: min(700px, 90vw);
  position: relative;
}

.search-overlay__input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(255,255,255,.6);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: var(--text-2xl);
  padding: var(--space-4) 0;
  outline: none;
  caret-color: var(--color-white);
}
.search-overlay__input::placeholder { color: rgba(255,255,255,.5); }

.search-overlay__btn {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-white);
  font-size: var(--text-xl);
  background: none;
  border: none;
  cursor: pointer;
}

#search-close {
  position: absolute;
  top: var(--space-8);
  right: var(--space-8);
  color: var(--color-white);
  font-size: var(--text-3xl);
  line-height: 1;
  cursor: pointer;
  background: none;
  border: none;
  opacity: .8;
}
#search-close:hover { opacity: 1; }

/* ──────────────────────────────────────────────────────────
   9. FOOTER
   ────────────────────────────────────────────────────────── */
/* fullPage homepage section wrapper — sized by fullPage.js (height: 695px injected) */
.footer_div {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom;
  padding: 60px 0 110px 0;
}

[data-anchor="pageFooter"] {
  background-position: -390px -0px !important;
}
/* Align footer content to top of its fp-section instead of vertically centred */
[data-anchor="pageFooter"] .fp-tableCell {
  vertical-align: top !important;
  /* padding-top: calc(var(--header-height) + 20px); */
}
[data-anchor="pageFooter"] .fp-overflow {
  align-items: flex-start !important;
  padding-top: calc(var(--header-height) + 20px);
}

/* [data-anchor="page2"] .container {
  padding: 100px 0 64px 0 !important;
} */
/* page5: shift news content below the fixed header with a 20px gap.
   Uses transform (no layout effect) so cell/section stay at the same height as
   all other pages — fullPage.js scroll-positioning stays correct in both
   scroll directions (up and down). */
[data-anchor="page5"] .fp-tableCell {
  vertical-align: top !important;
}
[data-anchor="page5"] .sec_gr_def.news_home {
  transform: translateY(calc(var(--header-height) + 20px));
}
.def_footer { text-align: center; }

.def_footer p,
.def_footer a,
.def_footer span {
  color: #fff !important;
  font-size: 16px;
  font-family: var(--font-light);
  font-weight: 300;
  margin-bottom: 0;
  text-decoration: none !important;
}

.logo_footer {
  width: auto;
  display: inline-block;
  position: relative;
  margin-bottom: 0;
}

/* Separator line below logo — matches original WP theme */
.logo_footer:after {
  content: "";
  height: 1px;
  width: 300px;
  display: block;
  background: rgba(235,235,235,.2);
  margin: 5px auto 5px auto;
}

/* Pulsing ring behind the footer logo — expands outward from centre */
@keyframes ringPulse {
  0%   { transform: translate(-50%, -50%) scale(0.3); opacity: 0.8; }
  70%  { transform: translate(-50%, -50%) scale(1.1); opacity: 0.25; }
  100% { transform: translate(-50%, -50%) scale(1.4); opacity: 0; }
}
.kenit-alo-circle-logo-home {
  /* width: 145px;
  height: 145px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
  border-radius: 100%;
  border: 2px solid rgba(255,255,255,.6);
  opacity: .65;
  box-shadow: 0 3px 20px rgba(255,255,255,.4);
  pointer-events: none;
  animation: ringPulse 2s ease-out infinite; */
  width: 145px;
  height: 145px;
  top: 70px;
  left: 24%;
  position: absolute;
  border-radius: 100%;
  border-color: #fff;
  opacity: 1;
  box-shadow: 0 3px 15px #fff;
}
/* .kenit-alo-circle-logo-home.animated.infinite { animation: ringPulse 2s ease-out infinite; } */

.logo_footer img { width: 250px; height: auto; }

.address_footer {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.address_footer span {
    text-transform: capitalize;
}

.address_footer p {
  text-align: left;
}

.def_footer .contact ul,
.social_footer ul {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.def_footer .contact ul li,
.social_footer ul li {
  padding: 0 25px;
  width: 50%;
}

.social_footer { margin-top: 5px; }

.social_footer ul li i {
  transition: 0.5s all;
  color: #b6b2b2;
  font-size: 30px;
}
.social_footer ul li i:hover { color: #fff; transition: 0.5s all; }

.def_footer span {
  margin-right: 5px;
  text-transform: capitalize;
}

.def_footer .contact ul li:not(:last-child) {
  border-right: 1px solid rgba(96,93,93,.5);
}

.def_footer .contact ul li:first-child,
.social_footer ul li:first-child { text-align: right; }

.def_footer .contact ul li:last-child,
.social_footer ul li:last-child { text-align: left; }

/* Social menu icons */
.social_menu {
  list-style: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
}
.social_menu li a {
  color: rgba(255,255,255,.8) !important;
  font-size: 28px;
  display: inline-flex;
  align-items: center;
  transition: 0.3s;
}
.social_menu li a img { width: 30px; height: 30px; }
.social_menu li a:hover { color: #fff !important; }
/* PDF text links inside social_menu */
.social_menu li a:not([aria-label]) {
  font-size: 12px;
  text-align: center;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Policy link bar */
.footer_page_rule {
  /* border-top: 1px solid rgba(255,255,255,.2); */
  text-align: center;
  /* padding: 18px 0 0; */
  /* margin-top: 20px; */
}
.footer_page_rule a {
  color: var(--text-white) !important;
  font-size: var(--text-base);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.3s;
}
.footer_page_rule a:hover { color: var(--text-white) !important; }

/* ──────────────────────────────────────────────────────────
   10. BACK TO TOP
   ────────────────────────────────────────────────────────── */
#back-to-top {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-6);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--color-wine);
  color: var(--color-white);
  font-size: var(--text-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: var(--z-overlay);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base);
  cursor: pointer;
  border: none;
}
#back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#back-to-top:hover { background: var(--color-wine-dark); }

/* ── Fixed icon buttons (old-style, matches original WordPress theme) ── */
.group_icon_fixed_page {
  position: fixed;
  top: 25%;
  right: 0;
  z-index: var(--z-overlay);
}

.group_icon_fixed_page ul {
  padding: 0;
  list-style-type: none;
  margin: 0;
}

.group_icon_fixed_page .icon_fixed {
  background-color: #efe9e2;
  padding: 5px 8px;
  border-radius: 50%;
  transition: background-color 1s all;
}

.group_icon_fixed_page li.icon_fixed_page {
  background-color: #bb0000;
  border-top-left-radius: 23px;
  border-bottom-left-radius: 23px;
  padding: 5px;
  margin-bottom: 1px;
  transition: background-color 1s ease;
}

.group_icon_fixed_page li.icon_fixed_page:hover {
  background-color: #000;
}

.group_icon_fixed_page li.icon_fixed_page:hover .icon_fixed {
  background-color: #fff;
}

.group_icon_fixed_page li.icon_fixed_page img {
  width: 21px;
  height: 21px;
  object-fit: contain;
  transition: transform 1s ease;
  display: block;
}

.group_icon_fixed_page li.icon_fixed_page:hover img {
  transform: rotate(360deg);
}

/* ──────────────────────────────────────────────────────────
   11. CARDS
   ────────────────────────────────────────────────────────── */

/* ·· Product Card ·· */
.product-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.product-card__img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-light);
}

.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-card__img { transform: scale(1.05); }

.product-card__body {
  padding: var(--space-5);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.product-card__category {
  font-size: var(--text-xs);
  color: var(--color-gold);
  text-transform: uppercase;
  font-family: var(--font-semi);
  letter-spacing: 0.06em;
}

.product-card__name {
  font-family: var(--font-semi);
  font-size: var(--text-md);
  color: var(--color-dark);
  line-height: 1.3;
  flex: 1;
}

.product-card__desc {
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-wine);
  font-family: var(--font-semi);
  font-size: var(--text-sm);
  margin-top: auto;
  transition: gap var(--transition-fast);
}
.product-card__cta:hover { gap: var(--space-3); color: var(--color-wine); }

/* ·· Recipe Card ·· */
.recipe-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  background: var(--color-dark);
  display: block;
  transition: transform var(--transition-base);
}
.recipe-card:hover { transform: translateY(-4px); }

.recipe-card__img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity var(--transition-base);
}
.recipe-card:hover .recipe-card__img { opacity: 0.7; }

.recipe-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-5);
}

.recipe-card__category {
  font-size: var(--text-xs);
  color: var(--color-gold);
  font-family: var(--font-semi);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-2);
}

.recipe-card__title {
  font-family: var(--font-bold);
  font-size: var(--text-md);
  color: var(--color-white);
  line-height: 1.3;
}

/* ·· News Card ·· */
.news-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.news-card__img-wrap {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.news-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.news-card:hover .news-card__img { transform: scale(1.05); }

.news-card__body {
  padding: var(--space-5);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.news-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-size: var(--text-xs);
  color: var(--color-muted);
}

.news-card__category {
  background: var(--color-light);
  color: var(--color-wine);
  padding: 2px var(--space-3);
  border-radius: var(--radius-full);
  font-family: var(--font-semi);
}

.news-card__title {
  font-family: var(--font-semi);
  font-size: var(--text-md);
  color: var(--color-dark);
  line-height: 1.35;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card__excerpt {
  font-size: var(--text-sm);
  color: var(--color-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card__read-more {
  color: var(--color-wine);
  font-family: var(--font-semi);
  font-size: var(--text-sm);
  margin-top: auto;
  align-self: flex-start;
}

/* ──────────────────────────────────────────────────────────
   12. CATEGORY FILTER TABS
   ────────────────────────────────────────────────────────── */
.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
  margin-bottom: var(--space-10);
}

.category-tab {
  padding: var(--space-2) var(--space-6);
  border-radius: var(--radius-full);
  border: 2px solid var(--color-border);
  font-family: var(--font-semi);
  font-size: var(--text-sm);
  color: var(--color-body);
  cursor: pointer;
  transition: all var(--transition-fast);
  background: var(--color-white);
}

.category-tab:hover {
  border-color: var(--color-wine);
  color: var(--color-wine);
}

.category-tab.is-active {
  background: var(--color-wine);
  border-color: var(--color-wine);
  color: var(--color-white);
}

/* ──────────────────────────────────────────────────────────
   13. PAGINATION (thenativePagination – matches old project)
   ────────────────────────────────────────────────────────── */
.paging { text-align: center; margin-top: 30px; }
.paging .thenativePagination { padding: 0; list-style: none; }
.paging .thenativePagination li { display: inline-block; margin: 0 5px; }
.paging .thenativePagination li a {
  transition: 0.5s all;
  border-radius: 2px;
  border: 3px solid #ebebeb;
  background-color: #ebebeb;
  color: #999999;
  font-size: 15px;
  font-weight: 400;
  font-family: var(--font-body);
  line-height: normal;
  padding: 4px 10px;
  text-decoration: none !important;
  cursor: pointer;
  display: inline-block;
}
.paging .thenativePagination li a:hover {
  border: 3px solid #e7191b;
  background-color: #e7191b;
  color: #fff;
  transition: 0.5s all;
}
.paging .thenativePagination li.active a {
  border: 3px solid #e7191b;
  background-color: #e7191b;
  color: #fff;
}
li.thenativePaginationEnd,
li.thenativePaginationNext,
li.thenativePaginationPrev,
li.thenativePaginationStart { display: none !important; }

/* ──────────────────────────────────────────────────────────
   14. BREADCRUMB
   ────────────────────────────────────────────────────────── */
nav.breadcrumb {
  display: block;
  margin: 0 !important;
  padding: 0 !important;
  background-color: #f2f2f2;
}
nav.breadcrumb ul {
  display: flex;
  flex-wrap: wrap;
  list-style-type: none;
  margin: 0 !important;
  flex-direction: row-reverse;
  padding: 7px 0;
}
nav.breadcrumb ul li {
  margin: 0 10px;
}
nav.breadcrumb ul li a,
nav.breadcrumb ul li cite {
  color: #999999;
  font-size: 15px;
  font-weight: 600;
  font-family: "SourceSansPro-SemiBold";
  line-height: normal;
  font-style: inherit;
  text-decoration: none;
}
nav.breadcrumb ul li i {
  color: #66666666;
}
li.title_single cite {
  color: #666666 !important;
}
span.divider {
  display: flex;
  align-items: center;
}
span.divider img {
  width: 8px;
  height: auto;
}

/* ──────────────────────────────────────────────────────────
   15. FORMS
   ────────────────────────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-label {
  font-family: var(--font-semi);
  font-size: var(--text-sm);
  color: var(--color-dark);
}
.form-label .required { color: var(--color-red); margin-left: 2px; }

.form-control {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-dark);
  background: var(--color-white);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--color-wine);
  box-shadow: 0 0 0 3px rgba(145,51,29,.12);
}

.form-control.is-invalid { border-color: var(--color-red); }

textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

.form-error {
  font-size: var(--text-xs);
  color: var(--color-red);
}

.form-success {
  padding: var(--space-4) var(--space-5);
  background: #edf7ed;
  border: 1px solid #b2dfb2;
  border-radius: var(--radius-sm);
  color: #2e7d32;
  font-size: var(--text-sm);
}

/* ──────────────────────────────────────────────────────────
   16. LOADING STATE
   ────────────────────────────────────────────────────────── */
.loading-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: var(--space-12) 0;
}

.loading-spinner__dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: var(--color-wine);
  animation: spinner-bounce 1.2s ease-in-out infinite;
}
.loading-spinner__dot:nth-child(2) { animation-delay: 0.2s; background: var(--color-orange); }
.loading-spinner__dot:nth-child(3) { animation-delay: 0.4s; background: var(--color-gold); }

@keyframes spinner-bounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.5; }
  40%           { transform: scale(1.0); opacity: 1; }
}

/* Page skeleton (shown while JS renders) */
/* Inner page main content: fill visible viewport below fixed header */
#main-content {
  min-height: calc(100vh - var(--header-height));
  width: 100%;
}
.page-content { min-height: 60vh; }

/* "No results" empty state */
.empty-state {
  text-align: center;
  padding: var(--space-20) var(--space-4);
  color: var(--color-muted);
}
.empty-state__icon {
  font-size: 3rem;
  margin-bottom: var(--space-5);
  opacity: .4;
}
.empty-state__text { font-size: var(--text-lg); }

/* ──────────────────────────────────────────────────────────
   17. HOMEPAGE SECTIONS
   ────────────────────────────────────────────────────────── */

/* fullPage.js wrapper — no margin-top; sections cover full viewport, header is fixed overlay */
#fullpage { margin-top: 0; }

.fp-section { position: relative; }

/* ── Each page fills the fp-section exactly ── */
/* Page 1 (banner): fullPage.js applies paddingTop=headerH to .fp-section,
   so the content area is 100vh - headerH — same as pages 2-5. */
#sec-page1 section.banner_slider {
  height: calc(100vh - var(--header-height));
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
}
/* Pages 2-5: fullPage.js applies paddingTop=headerH to the .fp-section wrapper,
   so the visible content area is (100vh - headerH).
   Using height:100% here inherits the display:table-cell height, which can grow
   to fit content and blow past the viewport. Explicit calc() prevents that. */
#sec-page2 section.sec_gr_def,
#sec-page3 section.product_home,
#sec-page4 section.recipe_home,
#sec-page5 section.news_home {
  height: calc(100vh - var(--header-height));
  max-height: calc(100vh - var(--header-height));
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
}

/* Product: slick-list has padding-bottom + title decorations extend below —
   allow vertical overflow so items aren't clipped by the section boundary */
#sec-page3 section.product_home { overflow-x: hidden; overflow-y: visible; }
#sec-page3 .container { padding-top: 140px; }

/* Intro: small breathing room below the header-clearance done by fullPage.js */
#sec-page2 section.sec_gr_def { padding-top: 16px; }

/* News (page5) + all content sections: clamp the fp-table wrappers to the same
   calc so the table-cell can never be taller than the visible area. */
#sec-page2 .fp-tableCell, #sec-page3 .fp-tableCell,
#sec-page4 .fp-tableCell, #sec-page5 .fp-tableCell {
  height: calc(100vh - var(--header-height)) !important;
  max-height: calc(100vh - var(--header-height));
  overflow: hidden;
}

/* Background-bearing sections: bg image fills the section area (starts below header) */
#sec-page2 section.sec_gr_def,
#sec-page3 section.product_home,
#sec-page4 section.recipe_home {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Section 1 — Banner / Intro Slider */
.home-banner-section {
  position: relative;
  height: calc(100vh - var(--header-height));
  overflow: hidden;
}

.home-banner-section .slick-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-banner-section .slick-dots {
  bottom: var(--space-8);
}

.home-banner-section .slick-dots li button::before {
  color: var(--color-white);
  opacity: 0.6;
  font-size: 10px;
}

.home-banner-section .slick-dots li.slick-active button::before {
  color: var(--color-white);
  opacity: 1;
}

/* Section 2 — Company Intro */
.home-intro-section {
  display: flex;
  align-items: center;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.home-intro-section__overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.88);
}

.home-intro-section__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: var(--space-16) var(--space-4);
}

.home-intro-section__logo {
  max-width: 180px;
  margin: 0 auto var(--space-8);
}

.home-intro-section__title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  color: var(--color-wine);
  margin-bottom: var(--space-6);
}

.home-intro-section__text {
  font-size: var(--text-md);
  color: var(--color-body);
  line-height: 1.8;
  margin-bottom: var(--space-8);
}

/* Section 3 — Products Highlight */
.home-products-section {
  padding: var(--space-16) 0;
  background: var(--color-light);
}

/* Section 4 — Recipes Highlight */
.home-recipes-section {
  padding: var(--space-16) 0;
  background: var(--color-white);
}

/* Section 5 — News Highlight */
.home-news-section {
  padding: var(--space-16) 0;
  background: var(--color-light);
}

/* ──────────────────────────────────────────────────────────
   18. PRODUCT PAGES
   ────────────────────────────────────────────────────────── */
.products-page { padding: var(--space-12) 0; }

/* ·· Product listing – WooCommerce-inspired shelf layout ·· */
.page_products { margin-top: 55px; margin-bottom: 70px; position: relative; }
.page_products .container > .row { display: flex; flex-wrap: wrap; }

/* Sidebar */
.col-left-pd { flex: 0 0 25%; max-width: 25%; padding-right: 15px; }
.col-right-pd { flex: 0 0 75%; max-width: 75%; padding-left: 15px; }

.sidebar_products {
  border-radius: 5px;
  padding: 10px 0;
  background-color: #f7f7f7;
}
.sidebar_products ul { padding: 0; margin-bottom: 0; }
.sidebar_products ul li { list-style-type: none; transition: 0.5s; position: relative; }
.sidebar_products ul.toggle_room li::before {
  content: "";
  position: absolute;
  top: -1px;
  display: block;
  left: 15px;
  right: 15px;
  border-top: 1px dashed rgba(85, 85, 85, 0.5);
}
.sidebar_products ul.toggle_room li:first-child::before { display: none; }

.title_group_sidebar {
  display: flex;
  align-items: center;
  margin: 0 15px 5px;
}
.title_group_sidebar img { width: 24px; height: auto; }
.title_group_sidebar h4 {
  color: #333;
  font-size: 18px;
  font-weight: 700;
  font-family: var(--font-bold);
  line-height: 44px;
  text-transform: uppercase;
  margin-bottom: 0;
  margin-left: 13px;
}

.sidebar_products ul.toggle_room li a {
  position: relative;
  display: block;
  padding: 8px 20px 8px 45px;
  color: #333;
  font-size: 15px;
  text-decoration: none;
  transition: 0.5s;
}
.sidebar_products ul.toggle_room li a::before {
  font-family: FontAwesome;
  content: "\f0d7";
  position: absolute;
  font-size: 15px;
  top: 8px;
  left: 20px;
  transform: rotate(-90deg);
}
.sidebar_products ul.toggle_room li.active a::before { transform: rotate(0deg); }

.sidebar_products ul.toggle_room li.active,
.sidebar_products ul.toggle_room li:hover {
  transition: 0.5s;
  background-image: linear-gradient(-187deg, #e7191b 0%, #080808 99%, #080808 100%), linear-gradient(to top, #000 0%, #fff 100%);
}
.sidebar_products ul.toggle_room li.active a,
.sidebar_products ul.toggle_room li:hover a {
  color: #fff !important;
  transition: 0.5s;
}

/* Product grid – 3-column shelf layout */
ul.products { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; }
ul.products.columns-3 li.product { width: 30.75%; margin: 0 1.21% 80px; text-align: center; }

/* ── Product card entrance animation ── */
@keyframes ndProductAppear {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* ul.products.columns-3 li.product {
  animation: ndProductAppear 0.45s ease both;
} */
ul.products.columns-3 li.product:nth-child(3n+1) { animation-delay: 0.05s; }
ul.products.columns-3 li.product:nth-child(3n+2) { animation-delay: 0.15s; }
ul.products.columns-3 li.product:nth-child(3n+3) { animation-delay: 0.25s; }

/* Thumbnail with shelf pseudo-element */
.thumb_pd_item { position: relative; margin-bottom: 60px; text-align: center; }
.thumb_pd_item img {
  width: auto;
  height: 200px;
  object-fit: contain;
  margin: 0 auto;
  z-index: 5;
  position: relative;
  max-width: 100%;
  display: block;
}
.thumb_pd_item::after {
  position: absolute;
  content: "";
  background: url("../images/theme/after_pd_thumb.png") no-repeat center;
  background-size: 100% auto;
  width: 100%;
  height: 58px;
  bottom: -34px;
  z-index: 2;
  left: 0;
}

/* Product title with decorative label */
.title_pd_group { text-align: center; z-index: 8; position: relative; }
h4.span_title_pd {
  margin-bottom: 0;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.title_pd_group h4 a {
  color: #d22623;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 400;
  line-height: 20px;
  z-index: 5;
  position: relative;
  text-transform: capitalize;
  margin: 0 auto;
  padding: 0 10px;
  width: 100% !important;
  max-width: 200px;
  box-sizing: border-box;
  display: block;
  text-decoration: none;
}
.title_pd_group h4 a span { font-family: var(--font-display); width: 100% !important; display: block; }
.title_pd_group h4::after {
  position: absolute;
  content: "";
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  background-image: url("../images/theme/bg_pd_title.png");
  background-size: contain;
  background-repeat: no-repeat;
  width: 230px;
  height: 115px;
  background-position: center;
}
.title_pd_group h4 a { position: relative; z-index: 3; }

/* Decorative side images */
.img_left_product_page { position: absolute; top: -20px; left: 0; pointer-events: none; }
.img_right_product_page { position: absolute; bottom: -170px; right: 0; pointer-events: none; }

/* Product detail */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  padding: var(--space-12) 0;
}

/* Zoom button on product gallery */
.product-detail__zoom-btn {
  position: absolute;
  bottom: 10px;
  left: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0,0,0,0.45);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  transition: background var(--transition-fast);
  z-index: 2;
}
.product-detail__zoom-btn:hover { background: rgba(0,0,0,0.7); }

/* Image lightbox overlay */
.product-zoom-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
.product-zoom-overlay.is-open { display: flex; }
.product-zoom-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
}
.product-zoom-overlay__close {
  position: absolute;
  top: 16px;
  right: 20px;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}

.product-detail__gallery {
  border: 1px solid var(--color-border);
  padding: var(--space-4);
  background: var(--color-white);
  position: relative;
}

/* Zoom wrapper: clips the image during magnification */
.product-detail__img-zoom-wrap {
  overflow: hidden;
  cursor: crosshair;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
}

.product-detail__main-img {
  width: 100%;
  max-width: 100%;
  object-fit: contain;
  max-height: 420px;
  display: block;
  transition: transform 0.12s ease;
  transform-origin: center center;
  user-select: none;
  -webkit-user-drag: none;
}

.product-detail__main-img.is-zoomed {
  transform: scale(2.2);
  cursor: crosshair;
}

/* Thumbnails: horizontal strip below main image */
.product-detail__thumbs {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-3);
  justify-content: center;
}

.product-detail__thumb {
  width: 72px;
  height: 64px;
  object-fit: contain;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 4px;
  background: var(--color-light);
  transition: border-color var(--transition-fast), opacity var(--transition-fast);
}
.product-detail__thumb:hover { opacity: 0.85; }
.product-detail__thumb.is-active { border-color: var(--color-wine); }

.product-detail__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  animation: fadeIn 0.5s ease 0.1s both;
}

.product-detail__category {
  display: none;
}

.product-detail__name {
  font-family: var(--font-display);
  font-size: 25px;
  color: #cc0000;
  line-height: 44px;
  font-weight: 400;
}

.product-detail__divider {
  height: 0;
  border-top: 1px dotted #d7d7d7;
  margin: var(--space-2) 0;
}

.product-detail__desc { font-size: 15px; line-height: 1.5; }
.product-detail__desc ul { list-style: disc; padding-left: 1.5rem; margin: 0; }
.product-detail__desc li { padding: 0; line-height: 1.5; }
.product-detail__desc li + li { margin-top: 0.4rem; }

.product-detail__meta { display: flex; flex-direction: column; gap: var(--space-3); }
.product-detail__meta-row { display: flex; gap: var(--space-3); font-size: var(--text-sm); }
.product-detail__meta-label { font-family: var(--font-semi); color: var(--color-dark); min-width: 120px; }
.product-detail__meta-value { color: var(--color-body); }

.product-detail__volumes {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Nested sub-list inside product description */
#product-desc ul ul {
  margin-top: 4px;
  padding-left: 1.25rem;
  list-style-type: circle;
}

.volume-badge {
  display: inline-block;
  padding: 2px 12px;
  border: 1px solid #e0e0e0;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  color: var(--color-body);
  background: #f5f5f5;
  width: fit-content;
}

/* ──────────────────────────────────────────────────────────
   19. RECIPE PAGES
   ────────────────────────────────────────────────────────── */

/* Banner (no overlay) */
.banner_def { padding: 0; margin-top: var(--header-height); }
.banner_def img { 
  width: 100%; 
  height: calc(100vh - var(--banner-overhang)); 
  display: block; 
  margin-top: -50px; 
  max-height: calc(100vh - var(--banner-overhang)); 
  object-fit: cover;
  object-position: center !important;
}

@media only screen and (max-width: 767px) {
  .banner_def img { margin-top: 0px; max-height: none; }
}

/* Title group (Lobster heading) */
.title_group { text-align: center; margin: 30px 0 10px; }
.title_group h1 {
  font-family: var(--font-display);
  font-size: 35px;
  color: #cc0000;
  margin-bottom: 0;
}

/* Breadcrumbs bar */
section.breadcrumbs { background-color: #f2f2f2; padding: 10px 0; }

/* Space between breadcrumbs and main layout (news, recipe, product) */
.news-detail__layout,
.recipe-detail__layout {
  margin-top: var(--space-6);
}

/* Hide page banner if image fails (onerror sets display:none on the section) */
.page-banner.banner-hidden { display: none; }

/* ── About / Gioi-thieu page ──────────────────────────────── */
.introduce_timeline.background_def {
  padding: 0 0 60px;
  background-image: url('../images/uploads/2019/01/Bitmap_copy_2-e1679021627640.png');
}
/* ── Timeline: vertical alternating left / right ───────────────────────── */
.group_timeline { position: relative; }
.group_timeline .years_timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}
/* Vertical center line */
.group_timeline .years_timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #c8c8c4;
  transform: translateX(-50%);
  z-index: 0;
}
/* Each item = full-width block; content pushed to one side */
.group_timeline .years_timeline .year_timeline {
  width: 100%;
  position: relative;
  padding: 40px 0;
  float: none;
  clear: none;
  margin-bottom: 0;
  box-sizing: border-box;
}
.group_timeline .years_timeline .year_timeline:not(:last-child) {
  border-bottom: 1px solid #e8e8e4;
}
/* Red circle dot centered on the vertical line */
.group_timeline .years_timeline .year_timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 46px;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #cc0000;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px #cc0000;
  z-index: 2;
}
/* Odd = LEFT side */
.group_timeline .years_timeline .year_timeline:nth-child(odd)  { text-align: right; }
/* Even = RIGHT side */
.group_timeline .years_timeline .year_timeline:nth-child(even) { text-align: left; }

/* Events: full-width; large padding pushes content into its half */
.events { position: relative; padding: 0; }
.year_timeline:nth-child(odd)  .events {
  padding-right: calc(50% + 40px);
  padding-left: 20px;
  text-align: right;
}
.year_timeline:nth-child(even) .events {
  padding-left: calc(50% + 40px);
  padding-right: 20px;
  text-align: left;
}
/* Date / year label box */
.events .date {
  font-family: var(--font-display);
  font-size: 20px;
  color: #333;
  border: 1.5px solid #ebebeb;
  padding: 5px 30px;
  display: inline-block;
  position: relative;
  background: #fff;
  overflow: visible;
  box-shadow: 0 1px 5px rgba(0,0,0,0.07);
  margin-bottom: 15px;
}
.events .date .bg_date { position: relative; }
/* Old dot removed — now drawn via li::before */
.events .date::before { display: none; }
/* Triangle arrow on year label pointing toward the center line */
/* Odd (LEFT side): arrow → */
li.year_timeline:nth-child(odd) .bg_date::after,
li.year_timeline:nth-child(odd) .bg_date::before {
  left: 100%; top: 50%;
  border: solid transparent; content: " "; height: 0; width: 0;
  position: absolute; pointer-events: none;
}
li.year_timeline:nth-child(odd) .bg_date::after  { border-left-color: #fafaf9; border-width: 5px; margin-top: -5px; }
li.year_timeline:nth-child(odd) .bg_date::before { border-left-color: #ebebeb; border-width: 7px; margin-top: -7px; }
/* Even (RIGHT side): arrow ← */
li.year_timeline:nth-child(even) .bg_date::after,
li.year_timeline:nth-child(even) .bg_date::before {
  right: 100%; top: 50%;
  border: solid transparent; content: " "; height: 0; width: 0;
  position: absolute; pointer-events: none;
}
li.year_timeline:nth-child(even) .bg_date::after  { border-right-color: #fafaf9; border-width: 5px; margin-top: -5px; }
li.year_timeline:nth-child(even) .bg_date::before { border-right-color: #ebebeb; border-width: 7px; margin-top: -7px; }
/* Remove old wrong horizontal connector lines */
.events::after { display: none; }
.content_img { margin-top: 5px; }
.content_img img { max-width: 100%; height: auto; margin-bottom: 10px; }
.content_img p { font-size: 15px; line-height: 1.6; color: #333; }
.content_img p strong { font-weight: 700; color: #cc0000; }

/* Vision section */
section.vision_introduc { padding: 63px 0; position: relative; }
.img_left_vision_intro {
  position: absolute;
  top: 60%;
  left: 0;
  transform: translateY(-60%);
  pointer-events: none;
}
.img_vision_intro img { width: 100%; height: auto; }
.right_vision_contetn { display: flex; flex-direction: column; align-items: flex-end; padding-right: 50px; justify-content: center; }
.cont_vision_intro p { font-size: 21px; line-height: 1.6; color: #333; }
.cont_vision_intro p strong { color: #cc0000; font-size: 27px; }

/* Slider / Core values section */
/* slider_introduc_page padding defined in Core Values section below */

/* ── Recruitment page ─────────────────────────────────────── */
.recruitment_def_page { position: relative; padding: 0 0 60px; }
.recruitment_def_page .title_group { margin-top: 25px; }
.about_page { position: relative; }

/* Recruitment sub-nav tabs (bread_c) */
section.bread_c ul { padding: 0; margin: 0; text-align: center; }
section.bread_c { margin: 27px 0 54px 0; }
section.bread_c li a:hover {
  transition: 0.5s all;
  background-color: #e7191b;
  color: #ffffff;
}
section.bread_c li a {
  color: #999999;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 400;
  line-height: 24px;
  border-radius: 2px;
  background-color: #ebebeb;
  padding: 9px 41px;
  text-decoration: none !important;
  transition: 0.5s all;
}
section.bread_c li.active a {
  background-color: #e7191b;
  color: #ffffff;
}
section.bread_c ul li {
  display: inline-block;
  list-style-type: none;
  padding: 0;
  margin: 0 2px;
}

/* Why-us description */
.des_about p {
  color: #333333;
  font-size: 16px;
  font-weight: 400;
  line-height: 29px;
  text-align: center;
  width: 89%;
  margin: 0 auto;
}
.des_about { margin-bottom: 70px; }

/* Decorative images */
.img_left_about_page { position: absolute; top: 0; left: -50px; }
.img_right_about_page { position: absolute; top: 80px; right: 0; }
.img_left_about_page img,
.img_right_about_page img { max-width: 200px; }

/* Content sections (alternating layout) */
section.list_content_about { margin-bottom: 70px; position: relative; }
.cont_group_flex_about { position: relative; }
.row_content_about { display: flex; align-items: center; }
.reverse_content.row_content_about { flex-direction: row-reverse; }
.not_reverse_content { margin-top: 64px; }
.row_content_about.not_reverse_content:first-child { margin-top: 0; }
.reverse_content.row_content_about .cont_group_flex_about { margin-top: 60px; }

.title_group_flex_about {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}
.title_group_flex_about h4 {
  color: #e7191b;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  margin-bottom: 0;
}
.title_group_flex_about h4:after {
  margin-top: 7px;
  content: "";
  display: block;
  width: 68px;
  height: 2px;
  background-color: #acacac;
}
span.num_content {
  margin-right: 10px;
  color: #ffffff;
  font-size: 47px;
  font-weight: 700;
  font-family: var(--font-bold);
  line-height: 37.94px;
  position: relative;
  z-index: 9;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url("../../../images/theme/icon_bg_about.png");
}
.des_flex_about { padding-left: 5px; }
.des_flex_about p {
  color: #333333;
  font-size: 15px;
  font-weight: 400;
  line-height: 24px;
  margin-bottom: 0;
  text-align: justify;
}
.img_flex_about img { max-width: 100%; height: auto; }

/* ── Team page ──────────────────────────────────────────── */
section.list_team_about { padding: 40px 0 67px; }

/* CSS Grid: 4 columns desktop */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 30px;
}
.team-card-wrap { min-width: 0; }

/* Card */
.item_team_about {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  cursor: pointer;
  background: #e8e8e8;
}
.item_team_about.active { outline: 2px solid #e7191b; }

/* Photo */
.thumb_team { position: relative; overflow: hidden; display: block; }
.thumb_team img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.item_team_about:hover .thumb_team img { transform: scale(1.05); }

/* Gradient curtain */
.thumb_team::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 60%;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.65));
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 1;
}
.item_team_about:hover .thumb_team::after { opacity: 1; }

/* Name + role overlay — fades in on hover / active */
.content_hover {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  padding: 12px 10px;
  text-align: center;
  z-index: 2;
  transform: translateY(8px);
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.item_team_about:hover .content_hover,
.item_team_about.active .content_hover {
  opacity: 1;
  transform: translateY(0);
}
.content_hover h4 {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 3px;
  line-height: 1.3;
}
.content_hover p {
  color: rgba(255,255,255,0.85);
  font-size: 12px;
  margin-bottom: 0;
  line-height: 1.3;
}

/* Detail panel below the grid */
.team-detail-container { margin-bottom: 40px; }
.group_content_team {
  box-shadow: 0 3px 6px 4px rgba(135, 135, 135, 0.16);
  background-color: #f5f5f5;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  border-radius: 6px;
}
.icon_cont_team_group { margin-right: 30px; flex-shrink: 0; }
.caption_team_group p {
  color: #333333;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
}
.regency_team_group h4::before {
  content: "";
  width: 70px;
  height: 2px;
  background-color: #e7191b;
  display: block;
  margin: 18px 0 10px 0;
}
.regency_team_group h4 {
  color: #e7191b;
  font-size: 15px;
  font-weight: 900;
  line-height: 20px;
  text-transform: uppercase;
  margin-bottom: 0;
}
.regency_team_group p {
  color: #101010;
  font-size: 15px;
  font-weight: 600;
  line-height: 20px;
  margin-bottom: 0;
}

/* ── Job Opportunities table ────────────────────────────── */
.table_recrui { margin-top: 20px; }
.table_recrui .table th {
  background-color: #e7191b;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border: none;
}
.table_recrui .table td {
  font-size: 14px;
  color: #333;
  vertical-align: middle;
}

/* Recipe listing section */
.delicious_recipes { position: relative; padding: 30px 0 60px 0; }
.all_recipes.row { margin-top: 35px; }

/* Individual recipe card */
.item_recipes { transition: 0.5s; margin-bottom: 30px; position: relative; cursor: pointer; }
.item_recipes:hover {
  box-shadow: 2px 2px 8px rgba(0,0,0,0.47);
  border-radius: 10px;
  background: #fff;
}
.item_recipes .item-img {
  width: 100%;
  height: 354px;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
}
.item_recipes .item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}
.item_recipes:hover .item-img img { transform: scale(1.05); }

/* Shine effect on card image hover */
@keyframes shine {
  100% { left: 125%; }
}
.item_recipes .item-img::before {
  position: absolute;
  top: 0;
  left: -75%;
  z-index: 2;
  display: block;
  content: "";
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 100%);
  transform: skewX(-25deg);
}
.item_recipes .item-img:hover::before {
  animation: shine 0.75s;
}
.item_recipes .item-img { position: relative; }
.group_cont_item_recipes { padding: 25px 30px 20px 30px; }
.item_recipes .title_content h4 {
  text-align: center;
  width: 75%;
  margin: 0 auto;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.item_recipes .title_content h4 a {
  color: #d22527;
  font-family: var(--font-display);
  font-size: 18px;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 64px;
}
/* Full-card click overlay — makes the whole card navigate to the article */
.item_recipes .title_content h4 a::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Bottom content (date + read more) — hidden everywhere */
.item_recipes .bottom_content { display: none; }
.blog_page .item_recipes .bottom_content { display: none; }
.blog_page .item_recipes .title_content h4 { width: 100%; }
.item_bottom_content {
  width: 50%;
  color: #333333;
  font-size: 15px;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 0;
  text-decoration: none !important;
}
p.item_bottom_content { text-align: left; position: relative; padding-left: 20px !important; }
p.item_bottom_content:before {
  content: url("../images/theme/icon_ricepes_item.png");
  position: absolute;
  top: 2px;
  left: 0;
}
a.item_bottom_content { text-align: right; transition: 0.5s all; }
a.item_bottom_content:hover { color: #d22527; transition: 0.5s all; }
.item_bottom_content.date_content { display: none; }
/* Show date on news/blog listing pages */
.blog_page .item_bottom_content.date_content { display: block; }

/* Decorative side images */
.img_left_delicious_recipes { position: absolute; top: 155px; left: 0; pointer-events: none; }
.img_right_delicious_recipes { position: absolute; bottom: 0; right: 0; pointer-events: none; }

/* ── Recipe detail ─────────────────────────────────────────── */
.recipe-detail { padding: var(--space-10) 0; }

.recipe-detail__title {
  font-family: var(--font-display);
  font-size: 1.875rem;
  color: #cc0000;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: var(--space-2);
  font-style: italic;
}

/* 2-column: main content (left ~70%) + sidebar (right ~30%) */
.recipe-detail__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1.875rem;
  align-items: start;
}

/* LEFT: title + ingredients + steps + tips */
.recipe-detail__main {}

.recipe-detail__date { display: none; }

/* Section label: "Nguyên liệu :", "Cách làm :" */
.recipe-detail__section-label {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: #cc0000;
  font-weight: 400;
  font-style: normal;
  margin-bottom: var(--space-3);
}

/* Ingredient group headers (e.g. "Phần gà") */
.recipe-detail__ingredient-group {
  font-family: var(--font-bold);
  font-size: 16px;
  color: #ff0000;
  list-style: none;
  margin: var(--space-4) 0 var(--space-2);
  margin-left: calc(-1 * var(--space-6));
}

.recipe-detail__ingredients {
  list-style: disc;
  padding-left: var(--space-10);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.recipe-detail__ingredient {
  font-size: 16px;
  color: #212529;
  line-height: 24px;
}

/* Steps */
.recipe-detail__steps { margin-top: var(--space-8); }

.recipe-detail__steps-content { font-size: var(--text-md); line-height: 1.8; }
.recipe-detail__steps-content img { border-radius: var(--radius-sm); margin: var(--space-4) 0; max-width: 100%; }

/* Step blocks */
.recipe-step { margin-bottom: var(--space-6); }
.recipe-step__title {
  font-family: var(--font-semi);
  font-size: 16px;
  color: #ff0000;
  font-weight: 700;
  margin-bottom: var(--space-2);
}
.recipe-step__subtitle {
  font-size: 15px;
  color: #212529;
  font-style: normal;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 7px;
  padding-left: 14px;
  margin-bottom: 4px;
  line-height: 1.6;
  margin-top: 0px;
}
.recipe-step__subtitle::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #212529;
  flex-shrink: 0;
  border-radius: 1px;
}
/* indent aligns with subtitle text (14px padding + 7px bullet + 7px gap = 28px) */
.recipe-step__content {
  font-size: 15px;
  color: #444444;
  line-height: 1.6;
  margin-bottom: var(--space-3);
  margin-top: 0px;
  padding-left: calc(14px + 7px + 7px); /* = 28px: same left edge as subtitle text */
}
.recipe-step__img { max-width: 100%; border-radius: var(--radius-sm); margin: var(--space-3) 0; display: block; }

/* Step/recipe gallery: full-width images at the bottom */
.recipe-detail__gallery { margin-top: var(--space-6); }
.recipe-detail__gallery-img { max-width: 100%; border-radius: var(--radius-sm); margin-bottom: var(--space-4); display: block; }

/* Tips block */
.recipe-detail__tips { margin-top: var(--space-8); }
.recipe-detail__tips-label {
  font-family: var(--font-display);
  font-size: 1.375rem;
  color: #cc0000;
  font-weight: 400;
  font-style: normal;
  margin-bottom: var(--space-3);
}
.recipe-detail__tips ul {
  list-style: square;
  padding-left: 36px;
  margin: 0;
}
.recipe-detail__tips li {
  font-size: 15px;
  color: #444444;
  line-height: 1.6;
  padding: 2px 0;
}

/* RIGHT: sidebar “Công thức liên quan” */
.recipe-detail__sidebar {
  position: sticky;
  top: calc(var(--header-height) + var(--space-4));
  background: #fafafa;
  border-radius: var(--radius-md);
  padding: var(--space-5);
  border: 1px solid #f0eded;
}

.recipe-detail__sidebar-title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  color: #d01b1b;
  font-weight: 700;
  margin-bottom: var(--space-5);
  font-style: normal;
  padding-bottom: var(--space-3);
  border-bottom: 2px solid #d01b1b;
}

/* Sidebar recipe cards: simple thumb + title */
.recipe-sidebar-list { display: flex; flex-direction: column; gap: 1.5rem; }

.recipe-sidebar-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  text-decoration: none;
  transition: transform var(--transition-fast);
  border-radius: var(--radius-sm);
  padding-bottom: var(--space-2);
}
.recipe-sidebar-item:hover { transform: translateY(-3px); }

/* Image wrapper — clips the scale hover effect */
.recipe-sidebar-item__img-wrap {
  overflow: hidden;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.recipe-sidebar-item__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.recipe-sidebar-item:hover .recipe-sidebar-item__img { transform: scale(1.06); }

.recipe-sidebar-item__title {
  font-family: var(--font-display);
  font-size: 1rem;
  color: #d22527;
  font-weight: 400;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recipe-sidebar-item:hover .recipe-sidebar-item__title { color: #b01010; }

.recipe-sidebar-item__preview {
  font-size: var(--text-xs);
  color: var(--color-muted);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Decorative ornament images (appear before related sections) ── */
.ornament-row {
  position: relative;
  height: 120px;
  pointer-events: none;
  overflow: hidden;
  margin: var(--space-8) 0 0;
}
.ornament-row__left {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 110px;
  width: auto;
}
.ornament-row__right {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 110px;
  width: auto;
}

/* ── Product detail: 3-column meta (usage | storage | volume) ── */
.product-detail__meta-cols {
  display: flex;
  border-top: 1px dashed #d7d7d7;
  border-bottom: 1px dashed #d7d7d7;
  margin-top: var(--space-4);
  padding: 15px 0;
}
.product-detail__meta-col {
  flex: 1;
  padding: 0 15px;
  background: var(--color-white);
}
.product-detail__meta-col:not(:last-child) {
  border-right: 1px dashed #d7d7d7;
}
.product-detail__meta-col-label {
  font-family: var(--font-bold);
  font-size: 15px;
  color: #333333;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}
.product-detail__meta-col-value {
  font-family: var(--font-regular, inherit);
  font-size: 15px;
  color: #333333;
  line-height: 1.6;
}

/* ── Product detail: description 2-column (label | content) ── */
.product-detail__desc-wrap {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.product-detail__desc-label {
  font-family: var(--font-bold);
  font-size: 15px;
  color: #333333;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  flex-shrink: 0;
  width: 160px;
  padding-top: 0;
  line-height: 1.5;
}

/* ──────────────────────────────────────────────────────────
   20. NEWS PAGES
   ────────────────────────────────────────────────────────── */
.news-page { padding: var(--space-12) 0; }

/* .news-detail { padding: var(--space-12) 0; } */

.news-detail__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 2rem;
  align-items: start;
}

/* Social share bar at bottom of article */
.article-share {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
  flex-wrap: wrap;
}
.article-share__label {
  font-family: var(--font-semi);
  font-size: var(--text-sm);
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: var(--space-2);
}
.article-share__btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  font-family: var(--font-semi);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  transition: opacity var(--transition-fast);
  text-decoration: none;
}
.article-share__btn:hover { opacity: 0.85; color: #fff; }
.article-share__btn--fb  { background: #3b5998; }
.article-share__btn--tw  { background: #1da1f2; }
.article-share__btn--li  { background: #0077b5; }
.article-share__btn--pt  { background: #bd081c; }
.article-share__btn--gp  { background: #dd4b39; }

.news-detail__header { margin-bottom: var(--space-6); }

.news-detail__category {
  font-size: var(--text-sm);
  color: var(--color-wine);
  font-family: var(--font-semi);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-3);
}

.news-detail__title {
  font-family: var(--font-display);
  font-size: 1.625rem;
  color: #d71920;
  font-style: italic;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: var(--space-2);
}

.news-detail__date { display: none; }

.news-detail__meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-muted);
  font-style: italic;
  padding: var(--space-1) 0 var(--space-4);
}

.news-detail__hero {
  display: none;
}

/* Article body */
.article-content {
  font-size: 1rem;
  line-height: 1.75;
  color: #333333;
}

.article-content h2,
.article-content h3 { margin: var(--space-6) 0 var(--space-3); color: var(--color-dark); }

.article-content p { margin-bottom: var(--space-3); line-height: 1.4; }
.article-content p + p { margin-top: 0; }
.article-content img {
  border-radius: var(--radius-sm);
  margin: var(--space-5) 0;
  max-width: 100%;
  height: auto;
  display: block;
}
/* WordPress alignment classes */
.article-content .aligncenter,
.article-content img.aligncenter {
  margin-left: auto;
  margin-right: auto;
}
.article-content .alignleft { float: left; margin-right: var(--space-4); }
.article-content .alignright { float: right; margin-left: var(--space-4); }
.article-content [class*="wp-image-"] { max-width: 100%; height: auto; }
.article-content ul, .article-content ol { padding-left: var(--space-6); margin: var(--space-4) 0; }
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li + li { margin-top: var(--space-2); }
.article-content a { color: var(--color-wine); text-decoration: underline; }
.article-content blockquote {
  border-left: 4px solid var(--color-gold);
  padding: var(--space-4) var(--space-6);
  margin: var(--space-6) 0;
  background: var(--color-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
}

/* News sidebar */
#news-sidebar,
.news-detail__layout > aside {
  position: sticky;
  top: calc(var(--header-height, 80px) + 1.25rem);
}

.news-sidebar__title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  color: #d71920;
  font-weight: 400;
  font-style: italic;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid #e0e0e0;
}

.news-sidebar__list { display: flex; flex-direction: column; gap: 0; }

.news-sidebar__item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: var(--space-3) 0;
  border-bottom: 1px solid #f0f0f0;
  text-decoration: none;
  transition: background var(--transition-fast);
}
.news-sidebar__item:last-child { border-bottom: none; }
.news-sidebar__item:hover { opacity: 0.85; }

.news-sidebar__item-img {
  width: 100px;
  height: 75px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  overflow: hidden;
}

.news-sidebar__item-title {
  font-family: var(--font-display);
  font-size: 0.875rem;
  color: #d22527;
  font-style: italic;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--transition-fast);
  text-decoration: none;
}
.news-sidebar__item-title:hover { color: #9a0000; }

.news-sidebar__item-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.news-sidebar__item-excerpt {
  font-size: 0.8125rem;
  color: var(--color-muted);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ──────────────────────────────────────────────────────────
   21. ABOUT PAGE
   ────────────────────────────────────────────────────────── */
.about-page section { padding: var(--space-16) 0; }
.about-page section:first-child { background: var(--color-light); }

/* Timeline */
.timeline {
  position: relative;
  padding: var(--space-8) 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-wine), var(--color-orange));
}

.timeline-item {
  display: flex;
  gap: var(--space-8);
  align-items: flex-start;
  margin-bottom: var(--space-10);
  position: relative;
}

.timeline-item:nth-child(even) { flex-direction: row-reverse; }

.timeline-item__dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: var(--space-5);
  width: 16px;
  height: 16px;
  border-radius: var(--radius-full);
  background: var(--color-wine);
  border: 3px solid var(--color-white);
  box-shadow: 0 0 0 2px var(--color-wine);
  z-index: 2;
}

.timeline-item__content {
  width: calc(50% - var(--space-10));
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}

.timeline-item:nth-child(odd) .timeline-item__content { margin-left: auto; text-align: right; }
.timeline-item:nth-child(even) .timeline-item__content { text-align: left; }

.timeline-item__year {
  font-family: var(--font-bold);
  font-size: var(--text-xl);
  color: var(--color-wine);
  margin-bottom: var(--space-3);
}

.timeline-item__text {
  font-size: var(--text-sm);
  color: var(--color-body);
  line-height: 1.7;
}

.timeline-item__img {
  max-height: 80px;
  width: auto;
  margin-top: var(--space-4);
  border-radius: var(--radius-sm);
}

.timeline-item:nth-child(odd) .timeline-item__img { margin-left: auto; }

/* Core Values - Slider */
section.slider_introduc_page {
  padding: 90px 0 100px;
  position: relative;
}

.group_slider {
  height: 450px;
  margin-top: 30px;
  position: relative;
}

.item_slide_intro_page {
  position: relative;
  height: 450px;
  outline: none !important;
  cursor: pointer;
  overflow: visible;
}

/* Image: smaller, anchored to top-right of the slide */
.img_slider_item_intro {
  position: absolute;
  top: 0;
  right: 0;
  width: 65%;
  height: 100%;
}
.img_slider_item_intro img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  z-index: 1;
}

.content_slider_item_intro {
  position: absolute;
  left: 20px;
  bottom: 10px;
  width: 474px;
  padding: 59px 38px 66px 38px;
  background-image: url('../images/theme/bg_box_cont.jpg');
  background-size: cover;
  box-shadow: 0 0 13px rgba(0, 0, 0, 0.41);
  z-index: 9;
}

h4.title_slider_item_intro {
  color: #cc0000;
  font-family: "Lobster-Regular", cursive;
  font-size: 28px;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 12px;
}

.cont_slider_item_intro {
  color: #333333;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
}

/* Slick dots/arrows override for core values */
.group_slider .slick-dots { bottom: -35px; }
.group_slider .slick-dots li button:before { font-size: 10px; color: #ccc; opacity: 1; }
.group_slider .slick-dots li.slick-active button:before { color: #cc0000; opacity: 1; }
.group_slider .slick-prev,
.group_slider .slick-next { z-index: 10; width: 34px; height: 34px; }
.group_slider .slick-prev { top: 40%; left: -20px; }
.group_slider .slick-next { top: 40%; right: -40px; }
.group_slider .slick-next::before {
  background-image: url('../images/theme/arrow_slider_intro.png');
  content: ''; width: 34px; background-position: center; height: 34px;
  position: absolute; opacity: 1; background-repeat: no-repeat;
  top: 0; right: 0;
  background-color: rgba(37, 37, 37, 0.3); border-radius: 100%;
}
.group_slider .slick-prev::before {
  background-image: url('../images/theme/arrow_prev_slider_intro.png');
  content: ''; width: 34px; background-position: center; height: 34px;
  position: absolute; opacity: 1; background-repeat: no-repeat;
  top: 0; right: 0;
  background-color: rgba(37, 37, 37, 0.3); border-radius: 100%;
}

.img_left_slider_introduc {
  position: absolute;
  left: 38px;
  bottom: 10px;
  z-index: 1;
}

section.slider_introduc_page .img_left_slider_introduc {
  z-index: 1 !important;
}

/* Mission / Vision block */
.mission-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.mission-block__text h2 { color: var(--color-wine); margin-bottom: var(--space-6); }
.mission-block__text p { font-size: var(--text-md); line-height: 1.8; }

.mission-block__img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  max-height: 400px;
  width: 100%;
}

/* ──────────────────────────────────────────────────────────
   22. CONTACT PAGE
   ────────────────────────────────────────────────────────── */
/* Contact page — match old project layout */
section.contact_sec_page {
  padding: 25px 0 62px 0;
  position: relative;
}
.group_content_contact_page .title_group {
  margin-bottom: 20px;
}
.group_icon_box_contact {
  display: flex;
  justify-content: center;
  margin: 40px 0 56px 0;
}
.group_icon_box_contact .item_icon_box {
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgba(0, 0, 0, 0.9);
  background-size: cover;
  width: 231px;
  border-radius: 5px;
  margin: 0 33.5px;
  text-align: center;
  padding: 60px 15px 20px 15px;
  box-shadow: -3px 0 10px rgba(0, 0, 0, 0.2);
}
.group_icon_box_contact .item_icon_box img {
  width: 50px;
  height: auto;
  display: inline-block;   /* Mặc định ảnh đã là inline, dùng để an toàn hơn */
  margin-top: 0;           /* Dính sát mép trên */
  max-width: 100%;
}
.group_icon_box_contact .cont_item_icon_box {
  margin-top: 15px;
}
.group_icon_box_contact .cont_item_icon_box p,
.group_icon_box_contact .cont_item_icon_box a {
  color: #ffffff;
  font-size: 15px;
  font-family: "SourceSansPro-Regular";
  font-weight: 400;
  line-height: normal;
  text-decoration: none !important;
  margin-bottom: 0;
}
.group_map_contact_page {
  background-color: #ebebeb;
}
.group_map_contact_page .sec_map iframe {
  width: 100%;
  height: 450px;
  border: 0;
  display: block;
}
.img_top_contact_form {
  position: absolute;
  top: 129px;
  left: 0;
  pointer-events: none;
}
.img_bottom_contact_form {
  position: absolute;
  bottom: 35px;
  right: 0;
  pointer-events: none;
}

/* Legacy contact page classes (kept for compatibility) */
.contact-page { padding: var(--space-16) 0; }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
}
.contact-info { display: flex; flex-direction: column; gap: var(--space-6); }
.contact-info__item {
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
}
.contact-info__icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-wine), var(--color-orange));
  display: flex; align-items: center; justify-content: center;
  color: var(--color-white); font-size: var(--text-lg); flex-shrink: 0;
}
.contact-info__label {
  font-family: var(--font-semi); font-size: var(--text-sm);
  color: var(--color-dark); margin-bottom: var(--space-1);
}
.contact-info__value { font-size: var(--text-base); color: var(--color-body); }
.contact-map {
  margin-top: var(--space-8); border-radius: var(--radius-md);
  overflow: hidden; border: 1px solid var(--color-border);
}
.contact-map iframe { width: 100%; height: 450px; display: block; border: none; }
.contact-form { display: flex; flex-direction: column; gap: var(--space-5); }
.contact-form__title { font-size: var(--text-xl); color: var(--color-wine); margin-bottom: var(--space-2); }

/* ──────────────────────────────────────────────────────────
   23. RECRUITMENT PAGE
   ────────────────────────────────────────────────────────── */
.recruitment-page { padding: var(--space-12) 0; }

.job-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-6);
  transition: box-shadow var(--transition-base);
  background: var(--color-white);
}

.job-card:hover { box-shadow: var(--shadow-md); }

.job-card__title {
  font-family: var(--font-semi);
  font-size: var(--text-lg);
  color: var(--color-dark);
  margin-bottom: var(--space-3);
}

.job-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.job-tag {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-muted);
}

/* ──────────────────────────────────────────────────────────
   24. SEARCH RESULTS PAGE
   ────────────────────────────────────────────────────────── */
.search-page { padding: var(--space-12) 0; }

.search-page__query-display {
  font-size: var(--text-xl);
  color: var(--color-dark);
  margin-bottom: var(--space-8);
}
.search-page__query-display span { color: var(--color-wine); font-family: var(--font-bold); }

.search-results-tabs {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
  border-bottom: 2px solid var(--color-border);
}

.search-results-tab {
  padding: var(--space-3) var(--space-5);
  font-family: var(--font-semi);
  font-size: var(--text-sm);
  color: var(--color-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--transition-fast);
}

.search-results-tab.is-active {
  color: var(--color-wine);
  border-bottom-color: var(--color-wine);
}

/* ──────────────────────────────────────────────────────────
   25. POLICY / STATIC PAGES
   ────────────────────────────────────────────────────────── */
.static-page { padding: var(--space-12) 0; }
.static-content { max-width: 820px; margin: 0 auto; }
.static-content h2 { color: var(--color-wine); margin: var(--space-8) 0 var(--space-4); }
.static-content p + p { margin-top: var(--space-4); }
.static-content ul { list-style: disc; padding-left: var(--space-6); margin: var(--space-4) 0; }
.static-content li + li { margin-top: var(--space-2); }

/* ──────────────────────────────────────────────────────────
   26. RELATED SECTION (Products / Recipes / News)
   ────────────────────────────────────────────────────────── */
.related-section {
  padding: var(--space-12) 0;
  border-top: 1px solid var(--color-border);
  margin-top: var(--space-12);
}

.related-section__title {
  font-family: var(--font-display);
  font-size: 2rem;
  color: #d01b1b;
  font-weight: 400;
  font-style: italic;
  margin-bottom: var(--space-8);
  text-align: center;
}

/* ──────────────────────────────────────────────────────────
   27. SLICK CAROUSEL OVERRIDES
   ────────────────────────────────────────────────────────── */
.slick-prev,
.slick-next {
  z-index: 10;
  width: 40px;
  height: 40px;
}

.slick-prev { left: -10px; }
.slick-next { right: -10px; }

.slick-prev::before,
.slick-next::before {
  font-size: 28px;
  color: var(--color-wine);
  opacity: .7;
}
.slick-prev:hover::before,
.slick-next:hover::before { opacity: 1; }

/* ──────────────────────────────────────────────────────────
   28. FULLPAGE.JS OVERRIDES
   ────────────────────────────────────────────────────────── */
#fp-nav ul li a span,
.fp-slidesNav ul li a span {
  background: var(--color-wine);
}

#fp-nav ul li .fp-tooltip {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-dark);
}

/* ──────────────────────────────────────────────────────────
   29. UTILITIES
   ────────────────────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.text-wine    { color: var(--color-wine); }
.text-gold    { color: var(--color-gold); }
.text-muted   { color: var(--color-muted); }
.text-white   { color: var(--color-white); }
.text-dark    { color: var(--color-dark); }
.text-center  { text-align: center; }
.text-right   { text-align: right; }
.text-upper   { text-transform: uppercase; }

.bg-light     { background: var(--color-light); }
.bg-wine      { background: var(--color-wine); }
.bg-white     { background: var(--color-white); }

.d-none       { display: none !important; }
.d-flex       { display: flex; }
.d-grid       { display: grid; }

.mt-auto      { margin-top: auto; }
.mb-0         { margin-bottom: 0 !important; }

.w-full       { width: 100%; }
.h-full       { height: 100%; }

.rounded      { border-radius: var(--radius-md); }
.rounded-full { border-radius: var(--radius-full); }

.shadow-sm    { box-shadow: var(--shadow-sm); }
.shadow-md    { box-shadow: var(--shadow-md); }

.overflow-hidden { overflow: hidden; }
.object-cover    { object-fit: cover; }
.object-contain  { object-fit: contain; }

.font-display { font-family: var(--font-display); }
.font-semi    { font-family: var(--font-semi); }
.font-bold    { font-family: var(--font-bold); }

/* ──────────────────────────────────────────────────────────
   11. HOMEPAGE SECTIONS (fullPage.js)
   Port of original WordPress theme: main-ver=5.0.4.css
   ────────────────────────────────────────────────────────── */

/* ── Base helpers ── */
.sec_gr_def { position: relative; z-index: 8; }

.background_def {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

@keyframes shake-it-up {
  0%, 100% { transform: translate(0, -50%); }
  20%       { transform: translate(10px, -50%); }
  40%       { transform: translate(-7px,  -50%); }
  60%       { transform: translate(5px,  -50%); }
  80%       { transform: translate(-3px, -50%); }
}

/* ── Scroll Animation Keyframes ── */
@keyframes blurInTop {
  from { transform: translateY(20px); filter: blur(5px); opacity: 0; }
  to   { transform: translateY(0);    filter: blur(0);   opacity: 1; }
}
.blurInTop { animation-name: blurInTop; }

@keyframes blurInBottom {
  from { transform: translateY(-20px); filter: blur(5px); opacity: 0; }
  to   { transform: translateY(0);     filter: blur(0);   opacity: 1; }
}
.blurInBottom { animation-name: blurInBottom; }

/* ── Page 1: Banner Slider ── */
section.banner_slider {
  position: relative;
  padding: 0;         /* banner slides cover the full section incl. header area */
}
.cont_banner_slider {
  height: 100%;
  margin-bottom: 0 !important;
}
.cont_banner_slider .slick-slider,
.cont_banner_slider .slick-list,
.cont_banner_slider .slick-track {
  height: 100%;
}
.cont_banner_slider .slick-slide > div {
  height: 100%;
}
/* Anchor wrapping each banner slide must be block + full-height to
   complete the height chain: section → slider → list → track → slide → div → a → img */
.cont_banner_slider .slick-slide > div > a { display: block; height: 100%; }
section.banner_slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
section.banner_slider .slick-nav-wrap {
  bottom: 36px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99;
  white-space: nowrap;
}
/* Flex row: [←] • • • [→] in explicit order */
section.banner_slider .slick-nav {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
/* Slick injects: prev, next, then dots. Re-order to prev → dots → next. */
section.banner_slider .slick-nav .slick-prev  { order: 1; }
section.banner_slider .slick-nav .slick-dots  { order: 2; }
section.banner_slider .slick-nav .slick-next  { order: 3; }

/* ── Circle prev/next buttons ── */
/* Reset slick-theme's absolute+top:50% so the buttons sit inline in the flex row */
section.banner_slider .slick-nav .slick-prev,
section.banner_slider .slick-nav .slick-next {
  position: static;
  transform: none;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid rgba(255,255,255,.75);
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, border-color .2s ease;
}
section.banner_slider .slick-nav .slick-prev:hover,
section.banner_slider .slick-nav .slick-next:hover {
  background: rgba(255,255,255,.2);
  border-color: #fff;
}
/* Arrow icons: use dedicated banner arrow images (arrow_prev/next_slider_intro.png).
   content:"" + background-image overrides the slick font glyph and any other
   background-image rules injected by the combined product/news selector below. */
section.banner_slider .slick-nav .slick-prev::before,
section.banner_slider .slick-nav .slick-next::before {
  content: "" !important;
  display: block;
  width: 14px;
  height: 14px;
  background: no-repeat center / contain !important;
  opacity: .85;
  font-size: 0;   /* silence slick font glyph */
}
section.banner_slider .slick-nav .slick-prev::before {
  background-image: url("../images/theme/arrow_prev_slider_intro.png") !important;
}
section.banner_slider .slick-nav .slick-next::before {
  background-image: url("../images/theme/arrow_slider_intro.png") !important;
}
section.banner_slider .slick-nav .slick-prev:hover::before,
section.banner_slider .slick-nav .slick-next:hover::before { opacity: 1; }

.slick-prev:hover:before, .slick-prev:focus:before, .slick-next:hover:before, .slick-next:focus:before {
    opacity: 1;
}
/* left_white / right_white: product + news only.
   .banner_slider arrows are handled above with dedicated intro images. */
.product_home .slick-prev:before, body.home .list_news .slick-prev:before {
    background: url(../images/left_white.png);
    content: "";
    width: 80px;
    height: 60px;
    display: block;
}
.product_home .slick-next:before, body.home .list_news .slick-next:before {
    background: url(../images/right_white.png);
    content: "";
    width: 80px;
    height: 60px;
    display: block;
}
/* ── Dots inline ── */
section.banner_slider ul.slick-dots {
  position: static;
  margin: 0;
  display: inline-flex !important;
  align-items: center;
  gap: 2px;
}
section.banner_slider .slick-dots li.slick-active button::before {
  opacity: 1;
  color: #e7191b;
}
section.banner_slider .slick-dots li button::before {
  color: rgba(255,255,255,.75);
  opacity: 1;
  font-size: 12px;
}

/* ── Page 2: Introduce / About ── */
/* padding-top handled by #sec-page2 section.sec_gr_def rule (= var(--header-height))
   Additional visual offset added via responsive.css breakpoint overrides */
section.introduce_home { padding-bottom: 60px; padding-left: 0; padding-right: 0; }

.cont_introduce_home .content {
  color: #121212;
  font-size: 17px;
  font-weight: 400;
  font-family: "SourceSansPro-Regular", sans-serif;
  line-height: 21px;
  z-index: 11;
  position: relative;
  text-align: justify;
  max-height: 246px;
  overflow-y: auto;
}
.cont_introduce_home .content::-webkit-scrollbar { width: 6px; }
.cont_introduce_home .content::-webkit-scrollbar-track { background: #dfdfdf; }
.cont_introduce_home .content::-webkit-scrollbar-thumb { background: #e7191b; }
.cont_introduce_home .content strong {
  font-weight: 700;
  font-family: "SourceSansPro-Bold", sans-serif;
}

.cont_introduce_home a.btn-style.btn_hook {
  z-index: 11;
  position: absolute;
  bottom: 50px;
  right: 60px;
}

.cont_introduce_home .border_img {
  width: 393px;
  margin: 0 auto;
  position: relative;
  padding-bottom: 40px;
  background-image: url("../images/theme/Layer_135.png");
  background-size: cover;
}
.cont_introduce_home .border_img::before {
  content: url("../images/theme/Rectangle_6.png");
  position: absolute;
  left: -28px;
  z-index: 11;
  bottom: -10px;
}
.cont_introduce_home .border_img::after {
  content: "";
  background: rgba(246,243,241,.83);
  position: absolute;
  top: 0; right: -35px; left: 0; bottom: -35px;
  z-index: 9;
}
.cont_introduce_home .group_cont_intro_home {
  text-align: justify;
  padding: 100px 40px 65px 40px;
  position: relative;
  z-index: 11;
}
.cont_introduce_home .group_cont_intro_home::before {
  content: url("../images/theme/img_before.png");
  position: absolute;
  top: 24px;
  right: 0;
}
.cont_introduce_home .group_cont_intro_home::after {
  content: url("../images/theme/img_after.png");
  position: absolute;
  bottom: -45px;
  left: 0;
}

/* ── Shared: Button hook ── */
a.btn-style.btn_hook {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  font-family: "SourceSansPro-Bold", sans-serif;
  padding: 12px 45px 12px 30px;
  border-radius: 30px;
  line-height: normal;
  display: inline-block;
  background-color: #d70000;
  text-transform: uppercase;
  text-decoration: none !important;
  box-shadow: 4px 6px 7px rgba(22,22,22,.33);
  position: relative;
}
a.btn-style.btn_hook::after {
  background-image: url("../images/theme/arrow_btn.png");
  width: 24px; height: 13px;
  top: 50%; transform: translateY(-50%);
  position: absolute; right: 10px;
  content: ""; background-repeat: no-repeat;
}
a.btn-style.btn_hook:hover::after { animation: shake-it-up 1.5s ease; }

/* ── Shared: Title group ── */
.title_group h4, .title_group h4 span,
.title_group h1, .title_group h1 span {
  color: #cc0000;
  font-family: "Lobster-Regular", cursive;
  font-size: 35px;
  font-weight: 400;
  line-height: 44px;
  text-align: center;
  position: relative;
}
.title_group h4::after {
  background: #000;
  content: "";
  width: 120px; height: 1px;
  display: block;
  position: absolute;
  bottom: -10px; left: 50%;
  transform: translateX(-50%);
}

/* ── Page 3: Products ── */
section.product_home {
  padding: 0;
  padding-top: 30px;
  position: relative;
  /* overflow handled by the #sec-page3 override above (visible-y / hidden-x) */
}
.slider_product_home { margin-top: 35px; }
.product_home .slick-list.draggable { padding-bottom: 50px; }
.product_home .slick-slide        { opacity: .5; transition: opacity 1s ease-in-out; }
.product_home div.slick-current,
.product_home div.slick-active    { opacity: 1; transition: opacity 1s ease-in-out; }
.product_home .slick-prev,
.product_home .slick-next         { z-index: 99; top: 40%; }
.product_home .slick-prev         { left: 0; }   /* keep inside section; not clipped */
.product_home .slick-next         { right: 0; }
.product_home .slick-arrow        { width: 80px; height: 60px; }
.product_home .slick-prev::before {
  background: url("../images/theme/left_white.png") no-repeat center / 100% 100%;
  content: ""; width: 80px; height: 60px; display: block;
}
.product_home .slick-next::before {
  background: url("../images/theme/right_white.png") no-repeat center / 100% 100%;
  content: ""; width: 80px; height: 60px; display: block;
}

.item_pd_home { text-align: center; outline: none !important; }
.item_pd_home a { display: inline-block; outline: none !important; }
.item_pd_home img { width: auto; height: 250px; margin: 0 auto 40px; }

.title_pd_home { text-align: center; display: inline-block; margin: 0 auto; width: 100%; }
.title_pd_home h4 { position: relative; margin-bottom: 0; }
.title_pd_home h4 a {
  color: #d22623;
  font-family: "Lobster-Regular", cursive;
  font-size: 22px; font-weight: 400; line-height: normal;
  position: relative;
  text-decoration: none !important;
  z-index: 4;
}
.title_pd_home h4 a::after {
  content: url("../images/theme/border_pd_title.png");
  display: block; position: absolute;
  top: 20px; left: 50%; transform: translateX(-50%);
}
.title_pd_home h4::before {
  content: url("../images/theme/bg_pd_title.png");
  display: block; position: absolute;
  top: 65%; left: 50%; transform: translate(-50%,-50%);
  z-index: 2;
}
.title_pd_home h4::after {
  content: url("../images/theme/shadow_bg_pd.png");
  display: block; position: absolute;
  top: 80%; left: 52%; transform: translate(-50%,-50%);
  z-index: 1;
}

.pd_sec_img_left  { position: absolute; top: 50%; transform: translateY(-50%); left: -370px; }
.pd_sec_img_right { position: absolute; top: 50%; transform: translateY(-50%); right: -400px; }

/* ── Page 4: Recipes ── */
section.recipe_home { padding-top: 50px; padding-bottom: 50px; }
.recipe_home .group_cont_recipe { text-align: center; }
.recipe_home .group_cont_recipe img { width: 300px; margin: 0 auto 18px; height: auto; }
.recipe_home .content { padding: 25px 0 !important; font-weight: 600; font-family: "SourceSansPro-SemiBold", sans-serif; }
.recipe_home .content p { color: #333; font-size: 16px; }

/* ── Page 5: News ── */
section.news_home { padding-top: 15px; padding-bottom: 0; }
.cont_news_home .title_group h4 { margin-bottom: 35px; }
/* Constrain thumbnail height on mobile so news items fit within the viewport */
/* section.news_home .thumb_item_post_new { height: clamp(120px, 16vh, 200px) !important; } */
section.news_home .thumb_item_post_new {
  min-height: 400px;
}

.items_news_box { padding: 0 !important; }
.items_news_box:not(:last-child) { border-right: .5px solid rgba(0,0,0,.5); }

.cont_item_post_new { padding: 0 37px; }
.cont_item_post_new h4.title_post a {
  color: #000;
  font-size: 20px; font-weight: 700;
  font-family: "SourceSansPro-Bold", sans-serif;
  text-decoration: none !important;
  overflow: hidden; text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 22px; min-height: 44px;
}
.item_post_new:hover .cont_item_post_new h4.title_post a {
  color: #cc0000;
  transition: .5s all;
}

.cont_item_post_new p.content_post {
  color: #000; font-size: 15px; margin-bottom: 10px; font-weight: 400;
  font-family: "SourceSansPro-Regular", sans-serif;
  overflow: hidden; text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-height: 22px; max-height: 69px; height: 69px;
  text-align: justify;
}

.thumb_item_post_new { height: 300px !important; position: relative; overflow: hidden; }
.thumb_item_post_new img { width: 100%; height: 100%; object-fit: cover; transition: .7s ease; }
.item_post_new:hover .thumb_item_post_new img { transform: scale(1.08); }

.see_more_post {
  color: #c60000 !important; font-size: 14px; font-weight: 400;
  font-family: "SourceSansPro-Regular", sans-serif;
  text-decoration: none !important;
  position: relative; margin-bottom: 30px !important; display: inline-block;
}
.see_more_post::after {
  background-image: url("../images/theme/arrow_bt.png");
  width: 24px; height: 13px; top: 50%; transform: translateY(-50%);
  position: absolute; right: -30px; content: ""; background-repeat: no-repeat;
}
.see_more_post:hover::after { animation: shake-it-up 1.5s ease; }

body.home .list_news .slick-prev { left: 20px; z-index: 10; }
body.home .list_news .slick-next { right: 80px; z-index: 10; }
body.home .list_news .slick-prev::before {
  background: url("../images/theme/left_white.png");
  content: ""; width: 80px; height: 60px; display: block;
}
body.home .list_news .slick-next::before {
  background: url("../images/theme/right_white.png");
  content: ""; width: 80px; height: 60px; display: block;
}

/* ── fullPage nav dots —— */
#fp-nav ul li a span,
.fp-slidesNav ul li a span { background: #c00; }

/*
  .is-animated — elements hidden initially so they can fly in on scroll.
  fullPage.js onLeave adds .animated + data-animation class to trigger them.
  On mobile (no fullPage), responsive.css resets opacity to 1.
*/
.is-animated {
  opacity: 0;
  will-change: opacity, transform;
}
.is-animated.animated {
  opacity: 1; /* animate.css fill-mode:both keeps final state */
}

/* ── vertical alignment for news/products fp-sections ── */
.active_sec_group_post .fp-tableCell,
.active_sec_group_products .fp-tableCell { vertical-align: bottom; }

