/* ================================================
   COMMERCE7 — DOCENTE COLLECTION PAGE STYLES
   Loaded at priority 20, after Commerce7 (priority 10)
   ID prefix #c7-content boosts specificity
   v1.1.4
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600&family=EB+Garamond:ital,wght@0,400;0,500;1,400&display=swap');

:root {
  --ink:        #2c1a0e;
  --ink-mid:    #5c3d1e;
  --wine-red:   #7a1c2e;
  --wine-gold:  #c9a84c;
  --parchment:  #f0e6ce;
  --paper-dark: #e0ceac;
  --sketch:     #a89070;
}

/* ─── HIDE DEFAULT H1 ─── */
#c7-content .c7-h1 {
  display: none;
}

/* ─── COLLECTION WRAPPER ─── */
#c7-content .c7-product-collection {
  background: transparent;
  padding: 0;
  max-width: 100%;
}

#c7-content .c7-product-collection__products,
#c7-content .c7-product-collection__products--featured,
#c7-content .c7-product-collection__product-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 0;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* ─── EACH PRODUCT ROW ─── */
#c7-content .c7-product {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 220px 1fr;
  align-items: center;
  min-height: 340px;
  margin-bottom: 32px;
  background-color: transparent;
  background-image: url("https://docentewines.com/wp-content/uploads/2026/06/wines-catalog-background-image.webp");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

#c7-content .c7-product:nth-child(even) {
  filter: brightness(0.96);
}

#c7-content .c7-product:not(:first-child) {
  margin-top: 4rem;
}

#c7-content .c7-product:first-child,
#c7-content .docente-product--inizio {
  margin-top: 0 !important;
}

/* ─── LEFT COLUMN: TEXT & BUY ─── */
#c7-content .c7-product__details {
  grid-column: 1;
  grid-row: 1;
  padding: 40px 30px 70px 50px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 2;
}

/* ─── CENTER COLUMN: BOTTLE IMAGE ─── */
#c7-content .c7-product__image {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  z-index: 3;
}

#c7-content .c7-product__image img {
  position: relative !important;
  top: 3rem !important;
  max-height: 460px !important;
  max-width: 460px !important;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(4px 12px 16px rgba(44,26,14,0.3));
  transition: transform 0.3s ease;
}

#c7-content .c7-product__image:hover img {
  transform: none;
}

/* ─── PRODUCT TITLE ─── */
#c7-content .c7-product__title {
  margin: 0;
  line-height: 1;
}

#c7-content .c7-product__title a {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

#c7-content .c7-product__title a:hover .c7-wine-name,
#c7-content .c7-product__title a:hover .c7-wine-year {
  opacity: 0.8;
}

#c7-content .c7-wine-name {
  font-family: "Beneath The Silence", sans-serif;
  font-size: 5rem;
  font-weight: 400;
  color: #4A0D17;
  line-height: 1;
  display: block;
}

#c7-content .c7-wine-year {
  font-family: "Beneath The Silence", sans-serif;
  font-size: 1.3rem;
  font-weight: 400;
  font-style: italic;
  color: #4A0D17;
  line-height: 1.2;
  display: block;
  position: relative;
  left: 5.5rem;
  top: -0.7rem;
}

/* ─── SUBTITLE ─── */
#c7-content .c7-product__subtitle {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: capitalize;
  color: #000;
  line-height: 1.5rem;
  max-width: 15rem;
}

/* ─── TEASER TEXT ─── */
#c7-content .c7-product__teaser {
  max-width: 340px;
  margin-bottom: 0 !important;
}

#c7-content .c7-product__teaser p {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  font-size: 1rem;
  line-height: 1.4rem;
  color: #000;
}

#c7-content .c7-product__teaser::after {
  content: "";
  display: block;
  width: 100%;
  height: 20px;
  margin-top: 14px;
  background-image: url("https://docentewines.com/wp-content/uploads/2026/06/line-divider.svg");
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: left center;
}

/* ─── WINE YEAR: second product override ─── */
#c7-content .c7-product:nth-child(2) .c7-wine-year {
  left: 12.5rem;
}

