/* buttons hover effect */
.button,
.added_to_cart,
[type="submit"] {
	right: var(--has-effect, 0);
	bottom: var(--has-effect, 0);
	position: var(--has-effect, relative);
	box-shadow: var(--has-effect, 7px 7px 0px 0px var(--theme-button-shadow-color, var(--theme-palette-color-4))) !important;
	transition: all 0.12s cubic-bezier(.45,.05,.55,.95);
}


.ct-contact-wpforms,
.home-products-shortcode .ct-woo-card-actions {
	--display: inline-flex;
	--theme-button-text-initial-color: #fff;
	--theme-button-background-initial-color: var(--theme-palette-color-4);
	--theme-button-background-hover-color: #03070a;
	--theme-button-border: 2px solid var(--theme-palette-color-3);
	--theme-button-border-hover-color: var(--theme-palette-color-3);
	--theme-button-shadow-color: var(--theme-palette-color-3);
}

/* remove button hover effect from certain elements */
.ct-cart-actions,
.select2-search__field,
.woocommerce-message {
	--has-effect: var(--false);
}



/* home products shortcode */
.home-products-shortcode .woocommerce-loop-product__title {
	color: #fff;
}

.home-products-shortcode .price {
	color: rgba(255, 255, 255, 0.5)
}


/* contact form */
.ct-contact-wpforms {
	--theme-form-text-initial-color: var(--theme-palette-color-5);
	--theme-form-text-focus-color: var(--theme-palette-color-6);
	--theme-form-field-border-initial-color: var(--theme-palette-color-3);
}

.single-product div.product .product_title{
  font-family: Georgia, serif;
  font-size: 2.1rem;
  line-height: 1.2;
  color: #1a1a1a;
  margin-bottom: .6rem;
}
.single-product div.product p.price{
  font-size: 1.6rem;
  color: #b1002a;
  font-weight: 600;
}
.single-product div.product p.price del{
  color: #8a8a8a;
  font-size: 1rem;
  margin-right: .4rem;
}
.single-product span.onsale{
  background: #1a1a1a;
  color: #fff;
  border-radius: 0;
  padding: .35rem .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.single-product .single_add_to_cart_button{
  background-color: #1a1a1a;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 14px 28px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.single-product .single_add_to_cart_button:hover{
  background-color: #333;
}
.woocommerce-product-gallery__image img{
  border-radius: 10px;
}
.flex-control-thumbs li img{
  border-radius: 8px;
  opacity: .65;
}
.flex-control-thumbs li img.flex-active,
.flex-control-thumbs li img:hover{
  opacity: 1;
  outline: 2px solid #b1002a;
}
.woocommerce-tabs ul.tabs li.active{
  border-bottom: 2px solid #b1002a;
}
@media (max-width: 600px){
  .single-product div.product .product_title{ font-size: 1.5rem; }
}
/* === Product title === */
body.single-product .product_title.entry-title{
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 2.2rem !important;
  line-height: 1.2 !important;
  color: #1a1a1a !important;
  margin-bottom: .5rem !important;
}

/* === Price === */
body.single-product .product .price,
body.single-product .product .price .woocommerce-Price-amount{
  font-size: 1.5rem !important;
  color: #b1002a !important;
  font-weight: 700 !important;
}
body.single-product .product .price del .woocommerce-Price-amount{
  color: #999 !important;
  font-size: .95rem !important;
  font-weight: 400 !important;
}

/* === Sale badge === */
body.single-product .onsale{
  background: #1a1a1a !important;
  color: #fff !important;
  border-radius: 0 !important;
  padding: 6px 12px !important;
  font-weight: 700 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  box-shadow: 0 4px 12px rgba(0,0,0,.25) !important;
}

/* === Add to cart button === */
body.single-product .single_add_to_cart_button.button{
  background: #1a1a1a !important;
  color: #fff !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 14px 28px !important;
  font-weight: 700 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
  transition: background .2s ease, transform .15s ease !important;
}
body.single-product .single_add_to_cart_button.button:hover{
  background: #b1002a !important;
  transform: translateY(-1px);
}

/* === Gallery image === */
body.single-product .woocommerce-product-gallery__image img{
  border-radius: 12px !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.08) !important;
}

