/* ==============================================
@font-face
============================================== */
@font-face {
  font-family: 'Material Icons';
  src: url('../webfonts/MaterialIcons-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.material-icons {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: normal;
  font-size: 2rem;
  /* 20px */
  line-height: 1;
  letter-spacing: normal;
  display: inline-block;
  white-space: nowrap;
  direction: ltr;
  font-feature-settings: 'liga';
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

@font-face {
  font-family: 'Title';
  src: url('../../fonts/Montserrat/static/Montserrat-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Title-ExtraBold';
  src: url('../../fonts/Montserrat/static/Montserrat-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Text';
  src: url('../../fonts/Montserrat/static/Montserrat-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Text-Medium';
  src: url('../../fonts/Montserrat/static/Montserrat-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ==============================================
1.0 - Root Variables
============================================== */
html {
  font-size: 62.5%;
  /* 1rem = 10px */
}

:root {
  /* Color Palette */
  --color-background: #ffffff;
  --color-surface-primary: #DA0011;
  --color-surface-secondary: #f5988d;
  --color-surface-tertiary: #F9F5F1;
  --color-dark: #111111;

  --color-text-primary: #222222;
  --color-text-secondary: #A6ADB1;
  --color-text-inverse: #FFFFFF;

  --color-accent: #111111;
  --color-accent-hover: #9d8f21;

  --color-border: #202435;
  --color-rating: #FFC107;
  --color-white: #FFFFFF;
  --color-black: #000000;

  /* Typography */
  --font-family-primary: 'Text', 'Montserrat', sans-serif;
  --font-family-title: 'Title', 'Montserrat', sans-serif;
  --font-family-title-extrabold: 'Title-ExtraBold', 'Montserrat', sans-serif;
  --font-family-text-medium: 'Text-Medium', 'Montserrat', sans-serif;


  --font-size-menu: 1.6rem;

  --font-size-h1: 3.5rem;
  /* 42px */
  --font-size-h2: 3rem;
  /* 42px */
  --font-size-h3: 1.4rem;
  /* 14px */
  --font-size-base: 1.6rem;
  /* 18px */

  --font-weight-regular: 400;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;

  --line-height-compact: 1;
  --line-height-h3: 1.8rem;
  /* 18px */

  --letter-spacing-none: 0rem;
  --letter-spacing-wide: 0.18rem;
  /* 1.8px */

  /* Layout */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2.5rem;
  --spacing-xxl: 3.5rem;

  --container-max-width: 136.6rem;
  /* 1366px */
  --container-padding-x: 1.5rem;
  --section-padding-y: var(--spacing-xxl);

  /* UI */
  --border-radius-sm: 0.4rem;
  --border-radius-md: 0.8rem;
  --border-radius-lg: 1.6rem;
  --border-radius-full: 50%;

  --box-shadow-subtle: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.05);
  --box-shadow-medium: 0 0.1rem 1.58rem rgba(0, 0, 0, 0.08);
  --text-shadow-custom: 0 4px 4px rgba(0, 0, 0, 0.25);
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.3s ease-in-out;
}

/* ==============================================
2.0 - Global Reset
============================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: var(--color-background);
  color: var(--color-text-primary);
  font-family: var(--font-family-primary);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-compact);
  letter-spacing: var(--letter-spacing-none);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ==============================================
3.0 - Typography
============================================== */
h1,
h2,
h3 {
  margin: 0;
  color: var(--color-text-primary);
}

h1 {
  font-family: var(--font-family-title-extrabold);
  font-size: var(--font-size-h1);
  font-weight: var(--font-weight-extrabold);
  line-height: var(--line-height-compact);
  letter-spacing: var(--letter-spacing-none);
}

h2 {
  font-family: var(--font-family-title);
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-compact);
  letter-spacing: var(--letter-spacing-none);
}

h3 {
  font-family: var(--font-family-title);
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-h3);
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
}

p {
  margin: 0 0 var(--spacing-md);
}

strong,
b {
  font-weight: var(--font-weight-bold);
  font-family: var(--font-family-title);
}


/* ==============================================
4.0 - Layout
============================================== */
.container,
.page-custom-wrapper {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding-x);
}

.section {
  padding-top: var(--section-padding-y);
  padding-left: var(--spacing-lg);
  padding-right: var(--spacing-lg);
}

/* ==============================================
5.0 - Utility Classes
============================================== */
.text-center {
  text-align: center;
}

.text-uppercase {
  text-transform: uppercase;
}

a {
  text-decoration: none;
  color: var(--color-text-primary);
}

/* ==============================================
6.0 - To Top Button
============================================== */
.to-top {
  position: fixed;
  right: 1.8rem;
  bottom: 2.2rem;
  width: 4.4rem;
  height: 4.4rem;
  border-radius: var(--border-radius-md);
  border: none;
  display: grid;
  place-items: center;
  font-size: 2rem;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  box-shadow: 0 0.6rem 1.8rem rgba(0, 0, 0, 0.25);
  cursor: pointer;
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 9999;
}

.to-top.show {
  opacity: 1;
  transform: translateY(0);
}

.to-top:hover,
.to-top:focus {
  transform: translateY(-0.3rem);
  background: var(--color-surface-primary);
}

/* ==============================================
7.0 - Responsive
============================================== */
@media (max-width: 768px) {
  h1 {
    font-size: 3.6rem;
  }

  h2 {
    font-size: 3.2rem;
  }

  .section {
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 2.4rem;
  }

  .to-top {
    right: 1.2rem;
    bottom: 1.6rem;
    width: 4rem;
    height: 4rem;
    font-size: 1.8rem;
  }
}

/*
================================================================
  PAGE HERO SECTION STYLES (vá»›i Breadcrumb)
================================================================
*/

/* --- 1. Container chÃ­nh cá»§a Section --- */
.page-hero-section {
  position: relative;
  /* Báº¯t buá»™c Ä‘á»ƒ Ä‘á»‹nh vá»‹ cho lá»›p phá»§ */
  background-size: cover;
  background-position: center;
  background-color: var(--color-dark, #111111);
  /* MÃ u ná»n dá»± phÃ²ng */
  padding: 8rem 0;
  color: var(--color-text-inverse, #FFFFFF);
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* --- 2. Lá»›p phá»§ tá»‘i --- */
.page-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(25, 25, 35, 0.65);
  /* Lá»›p phá»§ mÃ u tá»‘i */
  z-index: 1;
}

/* --- 3. Container ná»™i dung (chá»¯) --- */
/* Pháº£i náº±m trÃªn lá»›p phá»§ */
.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  /* Giá»›i háº¡n chiá»u rá»™ng cá»§a tiÃªu Ä‘á» */
  padding: 0 var(--container-padding-x);
}


/*
----------------------------------------------------------------
CSS tÃ¹y chá»‰nh cho hÃ m cat_breadcrumbs()
----------------------------------------------------------------
*/

/* Container chÃ­nh do hÃ m PHP táº¡o ra */
.breadcrumb-style {
  margin-bottom: var(--spacing-md, 1rem);
}

/* Bá» cÃ¡c style khÃ´ng cáº§n thiáº¿t bÃªn trong */
.breadcrumb-style .wraper-content-bread,
.breadcrumb-style .container {
  padding: 0;
  margin: 0;
  max-width: none;
}

/* Style cho danh sÃ¡ch ul#crumbs */
.breadcrumb-style ul#crumbs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
  /* GiÃºp cÃ¡c má»¥c náº±m trÃªn 1 hÃ ng */
  align-items: center;
  font-size: 1.6rem;
  font-family: var(--font-family-primary);
  margin-bottom: 2rem;
}

/* Style cho cÃ¡c link vÃ  dáº¥u phÃ¢n cÃ¡ch */
.breadcrumb-style ul#crumbs a,
.breadcrumb-style ul#crumbs .delimiter {
  color: var(--color-text-inverse, #FFFFFF);
  text-decoration: none;
  transition: opacity var(--transition-fast);
  font-size: 1.8rem;
  font-family: var(--font-family-text-medium);
}

.breadcrumb-style ul#crumbs a:hover {
  opacity: 1;
}

/* Style cho trang hiá»‡n táº¡i */
.breadcrumb-style ul#crumbs .current {
  color: var(--color-text-inverse, #FFFFFF);
  font-family: var(--font-family-text-medium);
  font-size: 1.8rem;
}


/* --- 5. TiÃªu Ä‘á» chÃ­nh cá»§a trang --- */
.page-hero-title {
  /* Káº¿ thá»«a tá»« h1 global nhÆ°ng ghi Ä‘Ã¨ má»™t vÃ i thuá»™c tÃ­nh */
  font-family: var(--font-family-title-extrabold, 'Montserrat', sans-serif);
  font-size: 4.2rem;
  /* Lá»›n hÆ¡n h1 má»™t chÃºt */
  text-transform: uppercase;
  line-height: 1.2;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  color: var(--color-white);
}

/* --- 6. Responsive --- */
@media (max-width: 768px) {
  .page-hero-section {
    padding: 6rem 0;
  }

  .page-hero-title {
    font-size: 3.2rem;
  }
}


.main-image-container {
  position: relative;
  background-color: var(--color-surface-tertiary);
  border-radius: var(--border-radius-md);
  margin-bottom: var(--spacing-md);
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.main-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/*
==============================================
9.0 - Component: Quick View Modal (REFACTORED)
==============================================
*/

.quick-view-overlay,
#quick-view-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9998;
}

#quick-view-modal {
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-lg);
  z-index: 999999999;
}