/* ─── FORM OUTER: price left | qty+button right ─── */
#c7-content .c7-product__add-to-cart {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 20px !important;
}

/* ─── PRICE ─── */
#c7-content .c7-product__add-to-cart__price {
  flex: 1;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

#c7-content .c7-price--original {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #000;
  text-decoration: line-through;
}

#c7-content .c7-price--original::after {
  content: " USD";
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #000;
  text-decoration: none;
  display: inline;
}

#c7-content .c7-price--discounted {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2rem;
  color: #4A0D17;
  font-weight: 600;
}

#c7-content .c7-price--discounted::after {
  content: " USD";
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: #4A0D17;
}

#c7-content .c7-product__variant__price__title,
#c7-content .c7-product__add-to-cart__price__variant {
  display: none !important;
}

#c7-content .docente-shipping-note {
  width: 100%;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #000;
  margin: 0;
  margin-top: 0.4rem;
  line-height: 1.3rem !important;
}

#c7-content .docente-product--pausa .docente-product__right-img img {
  max-width: 30rem;
}

#c7-content .docente-product--pausa .docente-view-btn {
  top: 2.8rem !important;
}

#c7-content .docente-product--rincasare .docente-view-btn {
  top: 2rem !important;
}

#c7-content .docente-product--riserva .docente-view-btn {
  top: 2rem !important;
  left: 3rem !important;
}

#c7-content .docente-product--riserva .docente-product__right-img img {
  max-width: 31rem;
}

/* ─── FORM CONTROLS: qty on top, button below, same width ─── */
#c7-content .c7-product__add-to-cart__form {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 6px !important;
  min-width: 140px;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* ─── QUANTITY INPUT ─── */
#c7-content .c7-product__add-to-cart__form__quantity {
  width: 100%;
  max-width: 10rem;
  display: flex;
  flex-direction: column;
}

/* QUANTITY label injected by JS */
#c7-content .docente-qty-label {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #000;
  margin-bottom: 4px;
}

/* Wrapper holding – input + */
#c7-content .docente-qty-controls {
  display: flex;
  align-items: center;
  width: 100%;
  background-image: url("https://docentewines.com/wp-content/uploads/2026/06/qty-background-img.webp");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-color: transparent;
  height: 50px;
}

#c7-content .docente-qty-btn {
  flex-shrink: 0;
  width: 36px;
  height: 100%;
  background: transparent;
  border: none;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #4A0D17;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}

#c7-content .docente-qty-btn:hover {
  opacity: 0.7;
}

#c7-content .c7-product__add-to-cart__form__quantity input {
  flex: 1;
  min-width: 0;
  height: 100%;
  text-align: center;
  border: none;
  background: transparent;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1rem;
  color: var(--ink);
  border-radius: 0;
  outline: none;
  box-sizing: border-box;
}

/* ─── ADD TO CART BUTTON ─── */
#c7-content .c7-btn {
  letter-spacing: 0.1rem !important;
}

#c7-content .c7-product__add-to-cart .c7-btn,
#c7-content .c7-btn--primary {
  background-color: transparent !important;
  background-image: url("https://docentewines.com/wp-content/uploads/2026/06/add_to_cart_background_image_button.png") !important;
  background-size: 100% 100% !important;
  background-repeat: no-repeat !important;
  color: #fff !important;
  font-family: "Barlow Condensed", sans-serif !important;
  font-weight: 500 !important;
  font-size: 1rem !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 12px 28px !important;
  cursor: pointer;
  transition: opacity 0.2s ease !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4) !important;
}

#c7-content .c7-product__add-to-cart .c7-btn:hover,
#c7-content .c7-btn--primary:hover {
  opacity: 0.85 !important;
  background-color: transparent !important;
}

/* ─── RIGHT COLUMN IMAGE ─── */
#c7-content .docente-product__right-img {
  grid-column: 3;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  height: 100%;
}

#c7-content .docente-product__right-img img {
  width: 100%;
  height: 100%;
  max-height: 30rem;
  object-fit: cover;
  display: block;
}