/* === Thumbnails === */
body.single-product .flex-control-thumbs li img{
  border-radius: 6px !important;
  opacity: .6;
  transition: opacity .2s;
}
body.single-product .flex-control-thumbs li img.flex-active,
body.single-product .flex-control-thumbs li img:hover{
  opacity: 1 !important;
  outline: 2px solid #b1002a;
}

/* === Tabs underline === */
body.single-product .woocommerce-tabs ul.tabs li.active a{
  color: #b1002a !important;
  border-bottom: 2px solid #b1002a !important;
}

/* === Related products card hover === */
body.single-product .related.products li.product{
  transition: transform .2s ease, box-shadow .2s ease;
  border-radius: 10px;
  padding: 10px;
}
body.single-product .related.products li.product:hover{
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}

/* EMBROIDERY.CAT PRODUCTS PAGE - FULL PRODUCT CARD DESIGN */

/* Main product grid on /products/ and product blocks */
body.page ul.products,
body.woocommerce ul.products,
body.woocommerce-page ul.products,
body .wc-block-grid__products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 34px 28px !important;
  max-width: 1180px !important;
  margin: 30px auto !important;
  padding: 0 18px !important;
}

/* Remove WooCommerce floats */
body.page ul.products::before,
body.page ul.products::after,
body.woocommerce ul.products::before,
body.woocommerce ul.products::after,
body.woocommerce-page ul.products::before,
body.woocommerce-page ul.products::after {
  display: none !important;
}

/* Product card */
body.page ul.products li.product,
body.woocommerce ul.products li.product,
body.woocommerce-page ul.products li.product,
body .wc-block-grid__product {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 16px 16px 22px !important;
  background: #fffaf2 !important;
  border: 1px solid #111 !important;
  border-radius: 0 !important;
  box-shadow: 6px 6px 0 #111 !important;
  position: relative !important;
  overflow: visible !important;
  text-align: left !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

/* Hover effect */
body.page ul.products li.product:hover,
body.woocommerce ul.products li.product:hover,
body.woocommerce-page ul.products li.product:hover,
body .wc-block-grid__product:hover {
  transform: translate(2px, 2px) !important;
  box-shadow: 4px 4px 0 #111 !important;
}

/* Product image */
body.page ul.products li.product a img,
body.woocommerce ul.products li.product a img,
body.woocommerce-page ul.products li.product a img,
body .wc-block-grid__product-image img {
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  display: block !important;
  margin: 0 0 16px !important;
  border-radius: 0 !important;
  border: 1px solid #111 !important;
  background: #fff !important;
  box-shadow: none !important;
}

/* Product title */
body.page ul.products li.product .woocommerce-loop-product__title,
body.woocommerce ul.products li.product .woocommerce-loop-product__title,
body.woocommerce-page ul.products li.product .woocommerce-loop-product__title,
body .wc-block-grid__product-title {
  font-family: Georgia, "Times New Roman", serif !important;
  color: #111 !important;
  font-size: 16px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  padding: 0 !important;
  margin: 0 0 8px !important;
  min-height: 44px !important;
}

/* Price */
body.page ul.products li.product .price,
body.woocommerce ul.products li.product .price,
body.woocommerce-page ul.products li.product .price,
body .wc-block-grid__product-price {
  color: #111 !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  margin: 0 0 14px !important;
  display: block !important;
}

body.page ul.products li.product .price del,
body.woocommerce ul.products li.product .price del,
body.woocommerce-page ul.products li.product .price del,
body .wc-block-grid__product-price del {
  color: #777 !important;
  opacity: 0.65 !important;
  font-size: 12px !important;
}

body.page ul.products li.product .price ins,
body.woocommerce ul.products li.product .price ins,
body.woocommerce-page ul.products li.product .price ins,
body .wc-block-grid__product-price ins {
  color: #111 !important;
  text-decoration: none !important;
}

/* Add to cart button */
body.page ul.products li.product .button,
body.woocommerce ul.products li.product .button,
body.woocommerce-page ul.products li.product .button,
body .wc-block-grid__product-add-to-cart a,
body .wp-block-button__link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  background: #fff !important;
  color: #111 !important;
  border: 2px solid #111 !important;
  border-radius: 0 !important;
  padding: 12px 18px !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  box-shadow: 4px 4px 0 #111 !important;
  margin-top: 4px !important;
  text-decoration: none !important;
  line-height: 1 !important;
}

