/*
Theme Name: Zynety Fashion
Theme URI: 
Description: A premium Indian fashion child theme based on Royal Elementor Kit, inspired by Nykaa Fashion & Myntra.
Author: Pritsim Solutions
Author URI: 
Template: royal-elementor-kit
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zynety-fashion
*/

/* ==========================================================================
   Base Design Variables (Myntra/Nykaa Inspired)
   ========================================================================== */
:root {
    --zf-primary-color: #fc2779; /* Nykaa Blush Pink Accent */
    --zf-secondary-color: #ff3f6c; /* Myntra Magenta/Orange */
    --zf-text-main: #282c3f; /* Deep off-black */
    --zf-text-muted: #535766;
    --zf-bg-light: #f5f5f6;
    --zf-white: #ffffff;
    --zf-font-primary: 'Inter', 'Whitney', 'Proxima Nova', sans-serif;
}

/* Base Aesthetics */
body, p, a, span {
    font-family: var(--zf-font-primary);
    color: var(--zf-text-main);
}

/* Stylish Headers */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Product Grid Adjustments for WooCommerce */
.woocommerce ul.products li.product {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--zf-white);
    border: 1px solid #eaeaec;
    border-radius: 4px;
    padding-bottom: 10px;
}

.woocommerce ul.products li.product:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

/* Hide default add to cart initially, show on hover like Myntra */
.woocommerce ul.products li.product .button {
    opacity: 0;
    transition: opacity 0.3s ease;
    background-color: var(--zf-secondary-color) !important;
    color: var(--zf-white) !important;
    width: 90%;
    margin: 10px auto;
    display: block;
    text-align: center;
    border-radius: 2px;
}

.woocommerce ul.products li.product:hover .button {
    opacity: 1;
}

/* Price Styling */
.woocommerce ul.products li.product .price {
    font-weight: 700;
    font-size: 16px;
    color: var(--zf-text-main);
    display: block;
    padding: 0 10px;
}

.woocommerce ul.products li.product .price del {
    color: var(--zf-text-muted);
    font-weight: 400;
    font-size: 14px;
    margin-right: 5px;
}

/* Title Styling */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 14px;
    color: var(--zf-text-muted);
    font-weight: 400;
    padding: 10px 10px 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==========================================================================
   Trust Badges & Custom Badges
   ========================================================================== */
.zf-sale-badge {
    background-color: var(--zf-primary-color) !important;
    color: var(--zf-white) !important;
    font-size: 11px !important;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 2px !important;
    text-transform: uppercase;
}

.zf-out-of-stock {
    background-color: #999 !important;
}

.zf-trust-badges {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eaeaec;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.zf-trust-item {
    font-size: 13px;
    color: var(--zf-text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1 1 100%;
}
@media (min-width: 768px) {
    .zf-trust-item {
        flex: 1 1 30%;
    }
}

/* ==========================================================================
   Advanced Product Grid & Hover States (Stitch Inspired)
   ========================================================================== */
.zf-main-wrap {
    padding: 60px 15px;
    background: var(--zf-bg-light);
}

.zf-container {
    max-width: 1400px;
    margin: 0 auto;
}

ul.products {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
}

@media (min-width: 768px) {
    ul.products { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (min-width: 1024px) {
    ul.products { grid-template-columns: repeat(4, 1fr) !important; }
}

.zf-premium-card {
    background: transparent !important;
    border: none !important;
    width: 100% !important;
    margin: 0 !important;
}

.zf-card-inner {
    position: relative;
    background: var(--zf-white);
    transition: all 0.3s ease;
}

.zf-card-inner:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.zf-image-container {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
    background: #f1f1f1;
}

.zf-image-container img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.zf-hover-actions {
    position: absolute;
    bottom: -60px;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.95);
    padding: 10px;
    transition: bottom 0.3s ease;
    z-index: 10;
}

.zf-card-inner:hover .zf-hover-actions {
    bottom: 0;
}

.zf-hover-actions .button {
    width: 100% !important;
    margin: 0 !important;
    border-radius: 0 !important;
    background: var(--zf-text-main) !important;
    color: var(--zf-white) !important;
    text-transform: uppercase;
    font-size: 13px !important;
    font-weight: 600;
}

.zf-hover-actions .button:hover {
    background: var(--zf-primary-color) !important;
}

.zf-product-info {
    padding: 15px;
    text-align: left;
}

.zf-title-link {
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
}

.zf-title-link h2 {
    font-size: 14px !important;
    color: var(--zf-text-muted) !important;
    font-family: var(--zf-font-primary);
    font-weight: 500 !important;
    text-transform: none !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0 !important;
}

.zf-price-wrap .price {
    font-size: 16px !important;
    color: var(--zf-text-main) !important;
    font-weight: 700 !important;
    padding: 0 !important;
}

.zf-price-wrap del {
    font-size: 13px !important;
    color: #a0a0a0 !important;
    margin-right: 8px;
}

/* ==========================================================================
   Storefront Header & Footer Premium Integration
   ========================================================================== */
.site-header {
    background-color: var(--zf-white) !important;
    border-bottom: 1px solid #eaeaea !important;
    padding: 15px 0 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
}

.site-branding h1.site-title a {
    color: var(--zf-text-main) !important;
    font-family: var(--zf-font-primary) !important;
    font-weight: 800 !important;
    font-size: 26px !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
}

.main-navigation ul.menu > li > a {
    color: var(--zf-text-main) !important;
    font-family: var(--zf-font-primary) !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    transition: color 0.3s ease !important;
}

.main-navigation ul.menu > li > a:hover {
    color: var(--zf-primary-color) !important;
}

.storefront-secondary-navigation {
    display: none !important; 
}

.site-header-cart .cart-contents {
    color: var(--zf-text-main) !important;
    background: transparent !important;
    font-weight: 700 !important;
}

.site-footer {
    background-color: var(--zf-bg-light) !important;
    border-top: 1px solid #eaeaea !important;
    color: var(--zf-text-muted) !important;
    padding: 60px 0 30px !important;
}

.site-footer a {
    color: var(--zf-text-muted) !important;
    font-weight: 500 !important;
}

.site-footer a:hover {
    color: var(--zf-primary-color) !important;
}

.site-footer .widget-title {
    font-size: 14px !important;
    text-transform: uppercase !important;
    color: var(--zf-text-main) !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
}