.quick-view-content {
  background-color: var(--color-white);
  width: 100%;
  max-width: 1200px;
  max-height: 90vh;
  position: relative;
  box-shadow: var(--box-shadow-medium);
  border-radius: var(--border-radius-md);
  /* Transition effect */
  transform: scale(0.95);
  transition: transform var(--transition-smooth);
}

#quick-view-modal.is-visible .quick-view-content {
  transform: scale(1);
}

.section-modal,
.search {
  display: none;
}

.search-spinner {
  margin: 40px auto;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #333;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

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

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



.modal-all {
  display: flex;
  width: 100%;
  height: 100%;
  max-height: 90vh;
}

.quick-view-close {
  position: absolute;
  top: var(--spacing-lg);
  right: var(--spacing-lg);
  cursor: pointer;
  z-index: 10;
  font-family: 'Material Icons';
  font-size: 28px;
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
}

.quick-view-close:hover {
  color: var(--color-text-primary);
}

.modal-img {
  flex: 0 0 50%;
  padding: var(--spacing-xl);
  border-right: 1px solid var(--color-border);
}

.product-gallery {
  display: flex;
  height: 100%;
}

.main-image-container {
  position: relative;
  background-color: var(--color-surface-tertiary);
  border-radius: var(--border-radius-md);
  margin-bottom: var(--spacing-md);
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.main-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-thumbnails {
  display: flex;
}

.thumb {
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: border-color var(--transition-fast);
  width: 95px;
  height: 95px;
  object-fit: cover;
}

.modal-content {
  flex: 0 0 50%;
  padding: var(--spacing-xl);
  position: relative;
  overflow-y: auto;
}

.modal-content h2 {
  font-size: var(--font-size-h3);
  margin-bottom: var(--spacing-sm);
  color: var(--color-accent-hover);
}

.modal-product-price {
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-medium);
  color: var(--color-accent);
  margin-bottom: var(--spacing-md);
  font-family: var(--font-family-title);
}

.stock-info-wrapper .stock.in-stock {
  color: #008000;
  font-weight: var(--font-weight-medium);
  margin-bottom: var(--spacing-lg);
  display: none;
}

.modal-content .woocommerce-product-details__short-description {
  margin-bottom: var(--spacing-lg);
  line-height: var(--line-height-base);
}

.variation-wrapper {
  margin-bottom: var(--spacing-lg);
}

.variation-label {
  display: block;
  font-weight: var(--font-weight-medium);
  margin-bottom: var(--spacing-sm);
  text-transform: capitalize;
}

.size-selector {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.size-option {
  border: 1px solid var(--color-border);
  background: transparent;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: var(--font-size-sm);
  text-transform: uppercase;
}

.size-option:hover {
  border-color: var(--color-accent-hover);
}

.size-option.active {
  background-color: var(--color-accent-hover);
  color: var(--color-white);
  border-color: var(--color-accent-hover);
}

.add__to__cart {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: var(--spacing-md);
  margin-top: var(--spacing-xl);
}

.qodef-quantity-selector {
  display: flex;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-sm);
}

.qodef-quantity-selector .qodef-quantity-button,
.qodef-quantity-selector input {
  background: transparent;
  border: none;
  text-align: center;
}

.qodef-quantity-selector .qodef-quantity-button {
  width: 24px;
  cursor: pointer;
  border-radius: 50%;
  height: 24px;
  color: #fff;
  background: #AFAFAF;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qodef-quantity-selector input {
  width: 40px;
  font-weight: var(--font-weight-medium);
  -moz-appearance: textfield;
}

.qodef-quantity-selector input::-webkit-outer-spin-button,
.qodef-quantity-selector input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.add_to_cart.button {
  width: 100%;
  background-color: var(--color-accent-hover);
  color: var(--color-white);
  border: none;
  height: 48px;
  border-radius: var(--border-radius-sm);
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  transition: background-color var(--transition-fast);
  text-transform: uppercase;
  font-size: var(--font-size-sm);
}

.add_to_cart.button:hover {
  background-color: var(--color-accent-hover);
}

/* Spinner Loading */
.quick-view-spinner {
  border: 4px solid var(--color-border);
  border-top-color: var(--color-accent);
  border-radius: var(--border-radius-full);
  width: 40px;
  height: 40px;
  animation: spin 0.8s linear infinite;
  margin: var(--spacing-xxl) auto;
}

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

/* 
----------------------------------------------
Responsive for Quick View
----------------------------------------------
*/
@media (max-width: 768px) {
  .modal-all {
    flex-direction: column;
    /* Cho phÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â©p toÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â n bÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¾Ãƒâ€šÃ‚Â¢ modal cÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â³ thÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ cuÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¾Ãƒâ€šÃ‚Â¢n */
    overflow-y: auto;
  }

  /* BÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â giÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Âºi hÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂºÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡n chiÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Âu cao vÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â  thanh cuÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¾Ãƒâ€šÃ‚Â¢n riÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Âªng cÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â§a tÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â«ng phÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂºÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â§n */
  .modal-img,
  .modal-content {
    flex: 1 1 auto;
    width: 100%;
    max-height: none;
    /* BÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â giÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Âºi hÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂºÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡n chiÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Âu cao */
    overflow-y: visible;
    /* BÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â thanh cuÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¾Ãƒâ€šÃ‚Â¢n riÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Âªng */
  }

  .modal-img {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    padding: var(--spacing-lg);
  }

  .product-gallery {
    flex-direction: column-reverse;
  }

  .product-thumbnails {
    flex-shrink: 0;
    padding-top: var(--spacing-md);
  }

  .modal-content {
    padding: var(--spacing-lg);
  }

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


/* ========================================= */
/*        WOOO DETAIL  */
/* ========================================= */

.product-grid .product-card {


  /* 4 columns on desktop */

  transition: all .3s;

  box-shadow: 0px -1px 1px var(--color-accent-hover);

  border-radius: var(--border-radius-lg);

  background: var(--color-white);
}

.product-card {}

.product-card {
  text-align: left;
  padding: var(--spacing-md);
}

.product-grid .product-card:hover {
  box-shadow: 0 8px 20px var(--color-accent-hover);
}

/* --- Image and Hover Effects Section --- */
.product-card__image-wrapper {
  position: relative;
  /* Important for positioning child buttons */

  /* Light background color for the image */
  border-radius: var(--border-radius-md);
  overflow: hidden;
  /* Hide overflowing child elements */
  margin-bottom: var(--spacing-md);
}

.product-card__image-wrapper img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  /* Ensure the image is always square */
  object-fit: contain;
  /* Display the entire product, without cropping */
  transition: transform var(--transition-smooth);
}

/* Dark overlay on hover */
.product-card__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  /* Hidden by default */
  transition: opacity var(--transition-smooth);
}

/* Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: 50px;
  font-family: var(--font-family-primary);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition-smooth);
  border: 1px solid;
}

.btn--primary {
  background-color: var(--color-accent-hover);
  color: var(--color-white);
  padding-left: var(--spacing-lg);
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(248, 108, 125, 0.4);
  background: var(--color-accent);
}

a.btn.btn--primary:hover .btn__icon-wrapper .material-icons {
  transform: rotate(0);
}

.btn__icon-wrapper {
  background-color: var(--color-white);
  color: var(--color-accent-hover);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.btn__icon-wrapper .material-icons {
  font-size: 20px;
  transform: rotate(-45deg);
  transition: all .3s;
}

/* Quick View Button */
.btn--quick-view {
  background-color: var(--color-accent-hover);
  color: var(--color-white);
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: var(--border-radius-sm);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  /* Slide up effect */
  transition: all var(--transition-smooth);
  border: 1px solid var(--color-accent);
  text-align: center;
  display: flex;
  justify-content: center;
  align-content: center;
}

.btn--quick-view:hover {
  background: var(--color-accent);
  color: var(--color-white);
  border: 1px solid var(--color-white);
}

.btn--quick-view .material-icons {
  font-size: 18px;
}

/* Wishlist Button */
.btn--wishlist {
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-full);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  /* Hidden by default */
  transform: translateX(20px);
  /* Slide in effect */
  transition: all var(--transition-smooth);
}

