/*
Theme Name: SOEASZ Theme
Author: Charvelle Scott
Version: 2.0
*/

/* ==================================================
    1. GLOBAL
================================================== */

body {
    background: #000;
    color: #fff;
}

a {
    transition: .25s ease;
}

img {
    max-width: 100%;
    height: auto;
}

/* ==================================================
    2. HEADER
================================================== */
/* Temporarily disable Shop button */

.site-header {
    text-align: center;
    position: relative;
    padding: 20px 0;
}

.main-nav{
    display:grid;
    grid-template-columns:1fr auto 1fr;
    align-items:center;
    max-width:1500px;
    margin:0 auto;
    padding:20px 60px;
    position:relative;
}

.main-nav .menu-items a {
    display: inline-block;
    width: 200px;
    height: 200px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    text-indent: -9999px; /* hides text */
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
    border-radius: 10px; /* optional for smoother corners */
}

.main-nav .menu-items a:hover {
    transform: translateY(-4px) scale(1.05); /* lifts and enlarges slightly */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25); /* deeper shadow */
    filter: brightness(1.15);
}

.main-nav .menu-items a:active {
    transform: translateY(-1px) scale(0.98); /* slight press down */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.menu-item-38 a {
    background-image: url('/wp-content/themes/soeasz-theme/images/nav/soeasz-logo.png');
}

.menu-item-40 a {
    background-image: url('/wp-content/themes/soeasz-theme/images/nav/shop-button2.png');
}

.menu-item-39 a {
    background-image: url('/wp-content/themes/soeasz-theme/images/nav/blog-button.png');
}
.nav-left,
.nav-center,
.nav-right{
    flex:1;
}

.nav-left{
    justify-self:start;
}

.nav-center{
    justify-self:center;
}

.nav-right{
    justify-self:end;
    display:flex;
    align-items:center;
}

.nav-checkout{
    position:relative;
    padding-left:22px;
}

.nav-checkout::before{
    content:"";
    position:absolute;
    left:0;
    top:50%;
    transform:translateY(-50%);
    width:1px;
    height:16px;
    background:#555;
}
.main-nav ul {
    display: flex;
    justify-content: center;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav li {
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    padding: 8px 12px;
    display: block;
}

.main-nav a:hover {
    text-decoration: underline;
}

/* ==================================================
    3. BLOG
================================================== */

.blog-feed {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.blog-thumbnail {
    display: block;
    margin-bottom: 20px;
}

.blog-thumbnail img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

.blog-title{
    font-size:38px;
    font-weight:700;
    line-height:1.15;
    margin-bottom:8px;
}

.blog-title a {
    color: #fff;
    text-decoration: none;
}

.blog-title a:hover {
    text-decoration: underline;
}

.blog-meta {
    font-size:13px;
    color:#777;
    letter-spacing:1px;
    text-transform:uppercase;
    margin-bottom: 10px;
}

.blog-excerpt {
	font-size:20px;
    line-height:1.8;
    margin-bottom: 15px;
}

/* Read More Button */
.read-more {
    display: inline-block;
    padding: 6px 12px;
    background: #fff;
    color: #000;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
}

.read-more:hover {
    background: #ccc;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.pagination a,
.pagination span {
    color: #fff;
    text-decoration: none;
}

/* Blog Post & Content */
.blog-post {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;

    padding: 35px;
    margin-bottom: 90px;

    transition: .25s ease;
}

.blog-post:hover {
    background: rgba(255,255,255,.05);
    border-color: rgba(255,255,255,.12);
}

.blog-content iframe {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
}

.blog-content img,
.blog-content video {
    width: 100%;
    max-width: 100%;
    height: auto;
}

/* Gallery posts use full image */
.gallery-thumbnail img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Gallery Posts */
.category-gallery .blog-thumbnail img {
    width: 80%;
    height: auto;
    padding: 10px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.category-gallery .blog-title {
    text-align: center;
}

.category-gallery .blog-meta {
    text-align: center;
}

/* Blog Lookbook CSS */
.blog-image,
.product-image {
    text-align: center;
    margin: 50px 0;
}

.blog-image img {
    width: 900px;
    max-width: 100%;
    height: auto;
}

.product-image img {
    width: 550px;
    max-width: 100%;
    height: auto;
}

.product-caption {
    text-align: center;
    max-width: 700px;
    margin: 15px auto 50px;
    line-height: 1.8;
}

.lookbook-title {
    text-align: center;
}

/* Single Post */
.single-featured-image {
    margin-bottom: 40px;
}

.single-featured-image img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}
.single-post-content {
    max-width: 1100px;
    margin: 50px auto;
    padding: 0 30px;
}

.single-title {
    font-size: 32px;
    margin-bottom: 10px;
    color: #fff;
}

.single-meta {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 20px;
}

.single-content {
    line-height: 1.7;
    font-size: 16px;
    color: #fff;
}

.single-content iframe {
    display: block;
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    margin: 40px auto;
    border: none;
}
/* Youtube Post */
.youtube-video {
    max-width: 900px;
    margin: 50px auto;
}

.youtube-video iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    border: none;
}
/* Previous Next */
.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    font-size: 14px;
}

.post-navigation a {
    color: #fff;
    text-decoration: none;
}

.post-navigation a:hover {
    text-decoration: underline;
}

.post-comments {
    margin-top: 50px;
    padding: 20px;
    background: #111;
    border-radius: 8px;
}

/* ==================================================
    4. SHOP
================================================== */

/* Shop Width */
.woocommerce-page .site-main,
.woocommerce-page .woocommerce {

    max-width: 1500px;
    margin: 0 auto;
    padding: 0 50px;

}
/* Products CSS */
.custom-shop-container {
    padding: 30px;
    background-color: #000;
}

.shop-title {
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
}

.woocommerce-ordering{
    margin-bottom:40px;
}

/* WooCoomerce Product Grid */
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 0;
    padding: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none !important;
}

.woocommerce ul.products li.product {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
    background: transparent;
}

.woocommerce ul.products li.product .price {
    color: hsl(126, 83%, 36%);
    font-weight: bold;
}

/* Custom Product Card */

.product-card {
    text-align: center;
    background: #111;
    border: 1px solid #222;
    border-radius: 10px;
    padding: 20px;
    height: 100%;
    transition: transform .2s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    border-radius: 8px;
}

.product-card h3 {
    color: #fff;
    font-size: 18px;
    margin: 15px 0 10px;
}

.product-card .button {
    background: #000;
    color: #fff;
    border-radius: 5px;
}

/* ==========================
    PRODUCT DESCRIPTION
========================== */

.single-product .woocommerce-tabs {
    width: 100%;
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid #333;
}

.single-product .woocommerce-tabs .woocommerce-Tabs-panel {
    margin: 0 !important;
    padding: 0 0 30px !important;
    border: none !important;
}

.single-product .woocommerce-tabs .woocommerce-Tabs-panel h2 {
    color: #fff;
    font-size: 18px;
    margin: 0 0 10px;
}

.single-product .woocommerce-tabs .woocommerce-Tabs-panel p {
    color: #aaa;
    line-height: 1.7;
    margin-bottom: 10px;
}

.single-product .variations td.value select {
    text-align: center;
    text-align-last: center;
}

/* ==========================
    SINGLE PRODUCT CLEANUP
========================== */

/* Quantity box */
.single-product .quantity {
    display: inline-flex;
    align-items: center;
    margin-right: 8px;
}

.single-product .quantity input.qty {
    height: 42px;
    min-width: 55px;
    padding: 0 8px;
    border: 1px solid #444;
    border-radius: 4px;
    background: #111;
    color: #fff;
    text-align: center;
    font-size: 15px;
}

/* ==========================
    PRODUCT CART CONTROLS
========================== */

/* Size Dropdown */

.single-product .variations tr {
    display: flex !important;
    align-items: center;
    width: auto !important;
}

.single-product .variations th.label {
    width: auto !important;
    padding: 0 !important;
    margin-right: 15px !important;
    margin-bottom: 15px !important;
}

.single-product .variations td.value {
    width: 150px !important;
    min-width: 150px !important;
    max-width: 150px !important;
    padding: 0 !important;
    margin-top: 15px !important;
}

.single-product .variations td.value select {
    width: 150px !important;
    min-width: 150px !important;
    max-width: 150px !important;
    height: 42px;

    padding: 0 12px;

    background: #222 !important;
    color: #fff !important;

    border: 1px solid #555 !important;
    border-radius: 4px;

    font-size: 14px;
    box-sizing: border-box;
}

/* ==========================
    PRODUCT SIZE CONTROL
========================== */

/* Keep the variations table tight */
.single-product form.cart .variations {
    width: auto !important;
    table-layout: auto !important;
}

/* SIZE Label */
.single-product form.cart .variations th.label {
    width: auto !important;
    padding: 0 12px 0 0 !important;
    text-align: left !important;
    white-space: nowrap;
}

/* Dropdown Box */
.single-product form.cart .variations td.value {
    width: auto !important;
    padding: 0 !important;
}

/* Size Dropdown */
.single-product form.cart .variations td.value select {
    width: 150px !important;
    min-width: 150px !important;
    max-width: 150px !important;
    height: 42px;

    padding: 0 12px !important;

    background: #222 !important;
    color: #fff !important;
    border: 1px solid #555 !important;
    border-radius: 4px;

    font-size: 14px;
    box-sizing: border-box;
}

/* Quantity */
.single-product form.cart .quantity {
    margin: 0;
}

.single-product form.cart .quantity input.qty {
    height: 42px;
    width: 52px;
    padding: 0 8px;
    background: #111;
    color: #fff;
    border: 1px solid #444;
    border-radius: 4px;
    text-align: center;
    box-sizing: border-box;
}


/* Add to cart button */
.single-product form.cart .single_add_to_cart_button {
    height: 42px;
    padding: 0 24px !important;
    background: #958e09 !important;
    color: #fff !important;
    border: 1px solid #958e09 !important;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    margin: 0 !important;
}

.single-product form.cart .single_add_to_cart_button:hover {
    background: #b0a50b !important;
    border-color: #b0a50b !important;
    color: #fff !important;
}

/* ==========================
    HIDE PRODUCT TABS NAVIGATION
========================== */

.single-product .woocommerce-tabs ul.tabs {
    display: none !important;
}

/* ==========================
    PRODUCT PAGE — CATEGORIES
========================== */

.single-product .product_meta a {
    color: #767676;
    text-decoration: none;
}

.single-product .product_meta a:hover {
    color: #fff;
}

/* Hide SKU on single product pages */
.single-product .product_meta .sku_wrapper {
    display: none !important;
}

/* ==========================
    RELATED PRODUCTS
========================== */

.single-product section.related.products {
    width: 100%;
    max-width: 1200px;
    margin: 80px auto 0;
    padding: 40px;
    
    background: #111;
    border: 1px solid #222;
    border-radius: 14px;
    
    clear: both;
    display: block;
    box-sizing: border-box;
}

/* Related Products Heading */
.single-product section.related.products h2 {
    color: #fff;
    text-align: center;
    font-size: 26px;
    margin: 0 0 30px;
}

/* Related Product Grid */
.single-product section.related.products ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 0;
    padding: 0;
}

