@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;1,400&display=swap');

/* XStore continues to render the WooCommerce gallery and purchase form. */
body.single-product {
  --ag-ink: #302724;
  --ag-muted: #6e5d54;
  --ag-surface: #fffaf6;
  --ag-card: #fffdfb;
  --ag-border: #e8d9d0;
  --ag-rose: #a74e63;
  color: var(--ag-ink);
  background: var(--ag-surface);
  font-family: 'DM Sans', Arial, sans-serif;
}

body.single-product .template-container,
body.single-product .page-wrapper { background: var(--ag-surface); }

.ag-product-header {
  position: relative;
  z-index: 40;
  border-bottom: 1px solid #f1e6df;
}
.ag-product-header ~ .template-container #header { display: none; }

body.single-product .page-wrapper > .page-heading {
  margin: 0;
  padding: clamp(23px, 3.6vw, 52px) 0 0;
  background: none;
  border: 0;
}
body.single-product .page-wrapper > .page-heading .container,
body.single-product .content-page.container {
  width: 100%;
  max-width: 1440px;
  padding-inline: clamp(20px, 4.5vw, 68px);
}
body.single-product .page-wrapper > .page-heading .a-center { text-align: left; }
body.single-product .page-heading .woocommerce-breadcrumb,
body.single-product .page-heading .woocommerce-breadcrumb a {
  color: var(--ag-muted);
  font: 500 14px/1.6 'DM Sans', Arial, sans-serif;
  text-transform: none;
}
body.single-product .page-heading .woocommerce-breadcrumb a:hover {
  color: var(--ag-rose);
  text-decoration: underline;
  text-underline-offset: 3px;
}
body.single-product .page-heading .woocommerce-breadcrumb:has(h1) .span-title,
body.single-product .page-heading .woocommerce-breadcrumb:has(h1) .delimeter:has(+ .span-title) {
  display: none;
}
body.single-product .page-heading h1.title {
  margin: 9px 0 0;
  color: var(--ag-ink);
  font: 400 clamp(35px, 4.5vw, 60px)/1.1 'Playfair Display', Georgia, serif;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
  text-transform: none;
}

body.single-product .content-page.container { padding-top: clamp(20px, 3vw, 42px); padding-bottom: 64px; }
body.single-product .single-product-page .product-images,
body.single-product .single-product-page .product-information { margin-bottom: 24px; }
body.single-product .single-product-page .product-images img { border-radius: 9px; }
body.single-product .single-product-page .product-information-inner {
  padding: clamp(20px, 3vw, 42px);
  background: var(--ag-card);
  border: 1px solid var(--ag-border);
  border-radius: 9px;
}
body.single-product .single-product-page .product-information-inner h4.title {
  margin: 0 0 15px;
  color: var(--ag-ink);
  font: 400 clamp(25px, 2.6vw, 34px)/1.2 'Playfair Display', Georgia, serif;
  text-transform: none;
}
body.single-product .single-product-page .product-information .price {
  color: var(--ag-rose);
  font: 700 17px/1.35 'DM Sans', Arial, sans-serif;
}
body.single-product .single-product-page .product-information p.price {
  margin: 0 0 14px;
  font-size: clamp(24px, 3vw, 32px);
}
body.single-product .single-product-page .product-information .price .amount { color: inherit; }
body.single-product .single-product-page .woocommerce-product-details__short-description {
  color: var(--ag-muted);
  font-size: 16px;
  line-height: 1.6;
}
body.single-product .single-product-page .product-information .wapf-wrapper {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--ag-border);
}

