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

:root {
    --primary-color: #2c2c2c;
    --secondary-color: #f5f5f5;
    --accent-color: #d4af37;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --white: #ffffff;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --font-primary: 'Inter', sans-serif;
    --font-display: 'Playfair Display', serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

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

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

.logo-section {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.shop-button {
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.shop-button:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.shop-button.active {
    background: var(--accent-color);
    color: var(--white);
}

.cart-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 31.5px;
    height: 31.5px;
    background: transparent;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 0.84rem;
    cursor: pointer;
}

.cart-icon:hover {
    background: var(--secondary-color);
    color: var(--accent-color);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
    border: 2px solid var(--white);
    min-width: 20px;
}

.cart-count:empty,
.cart-count[style*="display: none"] {
    display: none !important;
}

/* Cart Modal Styles */
.cart-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    overflow-y: auto;
}

.cart-modal.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
}

.cart-modal-content {
    background: var(--white);
    border-radius: 8px;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    margin-top: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.cart-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--secondary-color);
    position: sticky;
    top: 0;
    background: var(--white);
    z-index: 10;
}

.cart-modal-header h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 0;
}

.cart-close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

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

.cart-modal-body {
    padding: var(--spacing-lg);
}

/* Product Full View Lightbox (matches cart modal style) */
.product-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10001;
    overflow-y: auto;
}

.product-lightbox.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
}

.product-lightbox-content {
    background: var(--white);
    border-radius: 8px;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    margin-top: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.product-lightbox-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--secondary-color);
    position: sticky;
    top: 0;
    background: var(--white);
    z-index: 10;
}

.product-lightbox-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 0;
}

.product-lightbox-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

.product-lightbox-close:hover {
    color: var(--primary-color);
}

.product-lightbox-body {
    padding: var(--spacing-lg);
}

.product-lightbox-gallery {
    margin-bottom: var(--spacing-lg);
}

.product-lightbox-main {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    max-height: 60vh;
    background: var(--secondary-color);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: var(--spacing-md);
}

.product-lightbox-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.product-lightbox-prev,
.product-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.product-lightbox-prev:hover,
.product-lightbox-next:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.05);
}

.product-lightbox-prev {
    left: 12px;
}

.product-lightbox-next {
    right: 12px;
}

.product-lightbox-thumbs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--spacing-sm);
}

.product-lightbox-thumbs .thumb {
    aspect-ratio: 1;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease, opacity 0.3s ease;
}

.product-lightbox-thumbs .thumb:hover,
.product-lightbox-thumbs .thumb.active {
    border-color: var(--primary-color);
}

.product-lightbox-thumbs .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-lightbox-video-section h3 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.product-lightbox-video-section h3 i {
    color: var(--accent-color);
}

.product-lightbox-video-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 280px;
    background: #111;
    border-radius: 4px;
    overflow: hidden;
}

.product-lightbox-video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.product-lightbox-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: all 0.3s ease;
    z-index: 2;
}

.product-lightbox-video-play:hover {
    background: var(--white);
    transform: translate(-50%, -50%) scale(1.08);
}

.product-lightbox-video-wrap.playing .product-lightbox-video-play {
    opacity: 0;
    pointer-events: none;
}

.cart-empty {
    text-align: center;
    padding: var(--spacing-xl);
    color: var(--text-light);
}

.cart-empty i {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    color: var(--secondary-color);
}

.cart-items {
    margin-bottom: var(--spacing-lg);
}

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

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.cart-item-details {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.cart-item-price {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: var(--spacing-sm);
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-xs);
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--secondary-color);
    border-radius: 4px;
    padding: 5px;
}

