/*
Theme Name: am360 Graindecafe
Theme URI: https://graindecafe.store
Author: am360
Author URI: https://am360.example.com
Description: Thème WordPress custom pour graindecafe.store, inspiré du site Shopify actuel.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: am360-graindecafe
Tags: custom-background, custom-logo, custom-menu, featured-images, full-width-template, woocommerce
*/

@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@400;500;600;700&family=Trirong:wght@200;300;400;700&display=swap');

:root {
  --bg: #f7f3ed;
  --panel: #fbf7f1;
  --text: #141312;
  --muted: #85786d;
  --accent: #1e1c19;
  --accent-soft: #9b7a5e;
  --border: #e5dfd7;
  --section: #fffefc;
  --shadow: 0 28px 60px rgba(21, 18, 16, 0.09);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Red Hat Display', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: 'Trirong', Georgia, serif;
  font-weight: 200;
}

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

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea {
  font: inherit;
}

.site-main {
  width: 100%;
  margin: 0;
}

.site-header {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 40;
}

.front-page .site-header {
  position: absolute;
}

body:not(.front-page) .site-header {
  background: var(--accent);
}

.site-navbar {
  padding: 0.9rem 0;
}

.site-navbar .container {
  position: relative;
}

.site-header-shell {
  width: 100%;
}

.site-branding {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: #fff;
}

.site-branding .logo {
  font-family: 'Red Hat Display', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-branding .domain {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.desktop-header {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
}

.site-branding--desktop {
  flex-direction: column;
  align-items: flex-start;
  justify-self: start;
  gap: 0;
  max-width: 200px;
}

.site-branding--desktop img {
  width: 100%;
  max-width: 200px;
  height: auto;
}

.site-branding--desktop .logo {
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  line-height: 1;
}

.site-branding--desktop .domain {
  font-size: 0.48rem;
  letter-spacing: 0.08em;
  margin-top: 0.15rem;
}

.site-header .nav-link,
.site-header .navbar-brand {
  color: #fff;
}

.site-header .nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.desktop-nav {
  gap: 1.7rem;
  overflow: visible;
}

.desktop-nav .nav-link {
  padding: 0;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
}

.site-header,
.site-navbar,
.site-header-shell,
.desktop-header,
.desktop-header .navbar-collapse {
  overflow: visible;
}

.desktop-nav > li,
.desktop-nav > .menu-item-has-children {
  position: relative !important;
}

.desktop-nav > .menu-item-has-children > .sub-menu,
.desktop-nav .sub-menu {
  position: absolute !important;
  top: 100%;
  left: 0;
  min-width: 220px;
  display: block !important;
  margin-top: 0.35rem;
  padding: 0.5rem 0;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 0;
  list-style: none;
  background: #fff;
  border: 1px solid rgba(20, 19, 18, 0.12);
  border-radius: 12px;
  box-shadow: 0 20px 38px rgba(20, 19, 18, 0.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 50;
}

.desktop-nav > .menu-item-has-children > .sub-menu::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -0.45rem;
  height: 0.45rem;
}

.desktop-nav .menu-item-has-children:hover > .sub-menu,
.desktop-nav .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.desktop-nav .sub-menu .nav-link {
  display: block;
  padding: 0.5rem 0.95rem;
  color: #1e1c19;
  font-size: 0.9rem;
}

.desktop-nav .sub-menu .nav-link:hover {
  background: #f6f1ea;
}

.desktop-header-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
  gap: 0.45rem;
  position: relative;
}

.desktop-header-icons {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.am360-header-search {
  display: flex;
  align-items: center;
  position: relative;
}

.am360-header-search__toggle {
  flex: 0 0 auto;
  z-index: 3;
}

.am360-header-search__form {
  width: 0;
  opacity: 0;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-right: 0;
  transform: translateX(8px);
  transition: width 0.34s ease, opacity 0.25s ease, margin-right 0.34s ease, transform 0.34s ease;
}

.am360-header-search.is-open .am360-header-search__form {
  width: min(36vw, 380px);
  opacity: 1;
  margin-right: 0.35rem;
  transform: translateX(0);
}

.am360-header-search__input {
  width: 100%;
  min-width: 0;
  min-height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 999px;
  padding: 0 14px;
  font-size: 0.88rem;
}

.am360-header-search__input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.am360-header-search__submit {
  width: 2rem;
  height: 2rem;
  border: 0;
  background: transparent;
  color: #fff;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.am360-header-search__dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: min(42vw, 500px);
  border: 1px solid #e4d7c9;
  background: #fffdf9;
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(23, 15, 9, 0.18);
  z-index: 50;
  overflow: hidden;
  animation: am360SearchDropdownIn 0.2s ease;
}

.am360-header-search__list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 460px;
  overflow: auto;
}

.am360-header-search__item + .am360-header-search__item {
  border-top: 1px solid #eee4d9;
}

.am360-header-search__link {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: center;
  padding: 0.72rem 0.85rem;
  color: #1f1a16;
  text-decoration: none;
}

.am360-header-search__link:hover {
  background: #f8f1e8;
}

.am360-header-search__link.is-active {
  background: #f3e8da;
}

.am360-header-search__thumb {
  width: 58px;
  height: 58px;
  border-radius: 10px;
  overflow: hidden;
  background: #efe4d6;
  display: grid;
  place-items: center;
}

.am360-header-search__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.am360-header-search__thumb-placeholder {
  color: #7a6b5d;
}

.am360-header-search__content {
  min-width: 0;
  display: grid;
  gap: 0.2rem;
}

.am360-header-search__title {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.2;
}

.am360-header-search__mark {
  background: #f6d9a4;
  color: #201a14;
  padding: 0 0.08em;
}

.am360-header-search__excerpt {
  color: #675d55;
  font-size: 0.85rem;
  line-height: 1.35;
}

.am360-header-search__type {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8d5b38;
  border: 1px solid #e8d6c4;
  border-radius: 999px;
  padding: 0.25rem 0.5rem;
}

.am360-header-search__all {
  display: block;
  padding: 0.72rem 0.85rem;
  border-top: 1px solid #eee4d9;
  text-align: center;
  color: #1f1a16;
  font-weight: 600;
  text-decoration: none;
}

.am360-header-search__all:hover {
  background: #f8f1e8;
}

.am360-header-search__empty {
  padding: 1rem 0.85rem;
  color: #6d6258;
  font-size: 0.9rem;
  text-align: center;
}

@keyframes am360SearchDropdownIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.desktop-locale {
  margin-right: 0.55rem;
  font-size: 0.86rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
}

.desktop-locale span {
  font-size: 0.72rem;
}

.mobile-header-bar {
  width: 100%;
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr) 4.5rem;
  align-items: center;
  min-height: 3.25rem;
}

.mobile-header-search-wrap {
  position: relative;
}

.mobile-header-search-panel {
  max-height: 0;
  opacity: 0;
  overflow: visible;
  padding: 0 1rem;
  pointer-events: none;
  transform: translateY(-8px);
  transition: max-height 0.34s ease, opacity 0.25s ease, padding-top 0.34s ease, transform 0.34s ease;
}

