/* Global Design System & Variables (Light & Fresh Theme) */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #fbfbfc;
    --bg-tertiary: #f2f4f6;
    
    /* Brand Colors derived from the logo */
    --accent-brand: #00cbd6; /* Recreated Logo Cyan */
    --accent-brand-glow: rgba(0, 203, 214, 0.2);
    
    --accent-shop: #c5a059; /* Elegant Gold/Bronze for By Ciana Accessories */
    --accent-shop-glow: rgba(197, 160, 89, 0.15);
    
    --accent-salon: #00cbd6; 
    --accent-salon-glow: rgba(0, 203, 214, 0.15);
    
    --bg-shop: #ebdcd3; /* Visible Warm Nude/Beige background color */
    
    --text-primary: #121217;
    --text-secondary: #2c2e35; /* Un tono más oscuro y legible */
    --text-muted: #868e96;
    --border-color: rgba(0, 0, 0, 0.05);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(0, 0, 0, 0.04);
    
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --font-cursive: 'Alex Brush', cursive;
    
    --transition-speed: 0.6s;
    --transition-curve: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-brand);
}

/* Reveal on Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--transition-curve), transform 0.8s var(--transition-curve);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Header Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transform: translateY(-100%);
    transition: transform var(--transition-speed) var(--transition-curve),
                background-color 0.35s ease,
                border-color 0.35s ease,
                box-shadow 0.35s ease;
    box-shadow: 0 2px 15px rgba(0,0,0,0.02);
}

/* Elegant bottom border gradient to blend both brands */
.main-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--accent-shop), var(--accent-salon));
    z-index: 101;
    transition: opacity 0.35s ease;
    opacity: 1;
}

/* Transparent Header Style for Store Hero Overlay */
.main-header.transparent {
    background: transparent;
    backdrop-filter: none;
    border-bottom-color: transparent;
    box-shadow: none;
}

.main-header.transparent::after {
    opacity: 0;
}

.main-header.transparent .nav-link {
    color: #121217;
    font-weight: 700;
    text-shadow: 0 1px 8px rgba(255, 255, 255, 0.8);
}

.main-header.transparent .nav-link:hover,
.main-header.transparent .nav-link.active-link {
    color: var(--accent-shop);
}

.main-header.transparent .cart-btn {
    color: #121217;
    text-shadow: 0 1px 8px rgba(255, 255, 255, 0.8);
}

.main-header.transparent .cart-btn:hover {
    color: var(--accent-shop);
}

.main-header.visible {
    transform: translateY(0);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.5rem 2rem; /* reduced padding to accommodate larger logo */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrap {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 120px; /* Incrementado aún más para un logo imponente y super legible */
}

.header-logo-img {
    height: 100%;
    max-height: 115px; /* Aumentada la altura del logo en el header */
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease, opacity 0.25s ease;
    opacity: 1;
}

.header-logo-img.logo-fade,
.footer-logo-img.logo-fade {
    opacity: 0;
}

.logo-wrap:hover .header-logo-img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    position: relative;
    padding: 0.25rem 0;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link.active-link {
    color: var(--text-primary);
    font-weight: 600;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-brand);
    transition: width 0.3s ease, left 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active-link::after {
    width: 100%;
    left: 0;
}

#nav-to-store.active-link {
    color: var(--accent-shop);
}

#nav-to-about.active-link {
    color: var(--text-primary);
}

#nav-to-salon.active-link {
    color: var(--accent-salon);
}

.cart-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.35rem;
    cursor: pointer;
    position: relative;
    padding: 0.5rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.cart-btn:hover {
    transform: scale(1.1);
    color: var(--accent-brand);
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--text-primary);
    color: var(--bg-primary);
    font-size: 0.7rem;
    font-weight: 700;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* App Sections */
.app-container {
    flex: 1;
    position: relative;
}

.page-section {
    display: none;
    opacity: 0;
    width: 100%;
    min-height: 100vh;
    padding-top: 140px; /* Compensación aumentada para el nuevo header de 120px */
    transition: opacity 0.6s ease;
}

.page-section.active {
    display: block;
    opacity: 1;
}