/* ─── VIEW PRODUCT BUTTON ─── */
#c7-content .docente-btn-row {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 38%;
}

#c7-content .docente-view-btn {
  display: block !important;
  width: 100% !important;
  max-width: 15rem !important;
  color: #fff !important;
  font-family: "Barlow Condensed", sans-serif !important;
  font-weight: 500 !important;
  font-size: 1rem !important;
  letter-spacing: 0.1rem !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  background-image: url("https://docentewines.com/wp-content/uploads/2026/06/view-product-profile-img.webp") !important;
  background-size: 100% 100% !important;
  background-repeat: no-repeat !important;
  background-color: transparent !important;
  padding: 14px 28px !important;
  text-align: center !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5) !important;
  z-index: 999999999999999 !important;
  position: relative !important;
  top: 0.5rem !important;
  left: 4rem !important;
}

#c7-content .docente-view-btn:hover {
  color: #fff !important;
}

/* ================================================
   CART PAGE
   ================================================ */

#c7-content .c7-cart .c7-h1,
#c7-content .c7-cart .c7-h2 {
  font-family: "Beneath The Silence", sans-serif !important;
  font-weight: 400 !important;
  font-size: 6rem !important;
  line-height: 4rem !important;
  color: #4A0D17 !important;
}

#c7-content .c7-cart__item-container .c7-order-item {
  border: 0.0625rem solid #000 !important;
  padding: 1.5rem !important;
  margin-bottom: 1rem !important;
  min-width: 12rem !important;
  display: flex !important;
  align-items: center !important;
}

#c7-content .c7-order-item__title a {
  display: block !important;
  font-family: "Barlow Condensed", sans-serif !important;
  font-size: 2.3rem !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  margin: 0 !important;
  color: #4A0D17 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.02em !important;
  text-decoration: none !important;
}

#c7-content .c7-order-item__description {
  font-family: "Open Sans", sans-serif !important;
  font-size: 1rem !important;
  line-height: 1rem !important;
  color: #000 !important;
  margin-top: 1rem !important;
}

#c7-content .c7-cart .c7-order-item__price {
  min-width: 11rem !important;
}

#c7-content .c7-cart .c7-link {
  font-family: "Barlow Condensed", sans-serif !important;
  color: #4A0D17 !important;
}

#c7-content .c7-cart .c7-order-summary {
  border: 0.0625rem solid #000 !important;
  min-width: 12rem !important;
  padding: 1.5rem !important;
  min-width: 12rem !important;
}

#c7-content .c7-cart .c7-order-summary__item--subtotal,
#c7-content .c7-cart .c7-order-summary__item--total {
  border-top: 0.0625rem solid #000 !important;
  padding-top: 0.75rem !important;
  margin-top: 0.75rem !important;
  font-family: "Barlow Condensed", sans-serif !important;
  font-size: 1.1rem !important;
  display: flex !important;
  justify-content: space-between !important;
}

#c7-content .c7-cart .c7-order-summary__item--total {
  font-size: 1.3rem !important;
  font-weight: 600 !important;
}

#c7-content .c7-cart .c7-order-summary .c7-h2 {
  font-size: 3rem !important;
  line-height: 2.5rem !important;
  margin-bottom: 1rem !important;
}

#c7-content .c7-cart .c7-price--original {
  font-family: "Barlow Condensed", sans-serif !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  color: #000 !important;
  text-decoration: line-through !important;
}

#c7-content .c7-cart .c7-price--discounted {
  font-family: "Barlow Condensed", sans-serif !important;
  font-size: 1.3rem !important;
  font-weight: 600 !important;
  color: #4A0D17 !important;
}

#c7-content .c7-cart .c7-order-item__total {
  font-family: "Barlow Condensed", sans-serif !important;
  font-size: 1.3rem !important;
  font-weight: 600 !important;
  color: #4A0D17 !important;
}

#c7-content .c7-cart .c7-callout {
  font-family: "Barlow Condensed", sans-serif !important;
  font-size: 1rem !important;
  border-top: 0.0625rem solid #000 !important;
  padding-top: 0 !important;
  margin-top: 1.5rem !important;
}

