/*
Theme Name: Crisnotti Jewels
Theme URI: https://wpastra.com/
Author: Brainstorm Force
Author URI: https://wpastra.com/
Description: Crisnotti Jewels is a child theme for Astra.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: crisnottijewels
Template: astra
*/

/* ==========================================================================
   Cris Notti Jewels - Smart Slider 3 Luxury High-Contrast Theme
   Designed for Fine Estate, Antique & Vintage Treasures
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
    --cn-gold-primary: #c5a059;
    --cn-gold-light: #f5e4bc;
    --cn-gold-dark: #8a662d;
    --cn-dark-obsidian: #1a1714;
    --cn-dark-charcoal: #2c2723;
    --cn-text-dark: #111111;
    --cn-text-muted: #38322c;
    --cn-font-heading: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    --cn-font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
}

div.n2-ss-slider {
    font-family: var(--cn-font-body) !important;
    overflow: hidden;
}

div.n2-ss-slider .n2-ss-slider-2 {
    background-color: #fbf8f5 !important;
}

/* Slide Background Gradients */
div.n2-ss-slider .n2-ss-slide-background[data-public-id="1"] .n2-ss-slide-background-color {
    background: radial-gradient(circle at 75% 50%, rgba(212, 175, 55, 0.15) 0%, transparent 60%),
                linear-gradient(135deg, #fdfbf7 0%, #f7eee3 50%, #ebd7c5 100%) !important;
}

div.n2-ss-slider .n2-ss-slide-background[data-public-id="2"] .n2-ss-slide-background-color {
    background: radial-gradient(circle at 75% 50%, rgba(20, 140, 110, 0.12) 0%, transparent 60%),
                linear-gradient(135deg, #f8faf9 0%, #ebf4f1 50%, #d4e6e0 100%) !important;
}

div.n2-ss-slider .n2-ss-slide-background[data-public-id="3"] .n2-ss-slide-background-color {
    background: radial-gradient(circle at 75% 50%, rgba(212, 175, 55, 0.15) 0%, transparent 60%),
                linear-gradient(135deg, #fcf8f6 0%, #f6e8e5 50%, #e7ceca 100%) !important;
}

/* ==========================================================================
   HIGH CONTRAST BADGE STYLING ("BRACELETS", "EARRINGS", "ANTIQUE BROOCHES")
   ========================================================================== */
div.n2-ss-slider .n2-style-f4d4ead91c32742ecc97acb4f39f5ceb-heading,
div.n2-ss-slider .n2-ss-button-container a[class*="f4d4ead91c32742ecc97acb4f39f5ceb"],
div.n2-ss-slider .n2-ss-button-container:first-child a {
    background: #1a1714 !important;
    border: 1.5px solid #c5a059 !important;
    border-radius: 50px !important;
    padding: 7px 22px !important;
    box-shadow: 0 4px 14px rgba(26, 23, 20, 0.18) !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
}

div.n2-ss-slider .n2-style-f4d4ead91c32742ecc97acb4f39f5ceb-heading:hover {
    background: #c5a059 !important;
    border-color: #8a662d !important;
}

div.n2-ss-slider .n2-style-f4d4ead91c32742ecc97acb4f39f5ceb-heading,
div.n2-ss-slider .n2-style-f4d4ead91c32742ecc97acb4f39f5ceb-heading *,
div.n2-ss-slider .n2-font-419efeb9e585a317e7c0d6a02f0c779e-link a,
div.n2-ss-slider .n2-font-419efeb9e585a317e7c0d6a02f0c779e-link a *,
div.n2-ss-slider .n2-ss-button-container:first-child a,
div.n2-ss-slider .n2-ss-button-container:first-child a * {
    color: #f5e4bc !important;
    font-family: var(--cn-font-body) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 3px !important;
    text-transform: uppercase !important;
    opacity: 1 !important;
    text-shadow: none !important;
}

/* ==========================================================================
   HIGH CONTRAST MAIN HEADING (H2 TYPOGRAPHY)
   ========================================================================== */
div.n2-ss-slider h2.n2-ss-item-content,
div.n2-ss-slider h2.n2-ss-item-content *,
div.n2-ss-slider h2[id*="n2-ss"] {
    font-family: var(--cn-font-heading) !important;
    color: #111111 !important;
    font-size: 3.8rem !important;
    line-height: 1.12 !important;
    font-weight: 700 !important;
    letter-spacing: -0.5px !important;
    margin-top: 14px !important;
    margin-bottom: 16px !important;
    text-shadow: none !important;
    opacity: 1 !important;
}

/* ==========================================================================
   HIGH CONTRAST SLIDE DESCRIPTION PARAGRAPH
   ========================================================================== */
div.n2-ss-slider .luxury-slide-desc,
div.n2-ss-slider .luxury-slide-desc * {
    font-family: var(--cn-font-body) !important;
    font-size: 1.05rem !important;
    line-height: 1.65 !important;
    color: #38322c !important;
    margin-top: 8px !important;
    margin-bottom: 28px !important;
    max-width: 480px !important;
    font-weight: 500 !important;
    letter-spacing: 0.2px !important;
    opacity: 1 !important;
}

/* ==========================================================================
   HIGH CONTRAST PRIMARY CTA BUTTON ("SHOP BRACELETS", "SHOP EARRINGS")
   ========================================================================== */
div.n2-ss-slider a.n2-style-7b7ecd8cb5fc3d0da34addb30dbff23d-heading,
div.n2-ss-slider .n2-style-7b7ecd8cb5fc3d0da34addb30dbff23d-heading,
div.n2-ss-slider .n2-ss-button-container:last-child a,
div.n2-ss-slider .n-uc-esZTYdnb7qyw a,
div.n2-ss-slider .n-uc-67YfWF30pHfQ a,
div.n2-ss-slider .n-uc-KbY9JPElwQoo a {
    background: #1a1714 !important;
    border: 2px solid #c5a059 !important;
    border-radius: 4px !important;
    padding: 15px 36px !important;
    box-shadow: 0 10px 25px rgba(26, 23, 20, 0.28) !important;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    display: inline-block !important;
}

/* Force Solid Bright White Bold Text on Obsidian Button */
div.n2-ss-slider a.n2-style-7b7ecd8cb5fc3d0da34addb30dbff23d-heading,
div.n2-ss-slider a.n2-style-7b7ecd8cb5fc3d0da34addb30dbff23d-heading *,
div.n2-ss-slider .n2-font-96c897029d28c52cc4fc8fe0390b57b5-link a,
div.n2-ss-slider .n2-font-96c897029d28c52cc4fc8fe0390b57b5-link a *,
div.n2-ss-slider .n2-font-f8bb13e9fee30d1180f49c5b5eafb1c1-link a,
div.n2-ss-slider .n2-font-f8bb13e9fee30d1180f49c5b5eafb1c1-link a *,
div.n2-ss-slider .n-uc-esZTYdnb7qyw a,
div.n2-ss-slider .n-uc-esZTYdnb7qyw a *,
div.n2-ss-slider .n-uc-67YfWF30pHfQ a,
div.n2-ss-slider .n-uc-67YfWF30pHfQ a *,
div.n2-ss-slider .n-uc-KbY9JPElwQoo a,
div.n2-ss-slider .n-uc-KbY9JPElwQoo a * {
    color: #ffffff !important;
    font-family: var(--cn-font-body) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 2.5px !important;
    text-transform: uppercase !important;
    opacity: 1 !important;
    text-shadow: none !important;
}

/* Button Hover State - Rich Gold Background with Dark Obsidian Text */
div.n2-ss-slider a.n2-style-7b7ecd8cb5fc3d0da34addb30dbff23d-heading:hover,
div.n2-ss-slider .n-uc-esZTYdnb7qyw a:hover,
div.n2-ss-slider .n-uc-67YfWF30pHfQ a:hover,
div.n2-ss-slider .n-uc-KbY9JPElwQoo a:hover {
    background: #c5a059 !important;
    border-color: #8a662d !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 14px 30px rgba(197, 160, 89, 0.45) !important;
}

div.n2-ss-slider a.n2-style-7b7ecd8cb5fc3d0da34addb30dbff23d-heading:hover *,
div.n2-ss-slider .n-uc-esZTYdnb7qyw a:hover *,
div.n2-ss-slider .n-uc-67YfWF30pHfQ a:hover *,
div.n2-ss-slider .n-uc-KbY9JPElwQoo a:hover * {
    color: #1a1714 !important;
}

/* ==========================================================================
   JEWELRY IMAGE PRESENTATION & FLOATING ANIMATION
   ========================================================================== */
div.n2-ss-slider .n2-ss-item-image-content img {
    filter: drop-shadow(0 25px 35px rgba(0, 0, 0, 0.18)) drop-shadow(0 8px 20px rgba(197, 160, 89, 0.15)) !important;
    animation: luxuryFloat 7s ease-in-out infinite !important;
    transition: transform 0.5s ease, filter 0.5s ease !important;
    max-height: 480px !important;
    object-fit: contain !important;
}

div.n2-ss-slider .n2-ss-item-image-content img:hover {
    transform: scale(1.03) translateY(-4px) !important;
    filter: drop-shadow(0 30px 42px rgba(0, 0, 0, 0.24)) drop-shadow(0 12px 25px rgba(197, 160, 89, 0.25)) !important;
}

@keyframes luxuryFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-12px) rotate(0.8deg);
    }
}

