/* =========================================================
   TERSA HEADER
   File: assets/css/header.css
   ========================================================= */

/* =========================
   Topbar
   ========================= */
   .site-header__topbar {
    background: var(--c-accent);
    color: #fff;
  }
  
  .site-header__topbar-inner {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .site-header__promo {
    margin: 0;
    color: #fff;
    font-size: 0.875rem;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
    font-weight: 700;
  }
  
  .site-header__promo-link {
    margin-left: 0.35rem;
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 4px;
  }
  
  .site-header__promo-link:hover {
    color: #fff;
    opacity: 0.88;
  }
  
  /* =========================
     Main Header
     ========================= */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #f7f7f5;
  }
  
  .site-header__main {
    background: #f7f7f5;
    border-bottom: 1px solid #eee6d9;
    box-shadow: 0 6px 18px rgba(42, 33, 27, 0.06);
  }
  
  .site-header__main-inner {
    min-height: 96px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: clamp(20px, 3vw, 40px);
  }
  
  .site-header__brand {
    display: flex;
    align-items: center;
    min-width: 0;
  }
  
  .site-header__logo-link {
    display: inline-flex;
    align-items: center;
    color: var(--c-primary);
    text-decoration: none;
    line-height: 0;
    flex: 0 0 auto;
  }
  
  .site-header__brand .site-header__logo-image,
  .site-header__brand .custom-logo,
  .site-header__brand a.custom-logo-link img {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: 185px !important;
    max-height: 52px !important;
    object-fit: contain;
    flex: 0 0 auto;
  }
  
  .site-header__logo-text {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 1;
    color: #111;
  }
  
  /* =========================
     Desktop Navigation
     ========================= */
  .site-header__nav--desktop {
    display: flex;
    justify-content: center;
    min-width: 0;
  }
  
  .site-header__nav--desktop .menu,
  .site-header__nav--desktop ul.menu {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: clamp(18px, 2vw, 36px);
  }
  
  .site-header__nav--desktop .menu > li,
  .site-header__nav--desktop ul.menu > li {
    position: relative;
  }
  
  .site-header__nav--desktop .menu > li > a,
  .site-header__nav--desktop ul.menu > li > a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0;
    color: #111;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.2;
    position: relative;
  }
  
  .site-header__nav--desktop .menu > li > a::after,
  .site-header__nav--desktop ul.menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.28s ease;
  }
  
  .site-header__nav--desktop .menu > li > a:hover::after,
  .site-header__nav--desktop ul.menu > li > a:hover::after,
  .site-header__nav--desktop .menu > li.current-menu-item > a::after,
  .site-header__nav--desktop .menu > li.current-menu-ancestor > a::after,
  .site-header__nav--desktop .menu-item-has-children.is-submenu-open > a::after {
    transform: scaleX(1);
  }
  
  .site-header__nav--desktop .menu > li > a:hover,
  .site-header__nav--desktop ul.menu > li > a:hover {
    color: #111;
  }
  
  /* =========================
     Submenu Toggle
     ========================= */
  .submenu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding: 0;
    margin-left: 2px;
    border: 0;
    background: transparent;
    color: currentColor;
    cursor: pointer;
    vertical-align: middle;
    line-height: 1;
  }
  
  .submenu-toggle svg {
    width: 12px;
    height: 12px;
    display: block;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform var(--transition-fast);
  }
  
  .submenu-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
  }
  
  .submenu-toggle:hover {
    color: var(--c-accent);
  }
  
  /* =========================
     Desktop Submenu
     ========================= */
  .site-header__nav--desktop .sub-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    min-width: 200px;
    padding: 12px 0;
    margin: 0;
    list-style: none;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 32px rgba(42, 33, 27, 0.13);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.22s ease,
      transform 0.22s ease,
      visibility 0.22s ease;
  }
  
  .site-header__nav--desktop .sub-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 6px;
    background: #fff;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  }
  
  .site-header__nav--desktop .menu-item-has-children.is-submenu-open > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
  
  .site-header__nav--desktop .sub-menu .menu-item {
    margin: 0;
  }
  
  .site-header__nav--desktop .sub-menu .menu-item a {
    display: block;
    padding: 9px 28px;
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--c-text);
    white-space: nowrap;
    line-height: 1.4;
    position: relative;
  }
  
  .site-header__nav--desktop .sub-menu .menu-item a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 28px;
    right: 28px;
    height: 1px;
    background: var(--c-text);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.22s ease;
  }
  
  .site-header__nav--desktop .sub-menu .menu-item a:hover::after,
  .site-header__nav--desktop .sub-menu .menu-item a:focus-visible::after {
    transform: scaleX(1);
  }
  
  .site-header__nav--desktop .sub-menu .menu-item a:focus-visible {
    outline: none;
  }
  
  /* =========================
     Header Actions
     ========================= */
  .site-header__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(10px, 1.2vw, 18px);
  }
  
  .site-header__icon-link {
    position: relative;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #111;
    text-decoration: none;
  }
  
  .site-header__icon-link:hover {
    color: var(--c-accent);
  }
  
  .site-header__icon-link svg {
    width: 24px;
    height: 24px;
    display: block;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  
  .site-header__icon-link--wishlist svg {
    width: 23px;
    height: 23px;
  }
  
  .site-header__icon-link--wishlist svg path,
  .site-header__icon-link--cart svg path {
    fill: none;
  }
  
  .site-header__badge {
    position: absolute;
    top: -2px;
    right: -4px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--c-accent);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
  }
  
  .site-header__badge--wishlist {
    min-width: 22px;
  }
  
  .site-header__badge--wishlist,
  .site-header__badge--wishlist * {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }
  
  .site-header__badge--wishlist a {
    color: inherit;
    text-decoration: none;
  }
  
  /* =========================
     Mobile Toggle
     ========================= */
  .site-header__toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #111;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
  }
  
  .site-header__toggle span {
    display: block;
    width: 30px;
    height: 2px;
    background: currentColor;
    transition: transform var(--transition-base), opacity var(--transition-base);
  }
  
  .site-header__toggle.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .site-header__toggle.is-active span:nth-child(2) {
    opacity: 0;
  }
  
  .site-header__toggle.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  /* =========================
     Mobile Navigation Panel
     ========================= */
  .site-header__mobile-panel {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    z-index: 400;
    background: #fff;
    overflow: hidden;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s;
    --mobile-nav-header-h: 68px;
  }
  
  .site-header__mobile-panel.is-open {
    transform: translateX(0);
    background: #f7f7f5;
    visibility: visible;
    pointer-events: auto;
  }
  
  .site-header__mobile-backdrop {
    position: fixed;
    inset: 0;
    z-index: 399;
    background: rgba(17, 17, 17, 0.35);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s;
    cursor: pointer;
  }
  
  .site-header__mobile-backdrop.is-open {
    opacity: 1;
    visibility: visible;
  }
  
  .mobile-nav__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--mobile-nav-header-h);
    padding: 0 8px;
    border-bottom: 1px solid var(--c-border);
    flex-shrink: 0;
    position: relative;
  }
  
  .mobile-nav__logo-link {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    line-height: 0;
  }
  
  .mobile-nav__logo-link .site-header__logo-image,
  .mobile-nav__logo-link img {
    max-height: 34px;
    max-width: 120px;
    width: auto;
    height: auto;
  }
  
  .mobile-nav__back {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 0;
    background: transparent;
    padding: 10px 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--c-text);
    cursor: pointer;
    z-index: 1;
    white-space: nowrap;
    max-width: 40%;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .mobile-nav__back svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
  }
  
  .mobile-nav__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    color: var(--c-text);
    cursor: pointer;
    padding: 0;
    z-index: 1;
    flex-shrink: 0;
  }
  
  .mobile-nav__close svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
  }
  
  .mobile-nav__body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .site-header__nav--mobile {
    padding: 0;
  }
  
  .site-header__nav--mobile .menu,
  .site-header__nav--mobile ul.menu {
    display: block;
    margin: 0;
    padding: 0;
  }
  
  .site-header__nav--mobile .menu li,
  .site-header__nav--mobile ul.menu li {
    margin: 0;
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid var(--c-line);
  }
  
  .site-header__nav--mobile .menu a,
  .site-header__nav--mobile ul.menu a {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 18px 24px;
    color: #111;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.2;
    border-bottom: 0;
  }
  
  .site-header__nav--mobile .menu a:hover,
  .site-header__nav--mobile ul.menu a:hover {
    color: var(--c-accent);
  }
  
  .site-header__nav--mobile .current-menu-item > a,
  .site-header__nav--mobile .current-menu-ancestor > a {
    color: var(--c-accent);
  }
  
  .site-header__nav--mobile .submenu-toggle {
    width: 56px;
    height: auto;
    border-left: 1px solid var(--c-line);
    border-radius: 0;
    margin: 0;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .site-header__nav--mobile .submenu-toggle svg {
    transform: rotate(-90deg);
    width: 14px;
    height: 14px;
  }
  
  .site-header__nav--mobile .sub-menu {
    position: fixed;
    top: var(--mobile-nav-header-h);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 401;
    background: #f7f7f5;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    list-style: none;
    margin: 0;
    padding: 0;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .site-header__nav--mobile .menu-item-has-children.is-submenu-open > .sub-menu {
    transform: translateX(0);
  }
  
  .site-header__nav--mobile .sub-menu .sub-menu {
    z-index: 402;
  }
  
  /* =========================
     Search Overlay
     ========================= */
  .site-header__search {
    display: flex;
    align-items: center;
  }
  
  .site-header__search .site-header__icon-link--search {
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
    font: inherit;
  }
  
  .site-header__search-overlay[hidden] {
    display: none;
  }
  
  .site-header__search-overlay {
    position: fixed;
    inset: 0;
    z-index: 300;
  }
  
  .site-header__search-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 17, 17, 0.12);
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .site-header__search-overlay.is-open .site-header__search-backdrop {
    opacity: 1;
  }
  
  .site-header__search-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(100%, 500px);
    height: 100dvh;
    background: #f7f7f5;
    box-shadow: -10px 0 28px rgba(42, 33, 27, 0.10);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .site-header__search-overlay.is-open .site-header__search-panel {
    transform: translateX(0);
  }
  
  .site-header__search-panel-inner {
    padding: 88px 54px 56px;
  }
  
  .site-header__search-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 44px;
  }
  
  .site-header__search-title {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.01em;
    color: #111;
  }
  
  .site-header__search-body {
    max-width: 650px;
  }
  
  .site-header__search-close {
    position: relative;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 0;
  }
  
  .site-header__search-close span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 26px;
    height: 1.75px;
    background: #111;
    transform-origin: center;
  }
  
  .site-header__search-close span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
  }
  
  .site-header__search-close span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
  }
  
  .site-header__search-body .aws-search-form,
  .site-header__search-body .aws-container,
  .site-header__search-body .aws-wrapper {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .site-header__search-body .aws-wrapper {
    position: relative;
  }
  
  .site-header__search-body .aws-search-field,
  .site-header__search-body input[type="search"],
  .site-header__search-body input[type="text"] {
    width: 100%;
    padding: 0 84px 0 38px;
    border: 1px solid #ddd7cf;
    background: #f9f8f6;
    color: #111;
    font-size: 1rem;
    font-weight: 400;
    box-shadow: none;
  }
  
  .site-header__search-body .aws-search-field::placeholder,
  .site-header__search-body input[type="search"]::placeholder,
  .site-header__search-body input[type="text"]::placeholder {
    color: #8e8a84;
    opacity: 1;
  }
  
  .site-header__search-body .aws-search-btn,
  .site-header__search-body .aws-form-btn {
    position: absolute;
    top: 0;
    right: 0;
    width: 82px;
    border: 0;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
  }
  
  .site-header__search-body .aws-search-btn svg,
  .site-header__search-body .aws-form-btn svg,
  .site-header__search-body .aws-search-btn:before,
  .site-header__search-body .aws-form-btn:before {
    font-size: 28px;
  }
  
  html.is-search-open,
  body.is-search-open {
    overflow: hidden;
  }
  
  /* =========================
     Cart Drawer
     ========================= */
  .site-header__cart-overlay[hidden] {
    display: none;
  }
  
  .site-header__cart-overlay {
    position: fixed;
    inset: 0;
    z-index: 300;
  }
  
  .site-header__cart-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 17, 17, 0.12);
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
  }
  
  .site-header__cart-overlay.is-open .site-header__cart-backdrop {
    opacity: 1;
  }
  
  .site-header__cart-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(100%, 460px);
    height: 100dvh;
    background: #f7f7f5;
    box-shadow: -10px 0 28px rgba(42, 33, 27, 0.10);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .site-header__cart-overlay.is-open .site-header__cart-panel {
    transform: translateX(0);
  }
  
  .site-header__cart-panel-inner {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
  }
  
  .site-header__cart-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 40px 32px 24px;
    border-bottom: 1px solid var(--c-border);
    flex-shrink: 0;
  }
  
  .site-header__cart-title {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.2;
    color: #111;
  }
  
  .site-header__cart-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 32px;
  }
  
  .site-header__cart-close {
    position: relative;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 0;
  }
  
  .site-header__cart-close span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 26px;
    height: 1.75px;
    background: #111;
    transform-origin: center;
  }
  
  .site-header__cart-close span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
  }
  
  .site-header__cart-close span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
  }
  
  .site-header__cart-body .woocommerce-mini-cart,
  .site-header__cart-body .woocommerce-mini-cart.cart_list,
  .site-header__cart-body .cart_list {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .site-header__cart-body .tersa-mini-cart__item {
    position: relative;
    display: grid !important;
    grid-template-columns: 128px minmax(0, 1fr) !important;
    gap: 28px !important;
    align-items: start !important;
    padding: 0 0 36px !important;
    margin: 0 0 0 !important;
    border-bottom: 0 !important;
  }
  
  .site-header__cart-body .tersa-mini-cart__item > .remove {
    position: absolute !important;
    top: 29px !important;
    right: 0 !important;
    left: auto !important;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    line-height: 1;
    text-decoration: none;
    color: #111 !important;
    background: transparent;
    border: 0;
  }

  .site-header__cart-body .tersa-mini-cart__item > .remove:hover{
    background-color: var(--c-danger) !important;
    border-radius: 0;
  }
  
  .site-header__cart-body .tersa-mini-cart__thumb {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    justify-self: start;
    line-height: 0;
  }
  
  .site-header__cart-body .tersa-mini-cart__thumb a {
    display: block;
    line-height: 0;
  }
  
  .site-header__cart-body .tersa-mini-cart__thumb img {
    display: block !important;
    width: 128px !important;
    height: 148px !important;
    margin: 0 !important;
    float: none !important;
    object-fit: cover !important;
    box-shadow: none !important;
  }
  
  .site-header__cart-body .tersa-mini-cart__content {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    padding-right: 42px;
    padding-top: 30px;
    text-align: left;
    justify-self: stretch;
    align-self: start;
  }
  
  .site-header__cart-body .tersa-mini-cart__title-wrap {
    margin: 0 0 18px;
  }
  
  .site-header__cart-body .tersa-mini-cart__title {
    display: block;
    color: #111;
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.35;
    text-decoration: none;
    text-align: left;
  }
  
  .site-header__cart-body .tersa-mini-cart__meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  
  .site-header__cart-body .tersa-mini-cart__qty {
    display: inline-flex;
    align-items: center;
    background: #ecebe7;
    min-height: 40px;
  }
  
  .site-header__cart-body .tersa-mini-cart__qty.is-loading {
    opacity: 0.6;
    pointer-events: none;
  }
  
  .site-header__cart-body .tersa-mini-cart__qty-btn {
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    color: #111;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
  }
  
  .site-header__cart-body .tersa-mini-cart__qty-value {
    min-width: 28px;
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    color: #111;
  }
  
  .site-header__cart-body .tersa-mini-cart__price {
    font-size: 1rem;
    font-weight: 500;
    color: #111;
  }
  
  .site-header__cart-body .woocommerce-mini-cart__total,
  .site-header__cart-body .widget_shopping_cart .total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 8px 0 28px;
    padding: 0;
    border-top: 0;
    font-size: 1rem;
    color: #111;
  }
  
  .site-header__cart-body .woocommerce-mini-cart__total strong,
  .site-header__cart-body .widget_shopping_cart .total strong {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111;
  }
  
  .site-header__cart-body .woocommerce-mini-cart__total .amount,
  .site-header__cart-body .widget_shopping_cart .total .amount {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111;
  }
  
  .site-header__cart-body .woocommerce-mini-cart__buttons,
  .site-header__cart-body .widget_shopping_cart .buttons {
    display: grid;
    gap: 16px;
    margin: 0;
  }
  
  .site-header__cart-body .woocommerce-mini-cart__buttons .button,
  .site-header__cart-body .widget_shopping_cart .buttons .button {
    width: 100%;
    min-height: 56px;
    border-radius: 0;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: none;
  }
  
  .site-header__cart-body .woocommerce-mini-cart__buttons .wc-forward:first-child,
  .site-header__cart-body .widget_shopping_cart .buttons .wc-forward:first-child {
    background: transparent;
    color: #111;
    border: 2px solid #111;
  }
  
  .site-header__cart-body .woocommerce-mini-cart__buttons .checkout,
  .site-header__cart-body .woocommerce-mini-cart__buttons .wc-forward.checkout,
  .site-header__cart-body .widget_shopping_cart .buttons .checkout,
  .site-header__cart-body .widget_shopping_cart .buttons .wc-forward.checkout {
    background: #000;
    color: #fff;
    border: 2px solid #000;
  }
  
  .site-header__cart-body .woocommerce-mini-cart__empty-message {
    margin: 0;
    color: #111;
  }
  
  /* =========================
     Responsive
     ========================= */
  @media (max-width: 1100px) {
    .site-header__nav--desktop {
      display: none;
    }
  
    .site-header__toggle {
      display: inline-flex;
    }
  
    .site-header__main-inner {
      min-height: 90px;
    }
  }
  
  @media (max-width: 820px) {
    .site-header__promo {
      font-size: 0.8rem;
      letter-spacing: 0.07em;
    }
  
    .site-header__main-inner {
      min-height: 88px;
      gap: 14px;
    }
  
    .site-header__brand .site-header__logo-image,
    .site-header__brand .custom-logo,
    .site-header__brand a.custom-logo-link img {
      max-width: 150px !important;
      max-height: 42px !important;
    }
  
    .site-header__actions {
      gap: 6px;
    }
  
    .site-header__icon-link,
    .site-header__toggle {
      width: 40px;
      height: 40px;
    }
  
    .site-header__icon-link svg {
      width: 23px;
      height: 23px;
    }
  
    .site-header__toggle span {
      width: 28px;
    }
  
    .site-header__search-panel,
    .site-header__cart-panel {
      width: 100%;
    }
  
    .site-header__search-panel-inner {
      padding: 56px 24px 32px;
    }
  
    .site-header__search-head {
      margin-bottom: 28px;
    }
  
    .site-header__search-title {
      font-size: 1rem;
    }
  
    .site-header__search-body {
      max-width: 100%;
    }
  
    .site-header__search-body .aws-search-field,
    .site-header__search-body input[type="search"],
    .site-header__search-body input[type="text"] {
      padding: 0 68px 0 22px;
      font-size: 1rem;
    }
  
    .site-header__search-body .aws-search-btn,
    .site-header__search-body .aws-form-btn {
      width: 64px;
      min-width: 64px;
    }
  
    .site-header__search-close {
      width: 34px;
      height: 34px;
      flex-basis: 34px;
    }
  
    .site-header__search-close span {
      width: 22px;
    }
  
    .site-header__cart-head {
      padding: 32px 20px 20px;
    }
  
    .site-header__cart-body {
      padding: 20px;
    }
  
    .site-header__cart-body .tersa-mini-cart__item {
      grid-template-columns: 108px minmax(0, 1fr) !important;
      gap: 20px !important;
      padding-bottom: 28px !important;
      margin-bottom: 28px !important;
    }
  
    .site-header__cart-body .tersa-mini-cart__thumb img {
      width: 108px !important;
      height: 126px !important;
    }
  }
  
  @media (max-width: 640px) {
    .site-header__topbar-inner {
      min-height: 42px;
    }
  
    .site-header__promo {
      font-size: 0.75rem;
      line-height: 1.25;
    }
  
    .site-header__main-inner {
      min-height: 84px;
    }
  
    .site-header__brand .site-header__logo-image,
    .site-header__brand .custom-logo,
    .site-header__brand a.custom-logo-link img {
      max-width: 130px !important;
      max-height: 38px !important;
    }
  
    .site-header__actions {
      gap: 4px;
    }
  
    .site-header__icon-link,
    .site-header__toggle {
      width: 38px;
      height: 38px;
    }
  
    .site-header__badge {
      min-width: 20px;
      height: 20px;
      font-size: 0.7rem;
    }
  
    .site-header__cart-body .tersa-mini-cart__item {
      grid-template-columns: 96px minmax(0, 1fr) !important;
      gap: 18px !important;
    }
  
    .site-header__cart-body .tersa-mini-cart__thumb img {
      width: 96px !important;
      height: 112px !important;
    }
  
    .site-header__cart-body .tersa-mini-cart__title {
      font-size: 1rem;
    }
  
    .site-header__cart-body .woocommerce-mini-cart__buttons .button,
    .site-header__cart-body .widget_shopping_cart .buttons .button {
      min-height: 52px;
    }
  }