/* ─── PAGINATION ─── */
#c7-content .c7-pagination {
  text-align: center;
  font-family: 'EB Garamond', Georgia, serif;
  font-style: italic;
  color: var(--ink-mid);
  font-size: 0.9rem;
  padding: 20px 0 40px;
}

/* ─── TABLET / MEDIUM (max 1400px) ─── */
@media (max-width: 1400px) {
  /* Strip parchment from product card and all children */
  #c7-content .c7-product,
  #c7-content .c7-product__image,
  #c7-content .c7-product__details,
  #c7-content .c7-product__image img {
    background-image: none !important;
    background: none !important;
  }

  /* Single column stacked, card fills its content */
  #c7-content .c7-product {
    grid-template-columns: 1fr !important;
    background-color: #e6d9c6 !important;
    min-height: unset !important;
    height: auto !important;
    padding: 8rem 32px 60px !important;
    border-radius: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Bottle on top */
  #c7-content .c7-product__image {
    grid-column: 1 !important;
    grid-row: 1 !important;
    display: flex !important;
    justify-content: center !important;
    padding: 0 0 24px !important;
  }

  #c7-content .c7-product__image img {
    top: 0 !important;
    max-height: 400px !important;
    width: auto !important;
  }

  /* Details below bottle */
  #c7-content .c7-product__details {
    grid-column: 1 !important;
    grid-row: 2 !important;
    padding: 0 0 0 0 !important;
    padding-bottom: 0 !important;
  }

  #c7-content .c7-product__add-to-cart__form {
    align-items: center !important;
  }

  #c7-content .c7-product:nth-child(2) .c7-wine-year {
    left: 7.5rem !important;
  }

  #c7-content .c7-product__title {
    text-align: center !important;
  }

  #c7-content .c7-product__subtitle {
    text-align: center !important;
    max-width: 100% !important;
  }

  #c7-content .c7-product__teaser {
    text-align: center !important;
    max-width: 30rem !important;
  }

  /* Add-to-cart: stack price above qty+button */
  #c7-content .c7-product__add-to-cart {
    flex-direction: column !important;
    align-items: center !important;
  }

  #c7-content .c7-product__add-to-cart__price {
    justify-content: center !important;
    width: 100% !important;
  }

  #c7-content .docente-shipping-note {
    text-align: center !important;
  }

  #c7-content .docente-btn-row {
    position: relative !important;
    width: 100% !important;
    justify-content: center !important;
    display: flex !important;
  }

  #c7-content .docente-view-btn {
    top: 1rem !important;
    left: 0rem !important;
  }

  /* Hide right decorative image */
  #c7-content .docente-product__right-img {
    display: none !important;
  }
}

/* ─── SMALL TABLET / MOBILE (max 1024px) ─── */
@media (max-width: 1024px) {
  /* Single column, centred stack: bottle on top, details below */
  #c7-content .c7-product {
    grid-template-columns: 1fr !important;
    text-align: center !important;
  }

  /* Strip parchment / rugged background from product elements */
  #c7-content .c7-product__image,
  #c7-content .c7-product__details {
    background-image: none !important;
    background: none !important;
  }

  /* Bottle on top */
  #c7-content .c7-product__image {
    grid-column: 1 !important;
    grid-row: 1 !important;
    padding: 20px 20px 0 !important;
    display: flex !important;
    justify-content: center !important;
  }
  #c7-content .c7-product__image img {
    max-height: 420px !important;
    width: auto !important;
    margin: 0 auto !important;
    top: 0 !important;
  }

  /* Details below, centred — extra top padding creates gap from bottle */
  #c7-content .c7-product__details {
    grid-column: 1 !important;
    grid-row: 2 !important;
    padding: 32px 24px 40px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  /* Keep right image hidden */
  #c7-content .docente-product__right-img {
    display: none !important;
  }

  /* Centre inline elements */
  #c7-content .c7-product__add-to-cart,
  #c7-content .c7-product__add-to-cart__form,
  #c7-content .c7-product__add-to-cart__price,
  #c7-content .docente-btn-row,
  #c7-content .docente-shipping-note {
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
  }

  #c7-content .docente-view-btn {
    position: static !important;
    margin-top: 1rem !important;
  }
}

