/* ==========================================================================
   CALORA THEME - CORE & E-COMMERCE STYLESHEET
   Faithfully reproducing the Calora Shopify store (Shrine PRO aesthetic)
   Cart Drawer, Cart Page 2-Column & Shopify-Style 2-Column Checkout
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--calora-font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--calora-color-text);
  background-color: var(--calora-bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--calora-transition);
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.calora-container {
  width: 100%;
  max-width: var(--calora-container-max);
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .calora-container {
    padding: 0 40px;
  }
}

@media (min-width: 1200px) {
  .calora-container {
    padding: 0 60px;
  }
}

/* ==========================================================================
   ANNOUNCEMENT BAR
   ========================================================================== */
.calora-announcement-bar {
  background-color: #121212;
  color: #ffffff;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.calora-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--calora-color-border);
  transition: var(--calora-transition);
}

.calora-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 72px;
}

.calora-header__nav {
  display: none;
}

@media (min-width: 992px) {
  .calora-header__nav {
    display: flex;
    align-items: center;
    gap: 8px;
  }
}

.calora-nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--calora-color-text);
  padding: 6px 14px;
  border-radius: var(--calora-radius-full);
  transition: var(--calora-transition);
}

.calora-nav-link:hover {
  background-color: var(--calora-bg-accent);
}

.calora-nav-link.is-active,
.current-menu-item > a,
.current_page_item > a {
  background-color: #121212 !important;
  color: #ffffff !important;
  font-weight: 600;
}

.calora-header__mobile-toggle {
  display: flex;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--calora-color-text);
}

@media (min-width: 992px) {
  .calora-header__mobile-toggle {
    display: none;
  }
}

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

.calora-logo-text {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #121212;
  display: inline-flex;
  align-items: center;
}

.calora-logo-text sup {
  font-size: 13px;
  margin-left: 2px;
}

.calora-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.calora-action-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: #121212;
  padding: 6px;
  border-radius: 50%;
  transition: var(--calora-transition);
}

.calora-action-btn:hover {
  background-color: var(--calora-bg-accent);
}

.calora-cart-badge {
  position: absolute;
  top: -2px;
  right: -4px;
  background-color: #121212;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* ==========================================================================
   OFF-CANVAS MOBILE MENU
   ========================================================================== */
.calora-mobile-menu-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background-color: #ffffff;
  z-index: 1000;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--calora-shadow-lg);
  display: flex;
  flex-direction: column;
}

.calora-mobile-menu-drawer.is-open {
  transform: translateX(0);
}

.calora-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--calora-color-border);
}

.calora-drawer-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.calora-mobile-nav-list {
  list-style: none;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.calora-mobile-nav-link {
  font-size: 18px;
  font-weight: 600;
  color: var(--calora-color-text);
  display: block;
}

/* ==========================================================================
   PAGE HERO / CATALOG GRID
   ========================================================================== */
.calora-page-header {
  text-align: center;
  padding: 40px 0 20px;
}

.calora-page-title {
  font-size: 38px;
  font-weight: 800;
  color: #121212;
  letter-spacing: -0.5px;
}

@media (max-width: 768px) {
  .calora-page-title {
    font-size: 28px;
  }
}

.calora-catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0 28px;
  font-size: 14px;
  color: #555555;
  border-bottom: 1px solid var(--calora-color-border);
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.calora-toolbar__filters {
  display: flex;
  align-items: center;
  gap: 16px;
}

.calora-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f7f7f7;
  padding: 6px 14px;
  border-radius: var(--calora-radius-full);
  font-size: 13px;
  font-weight: 500;
  color: #222;
  cursor: pointer;
}

.calora-toolbar__sort {
  display: flex;
  align-items: center;
  gap: 12px;
}

.calora-sort-select {
  border: 1px solid var(--calora-color-border);
  border-radius: var(--calora-radius-md);
  padding: 6px 12px;
  font-size: 13px;
  background: #fff;
  cursor: pointer;
}

.calora-product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 60px;
}

@media (min-width: 768px) {
  .calora-product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

@media (min-width: 1024px) {
  .calora-product-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
  }
}

.calora-product-card {
  background-color: #ffffff;
  border-radius: var(--calora-radius-lg);
  border: 1px solid #ebebeb;
  padding: 12px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.calora-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--calora-shadow-md);
}

