/* Complast Industries - Industrial Plastics E-commerce Styles */
/* Mobile-first responsive design */

/* CSS Variables */
:root {
    --primary-color: #E65100; /* Safety orange - industrial feel */
    --primary-dark: #BF360C;
    --primary-light: #FF833A;
    --text-dark: #2D2D2D;
    --text-medium: #555555;
    --text-light: #888888;
    --bg-light: #F8F8F8;
    --bg-white: #FFFFFF;
    --border-color: #E0E0E0;
    --success-color: #2E7D32;
    --warning-color: #F57C00;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    font-size: 16px;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Header */
.header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 12px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #25D366;
    color: white;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
}

.floating-actions {
    position: fixed;
    right: 18px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}

.floating-action {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.floating-action svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.floating-action:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
}

.floating-action.whatsapp {
    background: #25D366;
}

.floating-action.call {
    background: #0d6efd;
}

/* Hero Section */
.hero {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.hero-carousel {
    position: relative;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 20px;
}

.hero-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 24px;
    opacity: 0.95;
}

.hero-cta {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.hero-cta:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.hero-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.hero-dot.active {
    background: white;
    transform: scale(1.2);
}

/* Delivery Section */
.delivery-section {
    padding: 60px 0;
    background: var(--bg-white);
}

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

.delivery-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.delivery-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.delivery-form {
    padding: 20px;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-medium);
    margin-bottom: 24px;
}

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

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

.form-group select,
.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

.delivery-result {
    margin-top: 24px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
}

.delivery-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
}

.delivery-time {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 16px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.result-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.result-label {
    font-weight: 600;
    color: var(--text-medium);
}

.result-value {
    font-weight: 700;
    color: var(--text-dark);
}

.free-delivery-banner {
    margin-top: 16px;
    padding: 12px;
    background: var(--success-color);
    color: white;
    border-radius: var(--radius-md);
    text-align: center;
    font-weight: 600;
}

.remote-area-note {
    margin-top: 16px;
    padding: 12px;
    background: var(--warning-color);
    color: white;
    border-radius: var(--radius-md);
    text-align: center;
    font-weight: 600;
}

.hidden {
    display: none !important;
}

/* Products Section */
.products-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.category-section {
    margin-bottom: 60px;
    padding: 40px 0;
}

#chairs-category {
    background: #ffffff;
}

#tables-category {
    background: #f7f5f2;
}

#other-plastics-category {
    background: #ffffff;
}

/* Ergonomic Chairs Section */
.ergonomic-chairs-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #fff5e6 0%, #ffffff 100%);
}

.ergonomic-chairs-carousel {
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
}

.ergonomic-chair-slide {
    display: none;
    animation: fadeIn 0.5s ease;
}

.ergonomic-chair-slide.active {
    display: block;
}

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

.ergonomic-chair-card {
    max-width: 400px;
    margin: 0 auto;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    position: relative;
}

.ergonomic-chair-badge {
    position: absolute;
    top: -12px;
    right: -12px;
    background: var(--primary-color);
    color: white;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(230, 81, 0, 0.3);
}

.ergonomic-chair-card img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
}

.ergonomic-chair-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.ergonomic-chair-card .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.ergonomic-chair-card .sold-count {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.ergonomic-chair-card .sold-count strong {
    color: var(--primary-color);
}

.ergonomic-chairs-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.ergonomic-chairs-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ergonomic-chairs-nav-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.ergonomic-chairs-dots {
    display: flex;
    gap: 8px;
}

.ergonomic-chairs-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.ergonomic-chairs-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.ergonomic-chairs-cta {
    text-align: center;
}

/* Furniture Sets Section */
.furniture-sets-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #fff5e6 0%, #ffffff 100%);
}

.furniture-sets-carousel {
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
}

.furniture-set-slide {
    display: none;
    animation: fadeIn 0.5s ease;
}

.furniture-set-slide.active {
    display: block;
}

.furniture-set-card-carousel {
    max-width: 400px;
    margin: 0 auto;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    text-align: center;
    position: relative;
}

.furniture-set-gallery-carousel {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.furniture-set-gallery-carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.furniture-set-gallery-carousel img.active {
    opacity: 1;
}

.furniture-set-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(230, 81, 0, 0.3);
}

.furniture-set-details {
    padding: 24px;
}