/* ─── MOBILE ─── */
@media (max-width: 767px) {
  #c7-content .c7-product {
    padding: 8rem 0px 60px !important;
  }
  #c7-content .c7-product__image img {
    max-height: 300px !important;
  }
}

/* ================================================
   CART HEADER WIDGET (#c7-cart)
   ================================================ */

#c7-cart {
  position: relative !important;
  top: -0.3rem !important;
}

#c7-cart .c7-user-nav__cart__title svg {
  stroke: #fff !important;
}

#c7-cart .c7-user-nav__cart__count {
  background-color: #C2A01E !important;
  color: #fff !important;
}

/* ================================================
   CHECKOUT PAGE
   ================================================ */

.c7-checkout__main {
  background-image: url('https://docentewines.com/wp-content/uploads/2026/06/wines-background-image-scaled.webp') !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: center !important;
}

/* Breadcrumbs */
.c7-breadcrumbs,
.c7-breadcrumbs li,
.c7-breadcrumbs a,
.c7-breadcrumbs button,
.c7-breadcrumbs span {
  font-family: "Barlow Condensed", sans-serif !important;
  font-size: 1.3rem !important;
  letter-spacing: 0.08em !important;
}

.c7-breadcrumbs .c7-active,
.c7-breadcrumbs .c7-completed:hover,
.c7-breadcrumbs .c7-completed:focus {
  background-color: #4A0D17 !important;
  color: #fff !important;
  padding: 0.3rem 0.8rem !important;
  font-family: "Barlow Condensed", sans-serif !important;
  font-size: 1.3rem !important;
  letter-spacing: 0.08em !important;
}

.c7-breadcrumbs .c7-active *,
.c7-breadcrumbs .c7-active a,
.c7-breadcrumbs .c7-active button,
.c7-breadcrumbs .c7-active span {
  color: #fff !important;
}

/* Divider "Or" */
.c7-divider span {
  background-color: #4A0D17 !important;
  color: #fff !important;
  padding: 0.4rem 1.2rem !important;
  font-family: "Barlow Condensed", sans-serif !important;
  font-size: 1.1rem !important;
  letter-spacing: 0.08em !important;
  border-radius: 50rem !important;
}

/* Divider lines */
.c7-divider {
  border-color: #000 !important;
}

/* Links */
.c7-checkout__main a,
.c7-checkout__main .c7-link {
  font-family: "Barlow Condensed", sans-serif !important;
  color: #4A0D17 !important;
}

/* Labels and helper text */
.c7-checkout__main label,
.c7-checkout__main p,
.c7-checkout__main .c7-helper-text {
  font-family: "Barlow Condensed", sans-serif !important;
  font-size: 1rem !important;
}

/* Continue to Delivery / submit buttons */
.c7-checkout__main .c7-btn--primary {
  font-family: "Barlow Condensed", sans-serif !important;
  letter-spacing: 0.1rem !important;
  border-radius: 0 !important;
}

.c7-checkout__main .c7-form__buttons {
  justify-content: flex-start !important;
}

/* ================================================
   CHECKOUT SUMMARY CONTAINER
   ================================================ */

.c7-checkout__summary-container {
  background-color: #675743 !important;
}

.c7-checkout__summary-container .c7-h1,
.c7-checkout__summary-container .c7-h2 {
  font-family: "Beneath The Silence", sans-serif !important;
  font-weight: 400 !important;
  font-size: 6rem !important;
  line-height: 4rem !important;
  color: #fff !important;
}

.c7-checkout__summary-container .c7-order-item__title,
.c7-checkout__summary-container .c7-order-item__title a,
.c7-checkout__summary-container .c7-order-item__title span {
  font-family: "Barlow Condensed", sans-serif !important;
  font-size: 1.5rem !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  color: #4A0D17 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.02em !important;
  text-decoration: none !important;
  display: block !important;
}