.calora-product-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  background-color: #f7f7f7;
  margin-bottom: 14px;
}

.calora-product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.calora-product-card:hover .calora-product-card__img {
  transform: scale(1.04);
}

.calora-badge-sale {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background-color: #121212;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.5px;
  z-index: 2;
}

.calora-product-card__content {
  text-align: center;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.calora-product-card__title {
  font-size: 16px;
  font-weight: 700;
  color: #121212;
  margin-bottom: 6px;
  line-height: 1.3;
}

.calora-product-card__price-wrap {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.calora-price-current {
  font-size: 16px;
  font-weight: 700;
  color: #121212;
}

.calora-price-compare {
  font-size: 14px;
  color: #888888;
  text-decoration: line-through;
}

.calora-btn-card {
  width: 100%;
  background-color: #121212;
  color: #ffffff;
  border: none;
  border-radius: var(--calora-radius-md);
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--calora-transition);
  text-align: center;
  display: inline-block;
}

.calora-btn-card:hover {
  background-color: #2a2a2a;
}

/* ==========================================================================
   PRODUCT DETAIL PAGE (PDP)
   ========================================================================== */
.calora-pdp {
  padding: 30px 0 60px;
}

.calora-pdp__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 992px) {
  .calora-pdp__layout {
    grid-template-columns: 1.15fr 1fr;
    gap: 60px;
  }
}

.calora-gallery__main {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  background-color: #f7f7f7;
  margin-bottom: 14px;
  box-shadow: var(--calora-shadow-sm);
}

.calora-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.calora-gallery__thumbnails {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.calora-gallery__thumb {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  flex-shrink: 0;
  transition: var(--calora-transition);
}

.calora-gallery__thumb.is-active,
.calora-gallery__thumb:hover {
  border-color: #121212;
}

.calora-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.calora-pdp__title {
  font-size: 34px;
  font-weight: 800;
  color: #121212;
  margin-bottom: 8px;
  line-height: 1.2;
}

.calora-reviews-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 16px;
}

.calora-stars {
  color: #00b67a;
  letter-spacing: 2px;
  font-size: 16px;
}

.calora-selling-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 15px;
  font-weight: 600;
  color: #222;
}

