"/*
 Theme Name: Blocksy Child – Whitespace
 Theme URI: https://example.com/whitespace
 Description: Child theme for Blocksy to apply Analogue-style minimal branding for Art Outlet | Whitespace.
 Author: Cis (Whitespace)
 Author URI: https://example.com
 Template: blocksy
 Version: 1.0.0
 Text Domain: blocksy-child-whitespace
*/

/* MISC  */

.footer-btn-item a {
	padding:0!important;
}
/* END MISC */

/* Utility classes  */

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

hr.wp-block-separator {
	height:1px !important;
}

.full-width-container {
	width:100% !important;
}

.heading-with-border{
	border-top:1px solid #CECECE !important;
	border-bottom:1px solid #CECECE !important;
}


/* End Utility classes  */

/* HOME PAGE  */
/* Home Page Bento Grid  */

.my-bento-grid .my-vintage:hover .wp-block-cover__background.has-background-dim,
.my-bento-grid .my-apparel:hover .wp-block-cover__background.has-background-dim,
.my-bento-grid .my-books:hover .wp-block-cover__background.has-background-dim {
	opacity:0.1 !important;
}

.my-bento-grid .collection-cta:hover
 {
	color:#f7f7f7 !important;
}

/* Home Page manifesto details */

.manifesto-details {
	max-width:100% !important;
	margin-left:auto !important;
	margin-right:auto !important;
	width:100% !important;
}


@media screen and (max-width: 768px) {

	.my-bento-grid .my-apparel,
	.my-bento-grid .my-books,
	.my-bento-grid .my-vintage {
		min-height:400px !important ;
}
	
	.manifesto-details { 
	padding-left:18px !important;
		padding-right:18px !important;
		padding-bottom:55px !important;
		margin-left:0 !important;
		flex-direction:column !important ;
		align-items:center !important;
		justify-content:center !important;
	}
	
		.manifesto-details img { 
			border-radius:12px !important ; 
			width:100% !important ;
	}


}

/* CONTACT PAGE  */

.my-wp-form-contact-form {
	width:60%;
	max-width:60%;
	padding: 30px 20px;
	border:1px solid #cecece;
	background:#f7f7f7;
}

.my-wp-form-contact-form label {
	font-size:13px !important;
	font-weight:300 !important;
	
}

.my-wp-form-contact-form input[type="text"],
.my-wp-form-contact-form input[type="email"]
{
	outline:none !important;
	border:none !important;
	border-bottom: 1px solid #cecece !important;
	transition:0.3s ease !important;
	
}

.my-wp-form-contact-form textarea {
	border: 1px solid #cecece !important;
}

.my-wp-form-contact-form input[type="text"]:focus,
.my-wp-form-contact-form input[type="email"]:focus {
    border: 1px solid #cecece !important;
}

.contact-form-submit-button {
	background:#ff000000 !important;
	border:1px solid #030303 !important;
	color:#030303 !important;
	width:50%;
}

@media screen and (max-width: 768px) {
	.my-wp-form-contact-form {
		width:95% !important;
		max-width:95% !important;
		padding:15px 15px !important;
	}
	
}

/* END CONTACT PAGE */


/* SHOP PAGE  */
.shop-intro-section h2,
.shop-intro-section p {
	padding-left:20px !important;
}

@media screen and (max-width: 768px) {
	.shop-intro-section h2,
	.shop-intro-section p {
	padding-left:8px !important;
}
}

/* END SHOP PAGE */




/* END HOME PAGE  */


/* PRODUCT GRID  */

.product-grid-container, 
.custom-product-grid-container {
	width:100% !important;
}


.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #f7f7f7;
  width:100% !important;

}

/* No padding here */
.product-card {
  background: #f5f5f5;
  overflow: hidden;
  border-top: 1px solid #CECECE;
  border-left: 1px solid #CECECE;
}


/* .product-card.no-top {
  border-top: none;
} */

.product-card.no-left {
  border-left: none;
}

