@tailwind base;

@tailwind components;

@tailwind utilities;

/* Custom Fonts - Roboto & Aleo */

/* Font Face Declarations */

@font-face {
  font-family: 'Akisa';

  src: url('../fonts/1FTV-Akisa.ttf') format('truetype');

  font-weight: normal;

  font-style: normal;

  font-display: swap;
}

@font-face {
  font-family: 'Manrope';

  src: url('../fonts/Manrope-ExtraLight.ttf') format('truetype');

  font-weight: 200;

  font-style: normal;

  font-display: swap;
}

@font-face {
  font-family: 'Manrope';

  src: url('../fonts/Manrope-Light.ttf') format('truetype');

  font-weight: 300;

  font-style: normal;

  font-display: swap;
}

@font-face {
  font-family: 'Manrope';

  src: url('../fonts/Manrope-Regular.ttf') format('truetype');

  font-weight: 400;

  font-style: normal;

  font-display: swap;
}

@font-face {
  font-family: 'Manrope';

  src: url('../fonts/Manrope-Medium.ttf') format('truetype');

  font-weight: 500;

  font-style: normal;

  font-display: swap;
}

@font-face {
  font-family: 'Manrope';

  src: url('../fonts/Manrope-SemiBold.ttf') format('truetype');

  font-weight: 600;

  font-style: normal;

  font-display: swap;
}

@font-face {
  font-family: 'Manrope';

  src: url('../fonts/Manrope-Bold.ttf') format('truetype');

  font-weight: 700;

  font-style: normal;

  font-display: swap;
}

@font-face {
  font-family: 'Manrope';

  src: url('../fonts/Manrope-ExtraBold.ttf') format('truetype');

  font-weight: 800;

  font-style: normal;

  font-display: swap;
}

@font-face {
  font-family: 'Manrope';

  src: url('../fonts/Manrope-VariableFont_wght.ttf') format('truetype');

  font-weight: 200 800;

  font-style: normal;

  font-display: swap;
}

/* ========================================================================
   FONT UTILITY CLASSES
   ======================================================================== */

.font-akisa {
  font-family: 'Akisa', serif;
}

.font-manrope {
  font-family: 'Manrope', sans-serif;
}

/* Các thành phần dùng lại cho all trang ví dụ btn, tab, input, bg, color, text, card, badge, .v.v. */

/* ========================================================================
   GLOBALS.CSS - CSS Variables & Component Styles
   ======================================================================== */

/* ========================================================================
   @LAYER BASE - CSS Variables & Base Styles
   ======================================================================== */

/* ========================================================================
   @LAYER COMPONENTS - Reusable Component Styles
   ======================================================================== */

/* Các thành phần cho Header dùng chung all trang */

/* ========================================================================
   HEADER.CSS - Header Component Styles
   ======================================================================== */

/* ========================================================================
   @LAYER COMPONENTS - Header Specific Components
   ======================================================================== */

/* Các thành phần Blaze Slider dùng chung all trang */

/* ========================================================================
   BLAZE-SLIDER.CSS - Blaze Slider Component Styles
   ======================================================================== */

*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

/* ! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com */

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box;
  /* 1 */
  border-width: 0;
  /* 2 */
  border-style: solid;
  /* 2 */
  border-color: #e5e7eb;
  /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -moz-tab-size: 4;
  /* 3 */
  -o-tab-size: 4;
     tab-size: 4;
  /* 3 */
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  /* 4 */
  font-feature-settings: normal;
  /* 5 */
  font-variation-settings: normal;
  /* 6 */
  -webkit-tap-highlight-color: transparent;
  /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0;
  /* 1 */
  line-height: inherit;
  /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0;
  /* 1 */
  color: inherit;
  /* 2 */
  border-top-width: 1px;
  /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  /* 1 */
  font-feature-settings: normal;
  /* 2 */
  font-variation-settings: normal;
  /* 3 */
  font-size: 1em;
  /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0;
  /* 1 */
  border-color: inherit;
  /* 2 */
  border-collapse: collapse;
  /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-feature-settings: inherit;
  /* 1 */
  font-variation-settings: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  font-weight: inherit;
  /* 1 */
  line-height: inherit;
  /* 1 */
  letter-spacing: inherit;
  /* 1 */
  color: inherit;
  /* 1 */
  margin: 0;
  /* 2 */
  padding: 0;
  /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button;
  /* 1 */
  background-color: transparent;
  /* 2 */
  background-image: none;
  /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/

dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  /* 1 */
  vertical-align: middle;
  /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */

[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}

/* CSS Variables */

:root {
  /* Background Colors */
  --background: #fff;
  --foreground: #111827;
  --card: #fff;
  --card-foreground: #111827;
  --popover: #fff;
  --popover-foreground: #111827;
  /* Primary Colors */
  --primary: #A42A28;
  --primary-foreground: #fff;
  /* Title Colors */
  --title: #047857;
  --title-foreground: #fff;
  /* Secondary Colors */
  --secondary: #EFE1B4;
  --secondary-foreground: #111827;
  /* Muted Colors */
  --muted: #f3f4f6;
  --muted-foreground: #6b7280;
  /* Accent Colors */
  --accent: #f3f4f6;
  --accent-foreground: #111827;
  /* Status Colors */
  --destructive: #ef4444;
  --destructive-foreground: #fff;
  /* Border & Input Colors */
  --border: #e5e7eb;
  --input: #e5e7eb;
  --ring: #059669;
  /* Border Radius */
  --radius: 0.5rem;
}

/* Base Element Styles */

* {
  --tw-border-opacity: 1;
  border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
}

body {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --tw-text-opacity: 1;
  color: rgb(17 24 39 / var(--tw-text-opacity, 1));
  font-family: 'Manrope', sans-serif;
}

.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: 1rem;
  padding-left: 1rem;
}

