@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:wght@500;600;700&display=swap');

:root {
  --vcc-cream: #faf8f2;
  --vcc-forest: #16452f;
  --vcc-forest-2: #2f6b4f;
  --vcc-ink: #1f2522;
  --vcc-muted: #8a8a86;
  --vcc-line: #e5e1d9;
  --vcc-danger: #ff6d6d;
}

body.velmora-cart-checkout-page {
  margin: 0;
  background: var(--vcc-cream);
  color: var(--vcc-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.velmora-cart-checkout-page header.site-header,
body.velmora-cart-checkout-page footer.site-footer,
body.velmora-cart-checkout-page .ast-sticky-add-to-cart,
body.velmora-cart-checkout-page .woocommerce-notices-wrapper {
  display: none !important;
}

.vcc-page,
.vcc-page * {
  box-sizing: border-box;
}

.vcc-page {
  width: min(1120px, calc(100% - 48px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 38px 0 52px;
}

.vcc-page h1 {
  margin: 0 0 58px;
  color: var(--vcc-forest);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 700;
  line-height: 1;
  text-align: center;
  letter-spacing: 0;
}

.vcc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .88fr);
  gap: 58px;
  align-items: start;
}

.vcc-summary,
.vcc-cart-panel,
.vcc-checkout-panel {
  min-width: 0;
}

.vcc-summary {
  padding-left: 56px;
  border-left: 1px solid var(--vcc-line);
}

.vcc-cart-panel h2,
.vcc-checkout-panel h2,
.vcc-summary h2 {
  margin: 0 0 28px;
  color: var(--vcc-forest);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 27px;
  line-height: 1.15;
}

.vcc-summary-section {
  padding: 0 12px 24px;
  border-bottom: 1px solid var(--vcc-line);
}

.vcc-summary-section + .vcc-summary-section {
  padding-top: 24px;
}

.vcc-summary-section h3,
.vcc-checkout-section h3 {
  margin: 0 0 18px;
  color: var(--vcc-ink);
  font-size: 16px;
  font-weight: 500;
}

.vcc-summary-row,
.vcc-summary-total {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 15px;
  color: var(--vcc-muted);
  font-size: 15px;
  line-height: 1.35;
}

.vcc-summary-row strong,
.vcc-summary-total strong {
  color: var(--vcc-ink);
  font-weight: 500;
  text-align: right;
}

.vcc-summary-total {
  margin: 0 12px;
  padding: 28px 0 26px;
  border-bottom: 1px solid var(--vcc-line);
  color: var(--vcc-ink);
  font-size: 20px;
}

.vcc-primary-button,
.vcc-coupon-row button,
.vcc-payment-box #place_order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  margin-top: 58px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--vcc-forest), var(--vcc-forest-2));
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.vcc-cart-items {
  display: grid;
  gap: 36px;
}

.vcc-cart-item {
  display: grid;
  grid-template-columns: 194px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.vcc-cart-thumb {
  display: block;
  overflow: hidden;
  width: 194px;
  aspect-ratio: 1;
  border-radius: 14px 0 0 14px;
  background: #e8e4df;
}

.vcc-cart-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vcc-cart-copy h3 {
  margin: 8px 0 20px;
  color: var(--vcc-ink);
  font-size: 23px;
  font-weight: 800;
  line-height: 1.15;
}

.vcc-cart-copy h3 a {
  color: inherit;
  font-size: 18px;
  text-decoration: none;
}

.vcc-cart-copy p {
  max-width: 490px;
  margin: 0 0 18px;
  color: #777773;
  font-size: 15px;
  line-height: 1.5;
}

.vcc-item-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.vcc-item-meta strong {
  color: var(--vcc-forest);
  font-size: 21px;
  font-weight: 800;
  line-height: 1;
}

.vcc-item-meta strong .amount,
.vcc-item-meta strong bdi {
  color: inherit;
  font: inherit;
}

.vcc-item-meta strong em {
  color: var(--vcc-ink);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.vcc-item-meta > span {
  min-width: 48px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff0bc;
  color: #d2a437;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}

.vcc-remove {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--vcc-danger);
  font-size: 21px;
  line-height: 1;
  text-decoration: none;
}

.vcc-remove span {
  display: inline-flex;
  width: 16px;
  height: 16px;
}

.vcc-remove svg {
  width: 100%;
  height: 100%;
}

.vcc-coupon-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 140px;
  gap: 34px;
  align-items: center;
  margin-top: 60px;
}

.vcc-coupon-row input {
  width: 100%;
  height: 39px;
  border: 1px solid #d8d8d8;
  border-radius: 999px;
  background: #fff;
  padding: 0 24px;
  color: var(--vcc-ink);
  font-size: 11px;
  outline: none;
}

.vcc-coupon-row button {
  min-height: 39px;
  margin: 0;
  font-size: 11px;
}

.vcc-update-cart {
  display: none !important;
}

.vcc-checkout-layout {
  grid-template-columns: minmax(0, 1fr) minmax(300px, .78fr);
  gap: 56px;
}

@media (min-width: 922px) {
  .woocommerce.woocommerce-checkout form #order_review,
  .woocommerce.woocommerce-checkout form #order_review_heading,
  .woocommerce-page.woocommerce-checkout form #order_review,
  .woocommerce-page.woocommerce-checkout form #order_review_heading {
    width: 100%;
    float: none;
    margin-right: 0;
    clear: none;
  }
}

.vcc-checkout-panel {
  padding-right: 8px;
}

.vcc-checkout-section {
  padding: 0 0 28px;
  border-bottom: 1px solid var(--vcc-line);
}

.vcc-checkout-section + .vcc-checkout-section {
  padding-top: 28px;
}

.vcc-address-list {
  display: grid;
}

.vcc-address-option {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 66px;
  color: var(--vcc-muted);
  font-size: 11px;
}

.vcc-address-option + .vcc-address-option {
  border-top: 1px solid var(--vcc-line);
}

.vcc-address-option input {
  accent-color: var(--vcc-forest);
}

.vcc-address-option strong {
  display: block;
  color: #999;
  font-size: 10px;
  font-weight: 600;
}

.vcc-field-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 40px;
}

.vcc-field-full {
  grid-column: 1 / -1;
}

.vcc-field-third {
  grid-column: auto;
}

.vcc-field-grid .form-row {
  margin: 0 !important;
  padding: 0 !important;
}

.vcc-field-grid label {
  display: block;
  margin: 0 0 8px;
  color: #9a9b97;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.2;
}

.vcc-field-grid .required {
  color: var(--vcc-danger);
}

.vcc-field-grid input,
.vcc-field-grid select,
.vcc-field-grid textarea {
  width: 100%;
  min-height: 32px;
  border: 1px solid #aeb2af;
  border-radius: 5px;
  background: #fff;
  padding: 7px 10px;
  color: var(--vcc-ink);
  font-size: 11px;
  line-height: 1.4;
}

.vcc-country-field {
  display: none !important;
}

.vcc-payment-box .woocommerce-checkout-payment {
  background: transparent !important;
}

.vcc-payment-box .wc_payment_methods {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.vcc-payment-box .wc_payment_method {
  position: relative;
  width: auto;
  min-width: 106px;
  min-height: 76px;
  margin: 0 !important;
  border: 1px solid #d2d2cf;
  background: #fff;
  list-style: none;
  text-align: center;
}

.vcc-payment-box .wc_payment_method.is-selected {
  border-color: var(--vcc-forest);
}

.vcc-payment-box .wc_payment_method input {
  position: absolute;
  inset: 10px auto auto 10px;
}

.vcc-payment-box .wc_payment_method label {
  display: flex !important;
  min-height: 74px;
  align-items: center;
  justify-content: center;
  padding: 26px 8px 8px;
  color: #8f918e;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.25;
}

.vcc-payment-box .payment_box {
  display: none !important;
}

.vcc-payment-box .place-order {
  margin: 0 !important;
  padding: 0 !important;
}

.vcc-payment-box #place_order {
  display: none !important;
}

.vcc-notices {
  margin: 0 0 24px;
}

.vcc-empty {
  width: min(620px, 100%);
  margin: 0 auto;
  text-align: center;
}

.vcc-empty h2 {
  margin: 0 0 10px;
  color: var(--vcc-forest);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 34px;
}

.vcc-empty p {
  margin: 0;
  color: var(--vcc-muted);
}

@media (max-width: 900px) {
  .vcc-page {
    width: min(100% - 28px, 680px);
    padding-top: 30px;
  }

  .vcc-page h1 {
    margin-bottom: 36px;
  }

  .vcc-layout,
  .vcc-checkout-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .vcc-summary {
    padding: 34px 0 0;
    border-top: 1px solid var(--vcc-line);
    border-left: 0;
  }
}

@media (max-width: 560px) {
  .vcc-cart-item {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 18px;
  }

  .vcc-cart-thumb {
    width: 104px;
  }

  .vcc-coupon-row,
  .vcc-field-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .vcc-field-third {
    grid-column: 1 / -1;
  }

  .vcc-payment-box .wc_payment_methods {
    gap: 14px;
  }
}
