/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

header.entry-header {
  margin: 0 70px !important;
  text-align: left !important;
}

article > div > header.entry-header {
  margin: 0 !important;
}

@font-face {
  font-family: "Playfair";
  src: url("fonts/PlayfairDisplay-Bold.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

h2.wp-block-heading, .playfair {
  font-family: "Playfair";
}

.theme-red {
  color: #e02b20;
}

nav.ct-breadcrumbs {
  /*position: absolute;
  z-index: 2;
  top: 26px;
  left: 0;
  margin: 0 !important;
  */
  font-size: 16px;
  color: #fff;
  text-transform: lowercase;
  font-weight: 300;
}

nav.ct-breadcrumbs span,
a.ct-menu-link {
  color: #fff !important;
}

.ct-menu-link {
  text-transform: lowercase;
}

.menu-item.wpmenucartli.wpmenucart-display-standard.menu-item {
  display: none;
}

@media screen and (min-width: 1000px) {
  .sub-menu li.menu-item {
    background-color: #e02b20;
  }
}

footer#footer {
  padding-top: 50px;
}

a#see-more-link {
  text-align: center;
  width: 100%;
  display: block;
  margin: 40px;
  font-weight: 700;
}

.left-padded {
  padding-left: 8vw;
}

.no-mb {
  margin-bottom: 0 !important;
}

.footer-row {
  display: flex;
  gap: 60px;
}

div.footer-row a {
  white-space: nowrap;
}

.footer-link-section,
.footer-row div > strong {
  color: #fff;
  font-size: 20px;
  white-space: nowrap;
  display: block;
  padding-bottom: 20px;
}

.footer-row div > ul > li,
.footer-row div > p {
  color: #fff;
}

#social-icons {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: end;
}

#social-icons div {
  display: flex;
  gap: 12px;
}

#social-icons span {
  color: #fff;
  white-space: nowrap;
  font-weight: 700;
  font-size: 28px;
  margin-right: 20px;
  position: relative;
  top: -3px;
}

#social-icons a img {
  max-width: 24px !important;
}

@media screen and (max-width: 1200px) {
  .footer-row {
    flex-direction: column;
    gap: 30px;
  }

  #social-icons {
    justify-content: start;
    flex-direction: column;
    align-items: start;
  }

  #social-icons span {
    margin-right: 0;
  }
}

.payment-gallery {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6vw;
}

#footer a {
  color: #fff !important;
}

.payment-gallery img {
  max-width: 100px;
  max-height: 60px;
}

a.image-button {
  color: #fff;
  font-weight: 700;
  width: 100%;
  height: 280px;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 40px;
  font-size: 30px;
  display: flex;
  align-items: center;
  border-radius: 20px;
  cursor: pointer;
  opacity: 0.7;
}

a.image-button:hover {
  color: #fff !important;
  opacity: 1;
}

.wp-block-kadence-posts .content-bg {
  background-color: transparent !important;
}

.entry-taxonomies .category-links {
  display: none;
}

.wp-block-kadence-posts .loop-entry,
article {
  box-shadow: none !important;
}

h2.entry-title a,
h2.entry-title a:hover {
  color: #000 !important;
}

#product-grid {
  width: 100%;
  padding: 0;
  margin: 0 auto;
  transition: opacity 0.2s ease;
}

ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  padding: 0;
  list-style: none;
  margin: 2rem 0;
}

ul.products li.product {
  padding: 1rem;
}

ul.products li.product h2 {
  font-size: 20px;
  font-weight: 700;
  color: #000 !important;
  padding-top: 30px;
}

ul.products li.product img {
  aspect-ratio: 1 / 1.5 !important;
overflow: initial;
  object-fit: cover;
}

ul.products li.product h2:hover {
  color: #000 !important;
}

ul.products li.product .entry-meta .meta-categories {
  display: none;
}

.filter-button {
  display: inline-block;
  padding: 0.1rem 1.2rem;
  margin: 0.4rem;
  border-radius: 999px;
  border: 2px solid #e02b20;
  background: transparent;
  color: #e02b20;
  font-weight: 700;
  transition: all 0.2s;
  cursor: pointer;
}
.filter-button:hover,
.filter-button.active {
  background-color: #e02b20;
  color: #fff;
}

