/*
Theme Name: flatsome-child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.1
*/

/*************** ADD CUSTOM CSS HERE. ***************/
:root {
  --utrwalto-purple: #553081;
  --utrwalto-purple-dark: #3c235c;
  --utrwalto-text: #171717;
  --utrwalto-muted: #686868;
  --utrwalto-border: #e9e3f0;
  --utrwalto-surface: #ffffff;
  --utrwalto-bg: #f7f6fb;
}

body.single-product {
  background: linear-gradient(180deg, #faf9fd 0%, #f6f5fa 100%);
  color: var(--utrwalto-text);
}

.single-product #main .product-container {
  width: min(1360px, calc(100% - 32px));
  margin: 0 auto;
}

.single-product .product-main .row.content-row.mb-0 {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 420px);
  gap: 28px;
  align-items: start;
}

.single-product .product-gallery,
.single-product .product-info.summary {
  width: auto !important;
  max-width: none !important;
  float: none !important;
}

.single-product .product-gallery .product-images {
  background: #fff;
  border: 1px solid var(--utrwalto-border);
  box-shadow: 0 22px 55px rgba(38, 26, 63, 0.08);
  padding: 16px;
}

.single-product .product-gallery .woocommerce-product-gallery__image img,
.single-product .product-gallery .woocommerce-product-gallery__image a {
  width: 100%;
}

.single-product .product-info.summary {
  background: var(--utrwalto-surface);
  border: 1px solid var(--utrwalto-border);
  border-radius: 26px;
  box-shadow: 0 22px 55px rgba(38, 26, 63, 0.06);
  padding: 30px;
}

.single-product .product-info.summary .breadcrumbs,
.single-product .product-info.summary .next-prev-thumbs,
.single-product .product-info.summary .wishlist-icon,
.single-product .product-info.summary .social-icons,
.single-product .product-info.summary .product_meta,
.single-product .product-info.summary .is-divider.small,
.single-product .product-info.summary .yith-wcwl-add-to-wishlist,
.single-product .product-info.summary .show-on-hover {
  display: none !important;
}

.single-product .product-title {
  margin: 0 0 14px;
  font-size: clamp(28px, 2.8vw, 42px);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.single-product .price.product-page-price,
.single-product .product-info .price {
  margin: 0 0 12px;
  color: var(--utrwalto-text);
  font-size: 32px;
  font-weight: 800;
}

.single-product .product-info .woocommerce-Price-amount {
  font-weight: 800;
}

.single-product .utrwalto-stock,
.single-product .stock.in-stock {
  color: #2f8d46;
  font-weight: 700;
  margin: 0 0 10px;
}

.single-product .utrwalto-delivery {
  margin: 0 0 14px;
  color: var(--utrwalto-muted);
}

.single-product .fpd-main-bar-position {
  display: none;
}

.single-product #fpd-start-customizing-button,
.single-product .single_add_to_cart_button {
  width: 100%;
  min-height: 52px;
  border-radius: 12px;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: none;
}

.single-product #fpd-start-customizing-button {
  background: var(--utrwalto-purple);
  border: 0;
  color: #fff;
  margin: 0 0 10px;
}

.single-product #fpd-start-customizing-button:hover {
  background: var(--utrwalto-purple-dark);
}

.single-product .single_add_to_cart_button {
  background: #171717;
  color: #fff;
}

.single-product .cart {
  margin-top: 10px;
}

.single-product .ux-quantity.quantity.buttons_added {
  margin-bottom: 12px;
}

.single-product .ux-quantity__button,
.single-product .qty {
  border-radius: 12px;
}

.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products {
  display: none !important;
}

.utrwalto-product-sections {
  margin-top: 36px;
  display: grid;
  gap: 18px;
}

.utrwalto-section-card {
  background: #fff;
  border: 1px solid var(--utrwalto-border);
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 16px 40px rgba(38, 26, 63, 0.04);
}

.utrwalto-section-card h2 {
  margin: 0 0 16px;
  font-size: 22px;
}

.utrwalto-product-subtitle {
  margin: -8px 0 18px;
  color: var(--utrwalto-muted);
}

.utrwalto-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.utrwalto-spec-grid table {
  width: 100%;
  border-collapse: collapse;
}

