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

:root {
    --green-deep: #1B4332;
    --green: #2D6A4F;
    --green-light: #40916C;
    --ivory: #FFF8F0;
    --beige: #F5E6D3;
    --gold: #C49B5C;
    --gold-light: #E8D5A3;
    --gold-bright: #D4AF37;
    --blush: #E8C4C4;
    --charcoal: #1A1A1A;
    --text-soft: #5C5C5C;
    --text-muted: #8A8A8A;
    --border: #E8DDD3;
    --border-light: #F2ECE6;
    --white: #FFFFFF;
    --shadow-sm: 0 2px 12px rgba(26,26,26,0.05);
    --shadow-md: 0 8px 30px rgba(26,26,26,0.08);
    --shadow-lg: 0 16px 48px rgba(26,26,26,0.12);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: var(--font-sans);
    background: var(--ivory);
    color: var(--charcoal);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    color: var(--charcoal);
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

.floral-navbar {
    background: rgba(255,255,255,0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s;
}

.floral-navbar .navbar-brand {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--green-deep) !important;
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 8px;
}

.floral-navbar .navbar-brand i {
    color: var(--gold);
    font-size: 1.15rem;
}

.floral-navbar .nav-link {
    color: var(--text-soft) !important;
    font-weight: 500;
    font-size: 0.88rem;
    transition: color 0.2s;
    position: relative;
}

.floral-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: all 0.25s;
    transform: translateX(-50%);
    border-radius: 2px;
}

.floral-navbar .nav-link:hover {
    color: var(--green) !important;
}

.floral-navbar .nav-link:hover::after {
    width: 20px;
    background: var(--green);
}

.floral-navbar .btn-nav-register {
    background: var(--green);
    color: #fff !important;
    font-weight: 600;
    font-size: 0.82rem;
    padding: 8px 22px;
    border-radius: 50px;
    transition: all 0.25s;
}

.floral-navbar .btn-nav-register:hover {
    background: var(--green-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(45,106,79,0.3);
}

.floral-navbar .btn-nav-login {
    font-weight: 500;
    color: var(--text-soft) !important;
    padding: 8px 16px !important;
}

.floral-navbar .nav-link i.bi-cart3 {
    font-size: 1.15rem;
    color: var(--text-soft);
    transition: color 0.2s;
}

.floral-navbar .nav-link:hover i.bi-cart3 {
    color: var(--green);
}

.hero-section {
    padding: 50px 0 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-content {
    padding: 60px 40px 60px 0;
}

.hero-badge {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    border: 1px solid var(--gold-light);
    padding: 5px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.hero-title {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--charcoal);
    margin-bottom: 1.2rem;
}

.hero-title .highlight-green {
    color: var(--green);
    font-style: italic;
}

.hero-title .highlight-gold {
    color: var(--gold);
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-soft);
    max-width: 460px;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.btn-hero {
    background: var(--green);
    color: #fff !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 15px 40px;
    border-radius: 50px;
    transition: all 0.25s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-hero:hover {
    background: var(--green-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(45,106,79,0.3);
    color: #fff !important;
}

.hero-image-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.hero-image-wrap img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    animation: slideInRight 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-decoration {
    position: absolute;
    bottom: -10px;
    left: -10px;
    width: 100px;
    height: 100px;
    border: 2px solid var(--gold-light);
    border-radius: var(--radius-md);
    z-index: 0;
}

.section-head {
    text-align: center;
    margin-bottom: 3rem;
}

.section-head h2 {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--charcoal);
    letter-spacing: -0.01em;
}

.section-head p {
    color: var(--text-soft);
    font-size: 0.95rem;
    max-width: 480px;
    margin: 8px auto 0;
    line-height: 1.6;
}

.category-tile {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 200px;
    display: block;
    text-decoration: none;
    border: 1px solid var(--border);
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.category-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.category-tile .tile-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to top, rgba(27,67,50,0.7) 0%, rgba(27,67,50,0.1) 60%, transparent 100%);
    padding: 16px;
    transition: background 0.3s;
}

.category-tile .tile-overlay h5 {
    color: #fff;
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 4px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.category-tile .tile-overlay span {
    color: var(--gold-light);
    font-size: 0.78rem;
    font-weight: 500;
    font-family: var(--font-sans);
}

.category-tile:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}

.category-tile:hover img {
    transform: scale(1.08);
}

.category-tile:hover .tile-overlay {
    background: linear-gradient(to top, rgba(27,67,50,0.8) 0%, rgba(27,67,50,0.15) 60%, transparent 100%);
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold);
}

.product-card .card-img {
    height: 220px;
    overflow: hidden;
    position: relative;
    background: var(--beige);
}

.product-card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.product-card .card-category {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255,255,255,0.92);
    color: var(--green);
    font-size: 0.62rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 12px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

.product-card .card-body {
    padding: 14px 16px 16px;
}

.product-card .card-body .product-name {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: var(--charcoal);
    text-decoration: none;
    display: block;
    transition: color 0.2s;
}

.product-card .card-body .product-name:hover {
    color: var(--green);
}

.product-card .card-body .product-price {
    font-weight: 700;
    font-size: 1rem;
    color: var(--green-deep);
}

.product-card .card-body .product-price .currency {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.card-add-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--ivory);
    color: var(--green);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.25s;
    cursor: pointer;
}

