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


/* ───────────────── UTILITIES ───────────────── */
.backdrop-blur {
	  backdrop-filter: blur(8px) !important;
}

#menu-item-34077 > ul,
#menu-item-34073 > ul,
#menu-item-34067 > ul,
#menu-item-34059 > ul,
#menu-item-34952 > ul,
#menu-item-372 > ul,
#menu-item-381 > ul {
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}

/* ───────────────── STOCKISTS ARCHIVE ───────────────── */
.store-finder {
  padding-block: 4rem;
}

.store-finder-form input,
.store-finder-form select {
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border-radius: 0.25rem;
  border: 1px solid #ccc;
}

.store-finder-form button {
  padding: 0.75rem 0.5rem;
  font-size: 1rem;
  border-radius: 0.25rem;
  background: #222;
  color: #fff;
  border: none;
  cursor: pointer;
}

.store-finder-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.store-finder-form label {
  display: flex;
  flex-direction: column;
  flex: 1 1 200px;
}


.stockist-list {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.stockist-list li {
  background: #f8f8f8;
  padding: 1.25rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.stockist-brands img {
    vertical-align: middle;
    height: 32px;
    margin-right: 8px;
}

.stockist-header {
  color: white;
}

/*removed chin from product cards*/
.product .ct-woo-card-actions {
    margin-bottom: -20px;
}


/* ───────────────── SINGLE STOCKISTS ───────────────── */
.stockist-single {
  margin-top: 3rem;
  margin-bottom: 3rem;
}
.stockist-single-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	align-items: start;
	margin-top: 2rem;
}

.stockist-info {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.stockist-map {
	width: 100%;
	height: 400px;
}

@media (max-width: 768px) {
	.stockist-single-grid {
		grid-template-columns: 1fr !important;
	}
}

/* ───────────────── ARCHIVE PRODUCT ───────────────── */
.ct-product-brands {
  transition: transform .3s ease;
}

.ct-product-brands .ct-media-container:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.gtm4wp_productdata {
	max-height: 0px !important;
}


[data-swatches-type=color] .ct-swatch, [data-swatches-type=image] .ct-swatch, [data-swatches-type=mixed] .ct-swatch {
    border: 0px solid var(--swatch-border-color, var(--theme-border-color)) !important;
}

/* Filter Everything Pro sidebar -- Overrides */

.wpc-filter-link {
    margin-right: 0px !important;
}

/*Sets <h2> white when in product archive title area*/
#main > div.hero-section > header > div > h2 {
  color: white !important;
}

/* ───────────────── SINGLE PRODUCT ───────────────── */
.key_prod_attr {
	font-weight: bold;
	color: #317397;
	font-size: 2rem !important;
}

/* PRODUCT FEATURES -- ICONS */
/*Shop Single*/
.tn-feature-badge-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
	margin-bottom: 15px;
}

.tn-feature-badge {
    width: 60px;
    height: 60px;
    object-fit: contain;
    display: inline-block;
    transition: transform 0.2s ease-in-out;
}


.tn-feature-link:hover .tn-feature-badge {
    transform: scale(1.08);
}

/* Smaller version for Filter Everything Pro sidebar */
.tn-feature-badge--small {
    width: 45px;
    height: 45px;
}

.tn-sleeps-badge--small {
    width: 80px;
    height: 80px;
}

.tn-season-badge--small {
    width: 80px;
    height: 80px;
}


.tn-weight-class-badge--small {
    width: 80px;
    height: 80px;
}



.tn-sleeps-chip {
  display:inline-flex;align-items:center;justify-content:center;
  min-width:1.75em;padding:.15em .45em;border-radius:999px;
  font:600 12px/1.2 system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
  border:1px solid rgba(0,0,0,.12)
}

/* Pitching Instruction Button */
.pitching-instructions-btn{
	display:inline-flex;
	align-items:center;
	gap:.4rem;
	margin-top:1rem;
}
.pitching-instructions-btn svg{
	width:1em;
	height:1em;
}

/*Video Tab*/
.product-video-wrapper iframe {
    width: 100%;
    aspect-ratio: 16 / 9;      /* Keeps it letter‑box on all screens */
    height: auto;
    display: block;
}


.compatible-products-section {
	margin-top: 50px !important;
  padding-bottom: 50px !important; /* Adjust the value as needed */
}

/*out of stock -- stockists message*/
.woocommerce-info.stockist-out-of-stock-message {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.woocommerce-info.stockist-out-of-stock-message p {
    margin: 0;
}

.woocommerce-info.stockist-out-of-stock-message .button {
    margin: 0;
    white-space: nowrap;
}