body.single-product .single-product-page .wapf-field-row { margin-bottom: 19px; }
body.single-product .single-product-page .wapf-field-label,
body.single-product .single-product-page .wapf-field-label label {
  color: #352b28;
  font: 600 15px/1.4 'DM Sans', Arial, sans-serif;
}
body.single-product .single-product-page .wapf-field-label .required { color: #b95770; text-decoration: none; }
body.single-product .single-product-page .wapf-field-input input:is([type='radio'], [type='checkbox']) {
  accent-color: var(--ag-rose);
}
body.single-product .single-product-page .wapf-field-description {
  margin-top: 7px;
  color: #7a6962;
  font: 400 13px/1.45 'DM Sans', Arial, sans-serif;
}
body.single-product .single-product-page .wapf-input:is(input:not([type]), input[type="text"], input[type="number"], input[type="email"], input[type="url"], select, textarea),
body.single-product .single-product-page form.cart textarea,
body.single-product .single-product-page form.cart input[type='text']:not([readonly]) {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  color: #352b28;
  background: #fffdfb;
  border: 1px solid #d7c2b8;
  border-radius: 6px;
  box-shadow: none;
  font: 400 15px/1.4 'DM Sans', Arial, sans-serif;
}
body.single-product .single-product-page form.cart textarea { min-height: 98px; }
body.single-product .single-product-page form.cart .wapf-input:focus {
  outline: 2px solid #bd6579;
  outline-offset: 1px;
  border-color: #bd6579;
}
body.single-product .single-product-page form.cart .quantity {
  border: 1px solid #d7c2b8;
  border-radius: 6px;
  background: #fffdfb;
}
body.single-product .single-product-page form.cart .quantity input,
body.single-product .single-product-page form.cart .quantity .plus,
body.single-product .single-product-page form.cart .quantity .minus { color: #352b28; }
body.single-product .single-product-page form.cart .single_add_to_cart_button {
  min-height: 48px;
  padding: 12px 23px;
  color: #fff;
  background: var(--ag-rose);
  border: 1px solid var(--ag-rose);
  border-radius: 6px;
  font: 600 15px/1.2 'DM Sans', Arial, sans-serif;
  letter-spacing: 0;
  text-transform: none;
}
body.single-product .single-product-page form.cart .single_add_to_cart_button:not(:disabled):not(.disabled):hover,
body.single-product .single-product-page form.cart .single_add_to_cart_button:focus-visible {
  color: #fff;
  background: #8f4053;
  border-color: #8f4053;
}
body.single-product .single-product-page .product_meta,
body.single-product .single-product-page .product_meta a { color: #806e66; font: 400 13px/1.6 'DM Sans', Arial, sans-serif; }
body.single-product .single-product-page .product_meta a:hover { color: #a74e63; }

body.single-product .single-product-page .woocommerce-tabs { margin-top: 50px; }
body.single-product .single-product-page .woocommerce-tabs .tabs-nav {
  border-bottom: 1px solid #e4d4cb;
  text-align: left;
}
body.single-product .single-product-page .woocommerce-tabs .tabs-nav a {
  color: #352b28;
  font: 400 28px/1.2 'Playfair Display', Georgia, serif;
  text-transform: none;
}
body.single-product .single-product-page .woocommerce-tabs .tabs-nav li.active a { border-color: #c8768a; }
body.single-product .single-product-page .woocommerce-tabs .tab-content,
body.single-product .single-product-page .woocommerce-tabs .tab-description {
  color: #554842;
  font: 400 16px/1.7 'DM Sans', Arial, sans-serif;
}
body.single-product .single-product-page .related-products-title {
  margin: 55px 0 24px;
  padding-top: 35px;
  border-top: 1px solid #e4d4cb;
  color: #352b28;
  font: 400 36px/1.2 'Playfair Display', Georgia, serif;
  text-transform: none;
}
body.single-product .single-product-page .related-products { margin-top: 0; }
body.single-product .single-product-page .related-products .title,
body.single-product .single-product-page .related-products h2 { color: #352b28; }
body.single-product .single-product-page .related-products .title {
  font: 400 36px/1.2 'Playfair Display', Georgia, serif;
  text-transform: none;
}
body.single-product .single-product-page .related-products .product-title a {
  color: #352b28;
  font: 400 21px/1.25 'Playfair Display', Georgia, serif;
}
body.single-product .single-product-page .related-products .price { color: #806e66; font-family: 'DM Sans', Arial, sans-serif; }

body.single-product .single-product-page .related-products .product-content-image img { border-radius: 9px; }
body.single-product .et-footers-wrapper .footer {
  color: var(--ag-muted);
  background: #f1e5dd;
  border-top: 1px solid #dfc9bd;
}
body.single-product .et-footers-wrapper .footer .elementor-section { background-color: transparent; }
body.single-product .et-footers-wrapper .footer .elementor-widget-image img { mix-blend-mode: multiply; }
body.single-product .et-footers-wrapper .footer a { color: var(--ag-ink); }
body.single-product .et-footers-wrapper .footer .et-follow-buttons a i { color: var(--ag-muted) !important; }
body.single-product .et-footers-wrapper .footer .et-follow-buttons a:hover i { color: var(--ag-rose) !important; }

@media (max-width: 767px) {
  /* Clip the resized theme carousel without letting focus scroll the entire page sideways. */
  body.single-product .ag-product-header ~ .template-container { overflow: clip; }
  body.single-product .content-page.container { padding-bottom: 40px; }
  body.single-product .single-product-page .woocommerce-tabs { margin-top: 30px; }
  body.single-product .single-product-page .related-products-title { margin-top: 38px; font-size: 30px; }
}