.furniture-set-details h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.furniture-set-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.furniture-set-sold {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.furniture-set-sold strong {
    color: var(--primary-color);
}

.furniture-set-card-carousel .add-to-cart-btn {
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.furniture-set-card-carousel .add-to-cart-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.furniture-sets-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.furniture-sets-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.furniture-sets-nav-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.furniture-sets-dots {
    display: flex;
    gap: 8px;
}

.furniture-sets-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.furniture-sets-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.furniture-sets-cta {
    text-align: center;
}

.furniture-sets-grid-section {
    padding: 60px 0;
    background: #ffffff;
}

.furniture-sets-grid-section.hidden {
    display: none;
}

.furniture-sets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
}

.furniture-set-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
}

.furniture-set-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.furniture-set-gallery {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.furniture-set-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.furniture-set-gallery img.active {
    opacity: 1;
}

.furniture-set-quantity {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.furniture-set-quantity label {
    font-weight: 600;
    color: var(--text-dark);
}

.furniture-set-quantity .quantity-stepper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.furniture-set-quantity .qty-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: var(--bg-light);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.furniture-set-quantity .qty-btn:hover {
    background: var(--border-color);
}

.furniture-set-quantity .qty-input {
    width: 60px;
    padding: 8px;
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.furniture-set-card .add-to-cart-btn {
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.furniture-set-card .add-to-cart-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
    padding-left: 16px;
}

.category-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 2px;
}

.view-all-btn {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.view-all-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 81, 0, 0.3);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.all-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

/* Product Card */
.product-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

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

.product-card:focus {
    outline: none;
    box-shadow: var(--shadow-md);
}

.product-image {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: radial-gradient(ellipse at center, #f5f5f5 0%, #e8e8e8 100%);
}

.product-image::after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 12px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    filter: blur(8px);
    z-index: 1;
}

.product-image img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
}

.product-info {
    padding: 16px;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-sold {
    font-size: 0.8rem;
    color: #8B6914;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

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

.product-colours {
    margin-bottom: 12px;
}

.colour-label {
    font-size: 0.85rem;
    color: var(--text-medium);
    margin-bottom: 6px;
    display: block;
}

.colour-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.colour-swatch {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.colour-swatch:hover,
.colour-swatch.selected {
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.selected-colour {
    font-size: 0.85rem;
    color: var(--text-medium);
    margin-top: 6px;
    display: block;
}

.product-quantity {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.quantity-stepper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

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

.qty-input {
    width: 50px;
    padding: 6px;
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
}

.bundle-toggle {
    margin-bottom: 12px;
}

.bundle-switch {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.bundle-switch input {
    display: none;
}

.bundle-slider {
    width: 44px;
    height: 24px;
    background: var(--border-color);
    border-radius: 12px;
    position: relative;
    transition: var(--transition);
}

.bundle-slider::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: var(--transition);
}

.bundle-switch input:checked + .bundle-slider {
    background: var(--primary-color);
}

.bundle-switch input:checked + .bundle-slider::before {
    transform: translateX(20px);
}

.bundle-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.bulk-note {
    margin-bottom: 12px;
    padding: 8px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-medium);
}

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

.product-total-label {
    font-weight: 600;
    color: var(--text-medium);
}

.product-total-value {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.add-to-cart-btn {
    width: 100%;
    padding: 10px;
    background: var(--primary-color);
    color: white;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.add-to-cart-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Cart Float Button */
.cart-float-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: var(--transition);
}

.cart-float-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.cart-float-btn.pulse {
    animation: cartPulse 0.2s ease-in-out;
}

@keyframes cartPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1);
    }
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #25D366;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Cart Panel */
.cart-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    height: 100dvh;
    background: var(--bg-white);
    box-shadow: var(--shadow-lg);
    z-index: 1001;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-panel.open {
    right: 0;
}

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

.cart-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
}

.cart-close {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.cart-close:hover {
    background: var(--border-color);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    padding: 20px;
}

.cart-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
}

.cart-item-image {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: white;
}

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

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

.cart-item-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.cart-item-colour {
    font-size: 0.85rem;
    color: var(--text-medium);
    margin-bottom: 4px;
}

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

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

.cart-item-remove {
    color: #dc3545;
    font-size: 0.85rem;
    font-weight: 600;
    margin-left: auto;
    transition: var(--transition);
}

.cart-item-remove:hover {
    text-decoration: underline;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-light);
}

.free-delivery-progress {
    margin-bottom: 20px;
}

.progress-bar {
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: var(--success-color);
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.85rem;
    color: var(--text-medium);
    text-align: center;
}

.cart-totals {
    margin-bottom: 20px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.total-row-grand {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    padding-top: 8px;
    border-top: 2px solid var(--border-color);
    margin-top: 8px;
}

.delivery-location {
    margin-bottom: 16px;
}

.delivery-location label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.delivery-location select {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Product Modal */
.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1002;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.product-modal.open {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--border-color);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px;
}

.modal-gallery {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal-main-image {
    width: 100%;
    height: 300px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-light);
}

.modal-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.modal-thumbnails {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.modal-thumbnail {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

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

.modal-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.modal-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal-details h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.modal-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
}

.modal-colours {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.modal-colours label {
    font-weight: 600;
    color: var(--text-dark);
}

.modal-quantity {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.modal-quantity label {
    font-weight: 600;
    color: var(--text-dark);
}

.modal-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    font-size: 1.25rem;
    font-weight: 700;
}

.modal-total span:last-child {
    color: var(--primary-color);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #ffffff;
    padding: 48px 0 24px;
}

/* Quote Request Section */
.footer-quote-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-quote-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    margin-bottom: 24px;
}

.footer-quote-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    justify-content: center;
}

.footer-quote-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.whatsapp-btn {
    background: #25D366;
    color: white;
}

.whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

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

.call-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.footer-quote-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: #1a1a1a;
    color: #ffffff;
}

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

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.footer-quote-submit {
    padding: 14px 24px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.footer-quote-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.footer-top {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    text-align: center;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.footer-about {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    max-width: 500px;
    margin: 0 auto;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-nav-sections {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 40px;
}

.footer-nav-column {
    text-align: center;
}

.footer-nav-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-list li {
    margin-bottom: 12px;
}

.footer-nav-list a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.footer-nav-list a::before {
    content: '>';
    color: var(--primary-color);
    font-size: 0.85rem;
}

.footer-nav-list a:hover {
    color: var(--primary-color);
    transform: translateX(4px);
}

.footer-contact {
    margin-bottom: 40px;
    text-align: center;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
    text-align: left;
}

.footer-contact-icon {
    color: var(--primary-color);
    flex-shrink: 0;
}

.footer-contact-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-contact-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-contact-text span,
.footer-contact-text a {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact-text a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact-text a:hover {
    color: #ffffff;
    text-decoration: underline;
}

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

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

@media (min-width: 768px) {
    .footer-top {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }

    .footer-brand {
        text-align: left;
    }

    .footer-about {
        margin: 0;
    }

    .footer-nav-sections {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-nav-column {
        text-align: left;
    }

    .footer-contact {
        text-align: left;
    }

    .footer-contact-item {
        justify-content: flex-start;
    }

    .footer-quote-buttons {
        flex-direction: row;
    }
}

@media (max-width: 767px) {
    .footer-quote-buttons {
        flex-direction: column;
    }

    .footer-quote-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Responsive Styles */
@media (min-width: 768px) {
    .delivery-content {
        grid-template-columns: 1fr 1fr;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }

    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .modal-body {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    .hero {
        height: 600px;
    }

    .hero-title {
        font-size: 3rem;
    }
}

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

.mt-2 {
    margin-top: 16px;
}

.mb-2 {
    margin-bottom: 16px;
}

.p-2 {
    padding: 16px;
}

/* Catalog Carousel Modal */
.catalog-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.catalog-modal.open {
    display: flex;
}

.catalog-modal-content {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

.catalog-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.catalog-modal-close:hover {
    background: var(--border-color);
}

.catalog-modal-content h2 {
    text-align: center;
    padding: 20px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.catalog-carousel {
    flex: 1;
    overflow: hidden;
    padding: 0 20px;
    display: flex;
    align-items: center;
}

.catalog-slide {
    min-width: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.catalog-product-card {
    max-width: 300px;
    width: 100%;
}

.catalog-carousel-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

.catalog-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.catalog-nav-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.catalog-dots {
    display: flex;
    gap: 8px;
}

.catalog-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.catalog-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Quick Links Section */
.quick-links-section {
    padding: 60px 0;
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
}

.quick-links-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 40px;
}

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

.quick-links-column h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.quick-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-links-list li {
    margin-bottom: 12px;
}

.quick-links-list a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    display: block;
    padding: 8px 0;
}

.quick-links-list a:hover {
    color: var(--primary-color);
    transform: translateX(8px);
}

.quick-links-list li:not(:last-child) {
    border-bottom: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .catalog-modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .catalog-product-card {
        max-width: 100%;
    }
}