.btn--wishlist .material-icons {
  font-size: 20px;
}

/* --- Activate Hover Effects on Image --- */
.product-card__image-wrapper:hover .product-card__overlay {
  opacity: 1;
}

.product-card__image-wrapper:hover .btn--quick-view {
  transform: translateY(0);
}

.product-card__image-wrapper:hover .btn--wishlist {
  opacity: 1;
  transform: translateX(0);
}

.product-card__image-wrapper:hover img {
  transform: scale(1.05);
  /* Slight image scale */
}

.product-card__title {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-normal);
  margin-bottom: var(--spacing-xs);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  /* GiÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Âºi hÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂºÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡n 2 dÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â²ng */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4em;
  /* chÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â°nh line-height cho ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¾ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¹ÃƒÆ’Ã¢â‚¬Â¦ÃƒÂ¢Ã¢â€šÂ¬Ã…â€œÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂºÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¹p */
  max-height: 2.8em;
  /* line-height * sÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¹ÃƒÆ’Ã¢â‚¬Â¦ÃƒÂ¢Ã¢â€šÂ¬Ã…â€œ dÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â²ng */
}

h3.product-card__title a {
  transition: all .3s;
  display: block;
}

.product-card__info {
  background: #fff6e8;
  padding: var(--spacing-md);
  border-radius: var(--border-radius-md);
}

.product-card__info:hover .product-card__title {
  color: var(--color-accent-hover);
}

.product-card__title a:hover {
  color: var(--color-accent);
}

/* Display star rating */
.product-card__rating {
  margin-bottom: var(--spacing-xs);
}

.star-rating {
  font-size: 0.9em;
  color: var(--color-rating);
}

.product-card__price {
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-medium);
  color: var(--color-accent-hover);
  font-family: var(--font-family-title);
}

/* Add to Cart Button */
.product-card__actions .button {
  width: 100%;
  text-align: center;
  background-color: transparent;
  color: var(--color-text-primary);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-sm);
  padding-top: var(--spacing-md);
  padding-bottom: var(--spacing-md);
  font-weight: var(--font-weight-medium);
}

.product-card__actions .button:hover {
  background-color: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}


/* ========================================= */
/*        WOOO DETAIL  */
/* ========================================= */
.easyzoom.easyzoom--overlay {
  height: 100%;
}

.easyzoom-flyout img {
  max-width: none;
  max-height: none;
  width: auto;
  height: auto;
}

.product-gallery {
  display: flex;
  width: 45%;
  gap: 10px;
  max-height: 419px;
}

.modal-img .product-gallery {
  width: 100%;
}

.wraper-content-product,
.page-custom-wrapper {
  margin: 0 auto;
  background: #F5F5F5;
  padding: 6rem 0;
  padding-bottom: 0;
}

.page-custom-wrapper.woocus {
    max-width: 155.2rem;
    padding: 4rem var(--container-padding-x)!important;
    background: #fff;
    padding: 6rem 0;
}

.page-custom-wrapper.woocus h1, .page-custom-wrapper.woocus h2 {
    font-size: 24px;
}