.utrwalto-spec-grid th,
.utrwalto-spec-grid td {
  text-align: left;
  vertical-align: top;
  padding: 9px 0;
  border-bottom: 1px solid var(--utrwalto-border);
}

.utrwalto-spec-grid th {
  color: var(--utrwalto-muted);
  width: 54%;
  padding-right: 18px;
  font-weight: 600;
}

.utrwalto-copy {
  margin: 16px 0 0;
  color: #444;
}

.utrwalto-copy--strong {
  font-weight: 700;
}

.utrwalto-accordion {
  display: grid;
  gap: 12px;
}

.utrwalto-accordion-item {
  background: #fff;
  border: 1px solid var(--utrwalto-border);
  border-radius: 18px;
  overflow: hidden;
}

.utrwalto-accordion-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 800;
}

.utrwalto-accordion-item summary::-webkit-details-marker {
  display: none;
}

.utrwalto-accordion-item summary::after {
  content: '+';
  font-size: 20px;
  line-height: 1;
  color: var(--utrwalto-purple);
}

.utrwalto-accordion-item[open] summary::after {
  content: '-';
}

.utrwalto-accordion-body {
  padding: 0 20px 20px;
  color: #4a4a4a;
}

.utrwalto-accordion-body p:last-child,
.utrwalto-accordion-body ul:last-child {
  margin-bottom: 0;
}

.utrwalto-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.utrwalto-related-card {
  border: 1px solid var(--utrwalto-border);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}

.utrwalto-related-card__media {
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #f4effb 0%, #ffffff 100%);
  display: block;
}

.utrwalto-related-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.utrwalto-related-card__body {
  padding: 12px 14px 14px;
}

.utrwalto-related-card__cat {
  margin: 0 0 6px;
  color: var(--utrwalto-muted);
  font-size: 13px;
}

.utrwalto-related-card__title {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
}

.utrwalto-related-card__price {
  margin: 8px 0 0;
  font-weight: 700;
}

.utrwalto-category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.utrwalto-category-pills a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--utrwalto-border);
  background: #fff;
  color: var(--utrwalto-text);
  font-size: 14px;
  font-weight: 600;
}

.utrwalto-category-pills a:hover {
  border-color: var(--utrwalto-purple);
  color: var(--utrwalto-purple);
}

@media only screen and (max-width: 1100px) {
  .single-product .product-main .row.content-row.mb-0,
  .utrwalto-spec-grid,
  .utrwalto-related-grid {
    grid-template-columns: 1fr 1fr;
  }

  .single-product .product-info.summary {
    padding: 24px;
  }
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE ***************/
  .single-product #main .product-container {
    width: min(100%, calc(100% - 18px));
  }

  .single-product .product-main .row.content-row.mb-0,
  .utrwalto-spec-grid,
  .utrwalto-related-grid {
    grid-template-columns: 1fr;
  }

  .single-product .product-gallery .product-images {
    padding: 12px;
  }

  .single-product .product-info.summary,
  .utrwalto-section-card {
    padding: 18px;
    border-radius: 18px;
  }

  .single-product .product-title {
    font-size: 28px;
  }

  .single-product .price.product-page-price,
  .single-product .product-info .price {
    font-size: 28px;
  }
}


body.utrwalto-fpd-open .site-header,
body.utrwalto-fpd-open .site-footer,
body.utrwalto-fpd-open .woocommerce-notices-wrapper,
body.utrwalto-fpd-open .breadcrumbs,
body.utrwalto-fpd-open .product-info.summary .product_meta,
body.utrwalto-fpd-open .product-info.summary .social-icons,
body.utrwalto-fpd-open .product-info.summary .share-row,
body.utrwalto-fpd-open .product-info.summary .wishlist-icon,
body.utrwalto-fpd-open .product-info.summary .next-prev-thumbs,
body.utrwalto-fpd-open .product-gallery .product-images,
body.utrwalto-fpd-open .product-gallery > a,
body.utrwalto-fpd-open .product-gallery .image-tools,
body.utrwalto-fpd-open .product-gallery .badge-container,
body.utrwalto-fpd-open .product-gallery button[aria-label="Zoom"] {
  display: none !important;
}