.mobile-header-search-wrap.is-open .mobile-header-search-panel {
  max-height: 180px;
  opacity: 1;
  padding-top: 0.75rem;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-header-search-panel .am360-header-search__form {
  display: flex;
  width: 100%;
  opacity: 1;
  margin-right: 0;
  transform: none;
}

.mobile-header-search-panel .am360-header-search__input {
  min-height: 40px;
}

.mobile-header-search-panel .am360-header-search__dropdown {
  left: 1rem;
  right: 1rem;
  top: calc(100% + 8px);
  width: auto;
}

.mobile-header-side {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  width: 4.5rem;
}

.mobile-header-side--right {
  justify-content: flex-end;
}

.site-branding--mobile {
  justify-self: center;
  flex-direction: column;
  gap: 0.05rem;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 11rem;
  margin: 0;
}

.site-branding--mobile .logo {
  font-size: 0.92rem;
  letter-spacing: 0.08em;
}

.site-branding--mobile .domain {
  font-size: 0.38rem;
  letter-spacing: 0.14em;
}

.header-icon-button,
.mobile-menu-close {
  width: 2rem;
  height: 2rem;
  border: 0;
  background: transparent;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.header-icon {
  width: 1.15rem;
  height: 1.15rem;
  display: inline-flex;
}

.header-icon svg,
.mobile-menu-close svg {
  width: 100%;
  height: 100%;
}

.mobile-menu-canvas {
  width: min(92vw, 370px);
  background: #fff;
  border-right: 0;
}

.mobile-menu-canvas .offcanvas-header {
  padding: 0.9rem 1rem 0;
}

.mobile-menu-close {
  color: var(--accent);
}

.mobile-menu-canvas .offcanvas-body {
  padding: 0.5rem 1rem 1rem;
}

.mobile-menu-content {
  min-height: calc(100vh - 5rem);
  display: flex;
  flex-direction: column;
}

.mobile-menu-list,
.mobile-menu-nav .navbar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu-list li,
.mobile-menu-nav .navbar-nav li {
  margin: 0 0 0.7rem;
}

.mobile-menu-list a,
.mobile-menu-nav .navbar-nav a {
  display: inline-flex;
  align-items: center;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.mobile-menu-list .menu-item-has-children > a::after,
.mobile-menu-nav .navbar-nav .menu-item-has-children > a::after {
  content: '+';
  margin-left: 0.5rem;
  font-weight: 400;
}

.mobile-menu-list .menu-item-has-children.is-open > a::after,
.mobile-menu-nav .navbar-nav .menu-item-has-children.is-open > a::after {
  content: '-';
}

.mobile-menu-list .sub-menu,
.mobile-menu-nav .navbar-nav .sub-menu {
  display: none;
  list-style: none;
  margin: 0.45rem 0 0;
  padding: 0 0 0 0.85rem;
  border-left: 1px solid rgba(30, 28, 25, 0.18);
}

.mobile-menu-list .menu-item-has-children.is-open > .sub-menu,
.mobile-menu-nav .navbar-nav .menu-item-has-children.is-open > .sub-menu {
  display: block;
}

.mobile-menu-list .sub-menu li,
.mobile-menu-nav .navbar-nav .sub-menu li {
  list-style: none;
  margin: 0 0 0.45rem;
}

.mobile-menu-list .sub-menu li::marker,
.mobile-menu-nav .navbar-nav .sub-menu li::marker {
  content: '';
}

.mobile-menu-list .sub-menu a,
.mobile-menu-nav .navbar-nav .sub-menu a {
  font-size: 0.95rem;
  font-weight: 500;
}

.mobile-menu-footer {
  margin-top: auto;
  padding-top: 2rem;
}

.am360-cart-trigger {
  position: relative;
}

.am360-cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: #ece9e2;
  color: #3a2b23;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  line-height: 1;
  font-weight: 600;
}

.am360-cart-drawer {
  --bs-offcanvas-width: min(390px, 100vw);
  background: #fffdf9;
  border-left: 1px solid rgba(58, 43, 35, 0.12);
}

.am360-cart-drawer .offcanvas-body {
  padding: 0;
  display: flex;
  flex-direction: column;
}

.am360-cart-drawer.is-loading {
  pointer-events: none;
  cursor: progress;
}

.am360-cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem 0.95rem;
  border-bottom: 1px solid rgba(58, 43, 35, 0.12);
}

.am360-cart-drawer__title-wrap {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.am360-cart-drawer__title {
  margin: 0;
  font-family: 'Trirong', Georgia, serif;
  font-size: 1.8rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: #2b211c;
}

.am360-cart-drawer__close {
  border: 0;
  background: transparent;
  color: #2b211c;
  width: 32px;
  height: 32px;
  padding: 0;
}

.am360-cart-drawer__close svg {
  width: 20px;
  height: 20px;
}

.am360-cart-drawer__body-inner {
  flex: 1;
  overflow-y: auto;
  padding: 0.95rem 1.2rem 1.15rem;
}

.am360-cart-drawer__empty {
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #6d6158;
}

.am360-cart-drawer__items {
  display: grid;
  gap: 0.7rem;
}

.am360-cart-item {
  padding-bottom: 0.7rem;
}

.am360-cart-item__main {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 0.8rem;
}

.am360-cart-item__thumb img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.am360-cart-item__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.am360-cart-item__name,
.am360-cart-item__name a {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.25;
  font-weight: 500;
  color: #2b211c;
  text-decoration: none;
}

.am360-cart-item__meta,
.am360-cart-item__unit-price {
  color: #6e645d;
  font-size: 0.82rem;
}

.am360-cart-item__price {
  white-space: nowrap;
  font-size: 0.94rem;
  font-weight: 500;
  color: #2b211c;
}

.am360-cart-item__actions {
  margin-top: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.am360-cart-item__quantity {
  width: 86px;
  min-width: 86px;
  min-height: 30px;
  background: #f6f2ec;
  border: 1px solid #eee6db;
  grid-template-columns: 26px 34px 26px;
  flex: 0 0 86px;
  overflow: hidden;
  display: grid !important;
}

.am360-cart-item__quantity .qty {
  width: 34px;
  height: 28px;
  background: transparent;
  border-top: 0 !important;
  border-bottom: 0 !important;
  border-left: 1px solid #eee6db !important;
  border-right: 1px solid #eee6db !important;
  box-shadow: none !important;
  outline: 0 !important;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: textfield;
  text-align: center;
  padding: 0;
  font-size: 0.9rem;
  line-height: 1;
}

.am360-cart-item__quantity .qty:focus,
.am360-cart-item__quantity .qty:active {
  border-top: 0 !important;
  border-bottom: 0 !important;
  border-left: 1px solid #eee6db !important;
  border-right: 1px solid #eee6db !important;
  box-shadow: none !important;
  outline: 0 !important;
}

.am360-cart-item__quantity .qty::-webkit-outer-spin-button,
.am360-cart-item__quantity .qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.am360-cart-item__quantity .am360-quantity__button {
  width: 26px;
  height: 28px;
  min-width: 26px;
  padding: 0;
  font-size: 0.95rem;
  color: #5c534d;
}

.am360-cart-drawer .am360-cart-item__quantity.am360-quantity {
  width: 86px !important;
  min-width: 86px !important;
  flex: 0 0 86px !important;
  min-height: 30px !important;
  grid-template-columns: 26px 34px 26px !important;
  background: #f6f2ec !important;
  border: 1px solid #eee6db !important;
}

.am360-cart-drawer .am360-cart-item__quantity.am360-quantity .qty {
  width: 34px !important;
  height: 28px !important;
  min-width: 34px !important;
  max-width: 34px !important;
  padding: 0 !important;
  font-size: 0.9rem !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  border-left: 1px solid #eee6db !important;
  border-right: 1px solid #eee6db !important;
  box-shadow: none !important;
  outline: 0 !important;
  background: transparent !important;
}

.am360-cart-drawer .am360-cart-item__quantity.am360-quantity .am360-quantity__button {
  width: 26px !important;
  height: 28px !important;
  min-width: 26px !important;
  padding: 0 !important;
  font-size: 0.95rem !important;
  line-height: 1 !important;
}

.am360-cart-item__remove {
  border: 0;
  background: transparent;
  color: #6f665f;
  width: 18px;
  height: 18px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
}

.am360-cart-item__remove svg {
  width: 16px;
  height: 16px;
}

.am360-cart-drawer__footer {
  padding: 0 1.2rem 1.2rem;
  border-top: 1px solid rgba(58, 43, 35, 0.12);
}

.am360-cart-drawer__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(58, 43, 35, 0.12);
  color: #2b211c;
  width: 100%;
  background: transparent;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  text-align: left;
}

.am360-cart-drawer__row--collapsible {
  cursor: pointer;
}

.am360-cart-drawer__collapse-icon {
  font-size: 1.15rem;
  line-height: 1;
}

.am360-cart-drawer__discount-collapse {
  border-bottom: 1px solid rgba(58, 43, 35, 0.12);
}

.am360-cart-drawer__discount {
  padding: 0.85rem 0 1rem;
}

.am360-cart-drawer__discount-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.65rem;
}

.am360-cart-drawer__discount-input {
  min-height: 42px;
  border: 1px solid #e9e2d8;
  background: #fff;
  padding: 0 0.85rem;
  color: #2b211c;
}

.am360-cart-drawer__discount-input:focus {
  outline: none;
  border-color: #cfc4b6;
}

.am360-cart-drawer__discount-button {
  min-height: 42px;
  padding: 0 1rem;
  border: 0;
  background: #241b16;
  color: #fff;
}

.am360-cart-drawer__row--total {
  border-bottom: 0;
  padding-bottom: 0.35rem;
}

.am360-cart-drawer__row--total strong {
  font-size: 1.55rem;
  line-height: 1;
  font-weight: 500;
}

.am360-cart-drawer__note {
  margin: 0 0 1rem;
  color: #8a817a;
  font-size: 0.78rem;
  line-height: 1.45;
}

.am360-cart-drawer__buttons {
  display: grid;
  gap: 0.75rem;
}

.am360-cart-drawer__checkout,
.am360-cart-drawer__secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  text-decoration: none;
  font-size: 0.95rem;
  border-radius: 999px;
}

.am360-cart-drawer__checkout {
  background: #000;
  color: #fff;
  border-radius: 999px;
}

.am360-cart-drawer__checkout:hover {
  background: #231915;
  color: #fff;
}

.am360-cart-drawer a.am360-cart-drawer__checkout,
.am360-cart-drawer a.am360-cart-drawer__checkout.button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #000 !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  text-align: center !important;
  line-height: 1 !important;
}

.am360-cart-drawer a.am360-cart-drawer__checkout:hover,
.am360-cart-drawer a.am360-cart-drawer__checkout.button:hover {
  background: #231915 !important;
  color: #fff !important;
}

.am360-cart-drawer__secondary {
  background: #f4efe8;
  color: #2b211c;
}

.mobile-menu-locale {
  font-size: 0.78rem;
  color: #8d8379;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

.mobile-menu-locale span {
  font-size: 1rem;
  vertical-align: -1px;
}

.mobile-menu-card {
  position: relative;
  display: block;
  height: 140px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0) 35%, rgba(0,0,0,0.18) 100%),
    url('') center/cover no-repeat;
}

.mobile-menu-card__label {
  position: absolute;
  left: 0.9rem;
  bottom: 0.75rem;
  color: #fff;
  font-family: 'Trirong', Georgia, serif;
  font-size: 1.35rem;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.12) 30%, rgba(0,0,0,0.58) 100%);
  z-index: 1;
}

.hero-video-wrapper {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  padding: 0 1.5rem;
}

.hero-content .row {
  min-height: 100vh;
}

.hero-copy {
  max-width: 620px;
}

.hero-copy .eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: rgba(255,255,255,0.75);
  font-size: 0.78rem;
  margin-bottom: 1rem;
}