.product-card.last-row {
  border-bottom: 1px solid #CECECE;
}



/* Image is full width, no spacing around */
.product-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;   /* THIS is the fix */
  display: block;
  transition: 0.3s ease;
  border-bottom: 1px solid #CECECE;
}


/* ALL spacing is only for text */
.product-info {
  padding: 15px 20px;
  text-align: left;
}

.product-info h3,
.product-info p {

  transition: .3s ease;
/*   font-family: 'Inter', sans-serif !important; */
  text-transform: uppercase !important;
/*   font-size : 14px !important;*/
  font-weight: 300 !important;  
  margin:0;
  padding:0;
}

/* Hover = reddish text */
.product-card:hover h3,
.product-card:hover p {
  color: var(--theme-palette-color-6) !important ;
}


@media (max-width: 992px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
	.product-card img {
		height:350px;
	}
}


/* 2 per row on mobile */
@media (max-width: 768px) {
	
	.product-info {
  padding: 15px 8px;
}
	
	.product-card img {
		height:280px;
	}
	
  .product-info h3,
  .product-info p { 
	  font-size:12px !important;
	}
	
}

@media (max-width: 480px) {
	.product-card img {
		height:200px;
	}
	
}

@media (max-width: 350px) {
	.product-card img {
		height:auto;
	}
	
}

/* custom misc stylings  */

.hover-red:hover {
	color:var(--theme-palette-color-6) !important;
}






/* filter , sort , pagination  */

.product-grid-controls {
    display: flex;
    gap: 240px;
    padding: 0px 8px;
    margin: 0 !important;
    width: 100% !important;
    position: relative;
    z-index: 30;
	
	margin-top:50px;
/* 	border-top:1px solid #cecece; */
	border-bottom:1px solid #cecece;
	background:#f7f7f7;
	
}

.custom-dropdowns {
    display: flex;
    justify-content: space-between;
    width: 100%;
    position: relative;
}

.custom-dropdown {
    position: relative;
}

.filter-dropdown {
    margin-right: auto;
	display:flex; 
	flex-direction:row-reverse;
}



.dropdown-trigger[data-dropdown="filter"] {
	flex-direction:row-reverse;
}


.sort-dropdown {
    margin-left: auto;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    font-size: 13px;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    background: none;
    transition: color 0.3s ease;
}

.dropdown-trigger:hover {
    color: var(--theme-palette-color-6);
}

.dropdown-trigger.active {
    color: var(--theme-palette-color-6);
}