body.page ul.products li.product .button:hover,
body.woocommerce ul.products li.product .button:hover,
body.woocommerce-page ul.products li.product .button:hover,
body .wc-block-grid__product-add-to-cart a:hover,
body .wp-block-button__link:hover {
  background: #111 !important;
  color: #fff !important;
  transform: translate(1px, 1px) !important;
  box-shadow: 3px 3px 0 #111 !important;
}

/* Sale badge */
body.page ul.products li.product .onsale,
body.woocommerce ul.products li.product .onsale,
body.woocommerce-page ul.products li.product .onsale,
body .wc-block-grid__product-onsale {
  position: absolute !important;
  top: 26px !important;
  left: 26px !important;
  right: auto !important;
  min-width: auto !important;
  min-height: auto !important;
  line-height: 1 !important;
  background: #f17254 !important;
  color: #fff !important;
  border: 2px solid #111 !important;
  border-radius: 0 !important;
  padding: 8px 10px !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  z-index: 5 !important;
}

/* Product page related products */
body.single-product .related.products {
  max-width: 1180px !important;
  margin: 50px auto !important;
  padding: 0 18px !important;
}

body.single-product .related.products > h2 {
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 32px !important;
  color: #111 !important;
  margin-bottom: 24px !important;
}

/* Mobile */
@media (max-width: 900px) {
  body.page ul.products,
  body.woocommerce ul.products,
  body.woocommerce-page ul.products,
  body .wc-block-grid__products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 28px 22px !important;
  }
}

@media (max-width: 560px) {
  body.page ul.products,
  body.woocommerce ul.products,
  body.woocommerce-page ul.products,
  body .wc-block-grid__products {
    grid-template-columns: 1fr !important;
    padding: 0 14px !important;
  }

  body.page ul.products li.product,
  body.woocommerce ul.products li.product,
  body.woocommerce-page ul.products li.product,
  body .wc-block-grid__product {
    padding: 14px 14px 20px !important;
  }
}

/* ============================================================
   EMBROIDERY.CAT — SINGLE PRODUCT PAGE (Neo-Brutalist Style)
   ============================================================ */


body.single-product div.product > .summary {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 20px !important;
  background: #fffaf2 !important;
  border: 1px solid #111 !important;
  box-shadow: 6px 6px 0 #111 !important;
  border-radius: 0 !important;
}

body.single-product .flex-control-thumbs li {
  width: auto !important;
  margin: 0 !important;
}

body.single-product .flex-control-thumbs li img {
  border: 1px solid #111 !important;
  border-radius: 0 !important;
  opacity: 0.6 !important;
  cursor: pointer !important;
  transition: opacity 0.18s ease, transform 0.18s ease !important;
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
}

body.single-product .flex-control-thumbs li img.flex-active,
body.single-product .flex-control-thumbs li img:hover {
  opacity: 1 !important;
  outline: none !important;
  box-shadow: 3px 3px 0 #111 !important;
  transform: translate(-1px, -1px) !important;
}


/* === Product meta (categories, SKU, tags) === */
body.single-product .product_meta {
  border-top: 1px dashed #111 !important;
  padding-top: 16px !important;
  margin-top: 20px !important;
  font-size: 13px !important;
  color: #333 !important;
}

body.single-product .product_meta > span {
  display: block !important;
  margin-bottom: 6px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  font-weight: 700 !important;
}

body.single-product .product_meta a {
  color: #111 !important;
  text-decoration: underline !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 3px !important;
}

body.single-product .product_meta a:hover {
  color: #f17254 !important;
}

/* === Tabs === */
body.single-product .woocommerce-tabs {
  max-width: 1180px !important;
  margin: 50px auto !important;
  padding: 0 18px !important;
}