.calora-selling-points li {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* BUNDLE WIDGET */
.calora-bundle-widget {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.calora-bundle-card {
  border: 2px solid #e0e0e0;
  border-radius: var(--calora-radius-md);
  padding: 16px 20px;
  cursor: pointer;
  transition: var(--calora-transition);
  position: relative;
  background-color: #ffffff;
}

.calora-bundle-card.is-selected {
  border-color: #121212;
  background-color: #fafafa;
}

.calora-bundle-card__badge-corner {
  position: absolute;
  top: -12px;
  right: 16px;
  background-color: #121212;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--calora-radius-full);
}

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

.calora-bundle-card__left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.calora-bundle-radio {
  accent-color: #121212;
  width: 18px;
  height: 18px;
}

.calora-bundle-card__title {
  font-size: 16px;
  font-weight: 700;
  color: #121212;
}

.calora-bundle-card__save-badge {
  background-color: #121212;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

.calora-bundle-card__pricing {
  text-align: right;
}

.calora-bundle-price-main {
  font-size: 18px;
  font-weight: 800;
  color: #121212;
}

.calora-bundle-price-compare {
  font-size: 13px;
  color: #888888;
  text-decoration: line-through;
}

.calora-bundle-selectors {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e8e8e8;
  display: none;
}

.calora-bundle-card.is-selected .calora-bundle-selectors {
  display: block;
}

.calora-bundle-item {
  margin-bottom: 12px;
  padding: 10px 12px;
  background: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: var(--calora-radius-sm);
  transition: border-color 0.2s ease;
}

.calora-bundle-item:last-child {
  margin-bottom: 0;
}

.calora-bundle-item__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.calora-bundle-item__label {
  font-size: 12px;
  font-weight: 700;
  color: #121212;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.calora-bundle-item__stock-badge {
  font-size: 11px;
  font-weight: 600;
  color: #00b67a;
}

.calora-bundle-item__stock-badge.is-out-of-stock {
  color: #d32f2f;
}

.calora-selector-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.calora-selector-thumb {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid #ddd;
  flex-shrink: 0;
}

.calora-attributes-wrap {
  display: flex;
  gap: 8px;
  flex-grow: 1;
  flex-wrap: wrap;
}

.calora-select-field {
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  background: #fff;
  cursor: pointer;
  flex: 1 1 140px;
  min-width: 120px;
}

.calora-bundle-error {
  display: none;
  background: #fdf2f2;
  border: 1px solid #f8b4b4;
  color: #d32f2f;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 13px;
  margin-bottom: 16px;
  font-weight: 500;
  line-height: 1.4;
}

/* UPSELL BOX */
.calora-upsell-box {
  background-color: #f9f9f9;
  border: 1px solid #e5e5e5;
  border-radius: var(--calora-radius-md);
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.calora-upsell-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid #eee;
  cursor: pointer;
}

.calora-upsell-item:last-child {
  border-bottom: none;
}

.calora-upsell-item__left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.calora-upsell-checkbox {
  accent-color: #121212;
  width: 17px;
  height: 17px;
}

.calora-btn-atc-main {
  width: 100%;
  background-color: #121212;
  color: #ffffff;
  border: none;
  border-radius: var(--calora-radius-md);
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
  transition: var(--calora-transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.calora-btn-atc-main:hover {
  background-color: #2b2b2b;
  transform: translateY(-2px);
}

.calora-trust-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: center;
  padding: 16px 0;
  border-top: 1px solid #ebebeb;
  border-bottom: 1px solid #ebebeb;
  margin-bottom: 24px;
}

.calora-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.calora-trust-icon {
  width: 36px;
  height: 36px;
  border: 1.5px solid #121212;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.calora-trust-title {
  font-size: 12px;
  font-weight: 700;
}

.calora-testimonial-box {
  background-color: #f7f7f7;
  border-radius: var(--calora-radius-md);
  padding: 16px;
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
  font-size: 13.5px;
  line-height: 1.5;
  color: #333333;
}

.calora-testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.calora-accordion-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 30px;
}

.calora-accordion-item {
  border-radius: var(--calora-radius-md);
  overflow: hidden;
}

.calora-accordion-trigger {
  width: 100%;
  background-color: #333333;
  color: #ffffff;
  border: none;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 700;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.calora-accordion-content {
  background-color: #ffffff;
  padding: 16px 20px;
  font-size: 14px;
  color: #444444;
  border: 1px solid #e0e0e0;
  border-top: none;
  display: none;
  line-height: 1.6;
}

.calora-accordion-item.is-open .calora-accordion-content {
  display: block;
}

/* ==========================================================================
   STICKY ADD TO CART BAR
   ========================================================================== */
.calora-sticky-atc {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  border-top: 1px solid #e0e0e0;
  padding: 12px 20px;
  box-shadow: 0 -4px 15px rgba(0,0,0,0.08);
  z-index: 90;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.calora-sticky-atc.is-visible {
  transform: translateY(0);
}

.calora-sticky-atc__product {
  display: flex;
  align-items: center;
  gap: 12px;
}

.calora-sticky-atc__img {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: cover;
}

.calora-sticky-atc__title {
  font-size: 14px;
  font-weight: 700;
}

.calora-sticky-atc__price {
  font-size: 14px;
  font-weight: 800;
  color: #121212;
}

.calora-sticky-atc__btn {
  background: #121212;
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: var(--calora-radius-md);
  font-weight: 700;
  cursor: pointer;
}

/* ==========================================================================
   SIDEBAR CART DRAWER
   ========================================================================== */
.calora-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(2px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.calora-drawer-backdrop.is-active {
  opacity: 1;
  visibility: visible;
}

.calora-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 450px;
  max-width: 90vw;
  height: 100vh;
  background-color: #ffffff;
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--calora-shadow-drawer);
  display: flex;
  flex-direction: column;
}

@media (max-width: 480px) {
  .calora-cart-drawer {
    width: 100vw;
    max-width: 100vw;
  }
}

.calora-cart-drawer.is-open {
  transform: translateX(0);
}

.calora-cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--calora-color-border);
}

.calora-cart-drawer__title {
  font-size: 18px;
  font-weight: 800;
  color: #121212;
}

/* Free Shipping Progress Bar */
.calora-shipping-bar {
  background-color: #f7f7f7;
  padding: 12px 24px;
  border-bottom: 1px solid var(--calora-color-border);
}

.calora-shipping-bar__text {
  font-size: 13px;
  font-weight: 600;
  color: #121212;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.calora-progress-track {
  width: 100%;
  height: 6px;
  background-color: #e5e5e5;
  border-radius: var(--calora-radius-full);
  overflow: hidden;
}

.calora-progress-fill {
  height: 100%;
  background-color: #121212;
  width: 65%;
  border-radius: var(--calora-radius-full);
  transition: width 0.4s ease, background-color 0.4s ease;
}

/* Drawer Items List */
.calora-cart-drawer__items {
  flex-grow: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.calora-cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 14px;
  align-items: flex-start;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
}

.calora-cart-item.is-loading {
  opacity: 0.5;
  pointer-events: none;
}

.calora-cart-item__media,
.calora-cart-item__thumb {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  object-fit: cover;
  background-color: #f7f7f7;
}

.calora-cart-item__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.calora-cart-item__name {
  font-size: 14px;
  font-weight: 700;
  color: #121212;
  line-height: 1.3;
}

.calora-cart-item__meta,
.calora-cart-item__variant {
  font-size: 12px;
  color: #666;
}

.calora-cart-item__price {
  font-size: 14px;
  font-weight: 700;
}

/* Stepper */
.calora-qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d5d5d5;
  border-radius: 6px;
  overflow: hidden;
  width: 92px;
  height: 32px;
  margin-top: 6px;
  background: #fff;
}

.calora-qty-btn {
  width: 30px;
  height: 100%;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  user-select: none;
  transition: background 0.2s ease;
}

.calora-qty-btn:hover {
  background: #f0f0f0;
}

.calora-qty-input {
  width: 32px;
  height: 100%;
  border: none;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  -moz-appearance: textfield;
}

.calora-qty-input::-webkit-outer-spin-button,
.calora-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.calora-item-remove-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #999;
  padding: 6px;
  transition: color 0.2s ease;
}