/* Spinner loader */
.product-loader {
  display: flex;
  justify-content: center;
  margin-top: 6rem;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #ccc;
  border-top: 4px solid #e02b20;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.menu li *,
.menu li a *,
.menu li a span *,
.ct-header-search *,
.ct-header-cart * {
  color: white !important;
  fill: white !important;
}

div.padded-row,
.ct-woocommerce-cart-form,
form.woocommerce-checkout,
div.ct-woo-account {
  padding: 40px 10% !important;
}

.checkout-button {
	background-color: rgb(224, 43, 32) !important;
}

header.entry-header h1.page-title {
  margin-top: 40px;
  color: #e02b20;
}

div.lesser-padded-row {
  margin: 40px 5% !important;
}

a.ct-media-container,
figure.ct-media-container {
  background-color: #f5f5f5;
  padding: 2vw 3.5vw;
  border-radius: 20px !important;
}

.woocommerce-input-wrapper input {
  background-color: #f5f5f5 !important;
}

.cart_item > td.product-thumbnail > a.ct-media-container {
  padding: 10px !important;
}

a.ct-media-container img {
  aspect-ratio: 1;
  box-shadow: 4px 4px 24px 1px #00000040;
  width: 100%;
  height: auto;
  border-radius: 0;
}

.slick-track li h2 a,
.woocommerce-LoopProduct-link {
  color: #000;
}

.wcpscwc-product-slider > ul > div > div > li > ul > li {
  display: none;
}

.wcpscwc-product-slider > ul > div > div {
  text-align: center;
}

.wcpscwc-product-slider > ul > div > div bdi {
  color: #7e7e7e;
  font-weight: 400;
}

.padded-row.cr-red .slick-track li h2 a {
  color: #fff;
}

.padded-row.cr-red .wcpscwc-product-slider > ul > div > div bdi {
  color: #000;
  font-weight: 400;
}

.ct-woo-card-actions {
  display: none !important;
}

.wcpscwc-product-slider li.product {
  display: grid;
  grid-template-rows: 1fr minmax(60px, auto) auto;
  padding: 0 15px !important;
}

.wcpscwc-product-slider .slick-list {
  padding-top: 10px;
  padding-bottom: 5px;
}

.products.slick-slider .slick-dots li button,
.products.slick-slider .slick-dots li.slick-active button {
  background: #e02b20 !important;
  color: #e02b20;
  border: 0;
  opacity: 0.6;
}

.cr-red .products.slick-slider .slick-dots li button,
.cr-red .products.slick-slider .slick-dots li.slick-active button {
  background: #fff !important;
  border: 0;
  opacity: 0.6;
}

.products.slick-slider .slick-active > button {
  opacity: 1 !important;
}

/* Product page */

.single-product-container {
  margin: auto;
  padding: 40px 10%;
}

.product-title {
  color: #000;
}

.ct-cart-actions {
  flex-direction: column;
}

button[type="submit"],
button.single_add_to_cart_button {
  border-radius: 60px !important;
}

[type="submit"]:hover {
  background-color: #e02b20 !important;
}

.product-meta {
  margin: 40px 0 20px;
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
}

.product-author {
  font-weight: 500;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

/* Accordion styling */
.product-accordions {
  margin-top: 2rem;
}

.accordion-item {
  border-bottom: 1px solid #ddd;
}

.accordion-toggle {
  width: 100%;
  text-align: left;
  padding: 1rem;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-toggle::after {
  content: "+";
  transition: transform 0.3s;
}

.accordion-toggle.active::after {
  content: "–";
}

.accordion-content {
  display: none;
  padding: 0 1rem 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.accordion-content.open {
  display: block;
}

.product-suggestions {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.product-suggestions h3 {
  color: #e02b20;
  text-align: center;
  font-size: 40px;
}

.product-suggestions a {
  margin-top: 20px;
  text-align: center;
}

.product-suggestions a span {
  font-weight: 700;
  color: #000;
  font-size: 18px;
}

.flexy-view {
  padding-bottom: 20px;
}


@media screen and (max-width: 1200px) {
  .product-layout {
    display: flex;
    flex-direction: column;
  }
}

/** 2026 **/

.stk-subtitle, .entry-meta, .posted-on {
	display: none !important;
}

a.stk-block-posts__readmore, .more-link-wrap {
    font-weight: bold;
    color: #e02b20;
}

article.type-post {
	padding-bottom: 60px !important;
}

.highlight-special {
	line-height: 42px;
}

.stk-block-carousel__buttons {
	top: -78px !important;
}

article.entry.content-bg.loop-entry {
    gap: 42px;
}

.post-thumbnail-inner img, .stk-block-posts__image-link figure {
    border-radius: 20px;
}

.highlight-special span {
    word-break: keep-all;
}

[data-prefix=woo_categories] #main-container main.site-main div.ct-container section {
    padding: 20px 40px;
}

div.kt-accordion-header-wrap button {
    padding-left: 0 !important;
}

footer img {
    max-width: 200px !important;
}

.woocommerce-mini-cart-item a.ct-media-container {
    padding: 0 !important;
}

.ct-order-review h3, .product-name, .product-total {
    color: #000 !important;
}

#payment ul.payment_methods>li.wc_payment_method>label:before {
	background-color: #f5f5f5;
}

#payment ul.payment_methods>li.wc_payment_method {
    border: 1px solid #f5f5f5 !important;
}

input#terms {
	background-color: #e02b20 !important;
}

.woocommerce-mini-cart__buttons a:hover {
	color: #e02b20 !important;
}

.ct-dynamic-count-cart {
	background-color: #34b277 !important;
}

@media screen and (max-width: 1200px) {
	.footer-row {
    	max-width: 85%;
	}
	
	h1.page-title {
    	max-width: 70%;
	}
	
	.payment-gallery img {
    	max-width: 17vw;
    	max-height: 60px;
	}
	
	.wp-block-kadence-posts .loop-entry .entry-content-wrap {
		padding: 2em 0 0 0 !important;
	}
	
	.stk-block-carousel__slider .wp-block-columns.is-layout-flex {
    	padding: 18px !important;
	}
	
	.stk-column-wrapper.stk-block-column__content {
    	margin: 2vw !important;
	}
	
	.stk-block-posts__items {
    	display: flex;
    	flex-direction: column;
	}
	
	.stk-block-posts__items {
    	display: flex;
    	flex-direction: column;
	}
	
	.stk-block-posts__item {
    	width: 100%;
	}
}

.desi-footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.desi-footer-bar p {
  margin: 0;
}
.desi-footer-links {
  display: flex;
  gap: 10px;
}
.desi-footer-links a {
  color: #ffffff;
  font-weight: bold;
  text-decoration: underline;
}
@media (max-width: 767px) {
  .desi-footer-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .desi-footer-links {
    flex-direction: column;
  }
}