.hero-copy h1 {
  font-family: 'Trirong', Georgia, serif;
  font-size: clamp(3rem, 8vw, 5.8rem);
  line-height: 0.96;
  color: #fff;
  margin: 0 0 1.25rem;
}

.hero-copy p {
  color: rgba(255,255,255,0.88);
  margin: 0 0 2rem;
  font-size: 1rem;
  max-width: 33rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.am360-coming-soon-cta {
  cursor: default;
}

.btn,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.6rem;
  /* border-radius: 999px; */
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.btn-pill {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btn:hover,
.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.section {
  padding: 92px 0;
}

.section--soft {
  background: var(--section);
}

.section-heading {
  text-align: center;
  margin-bottom: 56px;
}

.section-heading h1,
.section-heading h2,
.section-text h1,
.section-text h2 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  margin-bottom: 18px;
}

.section-heading p {
  margin: 0 auto;
  max-width: 560px;
}

.section-heading p,
.section-text p,
.product-card-text,
.value-card p {
  color: var(--muted);
}

.bestsellers-section {
  max-width: 1600px;
}

.bestsellers-heading {
  margin-bottom: 2rem;
}

.bestsellers-heading h2 {
  margin-bottom: 1rem;
}

.bestsellers-heading p {
  max-width: 820px;
  font-family: 'Trirong', Georgia, serif;
  font-size: clamp(2.2rem, 3vw, 3.4rem);
  line-height: 1.12;
  color: #2a2622;
}

.bestsellers-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: end;
}

.bestseller-item {
  position: relative;
}

.bestseller-link {
  display: block;
  position: relative;
  text-align: center;
}

.bestseller-visual {
  height: clamp(320px, 28vw, 460px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #403831;
  font-family: 'Trirong', Georgia, serif;
  font-size: 1.45rem;
}

.bestseller-item:nth-child(1) .bestseller-visual,
.bestseller-item:nth-child(5) .bestseller-visual {
  height: clamp(340px, 30vw, 500px);
}

.bestseller-item:nth-child(4) .bestseller-visual {
  height: clamp(330px, 29vw, 470px);
}

.bestseller-item h3 {
  margin-top: 0.35rem;
  font-family: 'Red Hat Display', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  color: #221d18;
}

.bestseller-badge {
  position: absolute;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.35rem 0.7rem;
  background: #f4f1ec;
  color: #4d443d;
  font-size: 0.85rem;
  z-index: 2;
}

.section-text small,
.section-heading small {
  display: inline-block;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--accent-soft);
  font-size: 0.8rem;
  font-weight: 600;
}

.content-card {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 30px;
  background: rgba(255,255,255,0.82);
  box-shadow: var(--shadow);
}

.card-image-placeholder,
.section-image-placeholder {
  min-height: 420px;
  background: linear-gradient(180deg, #f5f1eb 0%, #fbf7f1 100%);
  border-radius: 32px;
  display: grid;
  place-items: center;
  color: var(--muted);
  text-align: center;
  padding: 28px;
  border: 1px dashed var(--border);
  box-shadow: 0 18px 40px rgba(22, 18, 13, 0.06);
}

.section-image-placeholder--photo {
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
}

.section-image-placeholder--photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 32px;
  border: 1px solid var(--border);
}

.product-card {
  border: 1px solid var(--border);
  border-radius: 30px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(24, 20, 16, 0.08);
}

.product-card .card-image-placeholder {
  min-height: 300px;
  border-radius: 0;
  border: 0;
  box-shadow: none;
}

.product-card-body {
  padding: 24px;
}

.product-card-title {
  margin: 0 0 10px;
  font-size: 1.1rem;
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 700;
}

.promo-shell {
  margin-top: -36px;
  position: relative;
  z-index: 3;
}

.promo-banner {
  background: #1c1a18;
  color: #fff;
  text-align: center;
  padding: 28px 24px;
  border-radius: 24px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.value-card {
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px;
  background: #fff;
}

.value-card h3 {
  margin: 0 0 14px;
  font-family: 'Red Hat Display', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.site-footer {
  padding: 60px 0 80px;
}

.footer-title {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.85rem;
  margin-bottom: 16px;
  color: var(--muted);
}

.footer-list,
.footer-social {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li,
.footer-social li {
  margin-bottom: 12px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 40px;
  padding-top: 24px;
  color: var(--muted);
  font-size: 0.92rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.woocommerce .products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.woocommerce ul.products li.product {
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 20px;
  background: #fff;
}

.am360-shop-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.8rem 2.2rem;
}

.am360-shop-page {
  background: #fff;
  padding-top: 32px;
  padding-bottom: 64px;
}

.am360-shop-page__container {
  width: 100%;
  max-width: none;
  padding-left: 32px;
  padding-right: 32px;
}

.am360-shop-page .section-text {
  margin-bottom: 2.25rem !important;
}

body.post-type-archive-product,
body.tax-product_cat,
body.tax-product_tag,
body.page-template-page-boutique,
body.page-id .am360-shop-page {
  background: #fff;
}

body.post-type-archive-product .site-main,
body.tax-product_cat .site-main,
body.tax-product_tag .site-main {
  background: #fff;
}

.am360-shop-page .section-text h1 {
  font-family: 'Trirong', Georgia, serif;
  font-size: clamp(2.2rem, 3vw, 3rem);
  font-weight: 200;
  margin-bottom: 0.6rem;
}

.am360-shop-page .section-text p {
  color: #5d544c;
}

.am360-shop-grid + .woocommerce-result-count,
.am360-shop-grid + .woocommerce-ordering,
.woocommerce-notices-wrapper,
.woocommerce-breadcrumb,
.woocommerce-ordering,
.woocommerce-result-count {
  display: none !important;
}

.am360-shop-card {
  position: relative;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.am360-shop-card__link {
  display: block;
}

.am360-shop-card__media {
  --zoom-x: 50%;
  --zoom-y: 50%;
  position: relative;
  overflow: hidden;
  height: clamp(420px, 34vw, 620px);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.am360-shop-card__media-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.am360-shop-card__image {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.am360-shop-card__image.is-active {
  opacity: 1;
}

.am360-shop-card__image img {
  width: auto;
  max-width: 108%;
  max-height: 108%;
  object-fit: contain;
  transform: scale(1);
  transform-origin: var(--zoom-x) var(--zoom-y);
  transition: transform 0.35s ease;
}

.am360-shop-card__media:hover .am360-shop-card__image.is-active img {
  transform: scale(1.24);
}

.am360-shop-card__next {
  position: absolute;
  right: 0.6rem;
  bottom: 0.6rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #211c18;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.am360-shop-card__badge {
  position: absolute;
  top: 0.75rem;
  right: 0;
  z-index: 3;
  background: #f4f1ec;
  color: #4e433b;
  font-size: 0.85rem;
  padding: 0.35rem 0.65rem;
}

.am360-shop-card__meta {
  padding-top: 0.2rem;
  max-width: 82%;
}

.am360-shop-card__title {
  margin: 0 0 0.15rem;
  font-family: 'Red Hat Display', sans-serif;
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.35;
}

.am360-shop-card__price,
.am360-shop-card__price .amount {
  color: #4d443d;
  font-size: 0.9rem;
}

.am360-shop-card__price .woocommerce-Price-currencySymbol {
  margin-left: 0.05rem;
}

.am360-shop-pagination {
  margin-top: 3rem;
}

.am360-shop-pagination ul {
  list-style: none;
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  padding: 0;
  margin: 0;
}

.am360-shop-pagination a,
.am360-shop-pagination span {
  color: var(--accent);
}

.am360-single-product,
.am360-related-products {
  background: #fff;
}

.am360-single-product {
  padding: 40px 0 56px;
}

.am360-single-product__inner,
.am360-related-products__inner {
  width: 100%;
  padding-left: 32px;
  padding-right: 32px;
}

.am360-checkout-page {
  background: #fff;
  padding: 0;
}

.am360-checkout-page__inner {
  width: 100%;
  padding-left: 32px;
  padding-right: 32px;
}

.page-template-page-checkout .site-header,
.page-template-page-checkout .site-footer {
  display: none;
}

.page-template-page-checkout .site-main {
  background: #fff;
}

.am360-checkout-page--template {
  padding: 0;
}

.am360-checkout-header {
  border-bottom: 1px solid #e7ded3;
  background: #fff;
}

.am360-checkout-header__inner {
  position: relative;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0 32px;
}

.am360-checkout-header__brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.am360-checkout-header__logo {
  width: 170px;
  height: auto;
  filter: invert(1);
}

.am360-checkout-header__cart {
  position: absolute;
  top: 50%;
  right: 32px;
  transform: translateY(-50%);
  color: #6b5337;
}

.page-template-page-checkout .am360-checkout-header__cart,
.page-template-page-checkout .am360-checkout-header__cart .header-icon {
  color: #000;
}

.am360-checkout-shell {
  width: 100%;
}

.am360-checkout-mobile-summary {
  display: none;
}

.am360-checkout-mobile-payment-summary {
  display: none;
}

.am360-checkout-page .woocommerce {
  max-width: none;
}

.am360-checkout-page .woocommerce-checkout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.72fr);
  gap: 0;
  align-items: start;
}

.am360-checkout-page .col2-set {
  margin: 0;
  width: 100%;
  padding: 2rem 2.5rem 0 0;
}

.am360-checkout-page .col2-set,
.am360-checkout-page .woocommerce-billing-fields,
.am360-checkout-page .woocommerce-shipping-fields,
.am360-checkout-page .woocommerce-additional-fields {
  display: grid;
  gap: 1.15rem;
}

.am360-checkout-page .col-1,
.am360-checkout-page .col-2 {
  float: none;
  width: 100%;
  max-width: none;
}

.am360-checkout-page h3,
.am360-checkout-page #order_review_heading {
  margin: 0 0 1rem;
  font-family: 'Trirong', Georgia, serif;
  font-size: clamp(1.5rem, 2vw, 2.15rem);
  font-weight: 200;
  line-height: 1.08;
  color: #1f1915;
}

.am360-checkout-page .woocommerce-billing-fields__field-wrapper,
.am360-checkout-page .woocommerce-shipping-fields__field-wrapper,
.am360-checkout-page .woocommerce-additional-fields__field-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1rem;
}

.am360-checkout-page .form-row {
  margin: 0;
  width: 100%;
}

.am360-checkout-page .form-row-wide,
.am360-checkout-page .woocommerce-additional-fields__field-wrapper .form-row,
.am360-checkout-page #billing_country_field,
.am360-checkout-page #shipping_country_field,
.am360-checkout-page #order_comments_field {
  grid-column: 1 / -1;
}

.am360-checkout-page label {
  margin-bottom: 0.4rem;
  color: #4b423b;
  font-size: 0.88rem;
  font-weight: 500;
}

.am360-checkout-page input.input-text,
.am360-checkout-page textarea,
.am360-checkout-page select,
.am360-checkout-page .select2-container--default .select2-selection--single {
  min-height: 52px;
  border: 1px solid #ded6cd;
  border-radius: 0;
  background: #fff;
  padding: 0.85rem 1rem;
  color: #1f1915;
  box-shadow: none;
}

.am360-checkout-page textarea {
  min-height: 132px;
  resize: vertical;
}

.am360-checkout-page input.input-text:focus,
.am360-checkout-page textarea:focus,
.am360-checkout-page select:focus {
  outline: none;
  border-color: #b9ab99;
}

.am360-checkout-page .select2-container--default .select2-selection--single {
  display: flex;
  align-items: center;
  padding: 0 1rem;
}

.am360-checkout-page .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #1f1915;
  line-height: 1.2;
  padding-left: 0;
}