body.single-product .woocommerce-tabs ul.tabs {
  border-bottom: 2px solid #111 !important;
  padding: 0 !important;
  margin: 0 0 24px !important;
  display: flex !important;
  gap: 0 !important;
  list-style: none !important;
}

body.single-product .woocommerce-tabs ul.tabs::before {
  display: none !important;
}

body.single-product .woocommerce-tabs ul.tabs li {
  background: #fffaf2 !important;
  border: 2px solid #111 !important;
  border-bottom: none !important;
  border-radius: 0 !important;
  margin: 0 -2px 0 0 !important;
  padding: 0 !important;
}

body.single-product .woocommerce-tabs ul.tabs li a {
  display: block !important;
  padding: 12px 22px !important;
  color: #111 !important;
  font-weight: 800 !important;
  font-size: 12px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  text-decoration: none !important;
}

body.single-product .woocommerce-tabs ul.tabs li.active {
  background: #111 !important;
}

body.single-product .woocommerce-tabs ul.tabs li.active a {
  color: #fff !important;
}

body.single-product .woocommerce-Tabs-panel {
  background: #fffaf2 !important;
  border: 1px solid #111 !important;
  box-shadow: 6px 6px 0 #111 !important;
  padding: 24px !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
  color: #333 !important;
}

body.single-product .woocommerce-Tabs-panel h2 {
  font-family: Georgia, "Times New Roman", serif !important;
  color: #111 !important;
  font-size: 22px !important;
  margin: 0 0 14px !important;
}

/* === Related products === */
body.single-product .related.products {
  max-width: 1180px !important;
  margin: 50px auto !important;
  padding: 0 18px !important;
}

body.single-product .related.products > h2 {
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 28px !important;
  color: #111 !important;
  font-weight: 800 !important;
  margin: 0 0 24px !important;
  padding-bottom: 10px !important;
  border-bottom: 2px solid #111 !important;
}

/* === Stock status === */
body.single-product .stock {
  display: inline-block !important;
  padding: 4px 10px !important;
  border: 2px solid #111 !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  margin-bottom: 12px !important;
  background: #fff !important;
  color: #111 !important;
}

body.single-product .stock.out-of-stock {
  background: #f17254 !important;
  color: #fff !important;
}

/* === Variations table === */
body.single-product table.variations {
  margin-bottom: 18px !important;
}

body.single-product table.variations td,
body.single-product table.variations th {
  background: transparent !important;
  border: none !important;
  padding: 6px 8px !important;
}

body.single-product table.variations label {
  font-weight: 800 !important;
  text-transform: uppercase !important;
  font-size: 12px !important;
  letter-spacing: 0.05em !important;
  color: #111 !important;
}

body.single-product table.variations select {
  border: 2px solid #111 !important;
  border-radius: 0 !important;
  background: #fff !important;
  padding: 10px 12px !important;
  font-weight: 700 !important;
  color: #111 !important;
  box-shadow: 3px 3px 0 #111 !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  body.single-product div.product {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  body.single-product .product_title.entry-title {
    font-size: 1.6rem !important;
  }
}