@media (min-width: 640px) {
  .container {
    max-width: 640px;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}

@media (min-width: 1240px) {
  .container {
    max-width: 1240px;
    padding-right: 2rem;
    padding-left: 2rem;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

@media (min-width: 1536px) {
  .container {
    max-width: 1536px;
  }
}

/* Fix Container Response Theo Y Muon */

/* Container */

.container {
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

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

@media (min-width: 768px) {
  .container {
    max-width: 768px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 900px) {
  .container {
    max-width: 1240px;
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

@media (min-width: 1536px) {
  .container {
    max-width: 1320px;
  }
}

/* ========================================================================
       BUTTON GROUP: Các thuộc tính cho Button
       ======================================================================== */

.btn {
  display: inline-flex;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border-radius: calc(var(--radius) - 2px);
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 200ms;
  animation-duration: 200ms;
}

.btn:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.btn:focus {
  outline-width: 2px;
  outline-offset: 2px;
  outline-color: transparent;
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.btn-primary {
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
  --tw-gradient-from: #10b981 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(16 185 129 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
  --tw-gradient-to: #16a34a var(--tw-gradient-to-position);
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.btn-primary:hover {
  --tw-gradient-from: #059669 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(5 150 105 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
  --tw-gradient-to: #15803d var(--tw-gradient-to-position);
  --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.btn-primary:focus {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(16 185 129 / var(--tw-ring-opacity, 1));
  --tw-ring-offset-width: 2px;
}

.btn-outline {
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(209 213 219 / var(--tw-border-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity, 1));
}

.btn-outline:hover {
  --tw-border-opacity: 1;
  border-color: rgb(156 163 175 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
}

.btn-outline:focus {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(107 114 128 / var(--tw-ring-opacity, 1));
  --tw-ring-offset-width: 2px;
}

.btn-lg {
  height: 3rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-size: 1rem;
  line-height: 1.5rem;
}

/* Button additional sizes */

/* Button variants */

/* ========================================================================
       INPUT GROUP: Các thuộc tính cho Input
       ======================================================================== */

.input {
  display: flex;
  height: 2.5rem;
  width: 100%;
  border-radius: var(--radius);
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
  animation-duration: 150ms;
}

.input::-moz-placeholder {
  --tw-text-opacity: 1;
  color: rgb(107 114 128 / var(--tw-text-opacity, 1));
}

.input::placeholder {
  --tw-text-opacity: 1;
  color: rgb(107 114 128 / var(--tw-text-opacity, 1));
}

.input:focus {
  --tw-border-opacity: 1;
  border-color: rgb(16 185 129 / var(--tw-border-opacity, 1));
  outline: 2px solid transparent;
  outline-offset: 2px;
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(16 185 129 / var(--tw-ring-opacity, 1));
}

.input:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.input:focus::-moz-placeholder {
  --tw-text-opacity: 1;
  color: rgb(16 185 129 / var(--tw-text-opacity, 1));
}

.input:focus::placeholder {
  --tw-text-opacity: 1;
  color: rgb(16 185 129 / var(--tw-text-opacity, 1));
}

.input-lg {
  height: 3rem;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.input-icon {
  position: relative;
}

.input-icon input {
  padding-left: 2.5rem;
}

.input-icon .icon {
  pointer-events: none;
  position: absolute;
  left: 0.75rem;
  top: 50%;
  height: 1.25rem;
  width: 1.25rem;
  --tw-translate-y: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}

.input-icon input:focus + .icon {
  --tw-text-opacity: 1;
  color: rgb(16 185 129 / var(--tw-text-opacity, 1));
}

/* ========================================================================
       CARD GROUP: Các thuộc tính cho Card
       ======================================================================== */

/* ========================================================================
       BADGE GROUP: Các thuộc tính cho Badge
       ======================================================================== */

/* ========================================================================
       SECTION GROUP: Các thuộc tính cho Section
       ======================================================================== */

.section {
  /* @apply py-12; */
}

@media (min-width: 1024px) {
  .section {
    /* @apply py-16; */
  }
}

.section-title {
  margin-bottom: 0.5rem;
  font-family: Akisa, sans-serif;
  font-size: 1.5rem;
  line-height: 2rem;
  text-transform: uppercase;
  --tw-text-opacity: 1;
  color: rgb(17 24 39 / var(--tw-text-opacity, 1));
  font-family: 'Akisa', serif;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3.75rem;
    line-height: 1;
  }
}

@media (min-width: 640px) {
  .section-title {
    font-size: 3.75rem;
    line-height: 1;
  }
}

/* ========================================================================
       TAB GROUP: Các thuộc tính cho Tab
       ======================================================================== */

/* .tabs {
        @apply w-full;
    }

    .tabs .tabs-menus {
        @apply flex items-center justify-around gap-2 rounded-md bg-gray-100 p-1;
    }

    .tabs .tabs-menus > * {
        @apply flex-1;
    }

    .tabs .tab-menu {
        @apply btn border-none outline-none transition-all duration-150 disabled:pointer-events-none;
    }

    .tabs .tab-menu.active, .tabs .tab-menu:hover {
        @apply bg-white text-gray-900 shadow-sm;
    }

    .tabs .tab-content {
        @apply mt-2 p-4 px-0 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-emerald-500 hidden;
    }
    .tabs .tab-content.active {
        @apply block;
    } */

/* @media (max-width: 640px) {
        .tabs .tabs-menus {
            @apply overflow-x-auto;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
            -ms-overflow-style: none;
        }

        .tabs .tabs-menus::-webkit-scrollbar {
            @apply hidden;
        }

        .tabs .tab-menu {
            @apply flex-shrink-0 whitespace-nowrap;
        }
    } */

/* ========================================================================
       JMODAL GROUP: jModal library styles (Optimized for performance & INP)
       ======================================================================== */

/* Base jModal container */


    body:has(.jmodal:not(.hidden)) header.jmodal {
  /* Compensate for body padding by adjusting header width */
  width: 100%;
  /* Box-sizing ensures padding doesn't affect layout */
  box-sizing: border-box;
}

.jmodal {
  position: fixed;
  inset: 0px;
  z-index: 50;
  background-color: rgb(0 0 0 / 0.5);
  --tw-backdrop-blur: blur(4px);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
  height: 100vh;
  height: 100dvh;
}

/* Center content modal (auth, dialogs, etc) */


    body:has(.jmodal:not(.hidden)) header.jmodal-content {
  /* Compensate for body padding by adjusting header width */
  width: 100%;
  /* Box-sizing ensures padding doesn't affect layout */
  box-sizing: border-box;
}

.jmodal-content {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 50;
  width: 100%;
  --tw-translate-x: -50%;
  --tw-translate-y: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  --tw-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

/* jModal slide animations (GPU-accelerated for better INP) */

/* Slide from right (for cart, mobile menu) */


    body:has(.jmodal:not(.hidden)) header.jmodal-slide-right {
  /* Compensate for body padding by adjusting header width */
  width: 100%;
  /* Box-sizing ensures padding doesn't affect layout */
  box-sizing: border-box;
}

.jmodal-slide-right {
  position: fixed;
  right: 0px;
  top: 0px;
  width: 20rem;
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  height: 100vh;
  height: 100dvh;
  transform: translateX(100%) translateZ(0);
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.jmodal-slide-right.jmodal-active {
  transform: translateX(0) translateZ(0);
}

/* Mobile menu full screen (menu-mobi.html) */

.menu-mobi-full {
  width: 100%;
  max-width: 100vw;
}

/* Slide from left */

/* Slide from top (full width or centered) */

/* Slide from bottom (sheet style - full width or centered) */

/* Prevent header CLS when modal opens (body gets padding-right) */

body:has(.jmodal:not(.hidden)) header.sticky,
    body:has(.jmodal:not(.hidden)) header.fixed {
  /* Compensate for body padding by adjusting header width */
  width: 100%;
  /* Box-sizing ensures padding doesn't affect layout */
  box-sizing: border-box;
}

/* ========================================================================
       LOADING GROUP: Các thuộc tính cho Loading
       ======================================================================== */

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loading {
  animation: spin 1s linear infinite;
  border-radius: 9999px;
  border-width: 2px;
  border-color: rgb(209 213 219 / var(--tw-border-opacity, 1));
  --tw-border-opacity: 1;
  border-top-color: rgb(37 99 235 / var(--tw-border-opacity, 1));
}

.loading-sm {
  height: 1rem;
  width: 1rem;
}

/* ========================================================================
       TEXT UTILITIES GROUP: Các thuộc tính cho Text
       ======================================================================== */

/* .text-gradient {
        @apply bg-gradient-to-r from-emerald-600 to-green-600 bg-clip-text text-transparent;
    }

    .text-responsive-xs {
        @apply text-xs;
    }

    @media (min-width: 640px) {
        .text-responsive-xs {
            @apply text-sm;
        }
    }

    .text-responsive-sm {
        @apply text-sm;
    }

    @media (min-width: 640px) {
        .text-responsive-sm {
            @apply text-base;
        }
    }

    .text-responsive-md {
        @apply text-base;
    }

    @media (min-width: 768px) {
        .text-responsive-md {
            @apply text-lg;
        }
    }

    .text-responsive-lg {
        @apply text-lg;
    }

    @media (min-width: 640px) {
        .text-responsive-lg {
            @apply text-xl;
        }
    }

    @media (min-width: 1024px) {
    .text-responsive-lg {
            @apply text-2xl;
        }
    }

    .text-responsive-xl {
        @apply text-2xl;
    }

    @media (min-width: 640px) {
    .text-responsive-xl {
            @apply text-5xl;
        }
    } */

/* Text color utilities (ported from initial CSS) */

.text-primary {
  --tw-text-opacity: 1;
  color: rgb(4 120 87 / var(--tw-text-opacity, 1));
}

.text-secondary {
  --tw-text-opacity: 1;
  color: rgb(75 85 99 / var(--tw-text-opacity, 1));
}

/* ========================================================================
       HOVER EFFECTS GROUP: Các thuộc tính cho Hover Effects
       ======================================================================== */

/* ========================================================================
       FORM ELEMENTS GROUP: Các thuộc tính cho Form Elements
       ======================================================================== */

.checkbox {
  height: 1rem;
  width: 1rem;
  border-radius: 0.25rem;
  --tw-border-opacity: 1;
  border-color: rgb(209 213 219 / var(--tw-border-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(5 150 105 / var(--tw-text-opacity, 1));
}

.checkbox:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(16 185 129 / var(--tw-ring-opacity, 1));
}

/* ========================================================================
       LINK GROUP: Các thuộc tính cho Link
       ======================================================================== */

.link {
  --tw-text-opacity: 1;
  color: rgb(5 150 105 / var(--tw-text-opacity, 1));
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
  animation-duration: 150ms;
}

.link:hover {
  --tw-text-opacity: 1;
  color: rgb(74 222 128 / var(--tw-text-opacity, 1));
}

.link-primary {
  font-weight: 500;
  --tw-text-opacity: 1;
  color: rgb(5 150 105 / var(--tw-text-opacity, 1));
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
  animation-duration: 150ms;
}

.link-primary:hover {
  --tw-text-opacity: 1;
  color: rgb(74 222 128 / var(--tw-text-opacity, 1));
}

/* ========================================================================
       ICON BACKGROUND GROUP: Các thuộc tính cho Icon Background
       ======================================================================== */

/* ========================================================================
       TOGGLE GROUP: Các thuộc tính cho Toggle
       ======================================================================== */

.toggle {
  position: relative;
  display: inline-flex;
  cursor: pointer;
  align-items: center;
}

.toggle input {
  position: absolute;
  margin: -1px;
  height: 1px;
  width: 1px;
  overflow: hidden;
  white-space: nowrap;
  border-width: 0px;
  padding: 0px;
  clip: rect(0, 0, 0, 0);
}

/* ========================================================================
       TEXT TRUNCATION GROUP: Các thuộc tính cho Text Truncation
       ======================================================================== */

/* ========================================================================
       IMAGE FALLBACK GROUP: Các thuộc tính cho Image Fallback
       ======================================================================== */

img {
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
  animation-duration: 300ms;
}

img.loading {
  opacity: 0.5;
}

/* ========================================================================
       LAYOUT UTILITIES GROUP: Các thuộc tính cho Layout Utilities
       ======================================================================== */

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Grid auto layout utilities */

/* ========================================================================
       SIZE UTILITIES GROUP: Các thuộc tính cho Size Utilities
       ======================================================================== */

.size-4 {
  height: 1rem;
  width: 1rem;
}

/* Fit utilities */

.w-fit {
  width: -moz-fit-content;
  width: fit-content;
}

/* Gradient helpers */

/* Shadow helpers */

.shadow-strong {
  box-shadow: 0 10px 40px -10px rgba(0,0,0,0.15), 0 20px 25px -5px rgba(0,0,0,0.10);
}

/* ========================================================================
       CUSTOM SCROLLBAR GROUP: Các thuộc tính cho Custom Scrollbar
       ======================================================================== */

/* ========================================================================
       ITEM GROUP: Các thuộc tính cho Item Components
       ======================================================================== */

/* ========================================================================
       PAGINATION GROUP
       ======================================================================== */

.pagination-item.active {
  --tw-border-opacity: 1;
  border-color: rgb(5 150 105 / var(--tw-border-opacity, 1));
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
  --tw-gradient-from: #10b981 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(16 185 129 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
  --tw-gradient-to: #16a34a var(--tw-gradient-to-position);
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.pagination-item.active:hover {
  --tw-gradient-from: #059669 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(5 150 105 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
  --tw-gradient-to: #15803d var(--tw-gradient-to-position);
}

.pagination-item.disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.pagination-item.disabled:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(107 114 128 / var(--tw-text-opacity, 1));
}

/* ========================================================================
       ALERT GROUP
       ======================================================================== */

/* ========================================================================
       LOADING SIZES
       ======================================================================== */

/* ========================================================================
       SKELETON GROUP
       ======================================================================== */

/* ========================================================================
       RATING GROUP
       ======================================================================== */

/* ========================================================================
       PROGRESS GROUP
       ======================================================================== */

/* ========================================================================
       STATUS GROUP
       ======================================================================== */

/* ========================================================================
       TOOLTIP GROUP
       ======================================================================== */

/* ========================================================================
       BREADCRUMB GROUP
       ======================================================================== */

/* ========================================================================
       TEXT TRUNCATION EXTRAS & BREAK UTILITIES
       ======================================================================== */

/* ========================================================================
       IMAGE FALLBACK
       ======================================================================== */

/* ========================================================================
       TOGGLE TRACK (chi tiết)
       ======================================================================== */

.toggle input + .toggle-track {
  position: relative;
  height: 1.5rem;
  width: 2.75rem;
  border-radius: 9999px;
  --tw-bg-opacity: 1;
  background-color: rgb(229 231 235 / var(--tw-bg-opacity, 1));
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.toggle input:focus + .toggle-track {
  outline: 2px solid transparent;
  outline-offset: 2px;
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(147 197 253 / var(--tw-ring-opacity, 1));
}

.toggle input:checked + .toggle-track {
  --tw-bg-opacity: 1;
  background-color: rgb(37 99 235 / var(--tw-bg-opacity, 1));
}

.toggle input:checked + .toggle-track::after {
  transform: translateX(100%);
  border-color: white;
}

/* ========================================================================
       HEADER LAYOUT GROUP: Các thuộc tính cho Header Layout
       ======================================================================== */

body:has(.jmodal:not(.hidden)) header.header {
  /* Compensate for body padding by adjusting header width */
  width: 100%;
  /* Box-sizing ensures padding doesn't affect layout */
  box-sizing: border-box;
}

.header {
  position: sticky;
  top: 0px;
  z-index: 50;
  width: 100%;
  border-bottom-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
  background-color: rgb(255 255 255 / 0.95);
  --tw-backdrop-blur: blur(8px);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}

@supports (backdrop-filter: var(--tw)) {
  .header {
    background-color: rgb(255 255 255 / 0.6);
  }
}

/* ========================================================================
       NAVIGATION GROUP: Các thuộc tính cho Navigation
       ======================================================================== */

/* Menu PC: hover có line chạy bên dưới màu primary */

.menu-pc-link {
  position: relative;
  display: inline-block;
  padding-bottom: 0.25rem;
}

.menu-pc-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background-color: var(--primary, #C93331);
  transition: width 0.3s ease;
}

.menu-pc-link:hover::after {
  width: 100%;
}

/* ========================================================================
       OKINI HEADER BUTTON: Button ĐĂNG KÝ NHẬN ƯU ĐÃI sử dụng hình ảnh
       ======================================================================== */

.okini-btn-register {
  position: relative;
  margin-left: 1.5rem;
  cursor: pointer;
  border-style: none;
  background-color: transparent;
  padding: 0px;
  transition: all 0.3s ease;
}

.okini-btn-register img {
  display: block;
  max-height: 60px;
}

/* ========================================================================
       OKINI CART ICON: Icon giỏ hàng màu đỏ hình tròn
       ======================================================================== */

/* ========================================================================
       BLAZE SLIDER CORE GROUP: Các thuộc tính cơ bản cho Blaze Slider
       ======================================================================== */

.blaze-slider {
  --slides-to-show: 1;
  --slide-gap: 20px;
}

.blaze-container {
  position: relative;
}

.blaze-track-container {
  overflow: hidden;
}

.blaze-track {
  will-change: transform;
  touch-action: pan-y;
  display: flex;
  gap: var(--slide-gap);
  --slide-width: calc(
            (100% - (var(--slides-to-show) - 1) * var(--slide-gap)) /
            var(--slides-to-show)
        );
  box-sizing: border-box;
}

.blaze-track > * {
  box-sizing: border-box;
  width: var(--slide-width);
  flex-shrink: 0;
}

/* ========================================================================
       HOT PRODUCTS SLIDER GROUP: Các thuộc tính cho Hot Products Slider
       ======================================================================== */

.hot-products-slider.blaze-slider {
  --slides-to-show: 2;
}

@media (max-width: 640px) {
  .hot-products-slider.blaze-slider {
    --slides-to-show: 1;
  }
}

.hot-products-slider .blaze-prev,
    .hot-products-slider .blaze-next {
  display: none;
  /* Hide default arrows */
}

.hot-products-slider .blaze-pagination button.active {
  background: rgba(16, 185, 129, 1);
  /* Full emerald */
}

/* ========================================================================
       TESTIMONIALS SLIDER GROUP: Các thuộc tính cho Testimonials Slider
       ======================================================================== */

/* .testimonials-slider.blaze-slider {
        --slides-to-show: 1;
        --slide-gap: 0px;
    }

    .testimonials-slider .blaze-prev,
    .testimonials-slider .blaze-next {
        @apply absolute top-1/2 -translate-y-1/2 w-12 h-12 bg-white border border-gray-200 rounded-full flex items-center justify-center cursor-pointer z-10 transition-all duration-300 ease-in-out shadow-md;
    }

    .testimonials-slider .blaze-prev {
        @apply -left-6;
    }

    .testimonials-slider .blaze-next {
        @apply -right-6;
    }

    .testimonials-slider .blaze-prev:hover,
    .testimonials-slider .blaze-next:hover {
        @apply bg-emerald-500 border-emerald-500 text-white scale-110;
    }

    .testimonials-slider .blaze-prev:active,
    .testimonials-slider .blaze-next:active {
        @apply scale-95;
    }

    .testimonials-slider .blaze-pagination {
        @apply flex items-center justify-center gap-2 mt-6 px-4;
        font-size: 0;
    }

    .testimonials-slider .blaze-pagination button {
        @apply h-3 w-3 rounded-full border-0 cursor-pointer transition-all duration-300 ease-in-out outline-none;
        background: rgba(16, 185, 129, 0.3);
    }

    .testimonials-slider .blaze-pagination button:hover {
        @apply scale-110;
        background-color: rgba(16, 185, 129, 0.8);
    }

    .testimonials-slider .blaze-pagination button:focus {
        @apply outline-2 outline-offset-2;
        outline-color: #10b981;
    }

    .testimonials-slider .blaze-pagination button.active {
        background: rgba(16, 185, 129, 1);
    }

 
    @media (max-width: 768px) {
        .testimonials-slider .blaze-prev,
        .testimonials-slider .blaze-next {
            @apply w-10 h-10;
        }

        .testimonials-slider .blaze-prev {
            @apply -left-5;
        }

        .testimonials-slider .blaze-next {
            @apply -right-5;
        }
    }

    @media (max-width: 640px) {
        .testimonials-slider .blaze-prev,
        .testimonials-slider .blaze-next {
            @apply hidden;
        }
    } */

/* ========================================================================
       RELATED PRODUCTS SLIDER GROUP: Các thuộc tính cho Related Products Slider
       ======================================================================== */

.related-products-slider.blaze-slider {
  --slides-to-show: 4;
  --slide-gap: 24px;
}

@media (max-width: 1024px) {
  .related-products-slider.blaze-slider {
    --slides-to-show: 3;
  }
}

@media (max-width: 768px) {
  .related-products-slider.blaze-slider {
    --slides-to-show: 2;
  }
}

@media (max-width: 640px) {
  .related-products-slider.blaze-slider {
    --slides-to-show: 1;
  }
}

.related-products-slider .blaze-pagination button.active {
  background: rgba(16, 185, 129, 1);
}

.related-products-slider .blaze-prev,
    .related-products-slider .blaze-next {
  position: absolute;
  top: 50%;
  z-index: 10;
  --tw-translate-y: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.related-products-slider .blaze-prev {
  left: 0px;
}

@media (min-width: 1024px) {
  .related-products-slider .blaze-prev {
    left: -0.5rem;
  }
}

.related-products-slider .blaze-next {
  right: 0px;
}

@media (min-width: 1024px) {
  .related-products-slider .blaze-next {
    right: -0.5rem;
  }
}

.flash-sale-slider .blaze-prev,
    .flash-sale-slider .blaze-next {
  display: none;
}

/* ========================================================================
       NEWS SLIDER GROUP: Tin tức carousel - nút tròn đỏ
       ======================================================================== */

.news-slider.blaze-slider {
  --slides-to-show: 3;
  --slide-gap: 24px;
  padding: 0 50px;
}

@media (max-width: 640px) {
  .news-slider.blaze-slider {
    padding: 0;
    padding-bottom: 56px;
  }
}

.news-slider .blaze-track-container {
  padding: 20px 0;
}

.news-slider .blaze-track > * {
  /* padding: 0 10px; */
}

@media (max-width: 1024px) {
  .news-slider.blaze-slider {
    --slides-to-show: 2;
  }
}

@media (max-width: 640px) {
  .news-slider.blaze-slider {
    --slides-to-show: 1;
  }
}

.news-slider .blaze-prev,
    .news-slider .blaze-next {
  position: absolute;
  top: 50%;
  z-index: 10;
  display: flex;
  --tw-translate-y: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-width: 0px;
  --tw-text-opacity: 1;
  color: rgb(0 0 0 / var(--tw-text-opacity, 1));
  /* background-color: #EFE1B4; */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.news-slider .blaze-prev:hover,
    .news-slider .blaze-next:hover {
  /* background-color: #f0e5b8; */
}

.news-slider .blaze-prev {
  left: -1rem;
}

@media (min-width: 1024px) {
  .news-slider .blaze-prev {
    left: -1.5rem;
  }
}

.news-slider .blaze-next {
  right: -1rem;
}

@media (min-width: 1024px) {
  .news-slider .blaze-next {
    right: -1.5rem;
  }
}

/* Mobile: arrow đưa xuống phía dưới, căn giữa */

@media (max-width: 640px) {
  .news-slider .blaze-prev,
        .news-slider .blaze-next {
    height: 2.5rem;
    width: 2.5rem;
    top: auto;
    bottom: 0;
    transform: none;
  }

  .news-slider .blaze-prev {
    left: calc(50% - 72px);
    right: auto;
  }

  .news-slider .blaze-next {
    left: calc(50% + 20px);
    right: auto;
  }
}

/* ========================================================================
       SLIDER ANIMATIONS GROUP: Các thuộc tính cho Slider Animations
       ======================================================================== */

.blaze-slider .blaze-track {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.blaze-slider .blaze-track.sliding {
  transition: none;
}

/* Tối ưu cho news-slider để giảm giật */

.news-slider .blaze-track {
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ========================================================================
       SLIDER ACCESSIBILITY GROUP: Các thuộc tính cho Slider Accessibility
       ======================================================================== */

.blaze-slider .blaze-track:focus {
  outline-width: 2px;
  outline-offset: 2px;
  outline-color: #10b981;
}

.blaze-slider .blaze-track:focus-visible {
  outline-width: 2px;
  outline-offset: 2px;
  outline-color: #10b981;
}

/* ========================================================================
       SLIDER LOADING GROUP: Các thuộc tính cho Slider Loading States
       ======================================================================== */

.blaze-slider.loading .blaze-track {
  opacity: 0.5;
}

.blaze-slider.loading .blaze-pagination {
  pointer-events: none;
  opacity: 0.5;
}

/* ========================================================================
       SLIDER CUSTOM STYLES GROUP: Các thuộc tính tùy chỉnh cho Slider
       ======================================================================== */

.blaze-slider.custom-shadow .blaze-track {
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.blaze-slider.custom-border .blaze-track {
  border-radius: var(--radius);
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
}

.blaze-slider.custom-padding .blaze-track {
  padding: 1rem;
}

/* Footer grid: cột không đều - Logo rộng, Liên kết/Chính sách hẹp, Kết nối vừa */

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

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
}

/* Footer Background Pattern (Seigaiha wave pattern) */

.footer-bg-pattern {
  background-image: radial-gradient(circle at 50% 50%, rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: 0 0;
}

.footer-section-title {
  font-size: 1rem;
  color: #1f2937;
}

.footer-link {
  display: block;
  font-size: 0.875rem;
  color: #374151;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--primary, #A42A28);
}

.footer-social-icon {
  transition: background-color 0.2s ease;
}

.footer-newsletter-btn {
  min-width: 48px;
}

.scroll-to-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 50;
}

@media (max-width: 768px) {
  .scroll-to-top-btn {
    bottom: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
  }
}

/* ========================================================================
       FOOTER LAYOUT GROUP: Các thuộc tính cho Footer Layout
       ======================================================================== */

.footer {
  border-top-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}

.footer-section > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1rem * var(--tw-space-y-reverse));
}

/* ========================================================================
       FOOTER LINKS GROUP: Các thuộc tính cho Footer Links
       ======================================================================== */

.footer-link {
  display: block;
  font-size: 0.875rem;
  line-height: 1.25rem;
  --tw-text-opacity: 1;
  color: rgb(75 85 99 / var(--tw-text-opacity, 1));
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
  animation-duration: 150ms;
}

.footer-link:hover {
  --tw-text-opacity: 1;
  color: rgb(5 150 105 / var(--tw-text-opacity, 1));
}

/* ========================================================================
       FOOTER SOCIAL GROUP: Các thuộc tính cho Footer Social
       ======================================================================== */

.footer-social-icon {
  height: 1.25rem;
  width: 1.25rem;
}

/* ========================================================================
       FOOTER BOTTOM GROUP: Các thuộc tính cho Footer Bottom
       ======================================================================== */

/* ========================================================================
       FOOTER NEWSLETTER GROUP: Các thuộc tính cho Footer Newsletter
       ======================================================================== */

.footer-newsletter > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1rem * var(--tw-space-y-reverse));
}

/* ========================================================================
       FOOTER CONTACT GROUP: Các thuộc tính cho Footer Contact
       ======================================================================== */

.pointer-events-none {
  pointer-events: none;
}

.visible {
  visibility: visible;
}

.fixed {
  position: fixed;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.sticky {
  position: sticky;
}

.inset-0 {
  inset: 0px;
}

.-bottom-4 {
  bottom: -1rem;
}

.-bottom-\[30px\] {
  bottom: -30px;
}

.-left-1 {
  left: -0.25rem;
}

.-left-4 {
  left: -1rem;
}

.-left-6 {
  left: -1.5rem;
}

.-right-4 {
  right: -1rem;
}

.-right-6 {
  right: -1.5rem;
}

.-right-\[10\%\] {
  right: -10%;
}

.-right-\[16px\] {
  right: -16px;
}

.bottom-0 {
  bottom: 0px;
}

.bottom-10 {
  bottom: 2.5rem;
}

.bottom-36 {
  bottom: 9rem;
}

.left-0 {
  left: 0px;
}

.left-1\/2 {
  left: 50%;
}

.left-10 {
  left: 2.5rem;
}

.left-2 {
  left: 0.5rem;
}

.left-3 {
  left: 0.75rem;
}

.left-\[-0\.62px\] {
  left: -0.62px;
}

.left-\[4\.38px\] {
  left: 4.38px;
}

.left-auto {
  left: auto;
}

.right-0 {
  right: 0px;
}

.right-10 {
  right: 2.5rem;
}

.right-\[10\%\] {
  right: 10%;
}

.right-auto {
  right: auto;
}

.top-0 {
  top: 0px;
}

.top-1\/2 {
  top: 50%;
}

.top-10 {
  top: 2.5rem;
}

.top-16 {
  top: 4rem;
}

.top-20 {
  top: 5rem;
}

.top-24 {
  top: 6rem;
}

.top-3 {
  top: 0.75rem;
}

.top-8 {
  top: 2rem;
}

.top-\[-0\.62px\] {
  top: -0.62px;
}

.top-\[200px\] {
  top: 200px;
}

.top-\[5\%\] {
  top: 5%;
}

.top-\[6\.38px\] {
  top: 6.38px;
}

.z-10 {
  z-index: 10;
}

.z-20 {
  z-index: 20;
}

.z-30 {
  z-index: 30;
}

.z-40 {
  z-index: 40;
}

.z-50 {
  z-index: 50;
}

.z-\[9999\] {
  z-index: 9999;
}

.-mx-4 {
  margin-left: -1rem;
  margin-right: -1rem;
}

.mx-2 {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}

.mx-4 {
  margin-left: 1rem;
  margin-right: 1rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.-mt-20 {
  margin-top: -5rem;
}

.-mt-\[120px\] {
  margin-top: -120px;
}

.mb-0 {
  margin-bottom: 0px;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-10 {
  margin-bottom: 2.5rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mb-16 {
  margin-bottom: 4rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.ml-1 {
  margin-left: 0.25rem;
}

.ml-2 {
  margin-left: 0.5rem;
}

.ml-6 {
  margin-left: 1.5rem;
}

.mr-2 {
  margin-right: 0.5rem;
}

.mt-0\.5 {
  margin-top: 0.125rem;
}

.mt-1\.5 {
  margin-top: 0.375rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mt-auto {
  margin-top: auto;
}

.block {
  display: block;
}

.inline-block {
  display: inline-block;
}

.inline {
  display: inline;
}

.flex {
  display: flex;
}

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

.grid {
  display: grid;
}

.hidden {
  display: none;
}

.aspect-\[3\/4\] {
  aspect-ratio: 3/4;
}

.aspect-\[4\/3\] {
  aspect-ratio: 4/3;
}

.aspect-video {
  aspect-ratio: 16 / 9;
}

.size-4 {
  width: 1rem;
  height: 1rem;
}

.h-0\.5 {
  height: 0.125rem;
}

.h-10 {
  height: 2.5rem;
}

.h-11 {
  height: 2.75rem;
}

.h-12 {
  height: 3rem;
}

.h-16 {
  height: 4rem;
}

.h-20 {
  height: 5rem;
}

.h-24 {
  height: 6rem;
}

.h-32 {
  height: 8rem;
}

.h-4 {
  height: 1rem;
}

.h-48 {
  height: 12rem;
}

.h-5 {
  height: 1.25rem;
}

.h-6 {
  height: 1.5rem;
}

.h-8 {
  height: 2rem;
}

.h-9 {
  height: 2.25rem;
}

.h-\[110px\] {
  height: 110px;
}

.h-\[130px\] {
  height: 130px;
}

.h-\[220px\] {
  height: 220px;
}

.h-\[230px\] {
  height: 230px;
}

.h-\[240px\] {
  height: 240px;
}

.h-\[250px\] {
  height: 250px;
}
.h-\[200px\] {
  height: 200px;
}

.h-\[255px\] {
  height: 255px;
}

.h-\[300px\] {
  height: 300px;
}

.h-\[480px\] {
  height: 480px;
}

.h-\[580px\] {
  height: 580px;
}

.h-\[60\%\] {
  height: 60%;
}

.h-\[600px\] {
  height: 600px;
}

.h-\[62px\] {
  height: 62px;
}

.h-\[64px\] {
  height: 64px;
}

.h-\[70px\] {
  height: 70px;
}

.h-auto {
  height: auto;
}

.h-full {
  height: 100%;
}

.h-screen {
  height: 100vh;
}

.max-h-\[90vh\] {
  max-height: 90vh;
}

.max-h-full {
  max-height: 100%;
}

.min-h-\[400px\] {
  min-height: 400px;
}

.min-h-full {
  min-height: 100%;
}

.min-h-screen {
  min-height: 100vh;
}

.w-1 {
  width: 0.25rem;
}

.w-10 {
  width: 2.5rem;
}

.w-11 {
  width: 2.75rem;
}

.w-12 {
  width: 3rem;
}

.w-16 {
  width: 4rem;
}

.w-20 {
  width: 5rem;
}

.w-32 {
  width: 8rem;
}

.w-4 {
  width: 1rem;
}

.w-48 {
  width: 12rem;
}

.w-5 {
  width: 1.25rem;
}

.w-6 {
  width: 1.5rem;
}

.w-72 {
  width: 18rem;
}

.w-8 {
  width: 2rem;
}

.w-\[100px\] {
  width: 100px;
}

.w-\[160px\] {
  width: 160px;
}

.w-\[170px\] {
  width: 170px;
}

.w-\[200px\] {
  width: 200px;
}

.w-\[255px\] {
  width: 255px;
}

.w-\[280px\] {
  width: 280px;
}

.w-\[35\%\] {
  width: 35%;
}

.w-\[40\%\] {
  width: 40%;
}

.w-\[430px\] {
  width: 430px;
}

.w-\[850px\] {
  width: 850px;
}

.w-\[85vw\] {
  width: 85vw;
}

.w-\[min\(40\%\2c 320px\)\] {
  width: min(40%,320px);
}

.w-auto {
  width: auto;
}

.w-fit {
  width: -moz-fit-content;
  width: fit-content;
}

.w-full {
  width: 100%;
}

.w-max {
  width: -moz-max-content;
  width: max-content;
}

.w-screen {
  width: 100vw;
}

.min-w-0 {
  min-width: 0px;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-\[275px\] {
  max-width: 275px;
}

.max-w-\[320px\] {
  max-width: 320px;
}

.max-w-\[400px\] {
  max-width: 400px;
}

.max-w-\[90vw\] {
  max-width: 90vw;
}

.max-w-full {
  max-width: 100%;
}

.max-w-md {
  max-width: 28rem;
}

.max-w-xl {
  max-width: 36rem;
}

.flex-1 {
  flex: 1 1 0%;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.flex-grow-0 {
  flex-grow: 0;
}

.-translate-x-1\/2 {
  --tw-translate-x: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.-translate-x-\[19px\] {
  --tw-translate-x: -19px;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.-translate-y-1\/2 {
  --tw-translate-y: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.translate-x-\[20px\] {
  --tw-translate-x: 20px;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.translate-y-0 {
  --tw-translate-y: 0px;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.translate-y-2 {
  --tw-translate-y: 0.5rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.-rotate-3 {
  --tw-rotate: -3deg;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.rotate-3 {
  --tw-rotate: 3deg;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.scale-110 {
  --tw-scale-x: 1.1;
  --tw-scale-y: 1.1;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.cursor-pointer {
  cursor: pointer;
}

.select-none {
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.resize {
  resize: both;
}

.snap-x {
  scroll-snap-type: x var(--tw-scroll-snap-strictness);
}

.snap-mandatory {
  --tw-scroll-snap-strictness: mandatory;
}

.snap-start {
  scroll-snap-align: start;
}

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

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

.flex-row {
  flex-direction: row;
}

.flex-col {
  flex-direction: column;
}

.items-start {
  align-items: flex-start;
}

.items-end {
  align-items: flex-end;
}

.items-center {
  align-items: center;
}

.justify-start {
  justify-content: flex-start;
}

.justify-end {
  justify-content: flex-end;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-0 {
  gap: 0px;
}

.gap-1 {
  gap: 0.25rem;
}

.gap-1\.5 {
  gap: 0.375rem;
}

.gap-10 {
  gap: 2.5rem;
}

.gap-12 {
  gap: 3rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-20 {
  gap: 5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.space-x-2 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(0.5rem * var(--tw-space-x-reverse));
  margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));
}

.space-x-4 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(1rem * var(--tw-space-x-reverse));
  margin-left: calc(1rem * calc(1 - var(--tw-space-x-reverse)));
}

.space-x-6 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(1.5rem * var(--tw-space-x-reverse));
  margin-left: calc(1.5rem * calc(1 - var(--tw-space-x-reverse)));
}

.space-x-8 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(2rem * var(--tw-space-x-reverse));
  margin-left: calc(2rem * calc(1 - var(--tw-space-x-reverse)));
}

.space-y-2 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
}

.space-y-3 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));
}

.space-y-4 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1rem * var(--tw-space-y-reverse));
}

.self-start {
  align-self: flex-start;
}

.overflow-hidden {
  overflow: hidden;
}

.overflow-visible {
  overflow: visible;
}

.overflow-x-auto {
  overflow-x: auto;
}

.overflow-y-auto {
  overflow-y: auto;
}

.rounded-2xl {
  border-radius: 1rem;
}

.rounded-3xl {
  border-radius: 1.5rem;
}

.rounded-\[999px\] {
  border-radius: 999px;
}

.rounded-full {
  border-radius: 9999px;
}

.rounded-lg {
  border-radius: var(--radius);
}

.rounded-none {
  border-radius: 0px;
}

.rounded-xl {
  border-radius: 0.75rem;
}

.rounded-t-2xl {
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

.border {
  border-width: 1px;
}

.border-0 {
  border-width: 0px;
}

.border-2 {
  border-width: 2px;
}

.border-b {
  border-bottom-width: 1px;
}

.border-b-2 {
  border-bottom-width: 2px;
}

.border-t {
  border-top-width: 1px;
}

.border-\[\#E63E3F\] {
  --tw-border-opacity: 1;
  border-color: rgb(230 62 63 / var(--tw-border-opacity, 1));
}

.border-\[\#EBE7D3\] {
  --tw-border-opacity: 1;
  border-color: rgb(235 231 211 / var(--tw-border-opacity, 1));
}

.border-gray-100 {
  --tw-border-opacity: 1;
  border-color: rgb(243 244 246 / var(--tw-border-opacity, 1));
}

.border-gray-200 {
  --tw-border-opacity: 1;
  border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
}

.border-gray-300 {
  --tw-border-opacity: 1;
  border-color: rgb(209 213 219 / var(--tw-border-opacity, 1));
}

.border-gray-400\/30 {
  border-color: rgb(156 163 175 / 0.3);
}

.border-primary {
  border-color: var(--primary);
}

.border-red-200 {
  --tw-border-opacity: 1;
  border-color: rgb(254 202 202 / var(--tw-border-opacity, 1));
}

.border-red-300 {
  --tw-border-opacity: 1;
  border-color: rgb(252 165 165 / var(--tw-border-opacity, 1));
}

.border-yellow-200 {
  --tw-border-opacity: 1;
  border-color: rgb(254 240 138 / var(--tw-border-opacity, 1));
}

.bg-\[\#1877F2\] {
  --tw-bg-opacity: 1;
  background-color: rgb(24 119 242 / var(--tw-bg-opacity, 1));
}

.bg-\[\#2d2d2d\] {
  --tw-bg-opacity: 1;
  background-color: rgb(45 45 45 / var(--tw-bg-opacity, 1));
}

.bg-\[\#333333E5\] {
  background-color: #333333E5;
}

.bg-\[\#EFE1B4\] {
  --tw-bg-opacity: 1;
  background-color: rgb(239 225 180 / var(--tw-bg-opacity, 1));
}

.bg-\[\#F8F5ED\] {
  --tw-bg-opacity: 1;
  background-color: rgb(248 245 237 / var(--tw-bg-opacity, 1));
}

.bg-\[\#FFF3D6\] {
  --tw-bg-opacity: 1;
  background-color: rgb(255 243 214 / var(--tw-bg-opacity, 1));
}

.bg-\[\#fbf7ed\] {
  --tw-bg-opacity: 1;
  background-color: rgb(251 247 237 / var(--tw-bg-opacity, 1));
}

.bg-\[\#fbf8ef\] {
  --tw-bg-opacity: 1;
  background-color: rgb(251 248 239 / var(--tw-bg-opacity, 1));
}

.bg-\[\#fef3c7\] {
  --tw-bg-opacity: 1;
  background-color: rgb(254 243 199 / var(--tw-bg-opacity, 1));
}

.bg-black {
  --tw-bg-opacity: 1;
  background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1));
}

.bg-black\/50 {
  background-color: rgb(0 0 0 / 0.5);
}

.bg-gray-200 {
  --tw-bg-opacity: 1;
  background-color: rgb(229 231 235 / var(--tw-bg-opacity, 1));
}

.bg-gray-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
}

.bg-gray-900 {
  --tw-bg-opacity: 1;
  background-color: rgb(17 24 39 / var(--tw-bg-opacity, 1));
}

.bg-primary {
  background-color: var(--primary);
}

.bg-red-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(254 242 242 / var(--tw-bg-opacity, 1));
}

.bg-secondary {
  background-color: var(--secondary);
}

.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}

.bg-white\/50 {
  background-color: rgb(255 255 255 / 0.5);
}

.bg-gradient-to-b {
  background-image: linear-gradient(to bottom, var(--tw-gradient-stops));
}

.bg-gradient-to-br {
  background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.bg-gradient-to-t {
  background-image: linear-gradient(to top, var(--tw-gradient-stops));
}

.from-\[\#F58529\] {
  --tw-gradient-from: #F58529 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(245 133 41 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.from-black\/70 {
  --tw-gradient-from: rgb(0 0 0 / 0.7) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(0 0 0 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.from-white {
  --tw-gradient-from: #fff var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.via-\[\#DD2A7B\] {
  --tw-gradient-to: rgb(221 42 123 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), #DD2A7B var(--tw-gradient-via-position), var(--tw-gradient-to);
}

.via-black\/40 {
  --tw-gradient-to: rgb(0 0 0 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), rgb(0 0 0 / 0.4) var(--tw-gradient-via-position), var(--tw-gradient-to);
}

.via-white {
  --tw-gradient-to: rgb(255 255 255 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), #fff var(--tw-gradient-via-position), var(--tw-gradient-to);
}

.to-\[\#8134AF\] {
  --tw-gradient-to: #8134AF var(--tw-gradient-to-position);
}

.to-\[\#FFF3D6\] {
  --tw-gradient-to: #FFF3D6 var(--tw-gradient-to-position);
}

.to-transparent {
  --tw-gradient-to: transparent var(--tw-gradient-to-position);
}

.bg-\[length\:100\%_auto\] {
  background-size: 100% auto;
}

.bg-contain {
  background-size: contain;
}

.bg-cover {
  background-size: cover;
}

.bg-bottom {
  background-position: bottom;
}

.bg-center {
  background-position: center;
}

.bg-left {
  background-position: left;
}

.bg-left-bottom {
  background-position: left bottom;
}

.bg-right-bottom {
  background-position: right bottom;
}

.bg-top {
  background-position: top;
}

.bg-no-repeat {
  background-repeat: no-repeat;
}

.object-contain {
  -o-object-fit: contain;
     object-fit: contain;
}

.object-cover {
  -o-object-fit: cover;
     object-fit: cover;
}

.p-0 {
  padding: 0px;
}

.p-1 {
  padding: 0.25rem;
}

.p-2 {
  padding: 0.5rem;
}

.p-4 {
  padding: 1rem;
}

.p-5 {
  padding: 1.25rem;
}

.p-6 {
  padding: 1.5rem;
}

.px-10 {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.py-0 {
  padding-top: 0px;
  padding-bottom: 0px;
}

.py-1\.5 {
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.\!pb-0 {
  padding-bottom: 0px !important;
}

.\!pt-0 {
  padding-top: 0px !important;
}

.pb-1 {
  padding-bottom: 0.25rem;
}

.pb-10 {
  padding-bottom: 2.5rem;
}

.pb-16 {
  padding-bottom: 4rem;
}

.pb-2 {
  padding-bottom: 0.5rem;
}

.pb-40 {
  padding-bottom: 10rem;
}

.pl-4 {
  padding-left: 1rem;
}

.pl-8 {
  padding-left: 2rem;
}

.pr-4 {
  padding-right: 1rem;
}

.pt-0 {
  padding-top: 0px;
}

.pt-10 {
  padding-top: 2.5rem;
}

.pt-16 {
  padding-top: 4rem;
}

.pt-20 {
  padding-top: 5rem;
}

.pt-24 {
  padding-top: 6rem;
}

.pt-4 {
  padding-top: 1rem;
}

.pt-6 {
  padding-top: 1.5rem;
}

.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.font-akisa {
  font-family: Akisa, sans-serif;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.text-7xl {
  font-size: 4.5rem;
  line-height: 1;
}

.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

.font-bold {
  font-weight: 700;
}

.font-medium {
  font-weight: 500;
}

.font-normal {
  font-weight: 400;
}

.font-semibold {
  font-weight: 600;
}

.uppercase {
  text-transform: uppercase;
}

.leading-none {
  line-height: 1;
}

.leading-relaxed {
  line-height: 1.625;
}

.tracking-wide {
  letter-spacing: 0.025em;
}

.tracking-widest {
  letter-spacing: 0.1em;
}

.text-\[\#1e3a8a\] {
  --tw-text-opacity: 1;
  color: rgb(30 58 138 / var(--tw-text-opacity, 1));
}

.text-\[\#393981\] {
  --tw-text-opacity: 1;
  color: rgb(57 57 129 / var(--tw-text-opacity, 1));
}

.text-\[\#3c4179\] {
  --tw-text-opacity: 1;
  color: rgb(60 65 121 / var(--tw-text-opacity, 1));
}

.text-\[\#8B1A1A\] {
  --tw-text-opacity: 1;
  color: rgb(139 26 26 / var(--tw-text-opacity, 1));
}

.text-\[\#FFF3D6\] {
  --tw-text-opacity: 1;
  color: rgb(255 243 214 / var(--tw-text-opacity, 1));
}

.text-\[\#a42a2850\] {
  color: #a42a2850;
}

.text-\[\#efe1b450\] {
  color: #efe1b450;
}

.text-black {
  --tw-text-opacity: 1;
  color: rgb(0 0 0 / var(--tw-text-opacity, 1));
}

.text-gray-300 {
  --tw-text-opacity: 1;
  color: rgb(209 213 219 / var(--tw-text-opacity, 1));
}

.text-gray-400 {
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}

.text-gray-500 {
  --tw-text-opacity: 1;
  color: rgb(107 114 128 / var(--tw-text-opacity, 1));
}

.text-gray-600 {
  --tw-text-opacity: 1;
  color: rgb(75 85 99 / var(--tw-text-opacity, 1));
}

.text-gray-700 {
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity, 1));
}

.text-gray-900 {
  --tw-text-opacity: 1;
  color: rgb(17 24 39 / var(--tw-text-opacity, 1));
}

.text-primary {
  color: var(--primary);
}

.text-red-500 {
  --tw-text-opacity: 1;
  color: rgb(239 68 68 / var(--tw-text-opacity, 1));
}

.text-red-700 {
  --tw-text-opacity: 1;
  color: rgb(185 28 28 / var(--tw-text-opacity, 1));
}

.text-secondary {
  color: var(--secondary);
}

.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.text-white\/80 {
  color: rgb(255 255 255 / 0.8);
}

.text-white\/90 {
  color: rgb(255 255 255 / 0.9);
}

.text-white\/95 {
  color: rgb(255 255 255 / 0.95);
}

.opacity-0 {
  opacity: 0;
}

.opacity-10 {
  opacity: 0.1;
}

.opacity-100 {
  opacity: 1;
}

.opacity-20 {
  opacity: 0.2;
}

.opacity-40 {
  opacity: 0.4;
}

.opacity-5 {
  opacity: 0.05;
}

.opacity-90 {
  opacity: 0.9;
}

.opacity-\[0\.08\] {
  opacity: 0.08;
}

.opacity-\[0\.12\] {
  opacity: 0.12;
}

.shadow-\[0_2px_8px_rgba\(0\2c 0\2c 0\2c 0\.15\)\] {
  --tw-shadow: 0 2px 8px rgba(0,0,0,0.15);
  --tw-shadow-colored: 0 2px 8px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-\[0_8px_24px_rgba\(0\2c 0\2c 0\2c 0\.25\)\] {
  --tw-shadow: 0 8px 24px rgba(0,0,0,0.25);
  --tw-shadow-colored: 0 8px 24px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-\[0_8px_32px_rgba\(0\2c 0\2c 0\2c 0\.12\)\] {
  --tw-shadow: 0 8px 32px rgba(0,0,0,0.12);
  --tw-shadow-colored: 0 8px 32px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-lg {
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.ring-0 {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.ring-4 {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.ring-white\/30 {
  --tw-ring-color: rgb(255 255 255 / 0.3);
}

.blur-2xl {
  --tw-blur: blur(40px);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.blur-xl {
  --tw-blur: blur(24px);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.backdrop-blur-sm {
  --tw-backdrop-blur: blur(4px);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-opacity {
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-shadow {
  transition-property: box-shadow;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.duration-300 {
  transition-duration: 300ms;
}

.duration-500 {
  transition-duration: 500ms;
}

.duration-700 {
  transition-duration: 700ms;
}

.ease-in-out {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.ease-out {
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}

.will-change-transform {
  will-change: transform;
}

@keyframes enter {
  from {
    opacity: var(--tw-enter-opacity, 1);
    transform: translate3d(var(--tw-enter-translate-x, 0), var(--tw-enter-translate-y, 0), 0) scale3d(var(--tw-enter-scale, 1), var(--tw-enter-scale, 1), var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0));
  }
}

@keyframes exit {
  to {
    opacity: var(--tw-exit-opacity, 1);
    transform: translate3d(var(--tw-exit-translate-x, 0), var(--tw-exit-translate-y, 0), 0) scale3d(var(--tw-exit-scale, 1), var(--tw-exit-scale, 1), var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0));
  }
}

.fade-in {
  --tw-enter-opacity: 0;
}

.duration-300 {
  animation-duration: 300ms;
}

.duration-500 {
  animation-duration: 500ms;
}

.duration-700 {
  animation-duration: 700ms;
}

.ease-in-out {
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.ease-out {
  animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
}

/* ========================================================================
   @LAYER COMPONENTS - Blaze Slider Components
   ======================================================================== */

/* Các thành phần cho Home dùng chung all trang */

.clound-effect {
  background-repeat: no-repeat;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  /* tuỳ chỉnh độ đậm nhạt */
}

/* Hiệu ứng drift trái-phải, dùng transform để mượt và tiết kiệm hiệu năng */

@keyframes cloud-drift {
  0% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(12px);
  }

  100% {
    transform: translateX(-12px);
  }
}

.cloud-left {
  animation: cloud-drift 12s ease-in-out infinite;
  will-change: transform;
}

.cloud-right {
  animation: cloud-drift 10s ease-in-out infinite reverse;
  will-change: transform;
}

/* Tôn trọng người dùng hạn chế chuyển động */

@media (prefers-reduced-motion: reduce) {
  .cloud-left,
     .cloud-right {
    animation: none;
  }
}

.card-feature {
  position: relative;
  animation: rotate 2s linear infinite;
}

.card-feature:nth-child(2) {
  position: relative;
  animation: rotate-2 2s linear infinite;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(2deg);
  }

  75% {
    transform: rotate(-2deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

@keyframes rotate-2 {
  0% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(-2deg);
  }

  75% {
    transform: rotate(2deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

.card-feature .box-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  margin: auto;
  border: 2px solid #FFF3D6;
  z-index: 0;
  border-radius: 10px;
}

/* Flatsome-style slide-in from left animation */

.fade-in {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger animation for multiple cards */

.fade-in-stagger {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-stagger.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-stagger:nth-child(1) {
  transition-delay: 0.1s;
}

.fade-in-stagger:nth-child(2) {
  transition-delay: 0.2s;
}

.fade-in-stagger:nth-child(3) {
  transition-delay: 0.3s;
}

.fade-in-stagger:nth-child(4) {
  transition-delay: 0.4s;
}

.fade-in-up {
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.fade-in-up.visible {
  transform: translateY(0);
  opacity: 1 !important;
}

.cloud-drift-left {
  animation: driftLeft 6s ease-in-out infinite;
}

.cloud-drift-right {
  animation: driftRight 6s ease-in-out infinite;
}

@keyframes driftLeft {
  0%,
     100% {
    transform: translateX(0px);
  }

  20%,
     30% {
    transform: translateX(-15px);
  }

  40%,
     50% {
    transform: translateX(-30px);
  }

  70%,
     80% {
    transform: translateX(-15px);
  }
}

@keyframes driftRight {
  0%,
     100% {
    transform: translateX(0px);
  }

  20%,
     30% {
    transform: translateX(-15px);
  }

  40%,
     50% {
    transform: translateX(-30px);
  }

  70%,
     80% {
    transform: translateX(-15px);
  }
}

.list-technology {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .list-technology {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
  }
}

.box-technology {
  position: relative;
  min-height: 350px;
  overflow: hidden;
  border-radius: 1rem;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.box-technology.visible {
  transform: translateY(0);
  opacity: 1;
}

.box-technology {
  transform: translateY(200px);
  transition: all 1s ease-out;
}

.box-technology.visible {
  transform: translateX(0) translateY(0);
  opacity: 1;
}

@media (max-width: 767px) {
  
     .section-solution .box-technology {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 768px) {
  .box-technology {
    min-height: 450px;
  }
}

.box-technology h3 {
  --tw-text-opacity: 1;
  color: rgb(4 120 87 / var(--tw-text-opacity, 1));
  position: relative;
  margin-bottom: 0px;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  font-family: Akisa, sans-serif;
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  font-family: 'Akisa', serif;
}

@media (min-width: 768px) {
  .box-technology h3 {
    margin-bottom: 0.5rem;
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
}

.box-technology h3:before {
  content: "";
  width: 0;
  height: 3px;
  background-color: var(--primary);
  position: absolute;
  bottom: 0;
  left: 0;
  transition: all 0.5s ease-in-out;
}

.box-technology:hover h3:before {
  width: 100%;
  transition: all 0.5s ease-in-out;
}

.box-technology p {
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
  --tw-text-opacity: 1;
  color: rgb(0 0 0 / var(--tw-text-opacity, 1));
}

@media (min-width: 768px) {
  .box-technology p {
    font-size: 1.5rem;
    line-height: 2rem;
  }
}

.box-technology:hover svg path {
  opacity: 1 !important;
  transition: all 0.5s ease-in-out;
}

.fade-in-left {
  transform: translateX(-200px);
  opacity: 0;
  transition: all 1s ease-out;
}

.fade-in-up {
  transform: translateY(200px);
  transition: all 1s ease-out;
}

.fade-in-right {
  transform: translateX(200px);
  transition: all 1s ease-out;
}

.fade-in-left.visible,
 .fade-in-up.visible,
 .fade-in-right.visible {
  transform: translateX(0) translateY(0);
  opacity: 1 !important;
}

.fade-in-right.visible {
  transform: translateX(0) translateY(0);
  opacity: 1 !important;
}

/* Solution card: nền bg-2 (desktop 100%, mobile 130%) */

.solution-card-bg {
  background-image: url(../images/bg-2.png);
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center;
}

/* Solution section: mobile không dùng fade, hiển thị luôn */

@media (max-width: 767px) {
  .section-solution .fade-in-left,
     .section-solution .fade-in-up,
     .section-solution .fade-in-right {
    opacity: 1 !important;
    transform: none !important;
  }

  .section-solution .solution-card-bg {
    background-size: 130% !important;
  }
}

/* Rotation animation for cards after fade-in */

.card-feature.fade-in-left.visible {
  animation: slideInThenRotate 2s ease-out forwards, rotate 2s linear 3s infinite;
}

.card-feature.fade-in-right.visible {
  animation: slideInThenRotate-2 2s ease-out forwards, rotate-2 2s linear 3s infinite;
}

@keyframes slideInThenRotate {
  0% {
    transform: translateX(-200px);
    opacity: 0;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }

  /* 70% {
        transform: rotate(0deg);
    }
    80% {
        transform: rotate(2deg);
    }
    90% {
        transform: rotate(-2deg);
    }
    100% {
        transform: rotate(0deg);
    } */
}

@keyframes slideInThenRotate-2 {
  0% {
    transform: translateX(200px);
    opacity: 0;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }

  /* 70% {
        transform: rotate(0deg);
    }
    80% {
        transform: rotate(-2deg);
    }
    90% {
        transform: rotate(2deg);
    }
    100% {
        transform: rotate(0deg);
    } */
}

.line-story:before {
  content: "";
  position: absolute;
  left: -3px;
  top: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--primary);
}

.line-story:after {
  content: "";
  position: absolute;
  left: -3px;
  bottom: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--primary);
}

.title-story {
  position: relative;
}

.title-story::before {
  position: absolute;
  content: "";
  width: 240px;
  height: 240px;
  background: url(../images/Shape1.svg) no-repeat center center;
  background-size: contain;
  top: 0;
  left: 0;
  z-index: -1;
  transform: translateY(-25%) translateX(-25%);
}

@media (max-width: 767px) {
  .title-story::before {
    width: 150px;
    height: 150px;
  }
}

/* Story section: ảnh Frame-46.jpg hòa trộn với gradient nền */

.section-story::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url(../images/Frame-46.jpg);
  background-size: 200px auto;
  background-position: center;
  background-repeat: repeat;
  opacity: 0.1;
  z-index: 0;
  pointer-events: none;
}

.section-story > * {
  position: relative;
  z-index: 1;
}

/* Mask animation for cream text */

.mask-text-cream {
  position: relative;
  color: var(--primary);
  /* Primary color as base */
  overflow: hidden;
  white-space: nowrap;
}

.mask-text-cream::before {
  content: "Nức tiếng";
  position: absolute;
  top: 0;
  left: 0;
  color: #FFF3D6;
  animation: maskSlideWidthCream 3s ease-in-out 3.5s forwards;
  width: 0%;
  overflow: hidden;
}

@keyframes maskSlideWidthCream {
  0% {
    width: 0%;
  }

  100% {
    width: 150px;
  }
}

/* Mask animation for text */

.mask-text {
  position: relative;
  color: #a42a2850;
  /* Light gray color */
  overflow: hidden;
  white-space: nowrap;
  width: -moz-fit-content;
  width: fit-content;
}

@media (max-width: 767px) {
  .mask-text {
    white-space: unset;
  }
}

.section-core-value .mask-text {
  color: #efe1b450;
}

.mask-text::before {
  content: "Chuẩn vị Nhật Bản";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--primary);
  animation: maskSlideWidth 3s ease-in-out 3.5s forwards;
  width: 0%;
  overflow: hidden;
}

/* Mobile: tắt mask-text, hiển thị chữ bình thường */

@media (max-width: 767px) {
  .mask-text,
     .mask-text-cream,
     .mask-text-core-value {
    color: var(--primary) !important;
    overflow: visible;
  }

  .section-core-value .mask-text {
    color: var(--secondary, #EFE1B4) !important;
  }

  .mask-text::before,
     .mask-text-cream::before,
     .mask-text-core-value::before {
    display: none !important;
  }
}

@keyframes maskSlideWidth {
  0% {
    width: 0%;
  }

  100% {
    width: 100%;
  }
}

.mask-text-core-value{
  line-height: 1.5;
}

/* Mask text cho Core Value */

.mask-text-core-value::before {
  content: "Những điều làm nên sự khác biệt";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--secondary, #EFE1B4);
  animation: maskSlideWidth 3s ease-in-out 3.5s forwards;
  width: 0%;
  overflow: hidden;
}

/* Seigaiha Pattern Styles */

.seigaiha-pattern-red {
  background-color: #E63E3F;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 40 Q20 20 40 40 T80 40' stroke='rgba(255,255,255,0.15)' stroke-width='1' fill='none'/%3E%3Cpath d='M0 50 Q20 30 40 50 T80 50' stroke='rgba(255,255,255,0.12)' stroke-width='1' fill='none'/%3E%3Cpath d='M0 30 Q20 10 40 30 T80 30' stroke='rgba(255,255,255,0.12)' stroke-width='1' fill='none'/%3E%3C/svg%3E");
  background-size: 80px 80px;
  background-position: 0 0;
}

.seigaiha-pattern-beige {
  background-color: #F9F3E7;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 40 Q20 20 40 40 T80 40' stroke='rgba(0,0,0,0.08)' stroke-width='1' fill='none'/%3E%3Cpath d='M0 50 Q20 30 40 50 T80 50' stroke='rgba(0,0,0,0.06)' stroke-width='1' fill='none'/%3E%3Cpath d='M0 30 Q20 10 40 30 T80 30' stroke='rgba(0,0,0,0.06)' stroke-width='1' fill='none'/%3E%3C/svg%3E");
  background-size: 80px 80px;
  background-position: 0 0;
}

/* Sticky Cards Effect - Cards stack on top of each other when scrolling */

.sticky-card {
  /* Safari support */
  position: sticky;
  will-change: transform;
  transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
  border: 0 !important
}

.sticky-card:hover {
  transform: translateY(-2px);
}

/* Ensure parent container has enough height for sticky effect */

.sticky-card:not(:last-child) {
  margin-bottom: 3rem;
}

.sticky-card:last-child {
  padding-bottom: 3rem;
}

/* Add visual spacing for stacking effect */

.sticky-card + .sticky-card {
  /* margin-top: -2rem; */
}

/* Smooth scroll behavior */

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Ensure section allows scrolling */

section:has(.sticky-card) {
  overflow: visible !important;
  min-height: auto;
}

/* Core Value Section Mask */

.core-value-mask {
  /* position: relative; */
  /* background-color: #A42A28;  */
  /* Fallback background color */
}

.core-value-mask::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url(../images/mask-value.png);
  background-size: 100%;
  background-position: top center;
  background-repeat: repeat;
  pointer-events: none;
  z-index: 1;
}

.core-value-mask::after {
  content: '';
  position: absolute;
  top: 200px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--primary);
  z-index: 0;
}

.core-value-mask > * {
  position: relative;
  z-index: 1;
}

/* News Section Mask - mask-solution.png: viền đen (scalloped) = cắt, vùng đỏ = hiển thị */

/* .news-section-mask {
    position: relative;
    -webkit-mask-image: url(../images/mask-solution.png);
    mask-image: url(../images/mask-solution.png);
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-position: top center;
    mask-position: top center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-mode: luminance;
    mask-mode: luminance;
}

.news-section-mask > * {
    position: relative;
    z-index: 1;
} */

/* Core Value title sticky: giữ lại khi section Review đè lên */

.core-value-title-sticky {
  /* background-color: var(--primary);
    margin-bottom: 1rem; */
}

/* ========================================================================
   REVIEW SECTION - Testimonials carousel
   ======================================================================== */

/* Review section: z-index 35 để luôn đè lên core-value (z-3); không cần position ở đây, dùng từ HTML */

.review-section {
  overflow: visible;
}

/* Decorative: left pagoda-like silhouette (dark gradient shape) */

.review-deco-pagoda {
  background: linear-gradient(105deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.08) 35%, transparent 60%);
  background-size: 100% 100%;
}

/* Decorative: right wave shape */

.review-deco-wave {
  background: linear-gradient(225deg, rgba(255,255,255,0.06) 0%, transparent 60%);
  border-radius: 40% 0 0 0;
}

/* Review carousel (vanilla JS, no BlazeSlider) */

.review-carousel {
  position: relative;
}

.review-track-container {
  overflow: hidden;
}

.review-track {
  display: flex;
  gap: 16px;
}

.review-carousel .review-slide > div {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Review pagination dots - active to nhất, gần active vừa, còn lại nhỏ */

.review-dots {
  font-size: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.review-dot {
  border-radius: 50%;
  transition: width 0.25s ease, height 0.25s ease, opacity 0.25s ease;
  background: #fff;
  flex-shrink: 0;
}

/* Nhỏ nhất: xa active */

.review-dot {
  width: 6px;
  height: 6px;
  opacity: 0.5;
}

/* Vừa: gần active (trái/phải) */

.review-dot.near-active {
  width: 8px;
  height: 8px;
  opacity: 0.85;
}

/* To nhất: active */

.review-dot.active {
  width: 10px;
  height: 10px;
  opacity: 1;
}

.review-slide:not(.active){
  opacity: .7;
}

/* ========================================================================
   COOKING ART SECTION - Nghệ thuật nấu ăn của Okini Food
   ======================================================================== */

.cooking-art-section {
  background-color: #FFF3D6;
}

/* Ảnh nền với opacity giảm để hòa với màu #FFF3D6 */

.cooking-art-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url(../images/bg-video.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.1;
  z-index: 0;
  pointer-events: none;
}

.cooking-art-section > * {
  position: relative;
  z-index: 1;
}

.cooking-art-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.cooking-art-video-wrap {
  position: relative;
}

.cooking-art-video-frame {
  display: block;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.cooking-art-video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
}

.cooking-art-play-btn {
  background: rgba(0, 0, 0, 0.15);
  transition: background 0.2s ease;
}

.cooking-art-video-frame:hover .cooking-art-play-btn {
  background: rgba(0, 0, 0, 0.2);
}

.cooking-art-video-frame:hover .cooking-art-play-btn span {
  transform: scale(1.05);
}

.cooking-art-play-button-inner {
  transition: transform 0.2s ease;
  position: relative;
  z-index: 10;
}

/* Halo trắng mờ xung quanh nút play */

.cooking-art-play-halo {
  position: absolute;
  content: '';
  top: -5%;
  left: -5%;
  width: 120%;
  height: 120%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  z-index: -1;
  pointer-events: none;
  transform: translate(-5%, -5%);
}

.cooking-art-play-halo-black {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: black;
  z-index: -1;
  pointer-events: none;
}

.cooking-art-video-frame:hover  .cooking-art-play-halo-black {
  background: #e1bd5f !important;
}

/* ========================================================================
   ART FOOD SECTION - Nghệ thuật chế biến
   ======================================================================== */

.art-food-section {
  /* background-color: #FFF3D6; */
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  /* Mask: bg-art.png tạo viền trang trí Seigaiha phía trên - dùng alpha mode để không làm mờ background */
  /* -webkit-mask-image: url(../images/bg-art.png);
    mask-image: url(../images/bg-art.png);
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-position: top center;
    mask-position: top center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-mode: alpha;
    mask-mode: alpha; */
}

.art-food-title {
  color: var(--primary);
  line-height: 1.2;
}

.art-food-btn {
  background-color: #1e3a5f;
  border-color: #3b82c8;
}

.art-food-btn:hover {
  border-color: #2563eb;
}

.art-food-card {
  transition: relative transform 0.25s ease, box-shadow 0.25s ease;
}

.des-art{
  height: 0;
  opacity: 0;
  transition: all 0.25s ease;
}

.art-food-card:hover .des-art {
  height: auto;
  opacity: 1;
  transition: all 0.25s ease;
}

.art-food-card:hover {
  /* transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2); */
}

/* Overlay: tối ảnh + gradient chuyển xuống nền đen */

.art-food-card-overlay {
  background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0) 20%,
        rgba(0, 0, 0, 1) 80%,
        rgba(0, 0, 0, 1) 100%
    );
  z-index: 0;
}

.art-food-card-label {
  /* background-color: #000; */
  /* min-height: 140px; */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  position: absolute;
  bottom: 0;
  left: 0;
}

/* ========================================================================
   PARTNER SECTION - Khách hàng & Đối tác
   ======================================================================== */

.partner-section {
  background-color: #ffffff;
}

.partner-title {
  color: var(--primary);
  line-height: 1.2;
}

.partner-row-wrap {
  width: 100%;
}

.partner-marquee {
  animation-duration: 30s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

/* Hàng 1: di chuyển từ trái sang phải (strip chạy sang phải) */

.partner-marquee-ltr {
  animation-name: partner-marquee-ltr;
}

@keyframes partner-marquee-ltr {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

/* Hàng 2: di chuyển từ phải sang trái (strip chạy sang trái) */

.partner-marquee-rtl {
  animation-name: partner-marquee-rtl;
}

@keyframes partner-marquee-rtl {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .partner-marquee {
    animation: none;
  }
}

.partner-item {
  /* height: 128px; */
  transition: box-shadow 0.2s ease;
}

/* .partner-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
} */

/* ========== Loading: ẩn sau 4s (JS thêm .loading-hidden) ========== */

.section-loading {
  transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.section-loading.loading-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* ========== Loading: icon lăn ngang theo mặt phẳng ========== */

.loading-logo-icon {
  width: 92px;
  height: 92px;
  /* Xoay quanh tâm → chỉ quay tại chỗ, không chúi xuống; tịnh tiến ngang = lăn trên mặt phẳng */
  transform-origin: center center;
  will-change: transform;
  animation: loading-logo-swing-spin 2s ease-in-out forwards;
}

@media (max-width: 767px) {
  .loading-logo-icon {
    width: 55px;
    height: 55px;
  }
}

@keyframes loading-logo-swing-spin {
  0%   {
    transform: translateX(calc(445px - 92px)) rotate(0deg);
  }

  100% {
    transform: translateX(0) rotate(-360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .loading-logo-icon {
    animation: none;
    transform: none;
  }
}

/* ========== Loading: logo full xuất hiện từ trái sang (mask width) ========== */

.logo-main {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.logo-main--reveal {
  -webkit-mask-image: linear-gradient(to right, black, black);
  mask-image: linear-gradient(to right, black, black);
  -webkit-mask-size: 0% 100%;
  mask-size: 0% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: left center;
  mask-position: left center;
  animation: logo-mask-reveal 1.2s ease-out 2s forwards;
}

@keyframes logo-mask-reveal {
  0% {
    -webkit-mask-size: 0% 100%;
    mask-size: 0% 100%;
  }

  100% {
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-main--reveal {
    animation: none;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
  }
}

/* ========== Loading: nhiều cánh hoa đào rơi xuống góc 45deg ========== */

.petals-fall {
  z-index: 1;
}

.petals-fall__petal {
  position: absolute;
  top: var(--top, -15%);
  right: var(--right, 50%);
  width: var(--size, 24px);
  height: var(--size, 24px);
  transform: rotate(0deg);
  animation: petal-fall-225 2s linear 3.2s forwards;
  will-change: transform;
}

@keyframes petal-fall-225 {
  0% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 1;
  }

  100% {
    /* 225deg: xuống trái (X âm, Y dương), quãng đường 1:1 */
    transform: translate(-110vmin, 110vmin) rotate(225deg);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .petals-fall__petal {
    animation: none;
    opacity: 1;
  }
}

/* Mobile: kích thước nhỏ, oval */

.section:not(.section-active) #heroZoomTarget {
  width: min(90vw, 400px);
  height: 230px;
  border-radius: 999px;
  animation: expandWidthMobile 1s ease-out forwards;
  transition: all 1s ease-out;
}

@keyframes expandWidthMobile {
  0% {
    width: 0;
    height: 0;
    border-radius: 0;
  }

  100% {
    width: min(90vw, 400px);
    height: 230px;
    border-radius: 999px;
  }
}

.section.section-active #heroZoomTarget {
  transition: all 1s ease-out;
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  border-radius: 0;
  animation: expandWidth2Mobile 1s ease-out forwards;
}

@keyframes expandWidth2Mobile {
  0% {
    width: min(90vw, 400px);
    height: 230px;
    border-radius: 999px;
  }

  100% {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
  }
}

/* Desktop (md+): 680x350 */

@media (min-width: 768px) {
  .section:not(.section-active) #heroZoomTarget {
    width: 680px;
    height: 350px;
    border-radius: 999px;
    animation: expandWidthDesktop 1s ease-out forwards;
  }

  @keyframes expandWidthDesktop {
    0% {
      width: 0;
      height: 0;
      border-radius: 0;
    }

    100% {
      width: 680px;
      height: 350px;
      border-radius: 999px;
    }
  }

  .section.section-active #heroZoomTarget {
    animation: expandWidth2Desktop 1s ease-out forwards;
  }

  @keyframes expandWidth2Desktop {
    0% {
      width: 680px;
      height: 350px;
      border-radius: 999px;
    }

    100% {
      width: 100vw;
      height: 100vh;
      border-radius: 0;
    }
  }
}

#heroPromo {
  transition-delay: 0s;
}

.section.section-active #heroPromo {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

.section:not(.section-active) #heroPromo {
  opacity: 0;
  transition: unset;
}

@media (max-width: 767px) {
  .section-story h2 br{
    display: none;
  }
}

/* Các thành phần cho Footer dùng chung all trang */

/* ========================================================================
   FOOTER.CSS - Footer Component Styles
   ======================================================================== */

/* ========================================================================
   @LAYER COMPONENTS - Footer Specific Components
   ======================================================================== */

.hover\:text-primary:hover {
  --tw-text-opacity: 1;
  color: rgb(4 120 87 / var(--tw-text-opacity, 1));
}

.hover\:-translate-y-4:hover {
  --tw-translate-y: -1rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.hover\:-rotate-3:hover {
  --tw-rotate: -3deg;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.hover\:rotate-3:hover {
  --tw-rotate: 3deg;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.hover\:border-blue-500:hover {
  --tw-border-opacity: 1;
  border-color: rgb(59 130 246 / var(--tw-border-opacity, 1));
}

.hover\:border-red-500:hover {
  --tw-border-opacity: 1;
  border-color: rgb(239 68 68 / var(--tw-border-opacity, 1));
}

.hover\:bg-\[\#8B1A1A\]:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(139 26 26 / var(--tw-bg-opacity, 1));
}

.hover\:bg-\[\#e1bd5f\]:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(225 189 95 / var(--tw-bg-opacity, 1));
}

.hover\:bg-\[\#f0e5b8\]:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(240 229 184 / var(--tw-bg-opacity, 1));
}

.hover\:bg-blue-50:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(239 246 255 / var(--tw-bg-opacity, 1));
}

.hover\:bg-primary:hover {
  background-color: var(--primary);
}

.hover\:bg-red-50:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(254 242 242 / var(--tw-bg-opacity, 1));
}

.hover\:text-blue-600:hover {
  --tw-text-opacity: 1;
  color: rgb(37 99 235 / var(--tw-text-opacity, 1));
}

.hover\:text-gray-600:hover {
  --tw-text-opacity: 1;
  color: rgb(75 85 99 / var(--tw-text-opacity, 1));
}

.hover\:text-primary:hover {
  color: var(--primary);
}

.hover\:text-red-600:hover {
  --tw-text-opacity: 1;
  color: rgb(220 38 38 / var(--tw-text-opacity, 1));
}

.hover\:text-white:hover {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.hover\:opacity-90:hover {
  opacity: 0.9;
}

.hover\:shadow-xl:hover {
  --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.focus\:border-red-500:focus {
  --tw-border-opacity: 1;
  border-color: rgb(239 68 68 / var(--tw-border-opacity, 1));
}

.focus\:border-transparent:focus {
  border-color: transparent;
}

.focus\:outline-none:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.focus\:ring-2:focus {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.focus\:ring-primary:focus {
  --tw-ring-color: var(--primary);
}

.focus\:ring-red-500:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(239 68 68 / var(--tw-ring-opacity, 1));
}

.focus-visible\:ring-2:focus-visible {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.focus-visible\:ring-primary:focus-visible {
  --tw-ring-color: var(--primary);
}

.focus-visible\:ring-offset-2:focus-visible {
  --tw-ring-offset-width: 2px;
}

.group:hover .group-hover\:-translate-x-\[14px\] {
  --tw-translate-x: -14px;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.group:hover .group-hover\:translate-x-\[14px\] {
  --tw-translate-x: 14px;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

@media (min-width: 640px) {
  .sm\:mx-0 {
    margin-left: 0px;
    margin-right: 0px;
  }

  .sm\:grid {
    display: grid;
  }

  .sm\:w-auto {
    width: auto;
  }

  .sm\:max-w-none {
    max-width: none;
  }

  .sm\:flex-shrink {
    flex-shrink: 1;
  }

  .sm\:snap-none {
    scroll-snap-type: none;
  }

  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sm\:overflow-visible {
    overflow: visible;
  }

  .sm\:p-6 {
    padding: 1.5rem;
  }

  .sm\:px-0 {
    padding-left: 0px;
    padding-right: 0px;
  }

  .sm\:py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .sm\:pb-0 {
    padding-bottom: 0px;
  }
}

@media (min-width: 768px) {
  .md\:absolute {
    position: absolute;
  }

  .md\:-top-10 {
    top: -2.5rem;
  }

  .md\:left-0 {
    left: 0px;
  }

  .md\:left-1\/2 {
    left: 50%;
  }

  .md\:top-1\/2 {
    top: 50%;
  }

  .md\:top-48 {
    top: 12rem;
  }

  .md\:top-60 {
    top: 15rem;
  }

  .md\:top-\[10\%\] {
    top: 10%;
  }

  .md\:top-\[20\%\] {
    top: 20%;
  }

  .md\:top-\[300px\] {
    top: 300px;
  }

  .md\:-mx-8 {
    margin-left: -2rem;
    margin-right: -2rem;
  }

  .md\:mx-0 {
    margin-left: 0px;
    margin-right: 0px;
  }

  .md\:mx-auto {
    margin-left: auto;
    margin-right: auto;
  }

  .md\:mb-12 {
    margin-bottom: 3rem;
  }

  .md\:mb-16 {
    margin-bottom: 4rem;
  }

  .md\:mb-6 {
    margin-bottom: 1.5rem;
  }

  .md\:block {
    display: block;
  }

  .md\:grid {
    display: grid;
  }

  .md\:hidden {
    display: none;
  }

  .md\:h-0 {
    height: 0px;
  }

  .md\:h-20 {
    height: 5rem;
  }

  .md\:h-40 {
    height: 10rem;
  }

  .md\:h-56 {
    height: 14rem;
  }

  .md\:h-\[120px\] {
    height: 120px;
  }

  .md\:h-\[128px\] {
    height: 128px;
  }

  .md\:h-\[220px\] {
    height: 220px;
  }

  .md\:h-\[260px\] {
    height: 260px;
  }

  .md\:h-\[350px\] {
    height: 350px;
  }

  .md\:w-\[270px\] {
    width: 270px;
  }
  .md\:h-\[432px\] {
    height: 432px;
  }

  .md\:min-h-\[600px\] {
    min-height: 600px;
  }

  .md\:w-1\/2 {
    width: 50%;
  }

  .md\:w-40 {
    width: 10rem;
  }

  .md\:w-\[28rem\] {
    width: 28rem;
  }

  .md\:w-\[300px\] {
    width: 300px;
  }

  .md\:w-\[340px\] {
    width: 340px;
  }

  .md\:w-\[350px\] {
    width: 350px;
  }

  .md\:w-\[400px\] {
    width: 400px;
  }

  .md\:w-\[445px\] {
    width: 445px;
  }

  .md\:w-\[570px\] {
    width: 570px;
  }

  .md\:w-\[680px\] {
    width: 680px;
  }

  .md\:w-auto {
    width: auto;
  }

  .md\:max-w-none {
    max-width: none;
  }

  .md\:flex-shrink {
    flex-shrink: 1;
  }

  .md\:-translate-x-1\/2 {
    --tw-translate-x: -50%;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  }

  .md\:-translate-y-1\/2 {
    --tw-translate-y: -50%;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  }

  .md\:scale-125 {
    --tw-scale-x: 1.25;
    --tw-scale-y: 1.25;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  }

  .md\:snap-none {
    scroll-snap-type: none;
  }

  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:flex-row {
    flex-direction: row;
  }

  .md\:gap-10 {
    gap: 2.5rem;
  }

  .md\:gap-6 {
    gap: 1.5rem;
  }

  .md\:gap-8 {
    gap: 2rem;
  }

  .md\:overflow-visible {
    overflow: visible;
  }

  .md\:bg-cover {
    background-size: cover;
  }

  .md\:bg-center {
    background-position: center;
  }

  .md\:p-6 {
    padding: 1.5rem;
  }

  .md\:p-8 {
    padding: 2rem;
  }

  .md\:px-0 {
    padding-left: 0px;
    padding-right: 0px;
  }

  .md\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .md\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .md\:py-24 {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .md\:pb-0 {
    padding-bottom: 0px;
  }

  .md\:pb-24 {
    padding-bottom: 6rem;
  }

  .md\:pl-8 {
    padding-left: 2rem;
  }

  .md\:pt-20 {
    padding-top: 5rem;
  }

  .md\:text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
  }

  .md\:text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }

  .md\:text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }

  .md\:text-5xl {
    font-size: 3rem;
    line-height: 1;
  }

  .md\:text-\[120px\] {
    font-size: 120px;
  }

  .md\:text-\[160px\] {
    font-size: 160px;
  }

  .md\:text-\[64px\] {
    font-size: 64px;
  }

  .md\:text-base {
    font-size: 1rem;
    line-height: 1.5rem;
  }

  .md\:text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }

  .md\:text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }

  .md\:text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }

  .md\:leading-\[1\.7\] {
    line-height: 1.7;
  }
}

@media (min-width: 1024px) {
  .lg\:mb-12 {
    margin-bottom: 3rem;
  }

  .lg\:mb-16 {
    margin-bottom: 4rem;
  }

  .lg\:mb-20 {
    margin-bottom: 5rem;
  }

  .lg\:block {
    display: block;
  }

  .lg\:flex {
    display: flex;
  }

  .lg\:hidden {
    display: none;
  }

  .lg\:h-20 {
    height: 5rem;
  }

  .lg\:h-64 {
    height: 16rem;
  }

  .lg\:h-8 {
    height: 2rem;
  }

  .lg\:w-20 {
    width: 5rem;
  }

  .lg\:w-8 {
    width: 2rem;
  }

  .lg\:w-\[32rem\] {
    width: 32rem;
  }

  .lg\:w-\[48\%\] {
    width: 48%;
  }

  .lg\:w-\[52\%\] {
    width: 52%;
  }

  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .lg\:flex-row {
    flex-direction: row;
  }

  .lg\:flex-row-reverse {
    flex-direction: row-reverse;
  }

  .lg\:items-center {
    align-items: center;
  }

  .lg\:justify-start {
    justify-content: flex-start;
  }

  .lg\:justify-end {
    justify-content: flex-end;
  }

  .lg\:justify-between {
    justify-content: space-between;
  }

  .lg\:gap-10 {
    gap: 2.5rem;
  }

  .lg\:gap-12 {
    gap: 3rem;
  }

  .lg\:gap-6 {
    gap: 1.5rem;
  }

  .lg\:gap-8 {
    gap: 2rem;
  }

  .lg\:p-6 {
    padding: 1.5rem;
  }

  .lg\:py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .lg\:py-24 {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .lg\:pb-24 {
    padding-bottom: 6rem;
  }

  .lg\:pb-48 {
    padding-bottom: 12rem;
  }

  .lg\:pt-24 {
    padding-top: 6rem;
  }

  .lg\:pt-48 {
    padding-top: 12rem;
  }

  .lg\:text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }

  .lg\:text-6xl {
    font-size: 3.75rem;
    line-height: 1;
  }

  .lg\:text-\[120px\] {
    font-size: 120px;
  }

  .lg\:text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
}

@media (min-width: 1280px) {
  .xl\:text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
}