/* SECTION 1: SPLIT LANDING PAGE */
#landing-page {
    padding-top: 0; /* no header offset on landing */
}

.split-container {
    display: flex;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: relative;
    background: #fbfbfb;
}

.split-side {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: flex var(--transition-speed) var(--transition-curve);
    cursor: pointer;
}

.split-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: grayscale(8%) brightness(98%) contrast(93%);
    transition: transform 1.2s var(--transition-curve), filter 1s ease;
    z-index: 1;
}

.split-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 460px;
    padding: 3rem 2.5rem; /* added padding */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.88); /* slightly opaque to help text pop on brighter bg */
    backdrop-filter: blur(12px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 15px 35px rgba(0,0,0,0.04);
    transition: transform 0.5s var(--transition-curve), background 0.5s ease;
}

.split-logo-wrap {
    width: 100%;
    height: auto;
    margin-bottom: 0.5rem;
    transition: transform 0.5s ease;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
}

.left-side .split-logo-wrap {
    max-width: 360px; /* Wider signature logo */
}

.right-side .split-logo-wrap {
    max-width: 275px; /* Square nail studio logo */
}

.split-logo-img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.split-side p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-primary);
    border: 1px solid var(--text-primary);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.btn-primary:hover {
    background: var(--accent-shop);
    color: var(--text-primary);
    border-color: var(--accent-shop);
    box-shadow: 0 8px 25px var(--accent-shop-glow);
    transform: translateY(-2px);
}

.btn-accent {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--text-primary);
}

.btn-accent:hover {
    background: var(--accent-salon);
    color: var(--text-primary);
    border-color: var(--accent-salon);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--accent-salon-glow);
}

/* Split Hover States */
.split-side:hover {
    flex: 1.25;
}

.split-side:hover .split-bg {
    transform: scale(1.04);
}

.split-side:hover .split-content {
    background: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* Center Brand Divider */
.brand-divider {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    pointer-events: none;
}

.brand-logo-glow {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.5s ease;
    position: relative;
}

.brand-logo-glow::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-shop), var(--accent-salon));
    z-index: -1;
}

.divider-monogram {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
}

/* SECTION COMMON STYLING */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-tagline {
    font-family: var(--font-body);
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--accent-brand);
}

.section-header h2 {
    font-family: var(--font-serif);
    font-size: 3.2rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

.section-desc {
    color: var(--text-secondary);
    max-width: 580px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* SECTION 2: STORE LAYOUT & WARM THEME COLORS */
#store-page, #about-page {
    background-color: var(--bg-shop); /* Elegant warm nude/beige color palette for By Ciana Accessories */
}

#store-page {
    padding-top: 0;
}

.store-hero {
    height: 100vh; /* Pantalla completa */
    min-height: 600px;
    background-color: #e2dfdb; /* Coincidencia exacta con el fondo de la pared */
    background-size: contain; /* Aleja la foto al máximo para que se vea completa, sin recortar manos ni uñas */
    background-position: right 15% center; /* Ubica la foto en el lado derecho */
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 2rem 8%;
    position: relative;
    border-bottom: 1px solid rgba(229, 218, 209, 0.5);
}

/* Sin transparencias ni overlays sobre la foto para mantener sus colores originales exactos */
.store-hero::before {
    display: none;
}

.store-hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    background: none;
    backdrop-filter: none;
    padding: 0;
    border-radius: 0;
    border: none;
    box-shadow: none;
    text-align: left;
}

.store-hero h1 {
    font-family: var(--font-serif); /* Cambiado a Playfair Display para lujo y legibilidad */
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.25;
    color: #121217; /* High contrast dark charcoal text */
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 10px rgba(255, 255, 255, 0.9);
}

.store-hero-brand {
    font-family: var(--font-cursive);
    font-size: 8rem; /* Elegancia y presencia */
    color: var(--accent-shop); /* Gold accent */
    display: block;
    line-height: 0.85;
    margin-top: 0.25rem;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.9);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3.5rem;
    justify-content: center;
}

#store-page .product-card {
    background: #ffffff; /* pure white cards pop beautifully on nude bg */
    border: 1px solid rgba(229, 218, 209, 0.6);
    box-shadow: 0 10px 25px rgba(229, 218, 209, 0.2);
}

