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

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #fff7f9;
    --bg-tertiary: #f8fafc;
    --color-rose: #e84393;
    --color-rose-dark: #d63031;
    --color-rose-glow: rgba(232, 67, 147, 0.2);
    --color-gold: #e17055;
    --color-text-main: #1e293b;
    --color-text-muted: #64748b;
    --border-color: #e2e8f0;
    --font-header: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --color-success: #10b981;
    --color-danger: #ef4444;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

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

body {
    background-color: var(--bg-primary);
    color: var(--color-text-main);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-rose);
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-header);
    font-weight: 700;
    letter-spacing: -0.3px;
    color: var(--color-text-main);
}

a {
    color: inherit;
    text-decoration: none;
}

/* Header Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-header);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--color-text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    color: var(--color-rose);
}

.nav-links {
    display: flex;
    gap: 30px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.nav-link {
    position: relative;
    padding: 5px 0;
    color: var(--color-text-muted);
    transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
    color: var(--color-rose);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-rose);
    transition: var(--transition-smooth);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.icon-btn {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--color-text-main);
    font-size: 1.1rem;
    cursor: pointer;
    position: relative;
    transition: var(--transition-smooth);
    padding: 10px;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-btn:hover {
    color: var(--color-rose);
    background: var(--bg-secondary);
    border-color: var(--color-rose);
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: var(--color-rose);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(232, 67, 147, 0.4);
}

/* Hero Section */
.hero {
    height: 85vh;
    min-height: 540px;
    background: linear-gradient(135deg, rgba(255, 247, 249, 0.92) 0%, rgba(255, 255, 255, 0.82) 100%), 
                url('assets/royers_signature_roses.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    padding: 0 8%;
    position: relative;
    margin-top: 60px;
}

.hero-content {
    max-width: 650px;
    z-index: 10;
}

.hero-subtitle {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-rose);
    margin-bottom: 15px;
    font-weight: 700;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--color-text-main);
}

.hero-description {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    margin-bottom: 35px;
    line-height: 1.8;
}

.btn-luxe {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--color-rose);
    color: #ffffff;
    padding: 15px 35px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    border: 1px solid var(--color-rose);
    cursor: pointer;
    transition: var(--transition-smooth);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(232, 67, 147, 0.3);
}

.btn-luxe:hover {
    background: var(--color-rose-dark);
    border-color: var(--color-rose-dark);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(214, 48, 49, 0.4);
}

.btn-luxe-secondary {
    background: #ffffff;
    color: var(--color-text-main);
    border: 1px solid var(--border-color);
}

.btn-luxe-secondary:hover {
    border-color: var(--color-rose);
    color: var(--color-rose);
    background: var(--bg-secondary);
}

/* Category Filters Section */
.category-sec {
    padding: 70px 8%;
    background-color: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 45px;
}

.section-title {
    font-size: 2.3rem;
    margin-bottom: 10px;
    color: var(--color-text-main);
}

.section-subtitle {
    font-size: 0.85rem;
    color: var(--color-rose);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
}

.filters-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 45px;
}

.filter-btn {
    background: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--color-text-muted);
    padding: 10px 24px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border-radius: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--color-rose);
    border-color: var(--color-rose);
    color: #ffffff;
    box-shadow: 0 5px 18px rgba(232, 67, 147, 0.35);
}

/* Catalog Products Grid */
.products-sec {
    padding: 0 8% 80px 8%;
    background-color: var(--bg-secondary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 300px);
    justify-content: center;
    gap: 25px;
    max-width: 1320px;
    margin: 0 auto;
}

.product-card {
    width: 300px;
    height: 300px;
    max-width: 300px;
    max-height: 300px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    position: relative;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(232, 67, 147, 0.15);
    border-color: rgba(232, 67, 147, 0.3);
}

.product-img-wrapper {
    position: relative;
    width: 300px;
    height: 175px;
    overflow: hidden;
    background: #f8fafc;
    flex-shrink: 0;
}

.product-img {
    width: 300px;
    height: 175px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img {
    transform: scale(1.06);
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--color-rose);
    padding: 3px 10px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.product-details {
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 125px;
    box-sizing: border-box;
    background: #ffffff;
}

.product-category {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-rose);
    margin-bottom: 2px;
    font-weight: 700;
}

.product-name {
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 2px;
    line-height: 1.25;
    color: var(--color-text-main);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-desc {
    font-size: 0.73rem;
    color: var(--color-text-muted);
    margin-bottom: 4px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 4px;
    border-top: 1px solid var(--border-color);
}

.product-price {
    font-family: var(--font-header);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text-main);
}

/* About / Philosophy Section */
.about-sec {
    padding: 90px 8%;
    background-color: #ffffff;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-img-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.about-img {
    width: 100%;
    height: 100%;
    max-height: 480px;
    object-fit: cover;
}

/* Contact & Care Section */
.contact-sec {
    padding: 80px 8%;
    background-color: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.contact-card i {
    font-size: 1.8rem;
    color: var(--color-rose);
}

.luxe-input {
    width: 100%;
    padding: 12px 16px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--color-text-main);
    font-size: 0.9rem;
    border-radius: 8px;
    outline: none;
    transition: var(--transition-smooth);
}

.luxe-input:focus {
    border-color: var(--color-rose);
    box-shadow: 0 0 0 3px rgba(232, 67, 147, 0.15);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    color: var(--color-text-main);
    font-weight: 600;
}

/* Footer */
footer {
    background-color: #f8fafc;
    border-top: 1px solid var(--border-color);
    padding: 70px 8% 30px 8%;
    color: var(--color-text-muted);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    font-family: var(--font-header);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 15px;
}

.footer-logo span {
    color: var(--color-rose);
}

.footer-col h4 {
    color: var(--color-text-main);
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-link {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    margin-bottom: 10px;
    display: block;
    transition: var(--transition-smooth);
}

.footer-link:hover {
    color: var(--color-rose);
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
}

/* Shopping Cart Drawer */
.cart-drawer {
    position: fixed;
    top: 0;
    right: -450px;
    width: 420px;
    max-width: 90vw;
    height: 100vh;
    background: #ffffff;
    border-left: 1px solid var(--border-color);
    z-index: 200;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
}

.cart-drawer.active {
    right: 0;
}

.cart-header {
    padding: 22px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-secondary);
}

.cart-title {
    font-family: var(--font-header);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-main);
}

.close-btn {
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.close-btn:hover {
    color: var(--color-rose);
}

.cart-items {
    padding: 20px;
    overflow-y: auto;
    flex-grow: 1;
}

.cart-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.cart-item-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.cart-item-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--color-text-main);
}

.cart-item-price {
    font-size: 0.85rem;
    color: var(--color-rose);
    font-weight: 700;
}

.cart-footer {
    padding: 22px;
    border-top: 1px solid var(--border-color);
    background: #ffffff;
}

.cart-summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.cart-summary-line.total {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(5px);
    z-index: 300;
    display: none;
    justify-content: center;
    align-items: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

/* Toast Notifications */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--color-rose);
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 400;
    font-size: 0.85rem;
    color: var(--color-text-main);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Responsive */
@media (max-width: 992px) {
    .about-sec, .contact-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .nav-links {
        display: none;
    }
}