.dropdown-icon {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    width: 150vw;
    background: #fff;
    border-top: 1px solid #CECECE;
    display: none;
    z-index: 40;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.dropdown-menu.active {
    display: block;
}

/* Filter menu - starts from very left edge */
.filter-menu {
    left: -50px; /* Offset the container padding */
    right: auto;
}

/* Sort menu - ends at very right edge */
.sort-menu {
    right: -50px; /* Offset the container padding */
    left: auto;
}

.dropdown-content {
    width: 100%;
    max-height: 70vh;
    overflow-y: auto;
}

.filter-menu .dropdown-content {
    text-align: left;
}

.sort-menu .dropdown-content {
    text-align: right;
}

.dropdown-column {
    padding: 20px 50px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.filter-menu .dropdown-column {
    align-items: flex-start;
    padding-left: 70px; /* 50px container padding + 50px offset */
}

.sort-menu .dropdown-column {
    align-items: flex-end;
    padding-right: 70px; /* 50px container padding + 50px offset */
}

.dropdown-item {
    padding: 2px 0;
    text-transform: capitalize;
    cursor: pointer;
    transition: color 0.3s ease;
    border: none;
    background: none;
    white-space: nowrap;
}

.dropdown-item:hover,
.dropdown-item.active {
    color: var(--theme-palette-color-6);
}

.grid-pagination {
    margin: 40px 0;
    text-align: center;
}

.grid-pagination a,
.grid-pagination span {
    padding: 8px 14px;
    border: 1px solid #CECECE;
    margin: 0 4px;
    display: inline-block;
}


@media (max-width: 992px) { 
	.product-grid-controls {
		padding : 0 8px;
	}
}

/* Mobile responsiveness - Keep side by side */
@media (max-width: 768px) {
    .product-grid-controls {
        gap: 20px;
        padding: 0 8px;
    }
    
    .custom-dropdowns {
        flex-direction: row; /* Keep them side by side */
        gap: 10px;
    }
    
    .filter-dropdown,
    .sort-dropdown {
        margin: 0;

    }
    
    .dropdown-trigger {
        justify-content: center; /* Center the text on mobile */
        padding: 8px 12px;
        width: 100%;
    }
    
    .dropdown-column {
        padding: 20px;
    }
    
    .filter-menu .dropdown-column {
        align-items: flex-start;
        text-align: left;
        padding-left: 40px; /* 20px container padding + 20px offset */
    }
    
    .sort-menu .dropdown-column {
        align-items: flex-end;
        text-align: right;
        padding-right: 40px; /* 20px container padding + 20px offset */
    }
    
    .filter-menu {
        left: -20px;
        right: auto;
    }
    
    .sort-menu {
        right: -20px;
        left: auto;
    }
}

/* Very small screens */
@media (max-width: 480px) {
    .product-grid-controls {
        gap: 10px;
        padding: 0px 0;
    }
    
    .dropdown-trigger {
        padding: 8px 10px;
        font-size: 12px;
    }
    
    .filter-menu {
        left: -15px;
    }
    
    .sort-menu {
        right: -15px;
    }
    
    .filter-menu .dropdown-column {
        padding-left: 30px; /* 15px container padding + 15px offset */
    }
    
    .sort-menu .dropdown-column {
        padding-right: 30px; /* 15px container padding + 15px offset */
    }
}

/* END PRODUCT GRID  */"

/* Custom Category Header */

.custom-category-header {
	padding:37px 65px; 
border-bottom:1px solid #cecece; 
	background: #f7f7f7 !important;
	
}  

.category-info {
    max-width: 100%;
    text-align: left;
	background:#f7f7f7;
	padding: 40px 20px;

}

.category-title {
    text-transform: uppercase;
    margin: 0 0 15px 0;
    color: #030303;
	
	
}

.category-description {

    color: #030303;
    max-width: 800px;
}

/* Mobile responsiveness for category header */
@media (max-width: 768px) {
    .custom-category-header {
        padding: 40px 8px;
    }
	
	.category-info {
		padding:0;
	}
    
    .category-title {
        font-size: 20px;
    }
    
    .category-description {
        font-size: 14px;
    }
}

/* CATEGORY ARCHIVE  */




/* END CATEGORY ARCHIVE  */



/* ================= SINGLE PRODUCT STYLES ================= */

.custom-single-product {
    background: #f7f7f7;
}

/* SLIDER STYLES */
.full-slider {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.slider-container {
    position: relative;
    overflow: hidden;
}

.slider-track {
    display: flex;
    transition: transform 0.3s ease;
}

.slide {
    flex: 0 0 50%;
    height: 600px;
    background: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #cecece;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.slider-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 50px;
    border-top: 1px solid #cecece;
    border-bottom: 1px solid #cecece;
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.slider-arrows {
    display: flex;
    gap: 15px;
    font-size: 24px;
    cursor: pointer;
}

.dot {
    height: 7px;
    width: 7px;
    border-radius: 50%;
    border: 1px solid #030303;
    cursor: pointer;
}

.dot.active {
    background: #030303;
}

/* FULLSCREEN VIEWER */
.fullscreen-viewer {
    position: fixed;
    inset: 0;
    background: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.viewer-img {
    max-width: 85%;
    max-height: 90%;
    object-fit: contain;
}

.close-viewer {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 26px;
    cursor: pointer;
}

.viewer-prev, .viewer-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 32px;
    cursor: pointer;
    user-select: none;
}

.viewer-prev { 
    left: 20px; 
}

.viewer-next { 
    right: 20px; 
}

/* PRODUCT LAYOUT */
.product-layout {
    display: flex;
    border-bottom: 1px solid #cecece;
}

.column {
    flex: 1;
}

.left-column {
    flex: 0 0 25%;
    padding: 30px 12px 12px 30px;
}

.center-column {
    flex: 0 0 50%;
    border-left: 1px solid #cecece;
    border-right: 1px solid #cecece;
}

.right-column {
    flex: 0 0 25%;
    padding: 30px 0px 12px 12px;
}

.feature-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.feature-list li {
    margin-bottom: 8px;
/*     font-size: 13px; */
}

.intro-text {
/*     font-size: 14px; */
/*     line-height: 1.5; */
    padding: 10px 12px;
}

/* ACCORDION */
.accordion-item {
    border-top: 1px solid #cecece;
}

.accordion-header {
    width: 100%;
    padding: 12px;
    background: none;
    border: none;
    text-align: left;
/*     font-size: 18px; */
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}

.accordion-content {
    display: none;
/*     font-size: 14px; */
    padding: 10px 12px;
}

.accordion-content ul {
    padding-left: 20px;
}

.accordion-empty-cell {
    height: 40px;
    border-top: 1px solid #cecece;
}

/* RIGHT COLUMN */
.right-column h2 {
/*     font-size: 26px; */
    margin-bottom: 20px;
/*     line-height: 1.2; */
}

.price {
    margin-bottom: 20px;
/*     font-size: 16px; */
}

.add-to-cart {
    background: black;
    color: #fff;
    border: none;
    padding: 16px 30px;
    width: 100%;
    cursor: pointer;
/*     font-size: 14px; */
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: opacity 0.3s ease;
}

.add-to-cart:hover {
    opacity: 0.9;
}

.add-to-cart.external {
    display: block;
}

/* RELATED PRODUCTS */
.related-products-section {
    padding: 50px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-header h3 {
/*     font-family: Helvetica, sans-serif;
    font-size: 18px; */
    text-transform: uppercase;
/*     font-weight: normal; */
}

/* ================= RESPONSIVE STYLES ================= */

/* Mobile styles for slider */
@media (max-width: 768px) {
    .slide {
        flex: 0 0 100%;
        height: 500px;
    }
    
    .slider-nav {
        justify-content: center;
        padding: 15px;
        border: none;
    }
    
    .slider-arrows {
        display: none;
    }
    
    .fullscreen-viewer {
        flex-direction: column;
        padding: 40px 0;
    }
    
    .viewer-img {
        max-width: 100%;
        max-height: 80%;
    }
    
    .viewer-prev, .viewer-next {
        top: auto;
        bottom: 25px;
        transform: none;
        font-size: 35px;
    }
}

@media (max-width: 500px) {
    .slide {
        height: 350px;
    }
}

/* Mobile styles for 3-column layout */
@media (max-width: 768px) {
    .product-layout {
        flex-direction: column;
    }
    
    .right-column {
        order: 1;
        padding: 20px;
        border-bottom: 1px solid #cecece;
    }
    
    .center-column {
        order: 2;
        border-left: none;
        border-right: none;
        border-bottom: 1px solid #cecece;
    }
    
    .left-column {
        order: 3;
        padding: 20px;
    }
    
    .accordion-empty-cell {
        display: none;
    }
    
    .left-column, .center-column, .right-column {
        padding: 20px;
    }
    
    .intro-text {
        padding: 15px 0;
    }
    
    .right-column h2 {
        font-size: 22px;
    }
    
    .accordion-header {
        font-size: 16px;
        padding: 15px 0;
    }
    
    .feature-list li {
        font-size: 12px;
    }
}

/* Very small screens */
@media (max-width: 480px) {
    .slide {
        height: 300px;
    }
    
    .right-column h2 {
        font-size: 20px;
    }
    
    .add-to-cart {
        padding: 14px 20px;
        font-size: 13px;
    }
}