.am360-checkout-page .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100%;
  right: 0.75rem;
}

.am360-checkout-page .woocommerce-checkout-review-order,
.am360-checkout-page #order_review {
  background: #faf9f7;
  border-left: 1px solid #e7ded3;
  padding: 2rem 2rem 2rem 2.2rem;
  min-height: 100%;
}

.am360-checkout-page #order_review_heading {
  margin-top: 0;
  display: none;
}

.am360-checkout-page table.shop_table {
  width: 100%;
  border-collapse: collapse;
  border: 0;
  background: transparent;
}

.am360-checkout-page table.shop_table tbody td:first-child,
.am360-checkout-page table.shop_table thead th:first-child {
  padding-right: 1rem;
}

.am360-checkout-page table.shop_table th,
.am360-checkout-page table.shop_table td {
  padding: 0.95rem 0;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  border-bottom: 1px solid #e2d9ce;
}

.am360-checkout-page table.shop_table thead th {
  color: #6f645b;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.am360-checkout-page table.shop_table .product-total,
.am360-checkout-page table.shop_table .cart-subtotal td,
.am360-checkout-page table.shop_table .order-total td {
  text-align: right;
}

.am360-checkout-page .woocommerce-checkout-payment {
  margin-top: 1rem;
  background: transparent !important;
  border: 0 !important;
}

.am360-checkout-page .wc_payment_methods {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.am360-checkout-page .wc_payment_method {
  margin: 0;
  padding: 1rem;
  border: 1px solid #e2d9ce;
  background: #fff;
}

.am360-checkout-page .wc_payment_method > label {
  margin: 0;
  font-size: 0.95rem;
  color: #1f1915;
}

.am360-checkout-page .payment_box {
  margin: 0.75rem 0 0;
  padding: 0;
  background: transparent !important;
  color: #6a5f56;
  font-size: 0.88rem;
}

.am360-checkout-page .place-order {
  padding: 0 !important;
}

.am360-checkout-page .place-order .button,
.am360-checkout-page #place_order {
  width: 100%;
  min-height: 54px;
  border: 0 !important;
  border-radius: 10px;
  background: #e6c395 !important;
  color: #201711 !important;
  box-shadow: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 600;
}

.am360-checkout-page .place-order .button:hover,
.am360-checkout-page #place_order:hover {
  background: #dbb784 !important;
  color: #201711 !important;
}

.page-template-page-checkout .am360-checkout-page {
  background: #fff;
  min-height: 100vh;
}

.page-template-page-checkout .am360-checkout-page__inner {
  max-width: none;
  margin: 0;
  padding-left: 24px;
  padding-right: 0;
}

.page-template-page-checkout .am360-checkout-shell {
  width: 100%;
}

.page-template-page-checkout .woocommerce-notices-wrapper {
  margin: 0 0 1.5rem;
}

.page-template-page-checkout .woocommerce-form-coupon-toggle,
.page-template-page-checkout .woocommerce-NoticeGroup {
  display: none !important;
}

.page-template-page-checkout .woocommerce-info,
.page-template-page-checkout .woocommerce-message,
.page-template-page-checkout .woocommerce-error {
  margin: 0;
  padding: 1rem 1.2rem;
  border: 0;
  border-top: 2px solid #5f8fc6;
  background: #f7f7fa;
  color: #555;
  font-size: 0.95rem;
}

.page-template-page-checkout .woocommerce-checkout {
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.78fr);
  align-items: start;
  gap: 0;
  min-height: calc(100vh - 74px);
}

.page-template-page-checkout .woocommerce-checkout > .col2-set {
  padding: 2rem 3.25rem 0 3.25rem;
}

.page-template-page-checkout .woocommerce-checkout > #order_review_heading,
.page-template-page-checkout .woocommerce-checkout > #order_review {
  background: #faf9f7;
  border-left: 1px solid #ece3d8;
}

.page-template-page-checkout .woocommerce-checkout > #order_review_heading {
  display: none;
}

.page-template-page-checkout .woocommerce-checkout > #order_review {
  position: sticky;
  top: 0;
  padding: 2rem 2rem 2.5rem;
  min-height: calc(100vh - 74px);
  align-self: stretch;
  margin: 0;
  width: 100%;
}

.page-template-page-checkout .col2-set .col-1,
.page-template-page-checkout .col2-set .col-2 {
  width: 100%;
  max-width: none;
}

.page-template-page-checkout .woocommerce-billing-fields,
.page-template-page-checkout .woocommerce-shipping-fields,
.page-template-page-checkout .woocommerce-additional-fields {
  display: block;
}

.page-template-page-checkout .woocommerce-billing-fields h3,
.page-template-page-checkout .woocommerce-shipping-fields h3,
.page-template-page-checkout .woocommerce-additional-fields h3 {
  margin: 0 0 1.5rem;
  font-family: 'Trirong', Georgia, serif;
  font-size: 2.35rem;
  font-weight: 200;
  line-height: 1.05;
  color: #2a221d;
}

.page-template-page-checkout .woocommerce-billing-fields__field-wrapper,
.page-template-page-checkout .woocommerce-shipping-fields__field-wrapper,
.page-template-page-checkout .woocommerce-additional-fields__field-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.page-template-page-checkout form .form-row {
  float: none;
  width: 100%;
  margin: 0 0 0.95rem;
  padding: 0;
}

.page-template-page-checkout form .form-row-first,
.page-template-page-checkout form .form-row-last {
  width: calc(50% - 10px);
}

.page-template-page-checkout form .form-row-first {
  margin-right: 20px;
}

.page-template-page-checkout form .form-row-wide {
  width: 100%;
}

.page-template-page-checkout label {
  display: block;
  margin-bottom: 0.38rem;
  color: #5f564f;
  font-size: 0.92rem;
  font-weight: 500;
}

.page-template-page-checkout input.input-text,
.page-template-page-checkout textarea,
.page-template-page-checkout select,
.page-template-page-checkout .select2-container--default .select2-selection--single {
  min-height: 46px;
  padding: 0.72rem 0.95rem;
  border: 1px solid #e3dbd1;
  border-radius: 6px;
  background: #fff;
  box-shadow: none;
  color: #2a221d;
}

.page-template-page-checkout textarea {
  min-height: 124px;
}

.page-template-page-checkout .select2-container--default .select2-selection--single {
  display: flex;
  align-items: center;
}

.page-template-page-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
  padding-left: 0;
  color: #28211c;
}

.page-template-page-checkout .shop_table {
  background: transparent;
}

.page-template-page-checkout #order_review .cart_item:first-child td {
  padding-top: 0.2rem;
}

.page-template-page-checkout #order_review table.shop_table th,
.page-template-page-checkout #order_review table.shop_table td {
  padding: 0.9rem 0;
  font-size: 0.95rem;
  border-bottom: 1px solid #e7ded3;
}

.page-template-page-checkout #order_review table.shop_table thead th {
  color: #7a7067;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.page-template-page-checkout #order_review .product-name {
  color: #2a221d;
  line-height: 1.45;
}

.page-template-page-checkout #order_review .product-name .product-quantity {
  font-weight: 600;
}

.page-template-page-checkout .shop_table .cart-subtotal th,
.page-template-page-checkout .shop_table .shipping th,
.page-template-page-checkout .shop_table .fee th,
.page-template-page-checkout .shop_table .order-total th {
  color: #2a221d;
  font-weight: 500;
}

