/* =========================================================
   ZARAFARID JEWELRY
   Custom Design - WoodMart Child Theme
   Version: 1.0
========================================================= */

/* ---------- Brand Variables ---------- */

:root {
    --zf-gold: #c9a227;
    --zf-gold-light: #d8b84c;
    --zf-gold-dark: #a88317;

    --zf-black: #111111;
    --zf-dark: #1a1a1a;

    --zf-white: #ffffff;
    --zf-light: #f8f8f8;
    --zf-border: #e8e8e8;

    --zf-radius: 4px;
    --zf-transition: all .3s ease;
}


/* ---------- Global ---------- */

html {
    scroll-behavior: smooth;
}

body {
    background: var(--zf-white);
    color: var(--zf-black);
}


/* ---------- Links ---------- */

a {
    transition: var(--zf-transition);
}


/* ---------- Main Buttons ---------- */

.zf-button,
button.button,
a.button,
.wd-button,
.single_add_to_cart_button {
    background: var(--zf-gold) !important;
    border-color: var(--zf-gold) !important;
    color: var(--zf-white) !important;
    transition: var(--zf-transition);
}

.zf-button:hover,
button.button:hover,
a.button:hover,
.wd-button:hover,
.single_add_to_cart_button:hover {
    background: var(--zf-black) !important;
    border-color: var(--zf-black) !important;
    color: var(--zf-white) !important;
}


/* ---------- Header ---------- */

.whb-header {
    background: var(--zf-white);
}

.whb-row {
    border-bottom-color: var(--zf-border);
}


/* ---------- Main Navigation ---------- */

.wd-nav > li > a {
    color: var(--zf-black);
    font-weight: 500;
    transition: var(--zf-transition);
}

.wd-nav > li > a:hover {
    color: var(--zf-gold);
}


/* ---------- Header Icons ---------- */

.wd-header-cart,
.wd-header-search,
.wd-header-my-account,
.wd-header-wishlist {
    color: var(--zf-black);
    transition: var(--zf-transition);
}

.wd-header-cart:hover,
.wd-header-search:hover,
.wd-header-my-account:hover,
.wd-header-wishlist:hover {
    color: var(--zf-gold);
}


/* ---------- Product Cards ---------- */

.product-grid-item {
    transition: transform .3s ease;
}

.product-grid-item:hover {
    transform: translateY(-4px);
}


/* ---------- Product Images ---------- */

.product-grid-item .product-image-link img {
    transition: transform .5s ease;
}

.product-grid-item:hover .product-image-link img {
    transform: scale(1.03);
}


/* ---------- Product Titles ---------- */

.product-grid-item .wd-entities-title,
.product-grid-item .product-title {
    color: var(--zf-black);
    transition: var(--zf-transition);
}

.product-grid-item:hover .wd-entities-title,
.product-grid-item:hover .product-title {
    color: var(--zf-gold);
}


/* ---------- Product Prices ---------- */

.price,
.amount {
    color: var(--zf-black);
}

.product-grid-item .price {
    font-weight: 600;
}


/* ---------- Sale Badge ---------- */

.onsale {
    background: var(--zf-gold) !important;
    color: var(--zf-white) !important;
}


/* ---------- WooCommerce Messages ---------- */

.woocommerce-message {
    border-top-color: var(--zf-gold);
}


/* ---------- Inputs ---------- */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
textarea,
select {
    border-color: var(--zf-border);
    border-radius: var(--zf-radius);
    transition: var(--zf-transition);
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--zf-gold) !important;
    box-shadow: 0 0 0 1px var(--zf-gold);
}


/* ---------- Breadcrumb ---------- */

.wd-breadcrumbs {
    color: #777;
}

.wd-breadcrumbs a:hover {
    color: var(--zf-gold);
}


/* ---------- Footer ---------- */

.wd-footer {
    background: var(--zf-black);
    color: var(--zf-white);
}

.wd-footer a {
    color: #ddd;
}

.wd-footer a:hover {
    color: var(--zf-gold);
}


/* ---------- Scrollbar ---------- */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f5f5f5;
}

::-webkit-scrollbar-thumb {
    background: var(--zf-gold);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--zf-gold-dark);
}


/* ---------- Mobile ---------- */

@media (max-width: 767px) {

    .wd-nav > li > a {
        font-size: 14px;
    }

    .product-grid-item:hover {
        transform: none;
    }

}
/* =========================================================
   ZARAFARID - LUXURY HEADER
========================================================= */