.calora-item-remove-btn:hover {
  color: #d32f2f;
}

.calora-cart-drawer__footer {
  padding: 20px 24px;
  border-top: 1px solid var(--calora-color-border);
  background-color: #fafafa;
}

.calora-drawer-subtotal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 700;
  color: #121212;
  margin-bottom: 8px;
}

.calora-drawer-savings-row {
  font-size: 13px;
  font-weight: 700;
  color: #008a4f;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.calora-drawer-tax-notice {
  font-size: 12px;
  color: #777;
  margin-bottom: 14px;
}

.calora-btn-checkout {
  width: 100%;
  background-color: #121212;
  color: #ffffff;
  border: none;
  border-radius: var(--calora-radius-md);
  padding: 16px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  text-align: center;
  display: block;
  transition: var(--calora-transition);
}

.calora-btn-checkout:hover {
  background-color: #2b2b2b;
}

/* Empty Cart State */
.calora-cart-empty {
  text-align: center;
  padding: 60px 20px;
}

.calora-cart-empty__icon {
  font-size: 48px;
  margin-bottom: 16px;
  color: #bbb;
}

.calora-cart-empty__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.calora-cart-empty__sub {
  font-size: 14px;
  color: #666;
  margin-bottom: 24px;
}

/* ==========================================================================
   CART PAGE (/cart) - 2-COLUMN LAYOUT
   ========================================================================== */
.calora-cart-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: flex-start;
}

@media (min-width: 992px) {
  .calora-cart-layout {
    grid-template-columns: 1.8fr 1fr;
    gap: 50px;
  }
}

.calora-cart-table {
  width: 100%;
  border-collapse: collapse;
}

.calora-cart-table th {
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #888;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--calora-color-border);
}

.calora-cart-table td {
  padding: 24px 0;
  border-bottom: 1px solid var(--calora-color-border);
  vertical-align: middle;
}

.calora-cart-table__product {
  display: flex;
  align-items: center;
  gap: 20px;
}

.calora-cart-table__product img {
  width: 90px;
  height: 90px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.calora-cart-item__title {
  font-size: 16px;
  font-weight: 700;
  color: #121212;
  margin-bottom: 4px;
}

.calora-cart-item__price-unit {
  font-size: 14px;
  color: #555;
  margin-bottom: 6px;
}

.calora-cart-item__attributes {
  font-size: 13px;
  color: #777;
}

.calora-cart-qty-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
}