.page-template-page-checkout #order_review .order-total th,
.page-template-page-checkout #order_review .order-total td {
  padding-top: 1.1rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.page-template-page-checkout .woocommerce-checkout-payment {
  margin-top: 1.25rem;
}

.page-template-page-checkout .wc_payment_methods {
  gap: 0.5rem;
}

.page-template-page-checkout .wc_payment_method {
  border-radius: 8px;
  border: 1px solid #e3dbd1;
  background: #fff;
  overflow: hidden;
}

.page-template-page-checkout .wc_payment_method > label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.98rem;
}

.page-template-page-checkout .wc_payment_method.payment_method_cod > label,
.page-template-page-checkout .wc_payment_method.payment_method_stripe > label,
.page-template-page-checkout .wc_payment_method.payment_method_paypal > label {
  padding: 0;
}

.page-template-page-checkout .wc_payment_method input[type='radio']:checked + label {
  background: #f8efe3;
}

.page-template-page-checkout .payment_box {
  margin: 0 !important;
  padding: 0.85rem !important;
  border-top: 1px solid #ece3d8;
}

.page-template-page-checkout .woocommerce-checkout-payment .form-row {
  margin-bottom: 0.85rem;
}

.page-template-page-checkout .woocommerce-privacy-policy-text,
.page-template-page-checkout .woocommerce-terms-and-conditions-wrapper {
  color: #6c6259;
  font-size: 0.88rem;
  line-height: 1.55;
}

.page-template-page-checkout .place-order {
  margin-top: 1rem;
}

.page-template-page-checkout .place-order .button,
.page-template-page-checkout #place_order {
  min-height: 50px;
  border-radius: 8px;
  background: #e7c38f !important;
  color: #251a14 !important;
  font-weight: 600;
}

.page-template-page-checkout .place-order .button:hover,
.page-template-page-checkout #place_order:hover {
  background: #ddb77f !important;
  color: #251a14 !important;
}

.am360-product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(360px, 0.8fr);
  gap: 4rem;
  align-items: start;
}

.am360-product-gallery {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  align-items: center;
  gap: 1.5rem;
}

.am360-product-gallery__stage {
  position: relative;
  min-height: 720px;
}

.am360-product-gallery__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.22s ease;
}

.am360-product-gallery__slide.is-active {
  opacity: 1;
}

.am360-product-gallery__slide img {
  width: auto;
  max-width: 100%;
  max-height: 720px;
  object-fit: contain;
}

.am360-product-gallery__nav {
  width: 48px;
  height: 48px;
  border: 1px solid #181512;
  background: transparent;
  color: #181512;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.am360-product-gallery__nav-spacer {
  width: 48px;
  height: 48px;
}