#store-page .product-card:hover {
    border-color: var(--accent-shop);
    box-shadow: 0 15px 35px rgba(0, 184, 188, 0.12);
}

.product-img-wrap {
    width: 100%;
    padding-top: 100%;
    position: relative;
    background: var(--bg-secondary);
    overflow: hidden;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--transition-curve);
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    background: var(--text-primary);
    color: var(--bg-primary);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.4rem 0.9rem;
    border-radius: 4px;
    letter-spacing: 1px;
}

#product-case-brown .product-badge,
#product-case-rhode .product-badge {
    background: var(--accent-shop);
    color: var(--text-primary);
    box-shadow: 0 4px 10px rgba(0, 184, 188, 0.2);
}

.product-info {
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-category {
    font-family: var(--font-heading);
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.6rem;
}

.product-info h3 {
    font-family: var(--font-serif);
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.product-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.product-meta {
    margin-bottom: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-color);
}

.form-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.product-select {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    outline: none;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.product-select:focus {
    border-color: var(--accent-shop);
}

.product-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.price {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 700;
}

.btn-add-cart {
    background: var(--text-primary);
    color: var(--bg-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 0.75rem 1.75rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.btn-add-cart:hover {
    background: var(--accent-shop);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px var(--accent-shop-glow);
}

/* SECTION 3: ACERCA DE (ABOUT PAGE) */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.9fr;
    gap: 5rem;
    align-items: flex-start;
}

.about-image-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.about-image-container {
    position: relative;
    width: 100%;
    max-width: 340px;
    aspect-ratio: 1;
    margin-bottom: 2rem;
}

.about-profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--accent-brand);
    position: relative;
    z-index: 2;
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
}

.about-image-decorator {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px dashed rgba(229, 218, 209, 0.8);
    z-index: 1;
}

.about-profile-name {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.about-profile-title {
    font-family: var(--font-cursive);
    font-size: 2.2rem;
    color: var(--accent-brand);
    line-height: 1;
}

.about-text-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-tagline {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-brand);
}

.about-text-column h2 {
    font-family: var(--font-serif);
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.about-paragraphs {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.about-paragraphs p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
}

.about-highlight {
    font-size: 1.15rem !important;
    line-height: 1.8;
    color: var(--text-primary) !important;
    border-left: 3px solid var(--accent-brand);
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.about-contact-info {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(229, 218, 209, 0.4);
}

.about-contact-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.about-contact-label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
}

.about-contact-label.label-shop {
    color: var(--accent-shop);
}

.about-contact-label.label-salon {
    color: var(--accent-salon);
}

.about-contact-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.about-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.about-contact-group:nth-child(1) .about-contact-item i {
    font-size: 1.2rem;
    color: var(--accent-shop);
}

.about-contact-group:nth-child(1) .about-contact-item:hover {
    color: var(--accent-shop);
}

.about-contact-group:nth-child(2) .about-contact-item i {
    font-size: 1.2rem;
    color: var(--accent-salon);
}

.about-contact-group:nth-child(2) .about-contact-item:hover {
    color: var(--accent-salon);
}

/* SECTION 4: GEL BY CIANA LAYOUT (COOL FRESH THEME) */
#salon-page {
    background-color: #f4fafb; /* Cool fresh cyan-white color palette for Gel by Ciana Salon */
}

.gallery-wrapper {
    margin-bottom: 7rem;
}

.gallery-wrapper h3 {
    font-family: var(--font-serif);
    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 2.5rem;
    position: relative;
    display: inline-block;
}

.gallery-wrapper h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--accent-salon);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 0.85;
    cursor: pointer;
    border: 1px solid rgba(0, 180, 200, 0.08);
    background: var(--bg-primary);
    box-shadow: 0 8px 20px rgba(0, 180, 200, 0.03);
    transition: transform 0.4s var(--transition-curve), border-color 0.4s ease, box-shadow 0.4s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
    border-color: var(--accent-salon);
    box-shadow: 0 10px 25px rgba(0, 203, 214, 0.12);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--transition-curve);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(244, 250, 251, 0.95); /* matching cool light blue overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(4px);
    padding: 1.5rem;
    text-align: center;
}

.gallery-overlay span {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 1rem;
    color: var(--text-primary);
    transform: translateY(15px);
    transition: transform 0.4s var(--transition-curve);
    border-bottom: 2px solid var(--accent-salon);
    padding-bottom: 0.5rem;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay span {
    transform: translateY(0);
}

/* Profile Card */
.profile-section {
    margin-bottom: 7rem;
    border-top: 1px solid rgba(0, 180, 200, 0.1);
    padding-top: 5rem;
}