.quantity-btn {
    background: transparent;
    border: none;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

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

.quantity-input {
    width: 40px;
    text-align: center;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.quantity-input:focus {
    outline: none;
}

.remove-item-btn {
    background: transparent;
    border: none;
    color: #e74c3c;
    cursor: pointer;
    padding: 5px 10px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-left: auto;
}

.remove-item-btn:hover {
    background: #fee;
    border-radius: 4px;
}

.cart-item-total {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    min-width: 100px;
    text-align: right;
}

.cart-summary {
    background: var(--secondary-color);
    padding: var(--spacing-lg);
    border-radius: 4px;
    margin-bottom: var(--spacing-lg);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--spacing-sm);
    font-size: 1rem;
}

.cart-summary-row:last-child {
    margin-bottom: 0;
}

.cart-summary-label {
    color: var(--text-light);
}

.cart-summary-value {
    font-weight: 600;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.cart-total {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    border-top: 2px solid var(--white);
    padding-top: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.discount-row {
    color: #28a745;
}

.discount-value {
    color: #28a745;
    font-weight: 600;
}

/* Coupon Section */
.coupon-section {
    background: var(--white);
    border: 2px dashed var(--secondary-color);
    border-radius: 4px;
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.coupon-section h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.coupon-section h3 i {
    color: var(--accent-color);
}

.coupon-input-group {
    display: flex;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-sm);
}

.coupon-input {
    flex: 1;
    padding: 10px;
    border: 1px solid var(--secondary-color);
    border-radius: 4px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
}

.coupon-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.apply-coupon-btn {
    padding: 10px 20px;
    white-space: nowrap;
}

.coupon-message {
    font-size: 0.9rem;
    padding: var(--spacing-xs);
    border-radius: 4px;
    margin-top: var(--spacing-xs);
    display: none;
}

.coupon-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.coupon-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.coupon-applied {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: #d4edda;
    color: #155724;
    padding: var(--spacing-sm);
    border-radius: 4px;
    margin-top: var(--spacing-sm);
    font-size: 0.9rem;
}

.coupon-applied i {
    color: #28a745;
}

.remove-coupon-btn {
    margin-left: auto;
    background: transparent;
    border: none;
    color: #721c24;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.remove-coupon-btn:hover {
    background: #f8d7da;
}

/* Shipping Dialog */
.shipping-dialog {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10002;
    overflow-y: auto;
}

.shipping-dialog.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
}

.shipping-dialog-content {
    background: var(--white);
    border-radius: 8px;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    margin-top: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.shipping-dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--secondary-color);
    position: sticky;
    top: 0;
    background: var(--white);
    z-index: 10;
}

.shipping-dialog-header h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.shipping-dialog-header h2 i {
    color: var(--accent-color);
}

.shipping-close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

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

.shipping-dialog-body {
    padding: var(--spacing-lg);
}

.shipping-dialog-body .form-group {
    margin-bottom: var(--spacing-md);
}

.shipping-dialog-body label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
    color: var(--text-color);
    font-size: 0.95rem;
}

.shipping-dialog-body input,
.shipping-dialog-body select,
.shipping-dialog-body textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--secondary-color);
    border-radius: 4px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.shipping-dialog-body input:focus,
.shipping-dialog-body select:focus,
.shipping-dialog-body textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.shipping-dialog-body textarea {
    resize: vertical;
    min-height: 80px;
}

.shipping-note {
    background: var(--secondary-color);
    padding: var(--spacing-md);
    border-radius: 4px;
    margin: var(--spacing-md) 0;
    display: flex;
    gap: var(--spacing-sm);
}