.am360-product-gallery__thumbs {
  grid-column: 2;
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.am360-product-gallery__thumb {
  width: 54px;
  height: 54px;
  border: 1px solid transparent;
  background: transparent;
  padding: 0;
  opacity: 0.65;
}

.am360-product-gallery__thumb.is-active {
  border-color: #181512;
  opacity: 1;
}

.am360-product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.am360-product-summary {
  padding-top: 1rem;
}

.am360-product-summary__title {
  font-family: 'Trirong', Georgia, serif;
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1.04;
  margin-bottom: 0.8rem;
}

.am360-product-summary__price {
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
  color: #4d443d;
}

.am360-product-summary__taxes {
  margin: 0 0 1.5rem;
  color: #8d8379;
  font-size: 0.95rem;
}

.am360-product-summary__divider {
  height: 1px;
  background: #d8d1ca;
  margin-bottom: 1.5rem;
}

.am360-product-summary__excerpt,
.am360-product-accordion__content {
  color: #3c3530;
  font-size: 0.98rem;
  line-height: 1.7;
}

.am360-product-summary__excerpt {
  margin-bottom: 1.75rem;
}

.am360-variation-picker {
  margin-bottom: 1.5rem;
}

.am360-variation-group {
  margin-bottom: 1.35rem;
}

.am360-variation-group__label {
  margin-bottom: 0.7rem;
  color: #1f1915;
  font-family: 'Red Hat Display', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
}

.am360-variation-group__options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.am360-variation-option {
  min-width: 140px;
  min-height: 64px;
  border: 1px solid #ddd6cf;
  background: #fff;
  color: #15110e;
  font-size: 1rem;
  font-weight: 500;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.am360-variation-option.is-active {
  background: #111;
  color: #fff;
  border-color: #111;
}

.am360-variation-group[data-attribute-name="attribute_pa_couleur"] .am360-variation-option {
  min-width: 190px;
}

.am360-variation-group[data-attribute-name="attribute_pa_taille"] .am360-variation-option {
  min-width: 86px;
}

.am360-variation-group__select {
  display: none;
}

.am360-product-summary__cart .reset_variations {
  display: inline-block;
  margin-top: 0.25rem;
  color: #6d6257;
  font-size: 0.9rem;
}

.am360-product-summary__cart .shopify-payment-button,
.am360-product-summary__cart [class*='shopify-payment'] {
  display: none !important;
}

.am360-product-summary__cart form.cart {
  margin: 0 0 2rem;
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.am360-product-summary__cart .variations_form {
  display: block;
  width: 100%;
}

.am360-product-summary__cart form.cart:not(.variations_form) {
  flex-wrap: nowrap;
  width: 100%;
}

.am360-product-summary__cart form.cart:not(.variations_form) .quantity {
  flex: 0 0 auto;
  width: auto;
}

.am360-product-summary__cart form.cart:not(.variations_form) .single_add_to_cart_button {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
}

.am360-product-summary__cart .single_variation_wrap {
  margin-top: 1.5rem;
  width: 100%;
}

.am360-product-summary__cart .woocommerce-variation-add-to-cart {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
  flex-wrap: nowrap;
  width: 100%;
}

.am360-product-summary__cart .woocommerce-variation-price,
.am360-product-summary__cart .woocommerce-variation-availability,
.am360-product-summary__cart .woocommerce-variation-description {
  display: none !important;
}

.am360-product-summary__cart .quantity {
  margin-right: 0 !important;
  float: none !important;
  flex: 0 0 auto;
}

.am360-quantity {
  display: inline-grid;
  grid-template-columns: 46px 72px 46px;
  border: 1px solid #d8d1ca;
  min-height: 52px;
  background: #f7f3ed;
  flex: 0 0 164px;
  width: 164px;
}

.am360-quantity__button {
  border: 0;
  background: transparent;
  color: #2b241f;
  font-size: 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.am360-product-summary__cart .am360-quantity .qty {
  width: 72px;
  height: 50px;
  border: 0;
  background: transparent;
  text-align: center;
  padding: 0;
  appearance: textfield;
  -moz-appearance: textfield;
}

.am360-product-summary__cart .am360-quantity .qty::-webkit-outer-spin-button,
.am360-product-summary__cart .am360-quantity .qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.am360-product-summary__cart .single_add_to_cart_button {
  min-height: 52px;
  padding: 0.95rem 1.7rem;
  border-radius: 0;
  background: #241b16;
  color: #fff;
  border: 0;
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
}

.am360-product-summary__cart .single_add_to_cart_button,
.am360-product-summary__cart .single_add_to_cart_button.button,
.am360-product-summary__cart button.single_add_to_cart_button {
  background: #241b16 !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: none !important;
  width: 100% !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

.am360-product-summary__cart .single_add_to_cart_button:hover,
.am360-product-summary__cart .single_add_to_cart_button.button:hover,
.am360-product-summary__cart button.single_add_to_cart_button:hover {
  background: #3a2a20 !important;
  color: #fff !important;
}

.am360-product-summary__cart .quantity.hidden {
  display: none !important;
}

.am360-product-accordion {
  border-top: 1px solid #d8d1ca;
}

.am360-product-accordion details {
  border-bottom: 1px solid #d8d1ca;
}

.am360-product-accordion summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 1rem 1.5rem 1rem 0;
  font-family: 'Trirong', Georgia, serif;
  font-size: 1.1rem;
}

.am360-product-accordion summary::-webkit-details-marker {
  display: none;
}

.am360-product-accordion summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.am360-product-accordion details[open] summary::after {
  content: '−';
}

.am360-product-accordion__content {
  padding: 0 0 1rem;
}

.am360-related-products {
  padding: 72px 0 96px;
  background: #fff;
}

.am360-related-products__title {
  text-align: center;
  font-family: 'Trirong', Georgia, serif;
  font-size: clamp(2.4rem, 3.4vw, 4rem);
  font-weight: 200;
  line-height: 1.08;
  margin-bottom: 2.75rem;
}

.am360-related-products__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.25rem;
}

.am360-related-card {
  position: relative;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.am360-related-card__link {
  display: block;
  text-align: center;
}

.am360-related-card__badge {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  background: #f4f1ec;
  color: #4d443d;
  padding: 0.35rem 0.7rem;
  font-size: 0.82rem;
  z-index: 2;
}

.am360-related-card__media {
  height: clamp(320px, 26vw, 460px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: transparent;
  overflow: hidden;
}

.am360-related-card__media img {
  width: auto;
  max-width: 108%;
  max-height: 108%;
  object-fit: contain;
  transition: transform 0.28s ease;
}

.am360-related-card__link:hover .am360-related-card__media img {
  transform: scale(1.04);
}

.am360-related-card__title {
  margin: 1rem 0 0.2rem;
  font-family: 'Trirong', Georgia, serif;
  font-size: 1rem;
  font-weight: 200;
  line-height: 1.28;
}

.am360-related-card__price {
  font-size: 0.94rem;
  color: #4d443d;
}

.contact-form form {
  display: grid;
  gap: 18px;
}

.contact-form label {
  font-weight: 600;
  color: var(--text);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 16px;
  background: #fff;
  color: var(--text);
}

.contact-form input[type="file"] {
  width: 100%;
  border: 1px dashed var(--border);
  border-radius: 16px;
  padding: 12px 14px;
  background: #fff;
}

.contact-form textarea {
  resize: vertical;
}

.btn-outline-dark:not(:hover),
.am360-btn-outline-stable,
.am360-btn-outline-stable:hover,
.am360-btn-outline-stable:focus,
.am360-btn-outline-stable:active {
  background: transparent !important;
  color: #1e1c19 !important;
  border-color: #1e1c19 !important;
  box-shadow: none !important;
}

.am360-form-feedback {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.am360-form-feedback--success {
  background: #edf8f0;
  border: 1px solid #b8e0c1;
  color: #1f5d2f;
}

.am360-form-feedback--error {
  background: #fff1f1;
  border: 1px solid #efc4c4;
  color: #8b1f1f;
}

.am360-form-turnstile {
  margin-top: 4px;
}

.am360-form-help {
  margin: 0;
  color: #74685f;
  font-size: 0.88rem;
}

.am360-hp-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 1px !important;
  height: 1px !important;
}

.am360-contact-locations-list {
  display: grid;
  gap: 14px;
  margin: 0 0 1.1rem;
}

.am360-contact-location-item {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
}

.am360-contact-location-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.am360-contact-location-item__media {
  height: 100%;
}

.am360-contact-location-item__media img {
  width: 100%;
  height: 100%;
  min-height: 128px;
  object-fit: cover;
  border-radius: 12px;
}

.am360-contact-location-item__title {
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin: 0 0 4px;
}

.am360-contact-location-item__subtitle,
.am360-contact-location-item__address {
  margin: 0;
  color: #5f564f;
  font-size: 0.93rem;
  line-height: 1.55;
}

.am360-contact-location-item__button {
  margin-top: 8px;
  font-size: 0.78rem !important;
  padding: 0.22rem 0.66rem !important;
  min-height: 0 !important;
  line-height: 1.2 !important;
}

@media (max-width: 575.98px) {
  .am360-contact-location-item {
    grid-template-columns: 1fr;
  }

  .am360-contact-location-item__media img {
    width: 100%;
    height: auto;
    max-height: 180px;
    min-height: 0;
  }
}

.am360-blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2rem;
  align-items: start;
}

.am360-blog-main {
  min-width: 0;
}

.am360-blog-grid {
  display: grid;
  gap: 1.25rem;
}

.am360-blog-card {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 1rem;
  border-radius: 24px;
  padding: 14px;
}

.am360-blog-card__media {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  min-height: 180px;
  background: #eee7dd;
}

.am360-blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.am360-blog-card__placeholder {
  display: grid;
  place-items: center;
  height: 100%;
  color: #7a6f65;
}

.am360-blog-card__body {
  display: grid;
  gap: 0.45rem;
  align-content: center;
}

.am360-blog-card__meta,
.am360-blog-single__meta {
  margin: 0;
  color: #74695f;
  font-size: 0.86rem;
}

.am360-blog-card__title,
.am360-blog-single__title {
  margin: 0;
  font-family: 'Trirong', Georgia, serif;
}

.am360-blog-card__title {
  font-size: 1.6rem;
  line-height: 1.2;
}

.am360-blog-card__excerpt {
  margin: 0;
  color: #5f564f;
}

.am360-blog-card__link {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2rem;
}

.am360-blog-pagination {
  margin-top: 1rem;
}

.am360-blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  margin-right: 6px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
}

.am360-blog-pagination .page-numbers.current {
  background: #1e1c19;
  color: #fff;
  border-color: #1e1c19;
}

.am360-blog-sidebar {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 1rem;
}

.am360-blog-sidebar__widget {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
}

.am360-blog-sidebar__title {
  margin: 0 0 0.65rem;
  font-family: 'Red Hat Display', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
}

.am360-blog-sidebar__list {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.38rem;
}

.am360-blog-sidebar .search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.am360-blog-sidebar .search-field {
  border: 1px solid var(--border);
  border-radius: 10px;
  min-height: 40px;
  padding: 0 12px;
}

.am360-blog-sidebar .search-submit {
  border: 1px solid #1e1c19;
  color: #1e1c19;
  background: transparent;
  border-radius: 999px;
  padding: 0 12px;
  min-height: 40px;
}

.am360-blog-single__article {
  padding: 22px;
}

.am360-blog-single__title {
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.05;
  margin: 0.25rem 0 1.1rem;
}

.am360-blog-single__media {
  margin: 0 0 1.2rem;
  border-radius: 20px;
  overflow: hidden;
}

.am360-blog-single__media img {
  width: 100%;
  height: auto;
}

.am360-blog-single__content {
  color: #2a2520;
}

.am360-blog-single__content > *:first-child {
  margin-top: 0;
}

.am360-blog-single__content h2,
.am360-blog-single__content h3,
.am360-blog-single__content h4 {
  margin-top: 1.4rem;
  margin-bottom: 0.6rem;
}

.am360-blog-single__nav {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 600;
}

.am360-search-page .section-heading {
  margin-bottom: 2rem;
}

.am360-search-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 2rem;
  align-items: start;
}

.am360-search-main {
  min-width: 0;
}

.am360-search-results {
  display: grid;
  gap: 1rem;
}

.am360-search-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 1rem;
  padding: 14px;
  border-radius: 20px;
}

.am360-search-card__media {
  border-radius: 14px;
  overflow: hidden;
  min-height: 150px;
  background: #efe6dc;
}

.am360-search-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.am360-search-card__placeholder {
  height: 100%;
  display: grid;
  place-items: center;
  color: #7b6f61;
}

.am360-search-card__body {
  display: grid;
  align-content: center;
  gap: 0.4rem;
}

.am360-search-card__type {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid #eadbcb;
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8d5b38;
}

.am360-search-card__title {
  margin: 0;
  font-family: 'Trirong', Georgia, serif;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  line-height: 1.12;
}

.am360-search-card__excerpt {
  margin: 0;
  color: #5b534b;
}

.am360-search-card__link {
  text-decoration: underline;
  text-underline-offset: 0.2rem;
  font-weight: 600;
}

.am360-search-aside {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 1rem;
}

.am360-search-widget {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 16px;
  padding: 16px;
}

.am360-search-widget h3 {
  margin: 0 0 0.6rem;
  font-size: 0.96rem;
  font-weight: 700;
}

.am360-search-widget ul {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.35rem;
}

.am360-search-widget .search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.am360-search-widget .search-field {
  border: 1px solid var(--border);
  border-radius: 10px;
  min-height: 40px;
  padding: 0 12px;
}

.am360-search-widget .search-submit {
  border: 1px solid #1e1c19;
  color: #1e1c19;
  background: transparent;
  border-radius: 999px;
  padding: 0 12px;
  min-height: 40px;
}

.am360-job-offers {
  display: grid;
  gap: 0.95rem;
}

.am360-job-offer-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  background: #fff;
}

.am360-job-offer-item__title {
  margin: 0 0 4px;
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 700;
  font-size: 1rem;
}

.am360-job-offer-item__excerpt {
  margin: 0 0 4px;
  color: #5f564f;
}

.am360-job-offer-item__content p {
  margin: 0;
  color: #4f463f;
  font-size: 0.92rem;
}

.am360-account-page .section-heading {
  margin-bottom: 2rem;
}

.am360-account-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 1.2rem;
  align-items: start;
}

.am360-account-nav {
  position: sticky;
  top: 108px;
}

.am360-account-nav .woocommerce-MyAccount-navigation {
  float: none;
  width: 100%;
}

.am360-account-nav .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  width: 100%;
}

.am360-account-nav .woocommerce-MyAccount-navigation li + li {
  border-top: 1px solid var(--border);
}

.am360-account-nav .woocommerce-MyAccount-navigation a {
  display: block;
  padding: 0.82rem 1rem;
  font-weight: 600;
  color: #1f1a16;
}

.am360-account-nav .woocommerce-MyAccount-navigation a:hover {
  background: #f7efe5;
}

.am360-account-nav .woocommerce-MyAccount-navigation .is-active a {
  background: #1f1a16;
  color: #fff;
}

.am360-account-content {
  border-radius: 22px;
  padding: 24px;
}

.am360-account-content .woocommerce-MyAccount-content {
  float: none;
  width: 100%;
}

.am360-account-content h2,
.am360-account-content h3 {
  margin: 0 0 0.7rem;
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 700;
}

.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-info,
.woocommerce-account .woocommerce-error {
  border: 1px solid var(--border);
  border-left: 0;
  background: #f8f1e8;
  color: #2a231e;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.woocommerce-account .woocommerce-message::before,
.woocommerce-account .woocommerce-info::before,
.woocommerce-account .woocommerce-error::before {
  color: #8d5b38;
}

.am360-account-content .woocommerce-Addresses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
  clear: both;
}

.am360-account-content .woocommerce-Addresses .woocommerce-Address,
.am360-account-content .woocommerce-Addresses .col-1,
.am360-account-content .woocommerce-Addresses .col-2 {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  margin: 0;
}