.woocommerce-MyAccount-content {
    margin-bottom: 4rem;
}

.page-content {
  padding-bottom: 3rem;
}

.page-custom-wrapper .wp-block-list {
  list-style: none;
}

.wraper-content-product .product {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.wraper-content-product .product .summary {
  width: 54%;
}

.summary h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.summary p {
  font-size: 16px;
  color: #555;
}

.product-thumbnails {
  display: flex;
  flex: .25;
  flex-direction: column;
  gap: 10px;
}

.product-thumbnails img {
  height: 6rem;
  object-fit: cover;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 6px;
  transition: all 0.2s;
}

.product-thumbnails img.active {
  border-color: var(--color-surface-primary);
}

.main-image-container {
  position: relative;
  flex: 1.2;
  background: #fff;
}

#mainImage,
#quickViewMainImage {
  width: 100%;
  display: block;
  border-radius: 8px;
}

#lens,
#quickViewLens {
  position: absolute;
  border: 2px solid #ccc;
  border-radius: 50%;
  width: 150px;
  height: 150px;
  display: none;
  cursor: none;
  background-repeat: no-repeat;
  background-size: 200% 200%;
  pointer-events: none;
}

.single-policy strong,
.single-policy li {
  font-size: var(--font-size-sm);
}

/* ========================================= */
/*        END PRODUCT DETAIL  */
/* ========================================= */




/* ========================================= */
/*       SOFINE - CUSTOM SWATCH STYLES       */
/* ========================================= */
/* Hide the original WooCommerce dropdown */
.variations_form select.is-hidden {
  display: none !important;
}

.variations {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.sofine-swatch-group {
  width: 34%;
}

.sofine-swatch-group {
  margin-bottom: 25px;
}

.swatch-label-wrapper {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-size: 15px;
}

.swatch-label {
  color: #111;
  font-weight: 500;
  text-transform: uppercase;
  margin-right: 8px;
}

.swatch-selection {
  color: #555;
  font-weight: 400;
}

.swatches {
  display: flex;
  gap: 10px;
}

.swatch {
  border: 1px solid #ccc;
  padding: 0;
  margin: 0;
  cursor: pointer;
  background-color: #fff;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.swatch:hover {
  border-color: var(--color-accent-hover);
}

.swatch.selected {
  border-color: #111;
  border-width: 2px;
}

/* Style for TEXT swatches (e.g., Size) */
.swatch-text {
  min-width: 45px;
  height: 45px;
  padding: 5px 15px;
  border-radius: 5px;
  font-size: 15px;
  text-transform: uppercase;
}

.swatch-text.selected {
  background-color: var(--color-accent-hover);
  color: #fff;
  box-shadow: 0 2px 5px var(--color-accent-hover);
  border-color: var(--color-accent-hover);
}

/* Style for COLOR swatches */
.swatch-color {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.swatch-color.selected {
  padding: 2px;
  border-width: 1px;
  border-color: var(--color-accent-hover);
  box-shadow: 0 2px 5px var(--color-accent-hover);
}

/* ========================================= */
/*       WOOCOMMERCE - ADD TO CART STYLING   */
/* ========================================= */
/* --- Variation information container --- */
.woocommerce-variation.single_variation {
  border-bottom: 1px solid #f0f0f0;
}

.woocommerce-variation-price .price {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-accent-hover);
  margin-bottom: 8px;
  display: block;
}

.woocommerce-variation-availability .stock {
  font-size: 15px;
  color: #555;
  margin-bottom: 15px;
  display: none;
}

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

.single_variation_wrap>div {
  width: 34%;
}

.policy-product {
  padding: 1rem 2rem;
  background: #dedede;
  border-bottom-left-radius: 7px;
  border-bottom-right-radius: 7px;
  padding-bottom: 1rem;
}

.policy-product ul {
  list-style: none;
}

.policy-product h4 {
  margin: 0;
}

.guaranteed {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #dedede;
  padding: 0 2rem;
  margin-top: var(--spacing-md);
}

.guaranteed h3 {
  font-size: var(--font-size-sm);
}

/* --- Layout for Button & Quantity row --- */
.woocommerce-variation-add-to-cart {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* --- Style for quantity input field --- */
.quantity {
  display: flex;
  border: none;
  border-radius: 5px;
  flex-grow: 1;
  min-width: 100%;
  margin-bottom: 2rem;
}

/* Hide default browser up/down arrows */
.quantity input[type=number]::-webkit-inner-spin-button,
.quantity input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.quantity input[type=number] {
  -moz-appearance: textfield;
}

/* Display the number */
.quantity .input-text.qty {
  width: 80px;
  text-align: center;
  padding: 0 5px;
  font-size: 16px;
  color: var(--color-text-primary);
  font-family: var(--font-family-title);
}

.quantity .input-text.qty:focus {
  outline: none;
  box-shadow: none;
}

/* Quantity Increment/Decrement Buttons (if your theme has them) */
.quantity .plus,
.quantity .minus {
  width: 35px;
  height: 48px;
  background-color: #f9f9f9;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: #555;
  padding: 0;
  transition: background-color 0.2s;
}

.quantity .plus:hover,
.quantity .minus:hover {
  background-color: #f0f0f0;
}

/* --- "Add to Cart" Button --- */
.woocommerce-variation-add-to-cart .single_add_to_cart_button {
  flex-grow: 1;
  background-color: var(--color-accent-hover);
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.3s;
  height: 50px;
  line-height: 1;
  width: fit-content;
  text-transform: uppercase;
}

.woocommerce-variation-add-to-cart .single_add_to_cart_button:hover {
  background-color: var(--color-accent-hover);
}

.woocommerce-variation-add-to-cart-disabled .single_add_to_cart_button {
  background-color: #999;
  cursor: not-allowed;
}

/* --- SKU & Category --- */
.product_meta {
  margin-top: 25px;
  font-size: 14px;
  color: #333;
}

.product_meta>span {
  display: block;
  margin-bottom: 5px;
}

.product_meta .sku_wrapper {
  font-weight: 600;
  color: #333;
}

.product_meta a {
  color: #333;
  text-decoration: underline;
}

.breadcrumb-style,
.woocommerce-breadcrumb {
  padding: 1rem 0;
  font-size: 14px;
}

/* --- Mobile Responsive --- */
@media (max-width: 576px) {
  .woocommerce-variation-add-to-cart {
    flex-direction: column;
    align-items: stretch;
  }

  .quantity {
    justify-content: center;
  }
}

/* Tabs container */
.woocommerce-tabs {
  width: 100%;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* Tabs nav */
.woocommerce-tabs .tabs {
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce-tabs .tabs li {
  margin: 0 15px;
}



/* Panel content */
.woocommerce-Tabs-panel {
  font-size: 1.6rem;
  line-height: 1.6;
  color: #333;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  margin-bottom: var(--spacing-xl);
}

.woocommerce-Tabs-panel>h2 {
  display: none;
}

/* Additional Information table */
.woocommerce-product-attributes {
  border-collapse: collapse;
  width: 100%;
  margin-top: 10px;
}

.woocommerce-product-attributes th,
.woocommerce-product-attributes td {
  border: 1px solid #e5e5e5;
  padding: 12px 15px;
  font-size: 14px;
}

.woocommerce-product-attributes th {
  font-weight: 600;
  color: #333;
  width: 25%;
}

/* ================================================= */
/*          WOOCOMMERCE REVIEW SECTION (GROUPED STARS STYLE)       */
/* ================================================= */

#reviews {
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
}

#reviews h2.woocommerce-Reviews-title,
#reviews .comment-reply-title {
  display: none;
}

#reviews p.woocommerce-noreviews {
  font-size: 15px;
  color: #777;
  margin-bottom: 20px;
  margin-top: 0;
}

/* ========== Rating Stars ========== */
#reviews .comment-form-rating {
  margin: 15px 0 20px;
}

