.woocommerce,
.woocommerce-page {
  font-family: Manrope, sans-serif;
}

.woocommerce-tabs,
.woocommerce-product-gallery,
.woocommerce div.product div.images,
.woocommerce div.product div.summary {
  display: none !important;
}

.shop-page-wrapper {
  max-width: 100%;
}

.shop-container {
  max-width: 1240px !important;
  margin: 0 auto !important;
  padding: 0 40px !important;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 767px) {
  .shop-container {
    padding: 0 20px !important;
  }
}

.shop-hero {
  padding: 160px 0 100px;
  background: #0B102D;
  text-align: center;
}

.shop-hero__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 40px;
}

.shop-hero__eyebrow {
  font-family: Manrope, sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #E6C89C;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.shop-hero__title {
  font-family: 'Instrument Serif', serif;
  font-size: 72px;
  line-height: 1.1;
  color: #FFFFFF;
  margin-bottom: 24px;
}

.shop-hero__lead {
  font-family: Manrope, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
}

.shop-hero__actions {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 32px;
}

.shop-hero__microcopy {
  font-family: Manrope, sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.shop-filter-bar {
  margin: 60px 0 40px;
  background: #ffffff;
  border: 1px solid rgba(11, 16, 45, 0.08);
  padding: 24px;
}

.shop-filter-bar__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.shop-filter-bar__title {
  font-family: 'Instrument Serif', serif;
  font-size: 24px;
  font-weight: 400;
  color: #0B102D;
  margin: 0;
}

.shop-filter-bar__toggle {
  background: transparent;
  border: 1px solid #CA892D;
  color: #CA892D;
  padding: 8px 16px;
  font-family: Manrope, sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
}

.shop-filter-bar__content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.shop-toolbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(11, 16, 45, 0.08);
  font-family: Manrope, sans-serif;
  font-size: 14px;
}

.shop-toolbar .woocommerce-ordering {
  margin: 0;
}

.shop-toolbar select {
  padding: 8px 16px;
  border: 1px solid rgba(11, 16, 45, 0.1);
  background: #ffffff;
  font-family: Manrope, sans-serif;
  font-size: 14px;
  color: #0B102D;
  outline: none;
}

ul.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  list-style: none;
  padding: 0;
  margin: 0 0 80px;
}

.product-card {
  display: flex;
  flex-direction: column;
}

.product-card__image-wrapper {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 292 / 358;
  overflow: hidden;
  background: #F4EFE7;
}

.product-card__image {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.5s ease;
  display: block;
}

.product-card:hover .product-card__image {
  transform: scale(1.05);
}

.product-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #CA892D;
  color: #FFFFFF;
  padding: 4px 12px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.product-card__content {
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card__meta {
  font-family: Manrope, sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #8A6B3A;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.product-card__title {
  font-family: 'Instrument Serif', serif;
  font-size: 28px;
  line-height: 1.1;
  margin: 0 0 12px;
}

.product-card__title a {
  color: #0B102D;
  text-decoration: none;
}

.product-card__excerpt {
  font-family: Manrope, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(11, 16, 45, 0.6);
  margin-bottom: 20px;
  flex-grow: 1;
}

.product-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(11, 16, 45, 0.08);
  margin-bottom: 16px;
}

.product-card__price {
  font-family: Manrope, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #0B102D;
}