.card-add-btn:hover {
    background: var(--green);
    color: var(--white);
    border-color: var(--green);
    box-shadow: 0 4px 12px rgba(45,106,79,0.25);
}

.features-strip {
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 36px 0;
}

.feature-item {
    text-align: center;
    padding: 8px 16px;
    position: relative;
}

.feature-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 36px;
    background: var(--border);
}

[dir="rtl"] .feature-item:not(:last-child)::after {
    right: auto;
    left: 0;
}

.feature-item .feat-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 1.2rem;
    background: var(--beige);
    color: var(--gold);
    transition: all 0.3s;
}

.feature-item:hover .feat-icon {
    background: var(--gold);
    color: var(--white);
    transform: scale(1.08);
}

.feature-item h6 {
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 2px;
    color: var(--charcoal);
}

.feature-item small {
    color: var(--text-soft);
    font-size: 0.72rem;
}

.testimonials-section {
    background: var(--white);
    padding: 70px 0;
}

.testimonial-card {
    background: var(--ivory);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    border: 1px solid var(--border-light);
    transition: all 0.3s;
    height: 100%;
}

.testimonial-card:hover {
    border-color: var(--gold-light);
    box-shadow: var(--shadow-sm);
}

.testimonial-card .quote-icon {
    color: var(--gold);
    font-size: 1.4rem;
    opacity: 0.25;
    margin-bottom: 12px;
}

.testimonial-card .stars {
    color: var(--gold);
    font-size: 0.82rem;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.testimonial-card .text {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-soft);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.testimonial-card .author .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--beige);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.82rem;
    font-family: var(--font-serif);
}

.testimonial-card .author strong {
    font-size: 0.85rem;
    font-family: var(--font-sans);
}

.testimonial-card .author small {
    color: var(--text-muted);
    font-size: 0.72rem;
}

.newsletter-section {
    background: var(--beige);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.newsletter-section h2 {
    font-family: var(--font-serif);
    font-weight: 700;
    color: var(--charcoal);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    letter-spacing: -0.01em;
}

.newsletter-section p {
    color: var(--text-soft);
    font-size: 0.92rem;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 480px;
}

.newsletter-form input {
    flex: 1;
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 14px 20px;
    font-size: 0.88rem;
    outline: none;
    background: var(--white);
    color: var(--charcoal);
    transition: border-color 0.2s;
}

.newsletter-form input:focus {
    border-color: var(--gold);
}

.btn-newsletter {
    background: var(--green);
    color: #fff !important;
    border: none;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 50px;
    transition: all 0.25s;
    white-space: nowrap;
    font-size: 0.85rem;
}

.btn-newsletter:hover {
    background: var(--green-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45,106,79,0.25);
}

.floral-footer {
    background: var(--green-deep);
    padding: 56px 0 24px;
    color: rgba(255,255,255,0.8);
}

.floral-footer h5 {
    font-family: var(--font-serif);
    font-weight: 700;
    color: var(--gold);
    font-size: 1.2rem;
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 8px;
}

.floral-footer h5 i {
    color: var(--gold);
}

.floral-footer h6 {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gold-light);
    margin-bottom: 14px;
}

.floral-footer a {
    color: rgba(255,255,255,0.65) !important;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.floral-footer a:hover {
    color: var(--gold) !important;
}

.floral-footer p {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
}

.floral-footer .social-links {
    display: flex;
    gap: 12px;
}

.floral-footer .social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6) !important;
    font-size: 1.05rem;
    transition: all 0.25s;
}

.floral-footer .social-links a:hover {
    border-color: var(--gold);
    color: var(--gold) !important;
    transform: translateY(-2px);
}

.floral-footer .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    margin-top: 32px;
}

.page-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 48px 0 40px;
}

.page-header h1 {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 2rem;
    color: var(--charcoal);
}

.page-header .page-sub {
    color: var(--text-soft);
    font-size: 0.95rem;
    margin-top: 4px;
}

.sidebar-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--white);
}

.sidebar-card .card-header {
    background: var(--ivory);
    border-bottom: 1px solid var(--border);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--green-deep);
    padding: 14px 18px;
}

.sidebar-card .list-group-item {
    border: none;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.85rem;
    color: var(--text-soft);
    padding: 10px 18px;
    transition: all 0.15s;
}

.sidebar-card .list-group-item:last-child {
    border-bottom: none;
}

.sidebar-card .list-group-item:hover {
    background: var(--beige);
    color: var(--green);
}

.sidebar-card .list-group-item.active {
    background: var(--green);
    border-color: var(--green);
    color: var(--white);
    font-weight: 600;
}

.btn-primary {
    background: var(--green);
    border-color: var(--green);
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.25s;
}