.shipping-note i {
    color: var(--primary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.shipping-note p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

.shipping-dialog-actions {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--secondary-color);
}

.shipping-dialog-actions .btn {
    flex: 1;
    padding: 12px 24px;
}

.cart-actions {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.cart-actions .btn {
    flex: 1;
    padding: 12px 24px;
    font-size: 1rem;
}

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

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

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

.checkout-btn:hover {
    background: #1a1a1a;
}

/* Upselling Section */
.cart-upselling {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 2px solid var(--secondary-color);
}

.cart-upselling h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.upsell-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: var(--spacing-md);
}

.upsell-product {
    background: var(--white);
    border: 1px solid var(--secondary-color);
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upsell-product:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.upsell-product-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.upsell-product-info {
    padding: var(--spacing-sm);
}

.upsell-product-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.upsell-product-price {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-xs);
}

.upsell-add-btn {
    width: 100%;
    padding: 6px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upsell-add-btn:hover {
    background: #1a1a1a;
}

/* DIY AR Design Styles */
.diy-design-container {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.diy-controls-panel {
    background: var(--white);
    border-radius: 8px;
    padding: var(--spacing-lg);
    height: fit-content;
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.camera-controls {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--secondary-color);
}

.camera-controls .btn {
    width: 100%;
    justify-content: center;
}

.ai-status {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    border-radius: 4px;
    margin-bottom: var(--spacing-md);
    font-size: 0.9rem;
}

.ai-status i {
    font-size: 1.2rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.furniture-panel h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.furniture-categories {
    display: flex;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
}

.furniture-category-btn {
    padding: 6px 12px;
    background: var(--secondary-color);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    color: var(--text-color);
}

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

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

.furniture-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
    max-height: 400px;
    overflow-y: auto;
}

.furniture-card {
    background: var(--white);
    border: 2px solid var(--secondary-color);
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.furniture-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.furniture-card.selected {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2);
}

.furniture-card img {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

.furniture-card-info {
    padding: var(--spacing-xs);
}

.furniture-card-info h4 {
    font-size: 0.85rem;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.furniture-card-info p {
    font-size: 0.75rem;
    color: var(--text-light);
}

.ar-controls {
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--secondary-color);
}

.ar-controls h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.control-group {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.control-group label {
    font-size: 0.9rem;
    color: var(--text-color);
    min-width: 70px;
}

.control-group input[type="range"] {
    flex: 1;
    height: 6px;
    background: var(--secondary-color);
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
}

.control-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
}

.control-group input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.control-group span {
    font-size: 0.85rem;
    color: var(--text-light);
    min-width: 50px;
    text-align: right;
}

.ar-controls .btn {
    width: 100%;
    margin-top: var(--spacing-sm);
}

.ar-viewport-container {
    background: var(--white);
    border-radius: 8px;
    padding: var(--spacing-md);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.ar-viewport {
    position: relative;
    width: 100%;
    height: 600px;
    background: #000;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: var(--spacing-md);
}

#cameraVideo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#arCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    cursor: crosshair;
}

.ar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.ar-instructions {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: 8px;
    max-width: 500px;
    text-align: center;
}

.ar-instructions h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    font-size: 1.5rem;
}

.ar-instructions h3 i {
    color: var(--accent-color);
    margin-right: var(--spacing-xs);
}

.ar-instructions p {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.ar-instructions ul {
    list-style: none;
    text-align: left;
    margin-top: var(--spacing-md);
}

.ar-instructions li {
    padding: var(--spacing-xs) 0;
    color: var(--text-color);
}

.ar-instructions li i {
    color: var(--accent-color);
    margin-right: var(--spacing-xs);
}

.ar-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--text-light);
    z-index: 1;
}

.ar-info-panel {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    background: var(--secondary-color);
    padding: var(--spacing-md);
    border-radius: 4px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 0.9rem;
    color: var(--text-color);
}

.info-item i {
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-lg);
}

@media (max-width: 768px) {
    .ar-modal-content {
        max-width: 100%;
        margin: 0;
        border-radius: 0;
        max-height: 100vh;
    }

    .diy-design-container {
        grid-template-columns: 1fr;
    }

    .diy-controls-panel {
        position: static;
        max-height: none;
    }

    .ar-viewport {
        height: 400px;
    }

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

    .ar-info-panel {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .camera-controls {
        flex-direction: row;
    }

    .camera-controls .btn {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .cart-modal-content {
        max-width: 100%;
        margin: 0;
        border-radius: 0;
        max-height: 100vh;
    }

    .cart-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .cart-item-image {
        width: 100%;
        height: 200px;
    }

    .cart-item-total {
        text-align: left;
        width: 100%;
    }

    .cart-actions {
        flex-direction: column;
    }

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

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent-color);
}

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

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

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    padding: var(--spacing-xl) var(--spacing-md);
    background: var(--secondary-color);
}

.hero-content {
    padding: var(--spacing-md);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
    max-width: 500px;
}

.hero-image {
    position: relative;
    height: 100%;
    min-height: 500px;
    overflow: hidden;
    border-radius: 4px;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e8e8e8 0%, #d0d0d0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.2rem;
    border-radius: 4px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 2px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

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

.btn-primary:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

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

/* Section Styles */
section {
    padding: var(--spacing-xl) 0;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-md);
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.text-center {
    text-align: center;
    margin-top: var(--spacing-md);
}

/* About Preview */
.about-preview {
    background: var(--white);
    text-align: center;
}

/* Services Overview */
.services-overview {
    background: var(--secondary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.service-card {
    background: var(--white);
    padding: var(--spacing-sm);
    text-align: center;
    border-radius: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 2rem;
    margin-bottom: var(--spacing-xs);
}

.service-card h3 {
    font-size: 1rem;
    margin-bottom: var(--spacing-xs);
    color: var(--primary-color);
    font-weight: 600;
    line-height: 1.3;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.5;
    font-size: 0.9rem;
}

/* Portfolio Preview */
.portfolio-preview {
    background: var(--white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.portfolio-item {
    background: var(--white);
    overflow: hidden;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolio-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.portfolio-image .image-placeholder {
    height: 100%;
    border-radius: 0;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.portfolio-info {
    padding: var(--spacing-md);
    background: var(--white);
}

.portfolio-info h3 {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-xs);
    color: var(--primary-color);
    font-weight: 600;
}

.portfolio-info p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Testimonials */
.testimonials {
    background: var(--secondary-color);
    text-align: center;
}

.testimonial-item {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-md);
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
}

/* CTA Section */
.cta-section {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: var(--spacing-xl) 0;
}

.cta-section h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--spacing-sm);
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
    opacity: 0.9;
}

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

.cta-section .btn-primary:hover {
    background: var(--accent-color);
    color: var(--white);
}

/* AR Design Section (shop page, above footer) */
.ar-design-section {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.ar-design-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
}

.ar-design-content h2 i {
    margin-right: 8px;
    color: var(--accent-color);
}

.ar-design-content p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.ar-design-content .btn {
    margin-top: var(--spacing-xs);
}

/* Partners & Collaborators Section */
.partners-section {
    background: var(--primary-color);
    color: var(--white);
    padding: calc(var(--spacing-xl) * 0.6) 0;
}

.partners-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--white);
    text-align: center;
    margin-bottom: calc(var(--spacing-lg) * 0.6);
    font-weight: 600;
}

.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: calc(var(--spacing-xl) * 0.6);
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.partner-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--spacing-md) * 0.6);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
    opacity: 0.8;
    filter: brightness(1.2);
}