#c7-content .c7-checkout__summary-container .c7-order-item__description {
  font-family: "Open Sans", sans-serif !important;
  font-size: 0.875rem !important;
  color: #fff !important;
  margin-top: 0.5rem !important;
}

.c7-checkout__summary-container .c7-link {
  font-family: "Barlow Condensed", sans-serif !important;
  color: #C2A01E !important;
}

.c7-checkout__summary-container .c7-price--original {
  display: none !important;
}

.c7-checkout__summary-container .c7-price--discounted {
  font-family: "Barlow Condensed", sans-serif !important;
  font-size: 1.3rem !important;
  font-weight: 600 !important;
  color: #4A0D17 !important;
}

.c7-checkout__summary-container .c7-order-item__quantity,
.c7-checkout__summary-container .c7-order-item__quantity * {
  color: #fff !important;
  font-family: "Barlow Condensed", sans-serif !important;
}

.c7-checkout__summary-container .c7-callout:not(.c7-callout--club)::before {
  color: #fff !important;
}

.c7-checkout__summary-container .c7-order-item__total {
  font-family: "Barlow Condensed", sans-serif !important;
  font-size: 1.3rem !important;
  font-weight: 600 !important;
  color: #C2A01E !important;
}

/* Hide ::after on discounted price in checkout only */
.c7-checkout .c7-price--discounted::after {
  display: none !important;
}

.c7-checkout__summary-container .c7-order-summary__item--subtotal,
.c7-checkout__summary-container .c7-order-summary__item--total {
  font-family: "Barlow Condensed", sans-serif !important;
  font-size: 1.1rem !important;
  color: #fff !important;
  display: flex !important;
  justify-content: space-between !important;
  border-top: 0.0625rem solid rgba(255,255,255,0.3) !important;
  padding-top: 0.75rem !important;
  margin-top: 0.75rem !important;
}

.c7-checkout__summary-container .c7-order-summary__item--total {
  font-size: 1.3rem !important;
  font-weight: 600 !important;
}

/* Subtotal / Estimated Total labels → red */
.c7-checkout__summary-container .c7-order-summary__title {
  color: #4A0D17 !important;
  font-family: "Barlow Condensed", sans-serif !important;
}

/* Subtotal / Estimated Total values → yellow */
.c7-checkout__summary-container .c7-order-summary__value {
  color: #C2A01E !important;
  font-family: "Barlow Condensed", sans-serif !important;
}

/* Callout */
.c7-checkout__summary-container .c7-callout {
  background: transparent !important;
  color: #fff !important;
  font-family: "Barlow Condensed", sans-serif !important;
  border-color: rgba(255,255,255,0.3) !important;
}

.c7-checkout__summary-container .c7-callout:not(.c7-callout--club)::before {
  filter: brightness(0) invert(1) !important;
}

/* Edit Cart link */
.c7-checkout__summary-container .c7-checkout__summary__edit a,
.c7-checkout__summary-container a {
  font-family: "Barlow Condensed", sans-serif !important;
  color: #C2A01E !important;
  letter-spacing: 0.05em !important;
}

/* Hide "USD" currency label next to price */
.c7-checkout__summary-container .c7-order-item__price .c7-price__currency,
.c7-checkout__summary-container .c7-order-summary__value span:first-child {
  display: none !important;
}

/* Coupon code */
.c7-checkout__summary-container .c7-coupon,
.c7-checkout__summary-container .c7-coupon a,
.c7-checkout__summary-container .c7-coupon button {
  font-family: "Barlow Condensed", sans-serif !important;
  color: #C2A01E !important;
  font-size: 1rem !important;
}

/* Divider between items and summary */
.c7-checkout__summary-container hr,
.c7-checkout__summary-container .c7-divider {
  border-color: rgba(255,255,255,0.3) !important;
}