.btn-primary:hover {
    background: var(--green-light);
    border-color: var(--green-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45,106,79,0.3);
}

.btn-outline-primary {
    border-color: var(--gold);
    color: var(--gold);
    font-weight: 600;
    border-radius: 50px;
}

.btn-outline-primary:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
    transform: translateY(-1px);
}

.product-detail-img {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
}

.product-detail-img img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    margin-bottom: 12px;
    transition: all 0.2s;
}

.cart-item:hover {
    border-color: var(--gold-light);
}

.cart-item img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.cart-item .item-details {
    flex: 1;
}

.cart-item .item-details h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 0.92rem;
    margin-bottom: 2px;
}

.cart-item .item-details small {
    color: var(--text-muted);
}

.cart-summary {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
}

.cart-summary h5 {
    font-family: var(--font-serif);
    font-weight: 700;
    margin-bottom: 16px;
}

.auth-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: var(--white);
}

.auth-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    max-width: 420px;
    width: 100%;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-icon {
    width: 64px;
    height: 64px;
    background: var(--beige);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.5rem;
    color: var(--gold);
}

.auth-header h2 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
}

.auth-header p {
    color: var(--text-soft);
    font-size: 0.88rem;
}

.auth-body .form-label {
    font-weight: 500;
    font-size: 0.82rem;
    color: var(--text-soft);
}

.auth-body .form-control {
    border: 1px solid var(--border);
    padding: 10px 14px;
    font-size: 0.88rem;
    border-radius: var(--radius-sm);
}

.auth-body .form-control:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(45,106,79,0.1);
}

.auth-body .input-group-text {
    background: var(--ivory);
    border: 1px solid var(--border);
    color: var(--green);
    border-radius: var(--radius-sm) 0 0 var(--radius-sm) !important;
}

.auth-body .input-group .form-control {
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0 !important;
}

.btn-auth {
    background: var(--green);
    color: var(--white);
    border: none;
    padding: 12px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all 0.25s;
    font-size: 0.95rem;
    width: 100%;
}

.btn-auth:hover {
    background: var(--green-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45,106,79,0.25);
    color: var(--white);
}

.auth-footer-links {
    text-align: center;
    margin-top: 24px;
}

.auth-footer-links a {
    color: var(--green);
    font-size: 0.85rem;
}

.auth-footer-links a:hover {
    color: var(--green-light);
}

.status-pending { background: #FFF8E0; color: #9A7B1A; border-radius: 20px; padding: 2px 14px; font-size: 0.75rem; font-weight: 600; }
.status-confirmed { background: #E8F0FE; color: #2B7AF5; border-radius: 20px; padding: 2px 14px; font-size: 0.75rem; font-weight: 600; }
.status-processing { background: var(--beige); color: var(--green); border-radius: 20px; padding: 2px 14px; font-size: 0.75rem; font-weight: 600; }
.status-shipped { background: #E0F0E8; color: var(--green-deep); border-radius: 20px; padding: 2px 14px; font-size: 0.75rem; font-weight: 600; }
.status-delivered { background: #E0F0E8; color: var(--green); border-radius: 20px; padding: 2px 14px; font-size: 0.75rem; font-weight: 600; }
.status-cancelled { background: #F5E0E0; color: #B34A4A; border-radius: 20px; padding: 2px 14px; font-size: 0.75rem; font-weight: 600; }

.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: '\203A';
    color: var(--text-muted);
    font-size: 1rem;
}

.breadcrumb-item a {
    color: var(--green);
    text-decoration: none;
    font-size: 0.82rem;
}

.breadcrumb-item.active {
    color: var(--text-muted);
    font-size: 0.82rem;
}

.alert-success {
    background: #E0F0E8;
    border: 1px solid var(--green);
    color: var(--green-deep);
    border-radius: var(--radius-sm);
}

[dir="rtl"] .me-auto { margin-left: auto !important; margin-right: 0 !important; }
[dir="rtl"] .ms-auto { margin-left: 0 !important; margin-right: auto !important; }
[dir="rtl"] .me-2 { margin-left: 0.5rem !important; margin-right: 0 !important; }
[dir="rtl"] .ms-2 { margin-right: 0.5rem !important; margin-left: 0 !important; }
[dir="rtl"] .ps-0 { padding-right: 0 !important; padding-left: 0 !important; }
[dir="rtl"] .pe-0 { padding-left: 0 !important; padding-right: 0 !important; }
[dir="rtl"] .auth-body .input-group-text { border-radius: 0 var(--radius-sm) var(--radius-sm) 0 !important; }
[dir="rtl"] .auth-body .input-group .form-control { border-radius: var(--radius-sm) 0 0 var(--radius-sm) !important; }

.text-green { color: var(--green); }
.text-gold { color: var(--gold); }
.text-green-deep { color: var(--green-deep); }
.bg-green { background: var(--green); }
.bg-ivory { background: var(--ivory); }
.bg-beige { background: var(--beige); }