.am360-account-content .woocommerce-Addresses .u-column1,
.am360-account-content .woocommerce-Addresses .u-column2 {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  margin: 0;
}

.am360-account-content .woocommerce-Address {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px;
  background: #fffdf9;
}

.am360-account-content .woocommerce-Address-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
}

.am360-account-content .woocommerce-Address-title h3 {
  margin: 0;
  font-size: clamp(1.1rem, 1.7vw, 1.45rem);
  line-height: 1.15;
  max-width: 68%;
}

.am360-account-content .woocommerce-Address-title a {
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2rem;
  white-space: nowrap;
  margin-left: auto;
  text-align: right;
}

.am360-account-content .woocommerce-orders-table,
.am360-account-content .shop_table {
  border: 1px solid var(--border);
  border-radius: 16px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  background: #fff;
}

.am360-account-content .woocommerce-orders-table th,
.am360-account-content .woocommerce-orders-table td,
.am360-account-content .shop_table th,
.am360-account-content .shop_table td {
  padding: 0.82rem 0.9rem;
  border-color: var(--border);
}

.am360-account-content .woocommerce-orders-table th,
.am360-account-content .shop_table th {
  background: #f8f1e8;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.am360-account-content .button,
.am360-account-content button:not(.show-password-input),
.am360-account-content input[type="submit"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  border-radius: 999px !important;
  border: 1px solid #1e1c19 !important;
  background: #1e1c19 !important;
  color: #fff !important;
  min-height: 42px;
  padding: 0 16px !important;
  font-weight: 700 !important;
}

.woocommerce-account .woocommerce-message .button,
.woocommerce-account .woocommerce-info .button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1.2 !important;
  min-height: 44px;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.am360-account-content .button:hover,
.am360-account-content button:not(.show-password-input):hover,
.am360-account-content input[type="submit"]:hover {
  background: #000 !important;
  border-color: #000 !important;
}

.woocommerce-account .woocommerce-EditAccountForm,
.woocommerce-account .woocommerce-address-fields,
.woocommerce-account form.woocommerce-ResetPassword,
.woocommerce-account form.login,
.woocommerce-account form.register {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  padding: 16px;
}

.woocommerce-account form .form-row label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #6e6258;
}

.woocommerce-account form input[type="text"],
.woocommerce-account form input[type="email"],
.woocommerce-account form input[type="password"],
.woocommerce-account form input[type="tel"],
.woocommerce-account form textarea,
.woocommerce-account form select {
  border: 1px solid var(--border);
  border-radius: 12px;
  min-height: 44px;
  padding: 0 12px;
}

.woocommerce-account form textarea {
  min-height: 120px;
  padding: 10px 12px;
}

.woocommerce-account .password-input {
  width: 100%;
}

.woocommerce-account .show-password-input {
  border: 0 !important;
  background: transparent !important;
  color: #6f655d !important;
  width: 42px;
  min-height: 42px;
  border-radius: 10px;
}

.woocommerce-account .show-password-input:hover {
  background: #f3ece3 !important;
  color: #1e1c19 !important;
}

.woocommerce-account .woocommerce-form-login,
.woocommerce-account .woocommerce-form-register {
  margin-top: 0;
}

.woocommerce-account .woocommerce-privacy-policy-text {
  color: #6f655d;
  font-size: 0.9rem;
}

@media (max-width: 991.98px) {
  .am360-blog-layout {
    grid-template-columns: 1fr;
  }

  .am360-blog-sidebar {
    position: static;
  }

  .am360-search-layout {
    grid-template-columns: 1fr;
  }

  .am360-search-aside {
    position: static;
  }

  .am360-account-shell {
    grid-template-columns: 1fr;
  }

  .am360-account-nav {
    position: static;
  }

  .am360-account-content .woocommerce-Addresses {
    grid-template-columns: 1fr;
  }

  .am360-account-content .woocommerce-Address-title h3 {
    max-width: none;
  }
}

@media (max-width: 767.98px) {
  .am360-blog-card {
    grid-template-columns: 1fr;
  }

  .am360-blog-card__media {
    min-height: 200px;
  }

  .am360-search-card {
    grid-template-columns: 1fr;
  }

  .am360-search-card__media {
    min-height: 180px;
  }

  .am360-account-content {
    padding: 18px;
  }
}

@media (max-width: 991.98px) {
  .am360-header-search__dropdown {
    width: min(92vw, 520px);
    right: -12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .am360-header-search__form,
  .am360-header-search__dropdown {
    transition: none;
    animation: none;
  }
}

@media (min-width: 992px) {
  .site-header-shell {
    width: 100%;
    max-width: none;
    padding-left: 40px;
    padding-right: 40px;
  }

  .site-navbar {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .site-branding .logo {
    font-size: 1rem;
  }

  .header-icon-button {
    color: #fff;
  }
}

@media (max-width: 991.98px) {
  .desktop-header {
    display: none;
  }

  .d-lg-none + .d-none.d-lg-inline-flex {
    display: none !important;
  }

  .hero,
  .hero-content,
  .hero-content .row {
    min-height: 100svh;
    max-height: 100svh;
  }

  .hero-content {
    padding: 0 14px;
  }

  .hero-content .row {
    align-items: center !important;
  }

  .hero-copy {
    width: 100%;
    max-width: 360px;
    margin: 0;
    padding-top: 1.5rem;
  }

  .hero-copy .eyebrow,
  .hero-copy p,
  .hero-actions {
    display: none;
  }

  .hero-copy h1 {
    font-size: clamp(2.6rem, 12vw, 4.1rem);
    line-height: 0.92;
    margin: 0;
    max-width: 320px;
  }

  .section {
    padding: 72px 0;
  }

  .am360-shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.2rem 1.2rem;
  }

  .am360-shop-page__container {
    max-width: 100%;
    padding-left: 24px;
    padding-right: 24px;
  }

  .am360-shop-card__media {
    height: 380px;
  }

  .am360-single-product__inner,
  .am360-related-products__inner {
    padding-left: 24px;
    padding-right: 24px;
  }

  .am360-product-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .am360-product-gallery {
    grid-template-columns: 44px 1fr 44px;
    gap: 1rem;
  }

  .am360-product-gallery__stage {
    min-height: 520px;
  }

  .am360-checkout-page .woocommerce-checkout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .am360-checkout-page .woocommerce-billing-fields__field-wrapper,
  .am360-checkout-page .woocommerce-shipping-fields__field-wrapper,
  .am360-checkout-page .woocommerce-additional-fields__field-wrapper {
    grid-template-columns: 1fr;
  }

  .am360-checkout-page .col2-set {
    padding-right: 0;
  }

  .am360-checkout-page .woocommerce-checkout-review-order,
  .am360-checkout-page #order_review {
    border-left: 0;
    border-top: 1px solid #e7ded3;
    padding-left: 0;
    padding-right: 0;
    background: transparent;
  }

  .page-template-page-checkout .woocommerce-checkout > .col2-set {
    order: 1;
    padding: 1.5rem 24px 0;
  }

  .page-template-page-checkout .woocommerce-checkout > #order_review {
    order: 2;
    position: static;
    min-height: 0;
    padding: 1.25rem 24px 1.5rem;
    border-left: 0;
    border-top: 0;
    border-bottom: 1px solid #ece3d8;
    background: #faf9f7;
  }

  .page-template-page-checkout .woocommerce-billing-fields h3,
  .page-template-page-checkout .woocommerce-shipping-fields h3,
  .page-template-page-checkout .woocommerce-additional-fields h3 {
    font-size: 2.2rem;
  }

  .am360-product-gallery__slide img {
    max-height: 520px;
  }

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

  .am360-related-card__media {
    height: 300px;
  }

  .bestsellers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 1rem;
  }

  .bestseller-item:nth-child(5) {
    grid-column: 1 / -1;
    max-width: 48%;
    margin: 0 auto;
  }
}