@media (max-width: 560px) {
  body.single-product div.product {
    padding: 0 14px !important;
  }

  body.single-product div.product > .summary {
    padding: 16px !important;
    box-shadow: 4px 4px 0 #111 !important;
  }

  body.single-product .woocommerce-product-gallery__image img {
    box-shadow: 4px 4px 0 #111 !important;
  }

  body.single-product form.cart {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  body.single-product .single_add_to_cart_button.button {
    margin-left: 0 !important;
    margin-top: 12px !important;
    width: 100% !important;
  }

  body.single-product .woocommerce-tabs ul.tabs {
    flex-wrap: wrap !important;
  }
}

/* ============================================================
   ADD ONLY — Match Gallery + Short Description with Description/Related Style
   ============================================================ */

/* Main product image: same border/shadow style */
body.single-product .woocommerce-product-gallery__image,
body.single-product .woocommerce-product-gallery__image img {
  border: 1px solid #111 !important;
  border-radius: 0 !important;
  background: #fffaf2 !important;
  box-shadow: 6px 6px 0 #111 !important;
  box-sizing: border-box !important;
}

/* Gallery thumbnails wrapper */
body.single-product .flex-control-thumbs {
  margin-top: 14px !important;
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 10px !important;
  padding: 0 !important;
  list-style: none !important;
}

/* Thumbnail images: match main image edges */
body.single-product .flex-control-thumbs li img {
  border: 1px solid #111 !important;
  border-radius: 0 !important;
  background: #fffaf2 !important;
  opacity: 0.65 !important;
  box-sizing: border-box !important;
}

/* Active / hover thumbnail */
body.single-product .flex-control-thumbs li img.flex-active,
body.single-product .flex-control-thumbs li img:hover {
  opacity: 1 !important;
  box-shadow: 3px 3px 0 #111 !important;
  transform: translate(-1px, -1px) !important;
}

/* Short description: same box style as description tab */
body.single-product .woocommerce-product-details__short-description {
  background: #fffaf2 !important;
  border: 1px solid #111 !important;
  box-shadow: 6px 6px 0 #111 !important;
  border-radius: 0 !important;
  padding: 20px !important;
  margin: 18px 0 24px !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
  color: #333 !important;
  box-sizing: border-box !important;
}

/* Keep short description paragraphs clean */
body.single-product .woocommerce-product-details__short-description p {
  margin: 0 !important;
}

/* ============================================================
   ADD ONLY — Soft theme-style product gallery
   No zoom, no crop, no black brutal shadow
   ============================================================ */

/* Gallery container */
body.single-product .woocommerce-product-gallery {
  background: #fffaf7 !important;
  border: 1px solid #ead8bd !important;
  border-radius: 18px !important;
  padding: 14px !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
}

/* Main image wrapper */
body.single-product .woocommerce-product-gallery__wrapper {
  margin: 0 0 14px !important;
}

/* Main image link/container */
body.single-product .woocommerce-product-gallery__image,
body.single-product .woocommerce-product-gallery__image a {
  display: block !important;
  background: #fffaf7 !important;
  border: 1px solid #ead8bd !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: none !important;
}

/* Main product image — NO ZOOM / NO CROP */
body.single-product .woocommerce-product-gallery__image img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  border: none !important;
  border-radius: 16px !important;
  background: #fffaf7 !important;
  box-shadow: none !important;
  transform: none !important;
}

/* Remove hover zoom effects from theme/plugin */
body.single-product .woocommerce-product-gallery__image:hover img,
body.single-product .woocommerce-product-gallery__image img:hover {
  transform: none !important;
  scale: 1 !important;
}

/* Thumbnail row */
body.single-product .flex-control-thumbs {
  margin-top: 14px !important;
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 10px !important;
  padding: 0 !important;
  list-style: none !important;
}

/* Thumbnail item */
body.single-product .flex-control-thumbs li {
  width: 100% !important;
  margin: 0 !important;
}

/* Thumbnail images — soft card style */
body.single-product .flex-control-thumbs li img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: contain !important;
  background: #fffaf7 !important;
  border: 1px solid #ead8bd !important;
  border-radius: 12px !important;
  padding: 4px !important;
  box-shadow: none !important;
  opacity: 0.75 !important;
  transform: none !important;
  transition: opacity 0.18s ease, border-color 0.18s ease, background 0.18s ease !important;
  box-sizing: border-box !important;
}

/* Active / hover thumbnail — no movement, no zoom */
body.single-product .flex-control-thumbs li img.flex-active,
body.single-product .flex-control-thumbs li img:hover {
  opacity: 1 !important;
  transform: none !important;
  scale: 1 !important;
  background: #f7f1e8 !important;
  border-color: #d8bf9e !important;
  box-shadow: none !important;
}

/* Remove WooCommerce zoom icon harsh style if visible */
body.single-product .woocommerce-product-gallery__trigger {
  background: #eef6ec !important;
  border: 1px solid #d8e6d3 !important;
  border-radius: 50% !important;
  box-shadow: none !important;
}