#reviews .comment-form-rating label {
  font-weight: 600;
  margin-bottom: 12px;
  display: block;
}

/* --- GROUPED STAR RATING STYLING --- */

/* Main container for star groups */
#reviews .stars {
  display: flex;
  align-items: center;
  gap: 15px;
  /* Spacing between the groups */
}

/* Hide the default text like "3 of 5 stars" */
#reviews .stars a {
  font-size: 0;
  /* This hides the text */
  text-decoration: none;
  position: relative;
  padding-right: 15px;
  /* Space for the separator */
}

/* Create the vertical separator line after each group */
#reviews .stars a:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 6px;
  top: -20px;
  width: 1px;
  height: 20px;
  background-color: #e0e0e0;
}

/* Style the star icons for EACH rating level using ::before */
#reviews .stars a::before {
  font-family: 'Material Icons';
  font-size: 22px;
  /* Adjust star size if needed */

  /* Default empty star color */
  cursor: pointer;
  transition: color 0.2s ease;
}

/* Define the number of stars for each link (group) */
.stars a.star-1::before {
  content: 'star';
}

.stars a.star-2::before {
  content: 'star star';
}

.stars a.star-3::before {
  content: 'star star star';
}

.stars a.star-4::before {
  content: 'star star star star';
}

.stars a.star-5::before {
  content: 'star star star star star';
}

/* On hover or when active, change the content to FILLED stars and update color */
.stars a.star-1:hover::before,
.stars a.star-1.active::before {
  content: 'star';
  color: #d97e4a;
}

.stars a.star-2:hover::before,
.stars a.star-2.active::before {
  content: 'star star';
  color: #d97e4a;
}

.stars a.star-3:hover::before,
.stars a.star-3.active::before {
  content: 'star star star';
  color: #d97e4a;
}

.stars a.star-4:hover::before,
.stars a.star-4.active::before {
  content: 'star star star star';
  color: #d97e4a;
}

.stars a.star-5:hover::before,
.stars a.star-5.active::before {
  content: 'star star star star star';
  color: #d97e4a;
}

/* When any link is hovered or active, switch its font to the filled version */
#reviews .stars a:hover::before,
#reviews .stars a.active::before {
  font-family: 'Material Icons';
}


/* ========== Input Fields ========== */
#reviews textarea,
#reviews input[type="text"],
#reviews input[type="email"] {
  width: 100%;
  padding: 12px 14px;
  margin-top: 6px;
  margin-bottom: 18px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#reviews textarea:focus,