/* Need help section */
.c7-checkout__summary-container .c7-need-help,
.c7-checkout__summary-container .c7-need-help p,
.c7-checkout__summary-container .c7-need-help a {
  font-family: "Barlow Condensed", sans-serif !important;
  font-size: 1rem !important;
  color: #fff !important;
}

/* ================================================
   SIDE CART FLYOUT (.c7-side-cart)
   ================================================ */

.c7-side-cart {
  background-color: #675743 !important;
}

.c7-side-cart #c7-side-cart__header__title,
#c7-side-cart__header__title {
  font-family: "Beneath The Silence", sans-serif !important;
  font-weight: 400 !important;
  font-size: 5rem !important;
  line-height: 4rem !important;
  color: #fff !important;
}

.c7-side-cart .c7-order-item__title a {
  font-family: "Barlow Condensed", sans-serif !important;
  font-size: 1.5rem !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  color: #4A0D17 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.02em !important;
  text-decoration: none !important;
  display: block !important;
}

.c7-side-cart .c7-order-item__description {
  font-family: "Open Sans", sans-serif !important;
  font-size: 0.875rem !important;
  color: #fff !important;
  margin-top: 0.5rem !important;
}

.c7-side-cart .c7-link {
  font-family: "Barlow Condensed", sans-serif !important;
  color: #C2A01E !important;
}

.c7-side-cart .c7-price--original {
  display: none !important;
}

.c7-side-cart .c7-price--discounted {
  font-family: "Barlow Condensed", sans-serif !important;
  font-size: 1.3rem !important;
  font-weight: 600 !important;
  color: #C2A01E !important;
}

.c7-side-cart .c7-order-item__total {
  font-family: "Barlow Condensed", sans-serif !important;
  font-size: 1.3rem !important;
  font-weight: 600 !important;
  color: #fff !important;
}

.c7-side-cart .c7-order-summary__title {
  color: #C2A01E !important;
  font-family: "Barlow Condensed", sans-serif !important;
}

.c7-side-cart .c7-order-summary__value {
  color: #4A0D17 !important;
  font-family: "Barlow Condensed", sans-serif !important;
}

.c7-side-cart .c7-order-item__total {
  color: #4A0D17 !important;
}

.c7-side-cart .c7-order-summary__item--subtotal,
.c7-side-cart .c7-order-summary__item--total {
  font-family: "Barlow Condensed", sans-serif !important;
  font-size: 1.1rem !important;
  color: #fff !important;
  display: flex !important;
  justify-content: space-between !important;
  border-top: 0.0625rem solid rgba(255,255,255,0.3) !important;
  padding-top: 0.75rem !important;
  margin-top: 0.75rem !important;
}

.c7-side-cart .c7-order-summary__item--total {
  font-size: 1.3rem !important;
  font-weight: 600 !important;
}

.c7-side-cart__header {
  border-bottom: 0.1rem solid #C2A01E !important;
}

.c7-side-cart__summary-container {
  background-color: #675743 !important;
  border-top: 0.1rem solid #C2A01E !important;
}

.c7-side-cart .c7-btn--alt {
  font-family: "Barlow Condensed", sans-serif !important;
  background: transparent !important;
  border: 0.0625rem solid #fff !important;
  border-radius: 0 !important;
  color: #fff !important;
  letter-spacing: 0.1rem !important;
}

/* ─── SMALL MOBILE ─── */
@media (max-width: 500px) {
  .c7-side-cart #c7-side-cart__header__title,
  #c7-side-cart__header__title {
    font-size: 3rem !important;
    position: relative !important;
    top: -1rem !important;
  }
  #c7-content .c7-wine-name {
    font-size: 3rem !important;
  }
  #c7-content .c7-product:nth-child(2) .c7-wine-year {
    left: 4.5rem !important;
  }
  #c7-content .docente-product--pausa .c7-wine-year {
    font-size: 2.5rem !important;
  }
}

.c7-side-cart .c7-btn--primary {
  font-family: "Barlow Condensed", sans-serif !important;
  background: #4A0D17 !important;
  border: none !important;
  border-radius: 0 !important;
  color: #fff !important;
  letter-spacing: 0.1rem !important;
}