body.utrwalto-fpd-open #main {
  padding: 0;
}

body.utrwalto-fpd-open .site-shell,
body.utrwalto-fpd-open .shop-container,
body.utrwalto-fpd-open .product-container,
body.utrwalto-fpd-open .product-main,
body.utrwalto-fpd-open .product-main .row.content-row.mb-0,
body.utrwalto-fpd-open .product-gallery,
body.utrwalto-fpd-open .product-info.summary {
  width: 100% !important;
  max-width: none !important;
}

body.utrwalto-fpd-open .product-main .row.content-row.mb-0 {
  display: block !important;
}

body.utrwalto-fpd-open .product-gallery {
  float: none !important;
}

body.utrwalto-fpd-open .product-info.summary {
  display: none !important;
}

body.utrwalto-fpd-open .product-gallery .fpd-product-designer-wrapper,
body.utrwalto-fpd-open .product-gallery .fpd-product-designer-wrapper .fpd-container,
body.utrwalto-fpd-open .product-gallery .fpd-container {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  width: 100% !important;
  min-height: 100vh !important;
  z-index: 9999 !important;
}

body.utrwalto-fpd-open .product-gallery .fpd-product-designer-wrapper {
  margin: 0 !important;
}

body.utrwalto-fpd-open .product-gallery {
  margin: 0 !important;
  padding: 0 !important;
}

body.utrwalto-fpd-open .fpd-container {
  border-radius: 0 !important;
}

body.utrwalto-fpd-open .fpd-container fpd-main-bar {
  min-height: calc(100vh - 54px) !important;
}


/* Fancy Product Designer full-screen mode */
body.utrwalto-fpd-open, html:has(body.utrwalto-fpd-open) {
  overflow: hidden !important;
}

body.utrwalto-fpd-open #header,
body.utrwalto-fpd-open .header-wrapper,
body.utrwalto-fpd-open .header-main,
body.utrwalto-fpd-open .header-bg-container,
body.utrwalto-fpd-open #footer,
body.utrwalto-fpd-open footer,
body.utrwalto-fpd-open .woocommerce-notices-wrapper,
body.utrwalto-fpd-open .breadcrumbs,
body.utrwalto-fpd-open .product-info.summary,
body.utrwalto-fpd-open .product-info.summary .product_meta,
body.utrwalto-fpd-open .product-info.summary .social-icons,
body.utrwalto-fpd-open .product-info.summary .share-row,
body.utrwalto-fpd-open .product-info.summary .wishlist-icon,
body.utrwalto-fpd-open .product-info.summary .next-prev-thumbs,
body.utrwalto-fpd-open .product-gallery > a,
body.utrwalto-fpd-open .product-gallery .image-tools,
body.utrwalto-fpd-open .product-gallery .badge-container,
body.utrwalto-fpd-open .product-gallery button[aria-label="Zoom"],
body.utrwalto-fpd-open .utrwalto-product-sections,
body.utrwalto-fpd-open .related.products,
body.utrwalto-fpd-open .upsells.products {
  display: none !important;
}

body.utrwalto-fpd-open #main,
body.utrwalto-fpd-open .shop-container,
body.utrwalto-fpd-open .product-container,
body.utrwalto-fpd-open .product-main,
body.utrwalto-fpd-open .product-main .row.content-row.mb-0,
body.utrwalto-fpd-open .product-gallery {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.utrwalto-fpd-open .product-main .row.content-row.mb-0 {
  display: block !important;
  min-height: 100vh !important;
}

body.utrwalto-fpd-open .product-gallery {
  float: none !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: 99999 !important;
  background: #fff !important;
  overflow: hidden !important;
}

body.utrwalto-fpd-open .product-gallery .fpd-product-designer-wrapper,
body.utrwalto-fpd-open .product-gallery .fpd-product-designer-wrapper .fpd-container,
body.utrwalto-fpd-open .product-gallery .fpd-container {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  z-index: 999999 !important;
  background: #fff !important;
}

body.utrwalto-fpd-open .fpd-container {
  border-radius: 0 !important;
}

body.utrwalto-fpd-open .fpd-container fpd-main-bar {
  min-height: calc(100vh - 54px) !important;
}
