/* ========================================
   Fleuriste Élégance - CSS Stylesheet
   Design floral, couleurs pastels
   ======================================== */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #e91e63;
    --primary-dark: #c2185b;
    --secondary-color: #8e44ad;
    --accent-color: #8bc34a;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #fdfbf7;
    --bg-light: #fff;
    --border-color: #f0f0f0;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--text-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    background: var(--bg-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-icon {
    font-size: 32px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    font-weight: 500;
    color: var(--text-color);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

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

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

.cart-icon {
    position: relative;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
}

.cart-icon:hover {
    color: var(--primary-color);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary-color);
    color: white;
    font-size: 12px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    transition: var(--transition);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 70px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.8), rgba(142, 68, 173, 0.8));
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1490750967868-58cb75079764?w=1920&h=1080&fit=crop') center/cover no-repeat;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 0;
}

.hero-text {
    max-width: 600px;
    color: white;
}

.hero-title {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

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

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

/* ========================================
   Sections
   ======================================== */
section {
    padding: 80px 0;
}

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

.section-title {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.section-footer {
    text-align: center;
    margin-top: 40px;
}

/* ========================================
   Categories Section
   ======================================== */
.categories {
    background: var(--bg-light);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.category-card {
    display: block;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.category-image {
    height: 250px;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.category-card:hover .category-image img {
    transform: scale(1.1);
}

.category-info {
    padding: 25px;
    background: var(--bg-light);
}

.category-info h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.category-info p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.category-arrow {
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 700;
}

/* ========================================
   Products Grid
   ======================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--bg-light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.product-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.product-info {
    padding: 20px;
}

.product-category {
    font-size: 12px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}

.product-title {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.product-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.product-rating {
    color: #ffc107;
    margin-bottom: 15px;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.product-actions .btn {
    flex: 1;
}

/* ========================================
   Best Sellers Section
   ======================================== */
.best-sellers {
    background: var(--bg-light);
}

/* ========================================
   Features Section
   ======================================== */
.features {
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    border-radius: 15px;
    background: var(--bg-color);
    transition: var(--transition);
}

.feature-item:hover {
    background: var(--primary-color);
}

.feature-item:hover h3,
.feature-item:hover p {
    color: white;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.feature-item:hover .feature-icon {
    color: white;
}

.feature-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.feature-item p {
    color: var(--text-light);
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* ========================================
   Page Header
   ======================================== */
.page-header {
    background: var(--bg-light);
    padding: 100px 0 60px;
    text-align: center;
}

.page-title {
    font-size: 48px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.page-subtitle {
    font-size: 18px;
    color: var(--text-light);
}

/* ========================================
   Breadcrumbs
   ======================================== */
.breadcrumbs {
    padding: 20px 0;
    background: var(--bg-color);
    font-size: 14px;
}

.breadcrumbs a {
    color: var(--text-light);
}

.breadcrumbs a:hover {
    color: var(--primary-color);
}

.breadcrumbs span {
    color: var(--text-color);
}

/* ========================================
   Filters Section
   ======================================== */
.filters-section {
    background: var(--bg-light);
    padding: 40px 0;
}

.filters-wrapper {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 14px;
}

.filter-group select {
    padding: 10px 20px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    background: white;
    cursor: pointer;
    transition: var(--transition);
}

.filter-group select:focus {
    border-color: var(--primary-color);
    outline: none;
}

.products-header {
    margin: 30px 0;
    font-size: 16px;
    color: var(--text-light);
}

/* ========================================
   Pagination
   ======================================== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.pagination-btn {
    padding: 10px 25px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.pagination-btn:hover:not(:disabled) {
    background: var(--primary-color);
    color: white;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-info {
    font-weight: 600;
    color: var(--text-color);
}

/* ========================================
   Product Detail
   ======================================== */
.product-detail {
    background: var(--bg-light);
    padding: 80px 0;
}

.product-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.product-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.thumbnail-images {
    display: flex;
    gap: 15px;
}

.thumbnail-images img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: var(--transition);
}

.thumbnail-images img:hover,
.thumbnail-images img.active {
    border-color: var(--primary-color);
}

.product-meta {
    margin-bottom: 20px;
}

.product-category {
    display: inline-block;
    background: rgba(233, 30, 99, 0.1);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-title {
    font-size: 36px;
    margin: 15px 0;
    color: var(--text-color);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stars {
    color: #ffc107;
    font-size: 20px;
}

.rating-count {
    color: var(--text-light);
    font-size: 14px;
}

.product-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 20px 0;
}

.product-description {
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

/* ========================================
   Customization Options
   ======================================== */
.customization-options {
    background: var(--bg-color);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.customization-options h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.customization-group {
    margin-bottom: 25px;
}

.customization-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
}

.customization-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    resize: vertical;
    transition: var(--transition);
}

.customization-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.char-count {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 5px;
    display: block;
}

.ribbon-options {
    display: flex;
    gap: 15px;
}

.ribbon-color {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-block;
    border: 2px solid #ddd;
    transition: var(--transition);
}

.ribbon-options input:checked + .ribbon-color {
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.ghost-box-options {
    display: flex;
    gap: 15px;
}

.ghost-box-color {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: inline-block;
    border: 2px solid #ddd;
    transition: var(--transition);
}

.ghost-box-options input:checked + .ghost-box-color {
    border-color: var(--primary-color);
    transform: scale(1.1);
}

/* ========================================
   Quantity Selector
   ======================================== */
.quantity-selector {
    margin-bottom: 20px;
}

.quantity-selector label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.qty-btn {
    width: 45px;
    height: 45px;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 8px;
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.qty-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

#productQuantity {
    width: 60px;
    text-align: center;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 8px;
    font-size: 16px;
}

/* ========================================
   Product Details List
   ======================================== */
.product-details {
    margin-top: 40px;
}

.product-details h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.product-details ul {
    list-style: none;
}

.product-details li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-details li::before {
    content: '✓';
    color: var(--accent-color);
    font-weight: bold;
}

/* ========================================
   Similar Products
   ======================================== */
.similar-products {
    background: var(--bg-light);
}

/* ========================================
   About Section
   ======================================== */
.about-section {
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.8;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

/* ========================================
   Values Section
   ======================================== */
.values-section {
    background: var(--bg-light);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-card {
    background: var(--bg-color);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.value-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.value-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.value-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ========================================
   Team Section
   ======================================== */
.team-section {
    background: var(--bg-light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.team-member {
    display: flex;
    gap: 25px;
    background: var(--bg-color);
    padding: 30px;
    border-radius: 15px;
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.member-image img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.member-info h3 {
    font-size: 20px;
    margin-bottom: 5px;
    color: var(--text-color);
}

.member-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.member-bio {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

/* ========================================
   Stats Section
   ======================================== */
.stats-section {
    background: var(--primary-color);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 30px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

/* ========================================
   Contact Section
   ======================================== */
.contact-section {
    background: var(--bg-light);
}

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

.contact-info h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 28px;
    color: var(--primary-color);
}

.contact-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-color);
}

.contact-content p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 4px;
}

.social-links {
    margin-top: 40px;
}

.social-links h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-color);
    border-radius: 50%;
    font-size: 20px;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary-color);
    color: white;
}

/* ========================================
   Contact Form
   ======================================== */
.contact-form-container {
    background: var(--bg-color);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.contact-form-container h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--text-color);
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

/* ========================================
   Map Section
   ======================================== */
.map-section {
    background: var(--bg-light);
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* ========================================
   Cart Section
   ======================================== */
.cart-section {
    background: var(--bg-light);
    padding: 80px 0;
}

.cart-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.empty-cart-message {
    text-align: center;
    padding: 80px 20px;
    background: var(--bg-color);
    border-radius: 15px;
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.empty-cart-message h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.empty-cart-message p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-item {
    display: flex;
    gap: 20px;
    background: var(--bg-light);
    padding: 20px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.cart-item-image {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.cart-item-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
}

.cart-item-price {
    font-size: 18px;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 10px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-btn-small {
    width: 30px;
    height: 30px;
    border: 1px solid var(--border-color);
    background: white;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
}

.qty-btn-small:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.cart-item-total {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 10px;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.remove-btn {
    color: #e74c3c;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.remove-btn:hover {
    text-decoration: underline;
}

.order-summary {
    background: var(--bg-color);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    height: fit-content;
}

.order-summary h2 {
    font-size: 24px;
    margin-bottom: 25px;
    color: var(--text-color);
}

.summary-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
}

.summary-row.total {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    border-top: 2px solid var(--border-color);
    padding-top: 20px;
}

.summary-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: white;
}

.footer-column p {
    color: #bdc3c7;
    line-height: 1.8;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #bdc3c7;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bdc3c7;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 36px;
    }
    
    .about-content,
    .product-detail-wrapper,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .about-image,
    .product-images {
        order: -1;
    }
    
    .cart-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-light);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .filters-wrapper {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cart-item {
        flex-direction: column;
    }
    
    .cart-item-image {
        width: 100%;
        height: 200px;
    }
    
    .cart-item-actions {
        justify-content: space-between;
        align-items: center;
    }
    
    .page-title {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .product-title {
        font-size: 24px;
    }
    
    .product-price {
        font-size: 24px;
    }
    
    .cart-item-title {
        font-size: 16px;
    }
    
    .cart-item-price,
    .cart-item-total {
        font-size: 16px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

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

.slide-in {
    animation: slideIn 0.4s ease forwards;
}

/* ========================================
   Utility Classes
   ======================================== */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.hidden {
    display: none;
}