/* Header main area */

.whb-header {
    background: #fff !important;
    box-shadow: 0 2px 15px rgba(0,0,0,.04);
    position: relative;
    z-index: 100;
}

/* Header rows */

.whb-row {
    min-height: 82px;
}

/* Logo */

.whb-header .site-logo img {
    max-height: 68px;
    width: auto;
    object-fit: contain;
}

/* Main navigation */

.whb-header .wd-nav-main > li > a {
    color: #111 !important;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .1px;
    padding-left: 16px;
    padding-right: 16px;
    transition: all .3s ease;
}

/* Menu hover */

.whb-header .wd-nav-main > li:hover > a,
.whb-header .wd-nav-main > li.current-menu-item > a {
    color: #c9a227 !important;
}

/* Gold underline */

.whb-header .wd-nav-main > li > a:after {
    background-color: #c9a227 !important;
}

/* Header icons */

.whb-header .wd-tools-element > a {
    color: #111 !important;
    transition: all .3s ease;
}

.whb-header .wd-tools-element:hover > a {
    color: #c9a227 !important;
}

/* Cart counter */

.whb-header .wd-cart-number {
    background: #c9a227 !important;
    color: #fff !important;
}

/* Search */

.whb-header .wd-search-form input {
    border-color: #e5e5e5;
}

.whb-header .wd-search-form input:focus {
    border-color: #c9a227;
}

/* Header bottom border */

.whb-header .whb-row:last-child {
    border-bottom: 1px solid #eeeeee;
}


/* =========================================================
   MOBILE HEADER
========================================================= */

@media (max-width: 767px) {

    .whb-row {
        min-height: 65px;
    }

    .whb-header .site-logo img {
        max-height: 52px;
    }

    .whb-header .wd-nav-main > li > a {
        font-size: 13px;
    }

}
/* =========================================================
   ZARAFARID - HERO SECTION
========================================================= */

.zf-hero {
    position: relative;
    width: 100%;
    min-height: 620px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 75% 45%,
            rgba(201,162,39,.16),
            transparent 32%
        ),
        linear-gradient(
            110deg,
            #080808 0%,
            #141414 48%,
            #050505 100%
        );

    color: #fff;
}


/* Decorative gold circle */

.zf-hero::before {
    content: "";
    position: absolute;

    width: 520px;
    height: 520px;

    right: -150px;
    top: 50%;

    transform: translateY(-50%);

    border: 1px solid rgba(201,162,39,.25);
    border-radius: 50%;

    box-shadow:
        0 0 0 45px rgba(201,162,39,.025),
        0 0 0 90px rgba(201,162,39,.015);
}


/* Second decorative circle */

.zf-hero::after {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    right: -60px;
    top: 50%;

    transform: translateY(-50%);

    border: 1px solid rgba(201,162,39,.12);
    border-radius: 50%;
}


/* Overlay */

.zf-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.25),
            transparent 60%
        );

    pointer-events: none;
}


/* Content */

.zf-hero-content {

    position: relative;
    z-index: 5;

    width: min(1200px, 90%);

    text-align: right;

    margin-right: auto;
    margin-left: auto;

    padding-right: 40px;
}


/* Small English title */

.zf-hero-small {

    color: #c9a227;

    font-size: 13px;

    letter-spacing: 5px;

    margin-bottom: 22px;

    font-weight: 500;
}


/* Main title */

.zf-hero h1 {

    margin: 0 0 22px;

    color: #ffffff;

    font-size: clamp(48px, 6vw, 86px);

    font-weight: 400;

    line-height: 1.15;

    letter-spacing: -2px;
}


/* Description */

.zf-hero p {

    max-width: 520px;

    margin: 0 0 35px;

    color: #d8d8d8;

    font-size: 17px;

    line-height: 2;

    font-weight: 300;
}


/* Buttons container */

.zf-hero-buttons {

    display: flex;

    align-items: center;

    gap: 14px;

    flex-wrap: wrap;
}


/* Buttons */

.zf-hero-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 170px;

    height: 52px;

    padding: 0 28px;

    border-radius: 2px;

    font-size: 14px;

    transition: all .35s ease;
}


/* Gold button */

.zf-btn-gold {

    background: #c9a227;

    color: #fff !important;

    border: 1px solid #c9a227;
}


.zf-btn-gold:hover {

    background: #fff;

    color: #111 !important;

    border-color: #fff;

    transform: translateY(-2px);
}