.calora-line-total-price {
  font-size: 16px;
  font-weight: 700;
  color: #121212;
}

/* Sticky Order Summary Box */
.calora-order-summary-box {
  background-color: #fafafa;
  border: 1px solid #e8e8e8;
  border-radius: var(--calora-radius-lg);
  padding: 28px 24px;
  position: sticky;
  top: 96px;
}

.calora-summary-title {
  font-size: 20px;
  font-weight: 800;
  color: #121212;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #ebebeb;
}

.calora-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  color: #333333;
  margin-bottom: 12px;
}

.calora-summary-val {
  font-weight: 600;
  color: #121212;
}

.calora-summary-discount {
  color: #008a4f !important;
}

.calora-summary-discount .calora-summary-val {
  color: #008a4f !important;
}

.calora-summary-total {
  font-size: 20px;
  font-weight: 800;
  color: #121212;
  padding-top: 16px;
  margin-top: 16px;
  border-top: 2px solid #e5e5e5;
}

.calora-summary-total-val {
  color: #121212;
}

/* ==========================================================================
   CHECKOUT PAGE (/checkout) - SHOPIFY MINIMALIST 2-COLUMN LAYOUT
   ========================================================================== */
.calora-checkout-page-wrap {
  background-color: #ffffff;
  min-height: 100vh;
}

.calora-checkout-container {
  max-width: 1280px;
  padding: 0 20px;
}

@media (min-width: 992px) {
  .calora-checkout-container {
    padding: 0 40px;
  }
}

.calora-checkout-layout {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 100vh;
}

@media (min-width: 992px) {
  .calora-checkout-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }
}

/* Left Column */
.calora-checkout-layout__main {
  padding: 40px 0 60px;
}

@media (min-width: 992px) {
  .calora-checkout-layout__main {
    padding-right: 60px;
  }
}

/* Right Column (Sidebar Order Review) */
.calora-checkout-layout__sidebar {
  background-color: #f9f9f9;
  border-left: 1px solid #e5e5e5;
  padding: 40px 0 60px;
}

@media (min-width: 992px) {
  .calora-checkout-layout__sidebar {
    padding-left: 48px;
    padding-right: 20px;
  }
}

.calora-checkout-summary-sticky {
  position: sticky;
  top: 30px;
}

/* Mobile Summary Bar (Accordion) */
.calora-mobile-summary-bar {
  display: none;
  background-color: #fafafa;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  padding: 14px 20px;
}

@media (max-width: 991px) {
  .calora-mobile-summary-bar {
    display: block;
  }

  .calora-checkout-layout__sidebar {
    display: none; /* Collapsed by default on mobile */
    border-left: none;
    border-bottom: 1px solid #e5e5e5;
    padding: 24px 20px;
  }

  .calora-checkout-layout__sidebar.is-expanded {
    display: block;
  }
}

/* Review Order Items in Checkout */
.calora-checkout-items-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.calora-checkout-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 16px;
  align-items: center;
}

.calora-checkout-item__thumb-wrap {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: visible;
  border: 1px solid #e0e0e0;
  background: #fff;
}

.calora-checkout-item__thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.calora-checkout-item__qty-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: rgba(18, 18, 18, 0.9);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.calora-checkout-item__title {
  font-size: 14px;
  font-weight: 600;
  color: #121212;
  line-height: 1.3;
}

.calora-checkout-item__meta {
  font-size: 12px;
  color: #777;
}

.calora-checkout-item__price {
  font-size: 14px;
  font-weight: 700;
  color: #121212;
}

.calora-checkout-totals {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calora-checkout-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: #555555;
}

.calora-checkout-val {
  font-weight: 600;
  color: #121212;
}

/* Payment Gateway Accordion Styling */
#payment {
  background: #ffffff !important;
  border: 1px solid #d5d5d5 !important;
  border-radius: 8px !important;
  overflow: hidden;
  padding: 0 !important;
}

#payment ul.payment_methods {
  padding: 0 !important;
  margin: 0 !important;
  list-style: none;
}

#payment ul.payment_methods li {
  padding: 16px 20px !important;
  border-bottom: 1px solid #e5e5e5;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#payment ul.payment_methods li:last-child {
  border-bottom: none;
}