/* ==========================================================================
   NAVIGATION CONTROL ARROWS (HIGH CONTRAST OBSIDIAN)
   ========================================================================== */
div.n2-ss-slider .nextend-arrow {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    background: #1a1714 !important;
    border: 2px solid #c5a059 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22) !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    opacity: 0.95 !important;
}

div.n2-ss-slider .nextend-arrow:hover {
    background: #c5a059 !important;
    border-color: #8a662d !important;
    transform: scale(1.1) !important;
    opacity: 1 !important;
    box-shadow: 0 10px 25px rgba(197, 160, 89, 0.45) !important;
}

div.n2-ss-slider .nextend-arrow img {
    width: 18px !important;
    height: 18px !important;
    filter: invert(1) brightness(2) !important;
    transition: filter 0.3s ease !important;
}

div.n2-ss-slider .nextend-arrow:hover img {
    filter: invert(0) brightness(0.2) !important;
}

/* ==========================================================================
   NAVIGATION CONTROL DOTS / BULLETS (HIGH CONTRAST)
   ========================================================================== */
div.n2-ss-slider .nextend-bullet-bar {
    gap: 8px !important;
    padding: 10px 20px !important;
    background: rgba(26, 23, 20, 0.85) !important;
    border: 1.5px solid #c5a059 !important;
    border-radius: 30px !important;
    backdrop-filter: blur(8px) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2) !important;
}

div.n2-ss-slider .nextend-bullet-bar .n2-bullet {
    width: 10px !important;
    height: 10px !important;
    background: transparent !important;
    border: 2px solid #f5e4bc !important;
    border-radius: 50px !important;
    margin: 0 !important;
    padding: 0 !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    opacity: 0.7 !important;
}

div.n2-ss-slider .nextend-bullet-bar .n2-bullet.n2-active,
div.n2-ss-slider .nextend-bullet-bar .n2-bullet:hover {
    width: 32px !important;
    background: #c5a059 !important;
    border-color: #c5a059 !important;
    opacity: 1 !important;
    box-shadow: 0 0 12px rgba(197, 160, 89, 0.6) !important;
}

/* --- Responsive Adjustments --- */
@media (max-width: 900px) {
    div.n2-ss-slider h2.n2-ss-item-content {
        font-size: 2.6rem !important;
        text-align: center !important;
    }
    div.n2-ss-slider .luxury-slide-desc {
        font-size: 0.95rem !important;
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}