.partner-logo:hover {
    opacity: 1;
    filter: brightness(1.5);
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.partner-logo img {
    max-width: 150px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: var(--spacing-xs);
}

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

.footer-section ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.social-links {
    margin-top: var(--spacing-sm);
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 4px;
}

.social-links a:hover {
    color: var(--accent-color);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.social-links a i {
    font-size: 1.2rem;
}

/* Contact page specific social links */
.contact-info .social-links a {
    color: var(--text-dark);
    padding: 10px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: var(--white);
    transition: all 0.3s ease;
}

.contact-info .social-links a:hover {
    color: var(--white);
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-info .social-links {
    flex-direction: column;
    gap: var(--spacing-xs);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Page Specific Styles */
.page-header {
    margin-top: 80px;
    padding: var(--spacing-xl) 0;
    background: var(--secondary-color);
    text-align: center;
}

.page-header h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.page-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* Careers Page Header - matches other pages */
.careers-header {
    /* Uses default .page-header styling - no special background */
}

.content-section {
    padding: var(--spacing-xl) 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .logo-section {
        gap: var(--spacing-sm);
    }

    .shop-button {
        padding: 6px 16px;
        font-size: 0.85rem;
    }

    .cart-icon {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }

    .cart-count {
        width: 18px;
        height: 18px;
        font-size: 0.65rem;
        top: -3px;
        right: -3px;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        padding: var(--spacing-md);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        gap: var(--spacing-sm);
    }

    .nav-menu.active {
        left: 0;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: var(--spacing-md);
        min-height: auto;
    }

    .hero-image {
        min-height: 400px;
        order: -1;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-xs);
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: var(--spacing-xs);
    }

    .service-icon {
        font-size: 1.5rem;
    }

    .service-card h3 {
        font-size: 0.9rem;
    }

    .service-card p {
        font-size: 0.85rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    section {
        padding: var(--spacing-lg) 0;
    }
}

/* About Page Styles */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.about-text h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
}

.about-text p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.about-image {
    height: 400px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

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

.value-item {
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: 4px;
}

.value-item h3 {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
    font-weight: 600;
}

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

.approach-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.approach-item {
    padding: var(--spacing-md);
}

.approach-item h3 {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
    font-weight: 600;
}

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

/* Services Page Styles */
.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    margin-bottom: var(--spacing-xl);
}

.service-detail.reverse {
    direction: rtl;
}

.service-detail.reverse > * {
    direction: ltr;
}

.service-detail-image {
    height: 400px;
    overflow: hidden;
}

.service-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-detail-image--automation img {
    object-position: left center;
}

.service-detail-content h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
}

.service-detail-content p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    padding: var(--spacing-xs) 0;
    padding-left: var(--spacing-md);
    position: relative;
    color: var(--text-light);
    line-height: 1.6;
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.process-step {
    text-align: center;
    padding: var(--spacing-md);
}

.step-number {
    font-size: 3rem;
    font-weight: 300;
    color: var(--accent-color);
    margin-bottom: var(--spacing-sm);
    font-family: var(--font-display);
}

.process-step h3 {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-xs);
    color: var(--primary-color);
    font-weight: 600;
}

.process-step p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Portfolio Page Styles */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    cursor: pointer;
    border-radius: 2px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
}