/* Outline button */

.zf-btn-outline {

    background: transparent;

    color: #fff !important;

    border: 1px solid rgba(255,255,255,.55);
}


.zf-btn-outline:hover {

    background: #fff;

    color: #111 !important;

    border-color: #fff;

    transform: translateY(-2px);
}


/* =========================================================
   HERO RESPONSIVE
========================================================= */

@media (max-width: 767px) {

    .zf-hero {

        min-height: 570px;

        justify-content: center;

    }


    .zf-hero::before {

        width: 330px;
        height: 330px;

        right: -150px;

    }


    .zf-hero::after {

        width: 230px;
        height: 230px;

        right: -90px;

    }


    .zf-hero-content {

        width: 90%;

        padding: 0;

        text-align: center;

    }


    .zf-hero-small {

        font-size: 10px;

        letter-spacing: 3px;

    }


    .zf-hero h1 {

        font-size: 48px;

    }


    .zf-hero p {

        font-size: 14px;

        line-height: 2;

        margin-left: auto;
        margin-right: auto;

    }


    .zf-hero-buttons {

        justify-content: center;

    }


    .zf-hero-btn {

        width: 100%;

        max-width: 260px;

    }

}
/* =========================================================
   ZARAFARID
   PRODUCT CATEGORIES
========================================================= */

.zf-categories {
    width: 100%;
    padding: 30px 0 20px;
    background: #fff;
}


/* Section heading */

.zf-section-heading {
    text-align: center;
    margin-bottom: 50px;
}


.zf-section-eyebrow {
    display: block;

    color: #c9a227;

    font-size: 11px;

    letter-spacing: 4px;

    font-weight: 500;

    margin-bottom: 14px;
}


.zf-section-heading h2 {

    margin: 0 0 12px;

    color: #111;

    font-size: 34px;

    font-weight: 500;

}


.zf-section-heading p {

    margin: 0;

    color: #777;

    font-size: 14px;

}


/* Grid */

.zf-category-grid {

    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    gap: 18px;

    width: 100%;
}


/* Card */

.zf-category-card {

    position: relative;

    display: block;

    overflow: hidden;

    background: #f5f5f5;

    text-decoration: none !important;

    color: #111 !important;

}


/* Image area */

.zf-category-image {

    position: relative;

    width: 100%;

    aspect-ratio: 4 / 5;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #f7f7f7,
            #e9e9e9
        );

}


/* Temporary placeholder */

.zf-category-placeholder {

    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    color: rgba(0,0,0,.15);

    font-size: 30px;

    font-weight: 300;

    transition: all .5s ease;

}


/* Gold decorative frame */

.zf-category-image::after {

    content: "";

    position: absolute;

    inset: 12px;

    border: 1px solid rgba(201,162,39,.25);

    pointer-events: none;

    transition: all .4s ease;

}


/* Card info */

.zf-category-info {

    padding: 20px 10px 23px;

    text-align: center;

    background: #fff;

}


.zf-category-info h3 {

    margin: 0 0 7px;

    color: #111;

    font-size: 16px;

    font-weight: 500;

    transition: all .3s ease;

}


.zf-category-info span {

    color: #999;

    font-size: 11px;

    transition: all .3s ease;

}


/* Hover */

.zf-category-card:hover {

    color: #111 !important;

}


.zf-category-card:hover
.zf-category-placeholder {

    transform: scale(1.08);

    color: rgba(201,162,39,.35);

}


.zf-category-card:hover
.zf-category-image::after {

    inset: 18px;

    border-color: rgba(201,162,39,.65);

}


.zf-category-card:hover
.zf-category-info h3 {

    color: #c9a227;

}


.zf-category-card:hover
.zf-category-info span {

    color: #c9a227;

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .zf-category-grid {

        grid-template-columns:
            repeat(3, 1fr);

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .zf-categories {

        padding-top: 50px;

    }


    .zf-section-heading {

        margin-bottom: 30px;

    }


    .zf-section-heading h2 {

        font-size: 27px;

    }


    .zf-section-heading p {

        font-size: 13px;

    }


    .zf-category-grid {

        grid-template-columns:
            repeat(2, 1fr);

        gap: 10px;

    }


    .zf-category-info {

        padding: 14px 5px 17px;

    }


    .zf-category-info h3 {

        font-size: 14px;

    }


    .zf-category-info span {

        font-size: 10px;

    }


    .zf-category-placeholder {

        font-size: 22px;

    }

}