#reviews input[type="text"]:focus,
#reviews input[type="email"]:focus {
  border-color: #111;
  box-shadow: 0 0 0 2px rgba(17, 17, 17, 0.15);
  outline: none;
}

#reviews label {
  font-size: 14px;
  font-weight: 600;
  color: #444;
}

/* Checkbox */
#reviews .comment-form-cookies-consent {
  font-size: 13px;
  color: #555;
  display: flex;
  align-items: center;
  gap: 8px;
}

#reviews .comment-form-cookies-consent input {
  width: auto;
  margin: 0;
}

/* ========== Submit Button ========== */
#reviews .form-submit input[type="submit"] {
  background: var(--color-accent);
  color: #fff;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.1s ease;
}

#reviews .form-submit input[type="submit"]:hover {
  background: #333;
}

#reviews .form-submit input[type="submit"]:active {
  transform: scale(0.97);
}

/* Flash list icons */
.home-product-flash-btn {
  opacity: 0;
  transition: all ease .3s;
  position: absolute;
  left: 50%;
  bottom: 0;
  background: #fff;
  width: 100%;
  height: 120px;
}

.home-product-flash-btn li span {
  font-size: 30px;
}

.home-product-flash-btn ul {
  align-items: center;
  width: 70%;
  display: flex;
  justify-content: space-between;
  height: 100%;
  margin: 0 auto;
  list-style: none;
  text-align: center;
}

.home-product-flash-btn ul li {
  margin-right: 32px;
  width: 100%;
}

.home-product-flash-btn ul li:hover {
  cursor: pointer;
}

.home-product-flash-btn ul li:last-child {
  margin-right: 0;
}

.product-card:hover .home-product-flash-btn {
  transform: translate(-50%, 0);
  opacity: 1;
}

.product_title.entry-title {
  font-size: var(--font-size-h3);
  color: var(--color-accent-hover);
}

.product-grid,
.products-loop,
.home-product-gird {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1366px;
  padding: 0;
  margin: 0;
}

.woocommerce-pagination .page-numbers {
  display: flex;
  justify-content: center;
  list-style: none;
}

.woocommerce-pagination {
  margin-bottom: 2rem;
  margin-top: 2rem;
}