.portfolio-grid-large {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-md);
}

.portfolio-item-large {
    background: var(--white);
    overflow: hidden;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.portfolio-item-large:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.portfolio-item-large .portfolio-image {
    height: 350px;
}

.portfolio-image-gallery {
    position: relative;
    height: 350px;
    overflow: hidden;
    border-radius: 4px 4px 0 0;
}

.gallery-main {
    position: relative;
    width: 100%;
    height: 100%;
}

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

.gallery-image.active {
    opacity: 1;
}

.gallery-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 var(--spacing-sm);
    z-index: 2;
}

.gallery-prev,
.gallery-next {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.gallery-prev:hover,
.gallery-next:hover {
    background: var(--white);
    transform: scale(1.1);
}

.gallery-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--white);
    width: 25px;
    border-radius: 5px;
}

.portfolio-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--secondary-color);
    color: var(--text-light);
    font-size: 0.85rem;
    border-radius: 2px;
    margin-top: var(--spacing-xs);
}

.portfolio-item-large.hidden {
    display: none;
}

/* Contact Page Styles */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--spacing-lg);
}

.contact-form-container h2,
.contact-info-container h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

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

.form-group label {
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 2px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

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

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

.contact-info {
    margin-bottom: var(--spacing-lg);
}

.info-item {
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid #eee;
}

.info-item:last-of-type {
    border-bottom: none;
}

.info-item h3 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xs);
    color: var(--primary-color);
    font-weight: 600;
}

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

.business-hours {
    background: var(--secondary-color);
    padding: var(--spacing-md);
    border-radius: 4px;
}

.business-hours h3 {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
    font-weight: 600;
}

.business-hours p {
    color: var(--text-light);
    margin-bottom: var(--spacing-xs);
    line-height: 1.8;
}