#payment ul.payment_methods li label {
  font-weight: 700;
  font-size: 14px;
  color: #121212;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
}

#payment div.payment_box {
  background: #f7f7f7 !important;
  padding: 14px 16px !important;
  border-radius: 6px;
  font-size: 13px;
  color: #555;
  margin-top: 8px !important;
}

/* Search Modal & Empty State */
.calora-search-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  padding: 30px 20px;
  box-shadow: var(--calora-shadow-md);
  z-index: 1002;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.calora-search-modal.is-open {
  transform: translateY(0);
}

.calora-search-box {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.calora-search-input {
  width: 100%;
  padding: 14px 44px 14px 18px;
  border: 1px solid #ccc;
  border-radius: var(--calora-radius-full);
  font-size: 16px;
}

.calora-search-submit {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
}

.calora-newsletter-section {
  background-color: #f3f3f3;
  padding: 60px 20px;
  text-align: center;
}

.calora-newsletter-title {
  font-size: 32px;
  font-weight: 800;
  color: #121212;
  margin-bottom: 8px;
}

.calora-newsletter-sub {
  font-size: 15px;
  color: #555555;
  margin-bottom: 24px;
}

.calora-newsletter-form {
  max-width: 440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.calora-newsletter-input {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #d5d5d5;
  border-radius: var(--calora-radius-md);
  font-size: 15px;
}

.calora-newsletter-btn {
  width: 100%;
  background-color: #121212;
  color: #ffffff;
  border: none;
  padding: 14px 20px;
  border-radius: var(--calora-radius-md);
  font-weight: 700;
  cursor: pointer;
  transition: var(--calora-transition);
}

.calora-footer {
  background-color: #ffffff;
  border-top: 1px solid var(--calora-color-border);
  padding: 30px 0;
  text-align: center;
  font-size: 13px;
  color: #777777;
}

.calora-footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.calora-scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: #121212;
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 85;
  box-shadow: var(--calora-shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: var(--calora-transition);
}

.calora-scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Checkout: standard WC form fields rendered by woocommerce_form_field() */
.calora-checkout-form .form-row { width: 100%; margin: 0 0 12px; padding: 0; float: none; }
.calora-checkout-form .woocommerce-billing-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.calora-checkout-form .woocommerce-billing-fields__field-wrapper .form-row-wide { grid-column: 1 / -1; }
.calora-checkout-form .form-row label { display: block; font-size: 12px; color: #666; margin-bottom: 4px; }
.calora-checkout-form .form-row .woocommerce-input-wrapper { display: block; width: 100%; }
.calora-checkout-form .form-row input.input-text,
.calora-checkout-form .form-row select,
.calora-checkout-form .form-row textarea { width: 100%; box-sizing: border-box; padding: 13px 16px; border: 1px solid #d0d0d0; border-radius: 6px; font-size: 14px; background: #fff; }
.calora-checkout-form .select2-container .select2-selection--single { height: 46px; border: 1px solid #d0d0d0; border-radius: 6px; }
.calora-checkout-form .select2-container .select2-selection--single .select2-selection__rendered { line-height: 44px; padding-left: 16px; }
.calora-checkout-form .select2-container .select2-selection--single .select2-selection__arrow { height: 44px; }
.calora-shipping-methods-table th { display: none; }
.calora-shipping-methods-table ul#shipping_method { list-style: none; margin: 0; padding: 0; }
@media (max-width: 600px) { .calora-checkout-form .woocommerce-billing-fields__field-wrapper { grid-template-columns: 1fr; } }
.calora-checkout-form .form-row-first,
.calora-checkout-form .form-row-last { width: 100% !important; float: none !important; }
.calora-checkout-form #place_order { width: 100%; padding: 18px; font-size: 16px; font-weight: 800; border-radius: 8px; background: #121212; color: #fff; border: 0; margin-top: 12px; }
.calora-checkout-form #place_order:hover { background: #333; }
.calora-cart-drawer .calora-cart-item__meta { font-size: 12px; color: #666; margin: 2px 0 4px; }
.calora-btn-atc-main[disabled][aria-busy="true"] { opacity: .6; cursor: progress; }

/* Custom logo: keep any uploaded size inside the header (a 1914px logo used to overlay the page) */
.calora-brand { display: inline-flex; align-items: center; line-height: 0; }
.calora-brand .custom-logo-link { display: inline-flex; align-items: center; line-height: 0; }
.calora-brand .custom-logo { display: block; width: auto; height: auto; max-height: 44px; max-width: 180px; object-fit: contain; }
.calora-brand--drawer .custom-logo { max-height: 36px; max-width: 140px; }
.calora-brand--checkout .custom-logo { max-height: 52px; max-width: 200px; }
.calora-checkout-brand .calora-logo-text { font-size: 28px; }
@media (max-width: 768px) { .calora-header .calora-brand .custom-logo { max-height: 36px; max-width: 140px; } }

/* ---- Theme audit fixes ---- */
/* Mobile: grid children may shrink below content width (prevents 200px+ horizontal scroll) */
.calora-pdp__layout > * { min-width: 0; }
@media (max-width: 991px) { .calora-pdp__layout { grid-template-columns: minmax(0, 1fr); } }
.calora-bundle-widget select, .calora-attributes-wrap select { min-width: 0; max-width: 100%; }
/* Contact Form 7 fields fit their container */
.wpcf7 input:not([type=checkbox]):not([type=radio]):not([type=submit]), .wpcf7 textarea, .wpcf7 select { width: 100%; max-width: 100%; box-sizing: border-box; padding: 12px 14px; border: 1px solid #ccc; border-radius: 8px; font-size: 14px; }
.wpcf7 label { display: block; max-width: 100%; margin-bottom: 14px; }
.wpcf7 input[type=submit] { background: #121212; color: #fff; border: 0; border-radius: 8px; padding: 14px 32px; font-weight: 700; cursor: pointer; }
/* Gallery thumbnails are buttons now */
button.calora-gallery__thumb { padding: 0; border: 2px solid transparent; background: none; cursor: pointer; }
/* Search modal close button */
#calora-search-close { position: absolute; top: -44px; right: 0; color: #fff; }
/* Scroll-to-top stays above the sticky add-to-cart bar */
.calora-sticky-atc.is-visible ~ .calora-scroll-top, body:has(.calora-sticky-atc.is-visible) .calora-scroll-top { bottom: 96px; }
/* Visible keyboard focus */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 2px solid #1d4ed8; outline-offset: 2px; }
/* Mobile menu active link */
.calora-mobile-nav-link.is-active { text-decoration: underline; text-underline-offset: 6px; }
/* Reviews */
.calora-pdp-reviews { margin: 60px 0 20px; padding-top: 40px; border-top: 1px solid #eee; }
a.calora-reviews-badge { color: inherit; text-decoration: none; }
.calora-home-reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 40px; text-align: left; }
.calora-home-review { margin: 0; padding: 20px; border: 1px solid #eee; border-radius: 12px; }
.calora-home-review blockquote { margin: 10px 0; color: #333; }
.calora-home-review figcaption { font-size: 13px; color: #666; }
/* Gallery thumbnails: scroll horizontally instead of widening the page */
.calora-gallery__thumbnails { display: flex; flex-wrap: nowrap; gap: 10px; overflow-x: auto; max-width: 100%; scrollbar-width: thin; }
.calora-gallery__thumbnails .calora-gallery__thumb { flex: 0 0 auto; }
.calora-gallery__main img { max-width: 100%; height: auto; }
/* Upsell rows with an option picker wrap on small screens */
.calora-upsell-item { flex-wrap: wrap; gap: 6px; }
.calora-upsell-item__left { flex-wrap: wrap; min-width: 0; max-width: 100%; }
.calora-upsell-choice { max-width: 100%; min-width: 0; }
/* WooCommerce review form fields */
.calora-pdp-reviews input[type=text], .calora-pdp-reviews input[type=email], .calora-pdp-reviews textarea { width: 100%; max-width: 100%; box-sizing: border-box; }
.calora-pdp-reviews .comment-form-author, .calora-pdp-reviews .comment-form-email { width: 100%; float: none; }
/* Bundle item selects wrap instead of overflowing narrow screens */
.calora-selector-row { min-width: 0; }
.calora-attributes-wrap { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; flex: 1 1 0; }
.calora-attributes-wrap .calora-select-field { flex: 1 1 130px; width: auto; min-width: 0; max-width: 100%; }