.profile-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
    background: var(--bg-primary); /* Pop out white card */
    padding: 3.5rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 180, 200, 0.08);
    box-shadow: 0 10px 30px rgba(0, 180, 200, 0.04);
}

.profile-img-wrap {
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--accent-salon);
    box-shadow: 0 10px 30px rgba(0, 203, 214, 0.1);
    max-width: 260px;
    margin: 0 auto;
}

.profile-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-details span {
    font-family: var(--font-heading);
    color: var(--accent-salon);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.profile-details h3 {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 700;
    margin-top: 0.5rem;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

.profile-details p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.profile-social-row {
    display: flex;
    gap: 1.5rem;
}

.profile-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.profile-link:hover {
    color: var(--accent-salon);
}

.profile-link i {
    font-size: 1.2rem;
    color: var(--accent-salon);
}

/* Booking Card & JotForm Integration */
.booking-section {
    max-width: 1100px;
    margin: 0 auto;
}

.booking-card {
    display: grid;
    grid-template-columns: 1fr 1.6fr; /* Aumentado de 1.25fr a 1.6fr para dar más espacio horizontal al formulario y evitar que se amontone */
    background: var(--bg-primary);
    border: 1px solid rgba(0, 180, 200, 0.08);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0, 180, 200, 0.06);
}

.booking-info {
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fbfdfd; /* Icy white background for booking card info */
    border-right: 1px solid rgba(0, 180, 200, 0.08);
}

.booking-icon {
    font-size: 2.5rem;
    color: var(--accent-salon);
    margin-bottom: 1.75rem;
}

.booking-info h3 {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    letter-spacing: 0.5px;
    color: var(--text-primary);
}

.booking-info p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.info-alert {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-primary);
    border-left: 3px solid var(--accent-salon);
    border-radius: 0 8px 8px 0;
    border-top: 1px solid rgba(0, 180, 200, 0.08);
    border-bottom: 1px solid rgba(0, 180, 200, 0.08);
    border-right: 1px solid rgba(0, 180, 200, 0.08);
}

.info-alert i {
    color: var(--accent-salon);
    font-size: 1.1rem;
    margin-top: 0.1rem;
}

.info-alert span {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
}

.booking-form-container {
    padding: 2rem;
    background: var(--bg-primary);
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.jotform-wrapper {
    width: 100%;
    overflow: hidden; /* Oculta el banner promocional de JotForm al recortar el desborde */
    position: relative;
    border-radius: 8px;
    background: #ffffff;
    height: 1670px; /* Fallback de altura en escritorio (1750px - 80px) */
}

.jotform-iframe {
    width: 100%;
    height: 1750px; /* Altura original en escritorio */
    border: none;
    overflow: hidden;
    background: #ffffff;
}

/* Cart Drawer */
.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 420px;
    height: 100%;
    background: var(--bg-primary);
    z-index: 200;
    box-shadow: -15px 0 40px rgba(0, 0, 0, 0.05);
    border-left: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.4s var(--transition-curve);
}

.cart-drawer.open {
    transform: translateX(0);
}