.product-card__availability {
  font-family: Manrope, sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.product-card__availability.is-in-stock { color: #2e7d52; }
.product-card__availability.is-out-of-stock { color: #cc0000; }

.product-card__link {
  font-family: Manrope, sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #8A6B3A;
  text-decoration: none;
  transition: color 0.3s;
}

.product-card__link:hover {
  color: #0B102D;
}

.product-container {
  max-width: 100%;
}

.product-hero {
  padding: 120px 0 80px;
  background: #0B102D;
}

@media (max-width: 1024px) {
  .product-hero {
    padding: 80px 24px;
  }
}

.product-hero__inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  gap: 80px;
  align-items: center;
}

@media (max-width: 1024px) {
  .product-hero__inner {
    flex-direction: column;
    gap: 48px;
    padding: 0;
  }
}

.product-hero__gallery { 
  flex: 1; 
  position: relative; 
  width: 100%;
}

@media (max-width: 1024px) {
  .product-hero__gallery {
    max-width: 500px;
  }
}

.product-hero__content { 
  flex: 1; 
  width: 100%;
}

.product-hero__category {
  font-family: Manrope, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #CA892D;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.product-hero__title {
  font-family: 'Instrument Serif', serif;
  font-size: 56px;
  line-height: 1.1;
  color: #FFFFFF;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .product-hero__title {
    font-size: 42px;
  }
}

.product-hero__price {
  font-family: 'Instrument Serif', serif;
  font-size: 32px;
  font-weight: 400;
  color: #FFFFFF !important;
  margin-bottom: 32px;
}

.product-hero__price .price,
.product-hero__price .price .amount,
.product-hero__price .price bdi {
  color: #FFFFFF !important;
}

.product-hero__short-description {
  font-family: Manrope, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 48px;
}

.product-hero__delivery-info {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 48px;
}

.product-delivery-badge { display: flex; align-items: center; gap: 12px; }
.product-delivery-badge__icon { width: 20px; height: 20px; filter: brightness(0) invert(1); }
.product-delivery-badge__label { font-size: 10px; font-weight: 700; text-transform: uppercase; color: rgba(255, 255, 255, 0.4); }
.product-delivery-badge__value { font-size: 13px; font-weight: 600; color: #FFFFFF; }
.product-delivery-separator { width: 1px; height: 32px; background: rgba(255, 255, 255, 0.1); }

.product-hero__add-to-cart .cart {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}

.product-hero__add-to-cart .variations-selection {
  width: 100%;
  box-sizing: border-box;
}

table tbody>tr:nth-child(odd)>th, table tbody>tr:nth-child(odd)>td, table tbody>tr:nth-child(odd)>th   {
  background: transparent;
}

.product-hero__add-to-cart .single_variation_wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-hero__add-to-cart .woocommerce-variation-add-to-cart {
  display: flex;
  align-items: stretch;
  gap: 16px;
}

.product-hero__add-to-cart .variations {
  width: 100%;
  margin: 0;
}

.product-hero__add-to-cart .variations td {
  padding: 0;
  border: none;
}

.product-hero__add-to-cart .variations th {
  padding: 0;
  width: 80px;
  vertical-align: middle;
}

.product-hero__add-to-cart .variations .label label {
  font-family: Manrope, sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.7);
}

.product-hero__add-to-cart .variations select {
  width: 100%;
  max-width: 300px;
  padding: 12px 40px 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #FFFFFF;
  font-family: Manrope, sans-serif;
  font-size: 14px;
  outline: none;
  cursor: pointer;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 4.5L6 8L9.5 4.5' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.product-hero__add-to-cart .variations select:focus {
  border-color: #FFFFFF;
}

.product-hero__add-to-cart .variations select option {
  background: #0B102D;
  color: #FFFFFF;
}

.product-hero__add-to-cart .reset_variations {
  margin-left: 16px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: underline;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-hero__add-to-cart .reset_variations:hover {
  color: #FFFFFF;
}

.product-hero__add-to-cart .woocommerce-variation {
  margin-bottom: 8px;
}

.product-hero__add-to-cart .woocommerce-variation-price .price,
.product-hero__add-to-cart .woocommerce-variation-price .price .amount,
.product-hero__add-to-cart .woocommerce-variation-price .price bdi {
  font-family: 'Instrument Serif', serif;
  font-size: 28px;
  color: #FFFFFF !important;
}

.product-hero__add-to-cart .woocommerce-variation-availability {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.product-hero__add-to-cart .quantity {
  margin: 0;
}

.product-hero__add-to-cart .quantity .qty {
  height: 100%;
  min-height: 57px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #FFFFFF;
  font-family: Manrope, sans-serif;
  font-size: 14px;
  width: 70px;
  text-align: center;
  border-radius: 0;
  outline: none;
}

.product-hero__add-to-cart button.single_add_to_cart_button {
  background: var(--gradient-primary) !important;
  color: #0B102D !important;
  border: none !important;
  padding: 0 48px !important;
  height: 57px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Manrope, sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 3px !important;
  cursor: pointer;
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease !important;
  border-radius: 0 !important;
  line-height: 1 !important;
}

.product-hero__add-to-cart button.single_add_to_cart_button:hover {
  background: transparent !important;
  box-shadow: var(--shadow-accent) !important;
  color: #fff !important;
  transform: translateY(-2px);
}

.product-characteristics {
  padding: 100px 0;
  background: #FFFFFF;
  border-top: 1px solid rgba(11, 16, 45, 0.05);
}

.product-characteristics__inner {
  display: flex;
  gap: 120px;
  align-items: flex-start;
}

.product-characteristics__left,
.product-characteristics__right {
  flex: 1;
}

.product-characteristics__right .cta-lines a {
  color: #0B102D;
}

.product-characteristics__title {
  font-family: 'Instrument Serif', serif;
  font-size: 32px;
  color: #0B102D;
  margin-bottom: 40px;
}

.product-tech-table {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.product-tech-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(11, 16, 45, 0.05);
}

.product-tech-row:last-child {
  border-bottom: none;
}

.product-tech-label-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.product-tech-icon {
  width: 18px;
  height: 18px;
  color: #CA892D;
  opacity: 0.8;
}

.product-tech-label {
  font-family: Manrope, sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(11, 16, 45, 0.4);
}

.product-tech-value {
  font-family: Manrope, sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #0B102D;
  text-align: right;
}

.product-details__description {
  width: 100%;
}

.product-details__eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: #CA892D;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.product-details__title {
  font-family: 'Instrument Serif', serif;
  font-size: 40px;
  color: #0B102D;
  margin-bottom: 32px;
}

.product-details__body {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(11, 16, 45, 0.7);
  margin-bottom: 48px;
}

.product-related-products { padding: 100px 0; background: #FFFFFF; border-top: 1px solid rgba(11, 16, 45, 0.05); }
.product-related-products__title { font-family: Manrope, sans-serif; font-size: 13px; font-weight: 600; color: #CA892D; letter-spacing: 3px; text-transform: uppercase; margin: 0 0 48px; }

/* WooCommerce Notices Styling */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
  padding: 20px 30px !important;
  margin: 40px auto !important;
  max-width: 1240px;
  width: calc(100% - 80px);
  border: none !important;
  background-color: #F8F9FA !important;
  color: #0B102D !important;
  font-family: Manrope, sans-serif !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  border-radius: 0 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.woocommerce-message {
  border-left: 4px solid #2e7d52 !important;
}

.woocommerce-error {
  border-left: 4px solid #cc0000 !important;
  list-style: none !important;
}

.woocommerce-info {
  border-left: 4px solid #CA892D !important;
}

/* --- CART & CHECKOUT FIXES --- */

.woocommerce-cart .shop-products-section,
.woocommerce-checkout .shop-products-section {
  padding: 80px 0;
  background: #FFFFFF;
}

/* Primary buttons (CTA) - specific overrides */
.woocommerce-cart .checkout-button,
.woocommerce-checkout #place_order,
.woocommerce-page .cart .button.alt,
.woocommerce-page .cart input.button.alt,
.woocommerce-page .checkout .button.alt,
.woocommerce-page .checkout input.button.alt {
    background: var(--gradient-primary) !important;
    color: #0B102D !important;
    border: none !important;
    padding: 18px 32px !important;
    font-family: Manrope, sans-serif !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    border-radius: 0 !important;
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    line-height: 1.2 !important;
}

.woocommerce-cart .checkout-button:hover,
.woocommerce-checkout #place_order:hover {
    background: transparent !important;
    box-shadow: var(--shadow-accent) !important;
    color: #E6C89C !important;
    transform: translateY(-2px);
}

/* Secondary buttons */
.woocommerce-page .cart .coupon .button,
.woocommerce-page .cart .actions .button:not(.alt),
.woocommerce-page .checkout .button:not(.alt) {
    background: transparent !important;
    box-shadow: inset 0 0 0 1px #CA892D !important;
    color: #CA892D !important;
    padding: 12px 24px !important;
    border-radius: 0 !important;
    font-size: 12px !important;
    height: auto !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
}

/* Cart Page Layout */
.wc-cart-layout {
  display: flex;
  gap: 80px;
  align-items: flex-start;
  margin-top: 40px;
}

.wc-cart-items { flex: 1.8; }
.wc-cart-totals { flex: 1; background: #F8F9FA; padding: 48px; position: sticky; top: 120px; }

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

.shop_table.cart thead th {
  text-align: left;
  padding: 20px 0;
  font-family: Manrope, sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(11, 16, 45, 0.4);
  border-bottom: 1px solid rgba(11, 16, 45, 0.08);
}

.cart_item .product-name a {
  font-family: 'Instrument Serif', serif;
  font-size: 24px;
  color: #0B102D;
  text-decoration: none;
}

/* Checkout Page Layout */
.wc-checkout-layout {
  display: flex;
  gap: 80px;
  align-items: flex-start;
  margin-top: 40px;
}

.wc-checkout-details { flex: 1.8; }
.wc-checkout-review { flex: 1; background: #F8F9FA; padding: 48px; position: sticky; top: 120px; }

@media (max-width: 1024px) {
  .wc-cart-layout, .wc-checkout-layout { flex-direction: column; gap: 40px; }
  .wc-cart-items, .wc-cart-totals, .wc-checkout-details, .wc-checkout-review { width: 100%; }
  .wc-cart-totals, .wc-checkout-review { position: static; }
  .product-hero__inner, .product-characteristics__inner { flex-direction: column; gap: 60px; }
  ul.prod-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  ul.prod-grid { grid-template-columns: 1fr; }
  .shop-filter-bar__content { grid-template-columns: 1fr; }
}

/* Wymuszenie grida na koszyku i w kasie */
body.woocommerce-cart .elementor-widget-theme-post-content,
body.woocommerce-checkout .elementor-widget-theme-post-content,
body.woocommerce-cart .page-content,
body.woocommerce-checkout .page-content {
    max-width: 1240px !important;
    margin: 0 auto !important;
    padding: 0 40px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

@media (max-width: 767px) {
    body.woocommerce-cart .elementor-widget-theme-post-content,
    body.woocommerce-checkout .elementor-widget-theme-post-content,
    body.woocommerce-cart .page-content,
    body.woocommerce-checkout .page-content {
        padding: 0 20px !important;
    }
}

/* Wymuszenie stylów przycisków w koszyku */
body.woocommerce-cart .woocommerce a.button, 
body.woocommerce-cart .woocommerce button.button, 
body.woocommerce-cart .woocommerce input.button,
body.woocommerce-checkout .woocommerce button.button,
body.woocommerce-cart .woocommerce-page a.button, 
body.woocommerce-cart .woocommerce-page button.button, 
body.woocommerce-cart .woocommerce-page input.button {
    font-family: 'Manrope', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    border-radius: 0 !important;
    padding: 16px 32px !important;
    height: auto !important;
    line-height: 1 !important;
    transition: all 0.3s ease !important;
    border: none !important;
    cursor: pointer !important;
}

body.woocommerce-cart .woocommerce .cart .button,
body.woocommerce-checkout .woocommerce button.button#place_order,
body.woocommerce-cart .woocommerce-page .cart .button {
    background: var(--gradient-primary) !important;
    color: #0B102D !important;
}

body.woocommerce-cart .woocommerce .cart .button:hover,
body.woocommerce-checkout .woocommerce button.button#place_order:hover,
body.woocommerce-cart .woocommerce-page .cart .button:hover {
    background: transparent !important;
    box-shadow: var(--shadow-accent) !important;
    color: #E6C89C !important;
    transform: translateY(-2px);
}

body.woocommerce-cart .woocommerce .coupon .button,
body.woocommerce-cart .woocommerce-page .coupon .button {
    background: transparent !important;
    box-shadow: inset 0 0 0 1px #CA892D !important;
    color: #CA892D !important;
}

body.woocommerce-cart .woocommerce .coupon .button:hover,
body.woocommerce-cart .woocommerce-page .coupon .button:hover {
    background: #CA892D !important;
    color: #FFFFFF !important;
}

/* ================================================
   WooCommerce Blocks — Cart
   ================================================ */

body.woocommerce-cart {
  background: #FDFAF6;
}

.wp-block-woocommerce-cart {
  max-width: 1240px;
  margin: 0 auto;
  padding: 60px 40px 100px;
  box-sizing: border-box;
}

@media (max-width: 767px) {
  .wp-block-woocommerce-cart {
    padding: 40px 20px 80px;
  }
}

.wc-block-components-sidebar-layout.wc-block-cart {
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

.wc-block-cart__main {
  flex: 1.8;
  min-width: 0;
}

.wc-block-cart__sidebar {
  flex: 1;
  background: #F4EFE7;
  padding: 48px;
  position: sticky;
  top: 120px;
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  .wc-block-components-sidebar-layout.wc-block-cart {
    flex-direction: column;
    gap: 48px;
  }
  .wc-block-cart__sidebar {
    position: static;
    width: 100%;
  }
}

.wc-block-cart-items {
  width: 100%;
  border-collapse: collapse;
}

.wc-block-cart-items__header th {
  font-family: Manrope, sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(11, 16, 45, 0.4);
  padding: 0 0 20px;
  text-align: left;
  border-bottom: 1px solid rgba(11, 16, 45, 0.08);
}

.wc-block-cart-items__header th.wc-block-cart-items__header-total {
  text-align: right;
}

.wc-block-cart-items__row td {
  padding: 32px 0;
  vertical-align: top;
  border-bottom: 1px solid rgba(11, 16, 45, 0.06);
}

.wc-block-cart-item__image {
  width: 100px;
  padding-right: 24px !important;
}

.wc-block-cart-item__image img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  display: block;
}

a.wc-block-components-product-name {
  font-family: 'Instrument Serif', serif;
  font-size: 22px;
  line-height: 1.2;
  color: #0B102D;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
}

a.wc-block-components-product-name:hover {
  color: #CA892D;
}

.wc-block-cart-item__prices .price,
.wc-block-cart-item__prices .wc-block-components-product-price__value {
  font-family: Manrope, sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: rgba(11, 16, 45, 0.6);
}

.wc-block-components-product-metadata {
  font-family: Manrope, sans-serif;
  font-size: 13px;
  color: rgba(11, 16, 45, 0.5);
  margin-bottom: 16px;
}

.wc-block-components-product-metadata p {
  margin: 4px 0;
}

.wc-block-components-product-details__name {
  font-weight: 600;
}

.wc-block-cart-item__quantity {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 16px;
}

.wc-block-components-quantity-selector {
  display: flex;
  align-items: center;
  border: 1px solid rgba(11, 16, 45, 0.15);
  height: 44px;
}

.wc-block-components-quantity-selector__input {
  width: 48px;
  height: 100%;
  border: none;
  background: transparent;
  text-align: center;
  font-family: Manrope, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #0B102D;
  outline: none;
  -moz-appearance: textfield;
}

.wc-block-components-quantity-selector__input::-webkit-inner-spin-button,
.wc-block-components-quantity-selector__input::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

.wc-block-components-quantity-selector__button {
  width: 36px;
  height: 100%;
  background: transparent;
  border: none;
  font-size: 18px;
  color: #0B102D;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.wc-block-components-quantity-selector__button:hover:not(:disabled) {
  background: rgba(11, 16, 45, 0.05);
}

.wc-block-components-quantity-selector__button:disabled {
  color: rgba(11, 16, 45, 0.2);
  cursor: default;
}

.wc-block-cart-item__remove-link {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: rgba(11, 16, 45, 0.3);
  transition: color 0.2s;
  display: flex;
  align-items: center;
}

.wc-block-cart-item__remove-link:hover {
  color: #cc0000;
}

.wc-block-cart-item__total {
  text-align: right;
  white-space: nowrap;
}

.wc-block-cart-item__total .wc-block-components-product-price__value {
  font-family: Manrope, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #0B102D;
}

.wc-block-cart__totals-title {
  font-family: 'Instrument Serif', serif;
  font-size: 28px;
  font-weight: 400;
  color: #0B102D;
  margin: 0 0 32px;
}

.wc-block-components-totals-coupon {
  border-top: 1px solid rgba(11, 16, 45, 0.08);
  border-bottom: 1px solid rgba(11, 16, 45, 0.08);
  padding: 16px 0;
  margin-bottom: 24px;
}

.wc-block-components-panel__button {
  font-family: Manrope, sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #CA892D;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.wc-block-components-panel__button-icon {
  fill: #CA892D;
}

.wc-block-components-totals-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(11, 16, 45, 0.06);
}

.wc-block-components-totals-item__label {
  font-family: Manrope, sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(11, 16, 45, 0.5);
}

.wc-block-components-totals-item__value {
  font-family: Manrope, sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #0B102D;
}

.wc-block-components-totals-footer-item {
  border-bottom: none;
  padding-top: 20px;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
  font-size: 14px;
  font-weight: 700;
  color: #0B102D;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.wc-block-components-totals-footer-item-tax-value {
  font-family: 'Instrument Serif', serif;
  font-size: 28px;
  font-weight: 400;
  color: #0B102D;
}

.wc-block-cart__submit-container {
  margin-top: 32px;
}

a.wc-block-cart__submit-button {
  display: block;
  width: 100%;
  background: var(--gradient-primary);
  color: #0B102D;
  border: none;
  padding: 18px 32px;
  font-family: Manrope, sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  border-radius: 0;
  box-sizing: border-box;
}

a.wc-block-cart__submit-button:hover {
  background: transparent;
  box-shadow: var(--shadow-accent);
  color: #E6C89C;
  transform: translateY(-2px);
}

a.wc-block-cart__submit-button .wc-block-components-button__text {
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
}

.wc-block-components-notices,
.wc-block-components-notices__snackbar {
  max-width: 1240px;
  margin: 0 auto;
}

/* ================================================
   WooCommerce Blocks — Checkout
   ================================================ */

body.woocommerce-checkout {
  background: #FDFAF6;
}

.wp-block-woocommerce-checkout {
  max-width: 1240px !important;
  margin: 0 auto !important;
  padding: 60px 40px 100px;
  box-sizing: border-box;
}

@media (max-width: 767px) {
  .wp-block-woocommerce-checkout {
    padding: 40px 20px 80px;
  }
}

.wc-block-components-sidebar-layout.wc-block-checkout {
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

.wc-block-checkout__main {
  flex: 1.8;
  min-width: 0;
}

.wc-block-checkout__sidebar {
  flex: 1;
  background: #F4EFE7;
  padding: 48px;
  position: sticky;
  top: 120px;
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  .wc-block-components-sidebar-layout.wc-block-checkout {
    flex-direction: column;
    gap: 48px;
  }
  .wc-block-checkout__sidebar {
    position: static;
    width: 100%;
  }
}

.wc-block-components-checkout-step {
  border: none;
  padding: 0;
  margin: 0 0 48px;
}

.wc-block-components-checkout-step__title {
  font-family: 'Instrument Serif', serif;
  font-size: 28px;
  font-weight: 400;
  color: #0B102D;
  margin: 0 0 28px;
  padding: 0;
}

.wc-block-components-checkout-step__heading-container {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(11, 16, 45, 0.08);
  margin-bottom: 28px;
}

.wc-block-components-text-input {
  position: relative;
  margin-bottom: 20px;
}

.wc-block-components-text-input input {
  width: 100%;
  height: 54px;
  padding: 18px 16px 6px;
  border: 1px solid rgba(11, 16, 45, 0.15);
  background: #FFFFFF;
  font-family: Manrope, sans-serif;
  font-size: 15px;
  color: #0B102D;
  outline: none;
  border-radius: 0;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.wc-block-components-text-input input:focus {
  border-color: #CA892D;
}

.wc-block-components-text-input label {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  font-family: Manrope, sans-serif;
  font-size: 14px;
  color: rgba(11, 16, 45, 0.5);
  pointer-events: none;
  transition: all 0.2s;
}

.wc-block-components-text-input.is-active label,
.wc-block-components-text-input input:focus + label {
  top: 10px;
  transform: none;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #CA892D;
}

.wc-blocks-components-select__container {
  position: relative;
  margin-bottom: 20px;
}

.wc-blocks-components-select__label {
  position: absolute;
  top: 10px;
  left: 16px;
  font-family: Manrope, sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #CA892D;
  pointer-events: none;
  z-index: 1;
}

.wc-blocks-components-select__select {
  width: 100%;
  height: 54px;
  padding: 22px 40px 6px 16px;
  border: 1px solid rgba(11, 16, 45, 0.15);
  background: #FFFFFF;
  font-family: Manrope, sans-serif;
  font-size: 15px;
  color: #0B102D;
  outline: none;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  cursor: pointer;
  transition: border-color 0.2s;
}

.wc-blocks-components-select__select:focus {
  border-color: #CA892D;
}

.wc-blocks-components-select__expand {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  fill: rgba(11, 16, 45, 0.4);
}

.wc-block-components-address-form__address_2-toggle {
  display: inline-block;
  font-family: Manrope, sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #CA892D;
  cursor: pointer;
  margin-bottom: 20px;
}

.wc-block-components-address-form__address_2-toggle:hover {
  color: #0B102D;
}

.wc-block-components-checkbox {
  margin-bottom: 16px;
}

.wc-block-components-checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-family: Manrope, sans-serif;
  font-size: 14px;
  color: rgba(11, 16, 45, 0.7);
}

.wc-block-components-checkbox__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.wc-block-components-checkbox__mark {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(11, 16, 45, 0.2);
  background: #FFFFFF;
  padding: 2px;
  box-sizing: border-box;
}

.wc-block-components-checkbox__input:checked ~ .wc-block-components-checkbox__mark {
  background: #CA892D;
  border-color: #CA892D;
  fill: #FFFFFF;
}

.wc-block-components-radio-control__option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border: 1px solid rgba(11, 16, 45, 0.12);
  margin-bottom: 12px;
  cursor: pointer;
  transition: border-color 0.2s;
  background: #FFFFFF;
}

.wc-block-components-radio-control__option:hover {
  border-color: #CA892D;
}

.wc-block-components-radio-control__option--checked-option-highlighted,
.wc-block-components-radio-control__option-checked {
  border-color: #CA892D;
}

.wc-block-components-radio-control__input {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: #CA892D;
  cursor: pointer;
}

.wc-block-components-radio-control__label {
  font-family: Manrope, sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #0B102D;
}

.wc-block-components-radio-control__secondary-label {
  font-family: Manrope, sans-serif;
  font-size: 13px;
  color: rgba(11, 16, 45, 0.5);
  margin-left: auto;
}

.wc-block-checkout__shipping-option--free {
  font-weight: 700;
  color: #2e7d52;
}

.wc-block-components-radio-control-accordion-content {
  padding: 16px 20px;
  background: rgba(11, 16, 45, 0.02);
  border: 1px solid rgba(11, 16, 45, 0.08);
  border-top: none;
  font-family: Manrope, sans-serif;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(11, 16, 45, 0.6);
  margin-bottom: 12px;
}

.wc-block-checkout__terms {
  font-family: Manrope, sans-serif;
  font-size: 13px;
  color: rgba(11, 16, 45, 0.5);
  margin-bottom: 32px;
  line-height: 1.6;
}

.wc-block-checkout__terms a {
  color: #CA892D;
  text-decoration: underline;
}

.wc-block-checkout__actions_row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

a.wc-block-components-checkout-return-to-cart-button {
  font-family: Manrope, sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(11, 16, 45, 0.4);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}

a.wc-block-components-checkout-return-to-cart-button:hover {
  color: #0B102D;
}

a.wc-block-components-checkout-return-to-cart-button svg {
  fill: currentColor;
}

button.wc-block-components-checkout-place-order-button {
  background: var(--gradient-primary);
  color: #0B102D;
  border: none;
  padding: 18px 48px;
  font-family: Manrope, sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  cursor: pointer;
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  border-radius: 0;
  line-height: 1;
}

button.wc-block-components-checkout-place-order-button:hover {
  background: transparent;
  box-shadow: var(--shadow-accent);
  color: #E6C89C;
  transform: translateY(-2px);
}

.wc-block-components-checkout-order-summary__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(11, 16, 45, 0.08);
  margin-bottom: 24px;
  cursor: pointer;
}

.wc-block-components-checkout-order-summary__title-text {
  font-family: 'Instrument Serif', serif;
  font-size: 24px;
  font-weight: 400;
  color: #0B102D;
  margin: 0;
}

.wc-block-components-checkout-order-summary__title-price {
  font-family: Manrope, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #0B102D;
}

.wc-block-components-checkout-order-summary__title-icon svg {
  fill: rgba(11, 16, 45, 0.4);
}

.wc-block-components-order-summary-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(11, 16, 45, 0.06);
}

.wc-block-components-order-summary-item__image {
  position: relative;
  flex-shrink: 0;
}

.wc-block-components-order-summary-item__image img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  display: block;
}

.wc-block-components-order-summary-item__quantity {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #CA892D;
  color: #FFFFFF;
  font-family: Manrope, sans-serif;
  font-size: 11px;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wc-block-components-order-summary-item__description {
  flex: 1;
  min-width: 0;
}

h3.wc-block-components-product-name {
  font-family: 'Instrument Serif', serif;
  font-size: 17px;
  font-weight: 400;
  color: #0B102D;
  margin: 0 0 4px;
}

.wc-block-components-order-summary-item__individual-price {
  font-family: Manrope, sans-serif;
  font-size: 13px;
  color: rgba(11, 16, 45, 0.5);
}

.wc-block-components-order-summary-item__total-price {
  flex-shrink: 0;
  font-family: Manrope, sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #0B102D;
}

.wc-block-components-address-card {
  display: none;
}

.wc-block-checkout__payment-method .wc-block-components-radio-control.disable-radio-control .wc-block-components-radio-control__option {
  background: transparent;
}

.wc-block-components-totals-coupon__form {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  margin-top: 16px;
}

.wc-block-components-totals-coupon__input {
  flex: 1;
  margin-bottom: 0 !important;
}

button.wc-block-components-totals-coupon__button {
  background: var(--gradient-primary) !important;
  color: #0B102D !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 24px !important;
  height: 54px !important;
  font-family: Manrope, sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  cursor: pointer !important;
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease !important;
  flex-shrink: 0;
}

button.wc-block-components-totals-coupon__button:hover:not(:disabled) {
  background: transparent !important;
  box-shadow: var(--shadow-accent) !important;
  color: #E6C89C !important;
  transform: translateY(-2px);
}