.woocommerce-products-header__title {
  font-size: var(--font-size-h2);
  margin-top: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.wc-block-cart__submit-container,
.wp-block-woocommerce-checkout-actions-block .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button {
  background: var(--color-surface-primary);
  color: var(
  --color-white);
  border: 1px solid transparent;
}

.wc-block-cart__submit-container:hover,
.wp-block-woocommerce-checkout-actions-block .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button:hover {
  background: var(--color-surface-primary);
  color: var(
  --color-accent);
  border: 1px solid var(
  --color-surface-primary);
}

.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button:hover .wc-block-components-checkout-place-order-button__text {
  color: var(--color-accent-hover);
}

.wc-block-components-title.wc-block-components-title,
.wc-block-components-totals-item__label {
  color: var(--color-surface-primary);
}

.wc-block-components-checkout-place-order-button__text {
  font-size: var(--font-size-sm);
  font-family: var(--font-family-primary);
}

/* ========================================= */
/*      RESPONSIVE CSS FOR PRODUCT DETAIL    */
/* ========================================= */
@media (max-width: 1200px) {

  .wraper-content-product,
  .page-custom-wrapper {
    width: 95%;
  }

  .wraper-content-product .product {
    gap: 30px;
  }

  .product-gallery {
    width: 48%;
  }

  .wraper-content-product .product .summary {
    width: 48%;
  }

  .summary h2 {
    font-size: 22px;
  }

  .summary p {
    font-size: 15px;
  }

  .woocommerce-variation-price .price {
    font-size: 22px;
  }

  .sofine-swatch-group {
    width: 100%;
  }

  .woocommerce-variation-add-to-cart .single_add_to_cart_button {
    font-size: 15px;
    padding: 13px;
  }

  .woocommerce-tabs .tabs li {
    margin: 0 10px;
  }

  .woocommerce-tabs .tabs li a {
    font-size: 12px;
  }

  .woocommerce-Tabs-panel {
    padding: 1.5rem;
  }

  .woocommerce-product-attributes th,
  .woocommerce-product-attributes td {
    font-size: 13px;
    padding: 10px 12px;
  }

  .related .products {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
  }

  .product-grid,
  .products-loop,
  .blog-posts,
  .home-product-gird {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    max-width: unset;
  }

}

@media (max-width: 992px) {
  .wraper-content-product .product {
    flex-direction: column;
    align-items: center;
  }

  .product-gallery,
  .wraper-content-product .product .summary {
    width: 100%;
    max-width: 600px;
    margin-bottom: 30px;
    flex-direction: column-reverse;
  }

  .summary {
    text-align: center;
    padding: 0 15px;
  }

  .product-thumbnails {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 15px;
    height: auto;
  }

  .product-thumbnails img {
    width: 60px;
    height: 80px;
  }

  .main-image-container {
    width: 100%;
  }

  .woocommerce-tabs {
    margin-top: 3rem;
  }

  .woocommerce-tabs .tabs {
    flex-wrap: wrap;
    justify-content: center;
  }

  .woocommerce-tabs .tabs li {
    margin-bottom: 10px;
  }

  .product_meta {
    text-align: center;
  }

  .sofine-swatch-group,
  .single_variation_wrap>div {
    text-align: center;
    width: 100%;
  }

  .swatches {
    justify-content: center;
  }

  .single_variation_wrap {
    justify-content: center;
  }

  .related .products {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 700px;
  }

  .related .products li {
    margin: 0;
  }
}

@media (max-width: 768px) {

  .product-grid,
  .products-loop,
  .blog-posts,
  .home-product-gird {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
  }

  .wraper-content-product,
  .page-custom-wrapper {
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .summary h2 {
    font-size: 20px;
  }

  .summary p {
    font-size: 14px;
  }

  .woocommerce-variation-price .price {
    font-size: 20px;
  }

  .swatch-label-wrapper {
    font-size: 14px;
    justify-content: center;
  }

  .swatch-text {
    min-width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .swatch-color {
    width: 28px;
    height: 28px;
  }

  .quantity .input-text.qty {
    width: 40px;
    height: 45px;
    font-size: 14px;
  }

  .quantity .plus,
  .quantity .minus {
    width: 30px;
    height: 43px;
    font-size: 16px;
  }

  .woocommerce-variation-add-to-cart .single_add_to_cart_button {
    font-size: 14px;
    padding: 12px;
    height: 45px;
  }

  .breadcrumb-style {
    padding: 0.8rem 15px;
    font-size: 13px;
  }

  .blog-posts {
    padding: 0 1rem;
  }

  .related .products {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
  }
}

@media (max-width: 576px) {
  .woocommerce-variation-add-to-cart {
    flex-direction: column;
    align-items: stretch;
  }

  .quantity {
    justify-content: center;
    margin-bottom: 15px;
  }

  .woocommerce-variation-add-to-cart .single_add_to_cart_button {
    width: 100%;
  }

  .product-thumbnails img {
    width: 50px;
    height: 70px;
  }

  .summary h2 {
    font-size: 18px;
  }

  .summary p {
    font-size: 13px;
  }

  .woocommerce-variation-price .price {
    font-size: 18px;
  }

  .woocommerce-tabs .tabs li {
    margin: 0 5px 10px;
  }

  .woocommerce-tabs .tabs li a {
    font-size: 11px;
    padding: 8px 0;
  }

  .woocommerce-Tabs-panel {
    padding: 1rem;
    font-size: 13px;
  }

  #reviews .stars a {
    font-size: 20px;
  }

  #reviews textarea,
  #reviews input[type="text"],
  #reviews input[type="email"],
  #reviews .form-submit input[type="submit"] {
    font-size: 13px;
    padding: 10px 12px;
  }

  .product_meta {
    font-size: 13px;
  }

  .related .products {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .product-card {
    max-width: 350px;
    margin: 0 auto;
  }

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

@media (max-width: 480px) {
  .product-thumbnails {
    gap: 5px;
  }

  .swatches {
    gap: 8px;
  }

  .product-gallery,
  .wraper-content-product .product .summary {
    max-width: 100%;
  }
}

.woocommerce-pagination .page-numbers {
  display: flex;
  justify-content: center;
  list-style: none;
}

.woocommerce-pagination {
  margin-bottom: 2rem;
  margin-top: 2rem;
}

.woocommerce-pagination .page-numbers li {
  margin-right: 1rem;
  padding: 5px;
  width: 30px;
  border-radius: 5px;
  color: #fff;
}

.wc-block-cart__submit-container,
button.wc-block-components-button {
  background: #333;
  color: #fff;
}

.wc-block-components-button__text,
.wc-block-components-checkout-place-order-button__text {
  color: var(--color-white);
  font-size: 1.8rem;
}

.product-summary-custom {
  padding-left: 20px;
  font-family: inherit;
}

/* DANH Má»¤C */
.product-cat a {
  color: #d00;
  font-weight: 600;
  font-size: 14px;
}

/* TITLE */
.product-title {
  margin: 10px 0 15px;
  font-size: 24px;
  font-weight: 700;
  color: #111;
}

/* META TOP */
.product-meta-top {
  color: #666;
  font-size: 14px;
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 15px;
}

/* RATING */
.product-rating {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 15px;
}

.reviews-count {
  font-size: 14px;
  color: #444;
}

/* PRICE */
.product-price-block {
  margin: 15px 0;
}

.sale-price .amount {
  font-size: 28px;
  font-weight: 700;
  color: #e60000;
}

.regular-price {
  color: #bbb;
  text-decoration: line-through;
  font-size: 18px;
}

/* THÃ”NG TIN */
.product-attributes {
  font-size: 14px;
  color: #222;
  margin-bottom: 20px;
}

/* ACTION BUTTON */
.product-actions {
  margin-top: 25px;
  display: flex;
  gap: 12px;
}

.product-actions .single_add_to_cart_button {
  flex: 1;
  height: 48px;
  border: 1px solid #222;
  background: #fff;
  color: #222;
  font-weight: 600;
  border-radius: 8px;
}

.btn-buy-now {
  flex: 1;
  height: 48px;
  background: #e60012;
  color: #fff;
  font-weight: 700;
  text-align: center;
  line-height: 48px;
  border-radius: 8px;
}