.cart-drawer-header {
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-drawer-header h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.close-cart-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.4rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-cart-btn:hover {
    color: var(--text-primary);
}

.cart-items-container {
    flex-grow: 1;
    padding: 2rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.empty-cart-message {
    text-align: center;
    color: var(--text-muted);
    padding: 4rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.empty-cart-message i {
    font-size: 2.5rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-color);
}

.cart-item-img {
    width: 65px;
    height: 65px;
    border-radius: 6px;
    object-fit: cover;
    background: var(--bg-secondary);
}

.cart-item-info {
    flex-grow: 1;
}

.cart-item-info h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.cart-item-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

.cart-item-price {
    font-weight: 600;
    color: var(--text-primary);
}

.remove-item-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.remove-item-btn:hover {
    color: #ff3366;
}

.cart-drawer-footer {
    padding: 2rem;
    border-top: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.btn-checkout {
    width: 100%;
    background: var(--text-primary);
    color: var(--bg-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 1rem;
    border-radius: 6px;
    display: block;
    text-align: center;
    border: none;
    transition: background 0.3s ease;
}

.btn-checkout:hover:not(:disabled) {
    background: var(--accent-brand);
    color: var(--text-primary);
}

.btn-checkout:disabled {
    background: var(--bg-tertiary);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    cursor: not-allowed;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    z-index: 190;
    display: none;
}

.cart-overlay.visible {
    display: block;
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 300;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox.open {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;
}

.lightbox-img {
    max-width: 85%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
}

.lightbox-caption {
    position: absolute;
    bottom: 2rem;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 1px;
    color: var(--text-primary);
    font-weight: 600;
    border-bottom: 2px solid var(--accent-salon);
    padding-bottom: 0.5rem;
}

.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 2.5rem;
    cursor: pointer;
    padding: 1rem;
    transition: color 0.3s ease;
}

.lightbox-prev:hover, .lightbox-next:hover {
    color: var(--accent-brand);
}

.lightbox-prev { left: 2rem; }
.lightbox-next { right: 2rem; }

/* Floating Back Home Button */
.back-home-floating {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 90;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.8);
    transition: all 0.4s var(--transition-curve);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.back-home-floating.visible {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.back-home-floating:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
    transform: translateY(-3px);
}

.back-home-floating.accent-store:hover {
    background: var(--accent-shop);
    color: var(--text-primary);
    box-shadow: 0 6px 15px var(--accent-shop-glow);
    border-color: var(--accent-shop);
}

.back-home-floating.accent-salon:hover {
    background: var(--accent-salon);
    color: var(--text-primary);
    box-shadow: 0 6px 15px var(--accent-salon-glow);
    border-color: var(--accent-salon);
}

/* Footer Styling */
.app-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 4.5rem 0 2rem;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-logo-img {
    height: 90px; /* Aumentado para mayor visibilidad y legibilidad */
    width: auto;
    align-self: flex-start;
    transition: opacity 0.25s ease;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 320px;
}

.footer-links h4, .footer-social h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    color: var(--text-primary);
    font-weight: 700;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-link-item {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-link-item:hover {
    color: var(--text-primary);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.01);
}

.social-icons a:hover {
    color: var(--text-primary);
    border-color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.04);
}

/* Footer Specific Social Links (Organized list with icons and text) */
.footer-social-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: flex-start;
}

.footer-social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-icon-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.01);
}

.social-icon-circle i {
    font-size: 1.1rem;
}