@media (max-width: 768px) {
    .about-content,
    .service-detail,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .service-detail.reverse {
        direction: ltr;
    }

    .portfolio-grid-large {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .gallery-controls {
        padding: 0 var(--spacing-xs);
    }

    .gallery-prev,
    .gallery-next {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }

    .gallery-indicators {
        bottom: 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

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

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .portfolio-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-btn {
        width: 100%;
    }
}

/* Shop Page Styles */
.shop-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-sm);
    background: var(--secondary-color);
    border-radius: 4px;
    align-items: end;
}

.filter-section {
    min-width: 0;
}

.filter-section h3 {
    font-size: 0.95rem;
    margin-bottom: var(--spacing-xs);
    color: var(--primary-color);
    font-weight: 600;
}

.shop-categories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 6px;
}

.price-filter {
    width: 100%;
}

.price-select {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid #ddd;
    border-radius: 2px;
    font-family: var(--font-primary);
    font-size: 0.85rem;
    background: var(--white);
    cursor: pointer;
}

.category-btn {
    padding: 6px 12px;
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    cursor: pointer;
    border-radius: 2px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.category-btn:hover,
.category-btn.active {
    background: var(--primary-color);
    color: var(--white);
}

.products-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: var(--spacing-md);
    width: 100%;
    margin-top: var(--spacing-md);
}

.product-item {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.product-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    cursor: pointer;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-image .image-placeholder {
    height: 100%;
    border-radius: 0;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.btn-icon {
    background: var(--white);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.btn-icon:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: scale(1.1);
}

.watch-btn.active i {
    color: #e74c3c;
}

.product-info {
    padding: var(--spacing-md);
}

.product-info h3 {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-xs);
    color: var(--primary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.stock-level {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-light);
}

.product-description {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: var(--spacing-xs);
    min-height: 40px;
}

.product-category {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: var(--spacing-xs);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-price {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: var(--spacing-xs) 0 var(--spacing-sm);
}

.product-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-top: var(--spacing-xs);
}

.product-actions .btn-sm,
.product-actions .btn-ar,
.product-actions .order-btn {
    padding: 5px 10px;
    font-size: 0.68rem;
    min-width: 0;
}

.product-actions .btn-ar {
    grid-column: span 1;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
    flex: 1;
    min-width: 120px;
}

.btn-ar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    border: none;
    margin-top: 0;
}

.btn-ar:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-ar i {
    margin-right: 4px;
}

.add-cart-btn {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

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

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

.buy-btn:hover {
    background: #1a1a1a;
}

.product-item.hidden {
    display: none;
}

/* Shop: items per page, in-stock filter, results info, pagination */
.shop-filters {
    flex-wrap: wrap;
    align-items: center;
}

.filter-instock {
    margin-left: auto;
}

.filter-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 500;
    color: var(--primary-color);
}

.filter-checkbox-label input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.shop-items-per-page {
    display: flex;
    align-items: center;
    gap: 8px;
}

.shop-items-per-page label {
    font-weight: 500;
    color: var(--primary-color);
}

.items-per-page-select {
    min-width: 70px;
}

.shop-results-info {
    margin-top: var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
    font-size: 0.95rem;
    color: var(--text-light);
}

.shop-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md) 0;
}