/* Individual related product cards */
.single-product section.related.products li.product {
    background: #111;
    border: 1px solid #222;
    border-radius: 10px;
    padding: 15px !important;
    margin: 0 !important;
    width: auto !important;
    box-sizing: border-box;
}

/* Product Image */
.single-product section.related.products li.product img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Product Name */
.single-product section.related.products li.product .woocommerce-loop-product__title {
    color: #fff;
    font-size: 16px;
    text-align: center;
}

/* Price */
.single-product section.related.products li.product .price {
    color: #fff !important;
    text-align: center;
}

/* Add to cart */
.single-product section.related.products li.product .button {
    display: block;
    width: fit-content;
    margin: 10px auto 0;
}

/* ==========================
    SOEASZ PRODUCT GALLERY
========================== */

.soeasz-product-gallery {
    width: 100%;
}

.soeasz-main-product-image img {
    width: 100%;
    height: auto;
    display: block;
}

.soeasz-gallery-thumbnails {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.soeasz-gallery-thumb {
    width: 75px;
    height: 75px;
    object-fit: cover;
    border: 1px solid #333;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease, border-color 0.2s ease;
}

.soeasz-gallery-thumb:hover {
    opacity: 1;
    border-color: #777;
}


/* ==========================
    RELATED PRODUCTS MOBILE
========================== */

@media (max-width: 900px) {
    .single-product section.related.products ul.products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .single-product section.related.products {
        padding: 20px;
    }

    .single-product section.related.products ul.products {
        grid-template-columns: 1fr;
    }
}

/* Mobile */
@media (max-width: 900px) {
    .woocommerce ul.products {
            grid-template-columns: repeat(2, 1fr);
        }
}

@media (max-width: 480px) {
    .woocommerce ul.products {
            grid-template-columns: 1fr;
        } 
}

/* ==================================================
    5. FOOTER
================================================== */

.site-footer {
    margin-top: 80px;
    padding: 50px 20px;
    text-align: center;
    border-top: 1px solid #222;
    background: #000;
}

.footer-logo {
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 10px;
}

.footer-logo img {
    width: 100px;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 20px;
}

.footer-tagline {
    color: #999;
    font-size: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.footer-copy {
    color: #666;
    font-size: 13px;
    margin-bottom: 15px;
}

.footer-instagram img {
    width: 30px;
    height: 30px;
    transition: transform .25s ease;
}

.footer-instagram:hover img {
    transform: scale(1.1);
}

/* ==================================================
    6. RESPONSIVE
================================================== */

@media (max-width: 768px) {

    /* Navigation */

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .main-nav a {
        font-size: 20px;
    }

    .header-logo img {
        max-width: 180px;
    }

    /* Shop */

    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 600px) {

    .main-nav .menu-items a {
        width: 55px;
        height: 55px;
    }

    .main-nav .menu-items {
        gap: 15px;
    }

}

@media (max-width: 480px) {

    .woocommerce ul.products {
        grid-template-columns: 1fr;
    }

}

/* Temporarily hide Cart and Checkout */
.nav-cart,
.nav-checkout {
    display: none !important;
}

/* Disable Shop button on Home page */
.home-btn[href="/shop"] {
    pointer-events: none;
    cursor: default;
}

/* Disable Shop button */
.menu-item-40 a {
    pointer-events: none;
    cursor: default;
}