@media (max-width: 767.98px) {
  body.single-product,
  body.single-product .site-main,
  body.single-product .am360-single-product {
    overflow-x: hidden;
  }

  body.single-product .am360-product-layout,
  body.single-product .am360-product-gallery,
  body.single-product .am360-product-summary,
  body.single-product .am360-product-summary__excerpt,
  body.single-product .am360-product-accordion,
  body.single-product .am360-product-accordion__content,
  body.single-product .am360-product-summary__cart,
  body.single-product .am360-variation-picker,
  body.single-product .am360-variation-group {
    min-width: 0;
    max-width: 100%;
  }

  body.single-product .am360-product-summary__title,
  body.single-product .am360-product-summary__excerpt,
  body.single-product .am360-product-accordion__content,
  body.single-product .am360-variation-group__label,
  body.single-product .am360-product-summary__taxes {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .container,
  .container-fluid,
  .container-sm {
    padding-left: 16px;
    padding-right: 16px;
  }

  .site-navbar {
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
  }

  .mobile-header-side--right .am360-cart-trigger .am360-cart-count {
    top: -2px;
    right: -1px;
  }

  .am360-cart-drawer {
    --bs-offcanvas-width: 100vw;
  }

  .am360-cart-drawer__title {
    font-size: 1.95rem;
  }

  .am360-cart-drawer__body-inner,
  .am360-cart-drawer__footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-content .container,
  .hero-content {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .section-heading h2,
  .section-heading h1 {
    font-size: 2.2rem;
  }

  .section-heading p {
    font-family: 'Trirong', Georgia, serif;
    font-size: 1.15rem;
    line-height: 1.28;
    max-width: 320px;
  }

  .am360-shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem 1rem;
  }

  .am360-shop-page .section-text {
    margin-bottom: 1.5rem !important;
  }

  .am360-shop-page__container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .am360-shop-card__media {
    height: 250px;
  }

  .am360-single-product {
    padding-top: 24px;
  }

  .am360-single-product__inner,
  .am360-related-products__inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .am360-checkout-page__inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .am360-checkout-page {
    padding-top: 0;
  }

  .am360-checkout-page .woocommerce-checkout-review-order,
  .am360-checkout-page #order_review {
    padding: 1rem 0 0;
  }

  .am360-checkout-page h3,
  .am360-checkout-page #order_review_heading {
    font-size: 1.7rem;
  }

  .am360-checkout-header__inner {
    min-height: 64px;
    padding: 0 16px;
  }

  .am360-checkout-header__logo {
    width: 140px;
  }

  .am360-checkout-header__cart {
    right: 16px;
  }

  .page-template-page-checkout .am360-checkout-page__inner {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
  }

  .am360-checkout-mobile-summary {
    display: block;
    border-top: 1px solid #e7ded3;
    border-bottom: 1px solid #e7ded3;
    background: #faf9f7;
  }

  .am360-checkout-mobile-summary__toggle {
    width: 100%;
    min-height: 54px;
    padding: 0 16px;
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: #1f1915;
    font-size: 0.98rem;
    font-weight: 700;
    text-align: left;
  }

  .am360-checkout-mobile-summary__total {
    font-size: 1rem;
    font-weight: 700;
  }

  .am360-checkout-mobile-summary__content {
    padding: 0 16px 16px;
    background: #faf9f7;
  }

  .am360-checkout-mobile-summary__content .shop_table {
    margin: 0;
  }

  .am360-checkout-mobile-summary__content .shop_table th,
  .am360-checkout-mobile-summary__content .shop_table td {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e7ded3;
    font-size: 0.94rem;
  }

  .am360-checkout-mobile-summary__content .shop_table thead {
    display: none;
  }

  .am360-checkout-mobile-payment-summary {
    display: block;
    margin: 1.25rem 0 1rem;
    padding: 0 0 1rem;
    border-bottom: 1px solid #e7ded3;
  }

  .am360-checkout-mobile-payment-summary__content .shop_table {
    margin: 0;
  }

  .am360-checkout-mobile-payment-summary__content .shop_table thead {
    display: none;
  }

  .am360-checkout-mobile-payment-summary__content .shop_table th,
  .am360-checkout-mobile-payment-summary__content .shop_table td {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e7ded3;
    font-size: 0.94rem;
  }

  .am360-checkout-mobile-payment-summary__footer {
    padding-top: 0.85rem;
  }

  .am360-checkout-mobile-payment-summary__total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }

  .am360-checkout-mobile-payment-summary__total-label {
    color: #1f1915;
    font-size: 1rem;
    font-weight: 700;
  }

  .am360-checkout-mobile-payment-summary__total-value {
    color: #1f1915;
    font-size: 1.05rem;
    font-weight: 700;
  }

  .page-template-page-checkout .woocommerce-checkout > #order_review {
    padding: 1rem 16px 1.25rem;
    display: block;
    background: #fff;
    border-bottom: 0;
  }

  .page-template-page-checkout .woocommerce-checkout > #order_review .shop_table,
  .page-template-page-checkout .woocommerce-checkout > #order_review .shop_table_responsive,
  .page-template-page-checkout .woocommerce-checkout > #order_review .cart-subtotal,
  .page-template-page-checkout .woocommerce-checkout > #order_review .shipping,
  .page-template-page-checkout .woocommerce-checkout > #order_review .fee,
  .page-template-page-checkout .woocommerce-checkout > #order_review .order-total {
    display: none;
  }

  .page-template-page-checkout .woocommerce-checkout > #order_review .woocommerce-checkout-payment {
    margin-top: 0;
  }

  .page-template-page-checkout form .form-row-first,
  .page-template-page-checkout form .form-row-last {
    width: 100%;
    margin-right: 0;
  }

  .page-template-page-checkout .woocommerce-checkout > .col2-set {
    padding: 1.25rem 16px 0;
  }

  .page-template-page-checkout .woocommerce-checkout > #order_review {
    padding: 1rem 16px 1.25rem;
  }

  .page-template-page-checkout .woocommerce-billing-fields h3,
  .page-template-page-checkout .woocommerce-shipping-fields h3,
  .page-template-page-checkout .woocommerce-additional-fields h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .am360-product-gallery {
    grid-template-columns: 1fr;
    gap: 0.6rem;
    overflow: visible;
  }

  .am360-product-gallery__stage {
    min-height: 360px;
    min-width: 0;
    width: 100%;
  }

  .am360-product-gallery__slide img {
    width: 100%;
    max-width: 100%;
    max-height: 360px;
  }

  .am360-product-gallery__nav {
    width: 30px;
    height: 30px;
    font-size: 1rem;
    position: absolute;
    top: 50%;
    z-index: 3;
    transform: translateY(-50%);
  }

  .am360-product-gallery__nav--prev {
    left: 0;
  }

  .am360-product-gallery__nav--next {
    right: 0;
  }

  .am360-product-gallery__nav-spacer {
    display: none;
  }

  .am360-product-gallery__thumbs {
    grid-column: auto;
    gap: 0.5rem;
  }

  .am360-product-gallery__thumb {
    width: 44px;
    height: 44px;
  }

  .am360-product-summary__title {
    font-size: 2.05rem;
    line-height: 1.06;
  }

  .am360-variation-group {
    margin-bottom: 1rem;
  }

  .am360-product-summary__cart .variations_form {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .am360-product-summary__cart .variations_form .am360-variation-picker {
    width: 100%;
    order: 1;
  }

  .am360-product-summary__cart .variations_form .single_variation_wrap {
    width: 100%;
    order: 2;
    margin-top: 1rem;
  }

  .variations_form .am360-variation-group[data-attribute-name="attribute_pa_couleur"] .am360-variation-group__options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .variations_form .am360-variation-group[data-attribute-name="attribute_pa_taille"] .am360-variation-group__options {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .am360-variation-option {
    min-width: 0;
    min-height: 56px;
    padding: 0.75rem 0.8rem;
    font-size: 0.9rem;
    line-height: 1.2;
  }

  .variations_form .am360-variation-group[data-attribute-name="attribute_pa_couleur"] .am360-variation-option {
    min-width: 0;
    width: 100%;
  }

  .variations_form .am360-variation-group[data-attribute-name="attribute_pa_taille"] .am360-variation-option {
    min-width: 0;
    width: 100%;
    min-height: 52px;
  }

  .am360-related-products__title {
    font-size: 2.1rem;
  }

  .am360-product-summary__cart .woocommerce-variation-add-to-cart,
  .am360-product-summary__cart form.cart {
    flex-wrap: nowrap;
    width: 100%;
  }

  .am360-product-summary__cart .woocommerce-variation-add-to-cart {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 0.6rem;
    align-items: stretch;
  }

  .am360-product-summary__cart .woocommerce-variation-add-to-cart .am360-quantity {
    flex: 0 0 112px;
    width: 112px;
    grid-template-columns: 34px 44px 34px;
    min-height: 52px;
    justify-content: stretch;
  }

  .am360-product-summary__cart .woocommerce-variation-add-to-cart .am360-quantity .qty {
    width: 44px;
    height: 50px;
  }

  .am360-product-summary__cart .woocommerce-variation-add-to-cart .single_add_to_cart_button {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    min-height: 52px;
    padding: 0.85rem 1rem;
    font-size: 0.92rem;
    line-height: 1.15;
  }

  .am360-related-card__media {
    height: 220px;
  }

  .am360-related-products {
    padding: 56px 0 72px;
  }

  .am360-related-products__grid {
    gap: 1.5rem 1rem;
  }

  .am360-shop-card__title,
  .am360-shop-card__price,
  .am360-shop-card__price .amount {
    font-size: 0.88rem;
  }

  .bestsellers-heading {
    margin-bottom: 1.25rem;
  }

  .bestsellers-heading h2 {
    font-size: 1.05rem;
    margin-bottom: 0.9rem;
  }

  .bestsellers-heading p {
    font-size: 1.5rem;
    line-height: 1.18;
    max-width: 320px;
  }

  .bestsellers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem 0.75rem;
  }

  .bestseller-visual {
    height: 210px;
    font-size: 1.05rem;
  }

  .bestseller-item:nth-child(1) .bestseller-visual,
  .bestseller-item:nth-child(4) .bestseller-visual,
  .bestseller-item:nth-child(5) .bestseller-visual {
    height: 230px;
  }

  .bestseller-item h3 {
    display: none;
  }

  .bestseller-badge {
    top: 0.4rem;
    font-size: 0.72rem;
  }

  .card-image-placeholder,
  .section-image-placeholder {
    min-height: 280px;
  }

  .promo-shell {
    margin-top: 0;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

.histoire-page {
  position: relative;
  width: 100%;
  height: 100%;
  background-image: url('https://graindecafe.store/cdn/shop/files/WhatsApp_Image_2025-11-20_a_20.30.37_07128d5e.jpg?v=1763667056&width=3840');
  background-size: cover;
  color: #fff

}

.section-heading .text-center > p,
.section-heading .text-center > small {
  color: #fff;
}

.histoire-page > .container { 
  position: relative;
}

.histoire-page > .container > p { 
  font-size: 1.4em!important;
  font-weight: 400
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
}

.text-white {
  color: #fff!important;
}