.pagination-btn {
    padding: 10px 16px;
    border: 1px solid var(--secondary-color);
    background: var(--white);
    color: var(--primary-color);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

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

.pagination-pages {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pagination-page {
    min-width: 40px;
    padding: 8px 12px;
    border: 1px solid var(--secondary-color);
    background: var(--white);
    color: var(--primary-color);
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination-page:hover {
    background: var(--secondary-color);
}

.pagination-page.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.pagination-ellipsis {
    padding: 0 4px;
    color: var(--text-light);
}

.btn-outline,
.order-btn {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

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

.order-btn.order-btn-disabled,
.order-btn[aria-disabled="true"] {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.order-btn.order-btn-disabled:hover,
.order-btn[aria-disabled="true"]:hover {
    background: transparent;
    color: var(--primary-color);
}

.view-gallery-btn {
    margin: 0;
}

.custom-orders {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.custom-orders-content h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
}

.custom-orders-content p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.custom-orders-image {
    height: 400px;
}

/* Design Page Styles */
.design-philosophy {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.design-text h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
}

.design-text p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.design-image {
    height: 400px;
    overflow: hidden;
}

.design-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.design-process {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.process-item {
    text-align: center;
    padding: var(--spacing-md);
    background: var(--white);
    border-radius: 4px;
}

.process-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: var(--spacing-sm);
}

.process-item h3 {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-xs);
    color: var(--primary-color);
    font-weight: 600;
}

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

.design-styles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.style-card {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.style-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.style-image {
    width: 100%;
    height: 250px;
}

.style-image .image-placeholder {
    height: 100%;
    border-radius: 0;
}

.style-image .style-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.style-info {
    padding: var(--spacing-md);
    text-align: center;
}

.style-info h3 {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-xs);
    color: var(--primary-color);
    font-weight: 600;
}

.style-info p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.design-services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.service-list-item {
    display: flex;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: var(--white);
    border-radius: 4px;
}

.service-list-item i {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-top: 4px;
}

.service-list-item h3 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xs);
    color: var(--primary-color);
    font-weight: 600;
}

.service-list-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Careers Page Styles */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.benefit-item {
    text-align: center;
    padding: var(--spacing-md);
    background: var(--white);
    border-radius: 4px;
}

.benefit-item i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: var(--spacing-sm);
}

.benefit-item h3 {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-xs);
    color: var(--primary-color);
    font-weight: 600;
}

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

.jobs-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.job-item {
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: 4px;
    border-left: 4px solid var(--accent-color);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.job-header h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    font-weight: 600;
}

.job-type {
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 2px;
    font-size: 0.85rem;
    font-weight: 500;
}

.job-details {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    flex-wrap: wrap;
}

.job-details p {
    color: var(--text-light);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.job-details i {
    color: var(--accent-color);
}

.job-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.application-form-container {
    max-width: 800px;
    margin: 0 auto;
}

.application-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.application-form .form-group input[type="file"] {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 2px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
}

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .design-philosophy,
    .custom-orders,
    .form-row {
        grid-template-columns: 1fr;
    }

    .partners-logos {
        gap: calc(var(--spacing-md) * 0.6);
        padding: 0 var(--spacing-sm);
    }

    .partner-logo {
        padding: calc(var(--spacing-sm) * 0.6);
    }

    .partner-logo img {
        max-width: 120px;
        max-height: 60px;
    }
}

    .products-grid {
        grid-template-columns: 1fr;
    }

    .shop-filters {
        flex-direction: column;
    }

    .shop-categories {
        flex-direction: column;
        align-items: stretch;
    }

    .category-btn {
        width: 100%;
    }

    .product-actions {
        flex-direction: column;
    }

    .btn-sm {
        width: 100%;
    }

    .btn-ar {
        width: 100%;
        margin-top: var(--spacing-xs);
    }

    .view-ar-btn {
        width: 100%;
        margin-top: var(--spacing-xs);
    }

    .coupon-input-group {
        flex-direction: column;
    }

    .apply-coupon-btn {
        width: 100%;
    }

    .shipping-dialog-content {
        max-width: 100%;
        margin: 0;
        border-radius: 0;
        max-height: 100vh;
    }

    .shipping-dialog-actions {
        flex-direction: column;
    }

    .product-lightbox-content {
        max-width: 100%;
        margin: 0;
        border-radius: 0;
        max-height: 100vh;
    }

    .product-lightbox-main {
        max-height: 45vh;
    }

    .product-lightbox-thumbs {
        grid-template-columns: repeat(4, 1fr);
    }

    .product-lightbox-video-wrap {
        max-height: 200px;
    }

    .job-header {
        flex-direction: column;
        align-items: flex-start;
    }
}