.social-text {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

/* Hover effects utilizing respective brand colors */
.footer-social-group:nth-child(1) .footer-social-link:hover .social-icon-circle {
    background: var(--accent-shop);
    color: var(--text-primary);
    border-color: var(--accent-shop);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px var(--accent-shop-glow);
}

.footer-social-group:nth-child(2) .footer-social-link:hover .social-icon-circle {
    background: var(--accent-salon);
    color: var(--text-primary);
    border-color: var(--accent-salon);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px var(--accent-salon-glow);
}

.footer-social-link:hover .social-text {
    color: var(--text-primary);
}

.footer-bottom {
    max-width: 1200px;
    margin: 3.5rem auto 0;
    padding: 2rem 2rem 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    .booking-card {
        grid-template-columns: 1fr;
    }
    .booking-info {
        padding: 3rem;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .profile-card {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2.5rem;
        text-align: center;
    }
    .profile-social-row {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .split-container {
        flex-direction: column;
    }
    .split-side:hover {
        flex: 1.3;
    }
    .brand-divider {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0.75);
    }
    .split-logo-wrap {
        max-width: 180px;
    }
    .split-side p {
        font-size: 0.95rem;
    }
    .main-header {
        position: absolute;
    }
    .header-container {
        padding: 0.75rem 1rem;
    }
    .logo-wrap {
        height: 85px; /* Altura del logo controlada para pantallas móviles */
    }
    .header-logo-img {
        max-height: 80px; /* Límite de imagen en móvil */
    }
    .nav-links {
        gap: 1.5rem;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    .footer-logo-img {
        align-self: center;
    }
    .footer-brand p {
        margin: 0 auto;
    }
    .social-icons {
        justify-content: center;
    }
    .cart-drawer {
        width: 100%;
    }
    .lightbox-img {
        max-width: 95%;
    }
    .lightbox-prev, .lightbox-next {
        font-size: 2rem;
    }
    .lightbox-prev { left: 0.5rem; }
    .lightbox-next { right: 0.5rem; }
    
    .store-hero {
        background-attachment: scroll; /* Desactivar parallax en móvil */
        height: 100vh; /* Pantalla completa */
        min-height: 450px;
        background-size: contain; /* Foto alejada al máximo en móvil también para ver las manos */
        background-position: center bottom 15%; /* Foto posicionada en el centro-inferior */
        background-repeat: no-repeat;
        background-color: #e2dfdb; /* Fondo sólido igual a la pared */
        display: flex;
        flex-direction: column;
        justify-content: flex-start; /* Contenido arriba para no chocar con las manos de abajo */
        align-items: center;
        text-align: center;
        padding: 8rem 1.5rem 2rem;
    }
    .store-hero::before {
        display: none; /* Sin máscara ni overlay oscuro en móvil para ver colores originales */
    }
    .store-hero-content {
        text-align: center;
        max-width: 100%;
        padding: 0;
        z-index: 2;
    }
    .store-hero h1 {
        font-size: 1.8rem;
        color: #121217; /* Texto carbón oscuro igual que en desktop */
        text-shadow: 0 1px 8px rgba(255, 255, 255, 0.85);
    }
    .store-hero-brand {
        font-size: 4.8rem;
        color: var(--accent-shop); /* Color oro del branding */
        text-shadow: 0 1px 8px rgba(255, 255, 255, 0.85);
    }
    .about-text-column h2 {
        font-size: 2.2rem;
    }
    .jotform-iframe {
        height: 2150px; /* Incrementado a 2150px en móvil para asegurar que el botón de enviar no se corte */
    }
    .jotform-wrapper {
        height: 2070px; /* Recorta los 80px inferiores del iframe de 2150px en móvil */
    }
}

/* ==========================================
   PRODUCT DETAIL VIEW STYLES (ECWID INSPIRATION)
   ========================================== */
.product-detail-view {
    background-color: var(--bg-primary);
    min-height: 100vh;
    width: 100%;
    padding: 2rem 0;
    position: relative;
    z-index: 10;
}

.product-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Top Navigation */
.product-detail-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.btn-back-catalog {
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.btn-back-catalog:hover {
    color: var(--text-primary);
}

.product-detail-nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.product-nav-arrows {
    display: flex;
    gap: 0.5rem;
}

.nav-arrow-btn {
    background: none;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--text-muted);
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.nav-arrow-btn:hover {
    color: var(--text-primary);
    border-color: var(--text-primary);
    background-color: var(--bg-secondary);
}

.search-btn-circular {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.search-btn-circular:hover {
    transform: scale(1.05);
    border-color: var(--text-primary);
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

/* Main Content Split Layout */
.product-detail-main {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4.5rem;
    align-items: flex-start;
}

/* Left Column: Images */
.product-detail-images-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.product-detail-main-img-wrap {
    width: 100%;
    aspect-ratio: 1;
    background: var(--bg-secondary);
    border: 1px solid rgba(0,0,0,0.02);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-detail-main-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-detail-main-img-wrap img:hover {
    transform: scale(1.03);
}

.product-detail-thumbnails {
    display: flex;
    gap: 0.75rem;
    width: 100%;
    justify-content: flex-start;
}

.detail-thumb {
    width: 76px;
    height: 76px;
    border: 1px solid var(--border-color);
    cursor: pointer;
    overflow: hidden;
    background: var(--bg-secondary);
    transition: all 0.3s ease;
}

.detail-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-thumb:hover {
    border-color: var(--text-secondary);
}

.detail-thumb.active {
    border: 2px solid var(--text-primary);
}

/* Right Column: Info details */
.product-detail-info-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-detail-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.15;
}

.product-detail-price {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--text-primary);
}

.product-detail-options {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.25rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.option-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.option-group label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

.detail-select {
    width: 100%;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    cursor: pointer;
    transition: border-color 0.3s ease;
    border-radius: 4px;
}

.detail-select:focus {
    border-color: var(--text-primary);
}

.product-detail-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #28a745;
}

.btn-detail-add-cart {
    width: 100%;
    background: var(--text-primary);
    color: var(--bg-primary);
    border: 1px solid var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.btn-detail-add-cart:hover {
    background: var(--accent-shop);
    border-color: var(--accent-shop);
    color: var(--text-primary);
    box-shadow: 0 8px 20px var(--accent-shop-glow);
}

.btn-detail-add-cart:disabled {
    background: var(--bg-tertiary);
    border-color: var(--border-color);
    color: var(--text-muted);
    cursor: not-allowed;
    box-shadow: none;
}

/* Description Section */
.product-detail-description-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.description-header {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.product-detail-description {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-detail-description p {
    margin: 0;
}

.btn-show-more {
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    align-self: flex-start;
    padding: 0;
    margin-top: 0.25rem;
    border-bottom: 1px dashed var(--text-muted);
    transition: color 0.3s ease, border-color 0.3s ease;
}

.btn-show-more:hover {
    color: var(--text-primary);
    border-color: var(--text-primary);
}

/* Sharing Section */
.product-detail-share {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.product-detail-share span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.share-buttons {
    display: flex;
    gap: 0.75rem;
}

.share-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.9rem;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.share-link i {
    font-size: 0.9rem;
}

.share-fb:hover {
    background-color: #3b5998;
    color: #ffffff;
    border-color: #3b5998;
}

.share-x:hover {
    background-color: #121217;
    color: #ffffff;
    border-color: #121217;
}

.share-pinterest:hover {
    background-color: #bd081c;
    color: #ffffff;
    border-color: #bd081c;
}

/* Bottom Navigation Bar (Ecwid Style) */
.product-detail-bottom-bar {
    display: flex;
    justify-content: center;
    gap: 3.5rem;
    margin-top: 4.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.bottom-bar-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.bottom-bar-link i {
    font-size: 1.25rem;
}

.bottom-bar-link span {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
}

.bottom-bar-link:hover {
    color: var(--accent-shop);
}

/* RESPONSIVE ADJUSTMENTS FOR DETAIL VIEW */
@media (max-width: 1024px) {
    .product-detail-main {
        gap: 3rem;
    }
    .product-detail-title {
        font-size: 2.1rem;
    }
}

@media (max-width: 768px) {
    .product-detail-view {
        padding: 1.5rem 0;
    }
    .product-detail-main {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .product-detail-title {
        font-size: 1.85rem;
    }
    .product-detail-thumbnails {
        overflow-x: auto;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
    }
    .detail-thumb {
        flex-shrink: 0;
    }
    .product-detail-bottom-bar {
        gap: 2rem;
        margin-top: 3rem;
    }
}

/* ==========================================
   CUSTOM MODAL NOTIFICATION SYSTEM & PAYPAL
   ========================================== */
#paypal-button-container {
    width: 100%;
    margin-top: 1.25rem;
    transition: all 0.3s ease;
}

.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 18, 23, 0.4);
    backdrop-filter: blur(8px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--transition-curve);
}

.custom-modal.open {
    opacity: 1;
    pointer-events: auto;
}

.custom-modal-content {
    background: var(--bg-primary);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    width: 90%;
    max-width: 450px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
    transform: translateY(20px);
    transition: transform 0.4s var(--transition-curve);
}

.custom-modal.open .custom-modal-content {
    transform: translateY(0);
}

.modal-icon-wrap {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.2rem;
}

.modal-icon-wrap.success {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.modal-icon-wrap.error {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.modal-icon-wrap.info {
    background: var(--accent-shop-glow);
    color: var(--accent-shop);
}

.custom-modal h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.custom-modal p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

#modal-close-btn {
    width: 100%;
    padding: 0.9rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

