/*
Theme Name: Liya Developer
Theme URI: https://liyasandalye.com
Author: Liya Sandalye
Author URI: https://liyasandalye.com
Description: Liya Sandalye kurumsal web sitesi teması - Mobilya ve sandalye üreticisi için özel tasarlanmış WordPress teması.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: liya-developer
Tags: custom-logo, custom-menu, featured-images, theme-options, translation-ready
*/

:root {
    --primary-dark: #BD3A26;
    --primary-red: #b8292f;
    --text-dark: #1a1a1a;
    --text-medium: #4a4a4a;
    --text-light: #888;
    --white: #ffffff;
    --bg-cream: #FAF1EA;
    --bg-light: #F3E6D6;
    --footer-bottom: #C95C48;
}

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

html {
    scroll-behavior: smooth;
}

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

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

ul {
    list-style: none;
}

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

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

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-light);
}

.header-top {
    background: var(--primary-dark);
    padding: 8px 50px;
    text-align: left;
    min-height: 32px;
}

.header-top a {
    color: var(--white);
    font-size: 12px;
    letter-spacing: 0.5px;
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 50px;
    background: var(--bg-light);
    position: relative;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links li a {
    color: var(--text-dark);
    font-family: 'Neue Montreal', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    transition: opacity 0.3s;
    text-transform: uppercase;
}

.nav-links li a:hover {
    opacity: 0.7;
}

/* Dropdown Menu Styles */
.nav-links > li {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-links > li > a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-links > li.menu-item-has-children > a::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    transition: transform 0.3s ease;
    margin-left: 2px;
}

.nav-links > li.menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}

.nav-links > li > ul.sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    background: var(--white);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    margin-top: 15px;
}

.nav-links > li > ul.sub-menu::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    right: 0;
    height: 15px;
}

.nav-links > li > ul.sub-menu::after {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: var(--white);
    border-radius: 2px;
    transform: translateX(-50%) rotate(45deg);
    box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.04);
}

.nav-links > li:hover > ul.sub-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 10px;
}

.nav-links > li > ul.sub-menu li {
    margin: 0;
}

.nav-links > li > ul.sub-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-dark);
    text-transform: none;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}

.nav-links > li > ul.sub-menu li a:hover {
    background: var(--bg-cream);
    color: var(--primary-dark);
    opacity: 1;
    padding-left: 25px;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 42px;
    font-weight: 500;
    color: var(--text-dark);
    letter-spacing: 8px;
    margin: 0 50px;
}

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

.nav-icons {
    position: absolute;
    right: 50px;
    display: flex;
    gap: 15px;
}

.nav-icons a {
    color: var(--text-dark);
    transition: opacity 0.3s;
}

.nav-icons a:hover {
    opacity: 0.7;
}

.nav-icons .user-icon.logged-in {
    color: var(--primary-dark);
}

.nav-icons .user-icon.logged-in svg {
    fill: var(--primary-dark);
    fill-opacity: 0.15;
}

.nav-icons .mimar-panel-link {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-icons .mimar-panel-text {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-overlay-content {
    width: 100%;
    max-width: 600px;
    padding: 40px;
    position: relative;
    transform: translateY(-30px);
    transition: transform 0.3s ease;
}

.search-overlay.active .search-overlay-content {
    transform: translateY(0);
}

.search-close {
    position: absolute;
    top: -60px;
    right: 0;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 10px;
    opacity: 0.7;
    transition: opacity 0.3s, transform 0.3s;
}

.search-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.search-form-wrapper h3 {
    color: white;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 30px;
}

.product-search-form .search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.product-search-form input[type="search"] {
    width: 100%;
    padding: 18px 60px 18px 25px;
    font-size: 1.1rem;
    border: none;
    border-radius: 50px;
    background: white;
    color: var(--text-dark);
    outline: none;
    transition: box-shadow 0.3s ease;
}

.product-search-form input[type="search"]:focus {
    box-shadow: 0 0 0 4px rgba(189, 58, 38, 0.3);
}

.product-search-form input[type="search"]::placeholder {
    color: var(--text-light);
}

.search-submit-btn {
    position: absolute;
    right: 8px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: var(--primary-dark);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.3s ease;
}

.search-submit-btn:hover {
    background: #8B2A1C;
    transform: scale(1.05);
}

.search-suggestions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
}

.search-suggestions span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.search-suggestions a {
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.85rem;
    transition: background 0.3s ease;
}

.search-suggestions a:hover {
    background: var(--primary-dark);
}

@media (max-width: 768px) {
    .search-overlay-content {
        padding: 20px;
    }

    .search-close {
        top: -50px;
        right: 10px;
    }

    .search-form-wrapper h3 {
        font-size: 1.5rem;
    }

    .product-search-form input[type="search"] {
        padding: 15px 55px 15px 20px;
        font-size: 1rem;
    }

    .search-submit-btn {
        width: 40px;
        height: 40px;
    }

    .search-suggestions {
        flex-direction: column;
    }
}

.search-results {
    padding: 60px 0 80px;
    background: var(--bg-cream);
    min-height: calc(100vh - 200px);
}

.search-results .page-header {
    text-align: center;
    margin-bottom: 40px;
}

.search-results .page-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 500;
    margin: 0 0 10px 0;
}

.search-results .search-query {
    color: var(--text-light);
    font-size: 1.1rem;
}

.search-results-count {
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-medium);
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    background: var(--white);
    border-radius: 16px;
    max-width: 500px;
    margin: 0 auto;
}

.no-results h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.no-results p {
    color: var(--text-medium);
    margin-bottom: 10px;
    line-height: 1.6;
}

.no-results-actions {
    margin-top: 25px;
}

.no-results .search-form {
    display: flex;
    gap: 10px;
    margin-top: 25px;
    justify-content: center;
}

.no-results .search-form input {
    padding: 12px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    width: 250px;
}

.no-results .search-form input:focus {
    outline: none;
    border-color: var(--primary-dark);
}

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

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--text-dark);
    transition: all 0.3s;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    max-width: 85%;
    height: 100%;
    background: var(--white);
    z-index: 999;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.mobile-menu-logo img {
    max-height: 40px;
    width: auto;
}

.mobile-menu-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
}

.mobile-menu-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    color: var(--text-dark);
    transition: color 0.3s;
}

.mobile-menu-close:hover {
    color: var(--primary-dark);
}

.mobile-menu-nav {
    flex: 1;
    overflow-y: auto;
    padding: 20px 0;
}

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

.mobile-nav-list li {
    margin: 0;
}

.mobile-nav-list li a {
    display: block;
    padding: 12px 25px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.mobile-nav-list li a:hover,
.mobile-nav-list li.current-menu-item a {
    background: var(--bg-cream);
    color: var(--primary-dark);
    border-left-color: var(--primary-dark);
}

.mobile-nav-list li ul.sub-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    background: var(--bg-cream);
    display: none;
}

.mobile-nav-list li.menu-item-has-children.active > ul.sub-menu {
    display: block;
}

.mobile-nav-list li ul.sub-menu li a {
    padding-left: 40px;
    font-size: 13px;
    font-weight: 400;
}

.mobile-nav-list > li.menu-item-has-children > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-nav-list > li.menu-item-has-children > a::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid currentColor;
    transition: transform 0.3s ease;
    margin-right: 10px;
}

.mobile-nav-list > li.menu-item-has-children.active > a::after {
    transform: rotate(180deg);
}

.mobile-menu-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    background: var(--bg-cream);
}

.mobile-menu-btn-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: var(--primary-dark);
    color: var(--white);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s;
    margin-bottom: 10px;
}

.mobile-menu-btn-link:hover {
    background: #a33220;
}

.mobile-menu-btn-link.logout {
    background: transparent;
    color: var(--text-dark);
    border: 1px solid #ddd;
}

.mobile-menu-btn-link.logout:hover {
    background: #f5f5f5;
}

.mobile-menu-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: var(--white);
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
    color: var(--text-dark);
    transition: all 0.3s;
}

.mobile-menu-phone:hover {
    border-color: var(--primary-dark);
    color: var(--primary-dark);
}

.btn {
    display: inline-block;
    padding: 8px 14px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    text-transform: uppercase;
}

.btn-primary {
    background: var(--primary-dark);
    color: var(--white);
    border: none;
    width: 105px;
    text-align: center;
}

.btn-primary:hover {
    background: #a33220;
}

.btn-outline {
    background: transparent;
    color: var(--text-dark);
    border: 1px solid var(--text-dark);
}

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

.hero {
    position: relative;
    height: 750px;
    overflow: hidden;
}

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

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

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

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

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

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

.hero-dot.active {
    background: var(--white);
}

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

.section-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: 14px;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 10px;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 40px;
}

.featured-products {
    padding: 80px 0;
    background: #F3E6D6;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-item {
    text-align: center;
}

.product-image {
    background: transparent;
    padding: 10px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 800px;
    object-fit: contain;
    transition: transform 0.3s;
}

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

.product-name {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 4px;
    color: var(--text-dark);
    text-transform: uppercase;
}

.product-category {
    font-size: 12px;
    color: var(--text-light);
}

.category-gallery {
    padding: 0 0 80px;
    background: var(--bg-cream);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.gallery-item {
    position: relative;
    height: auto;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.gallery-overlay h3 {
    color: var(--white);
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 5px;
}

.gallery-overlay p {
    color: rgba(255,255,255,0.8);
    font-size: 12px;
    letter-spacing: 1px;
}

.how-we-do {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.how-image {
    height: 500px;
}

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

.how-content {
    background: var(--bg-light);
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.how-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.how-content p {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 30px;
}

.video-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.video-left {
    background: var(--bg-light);
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.video-left h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.video-left p {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 30px;
}

.video-right {
    position: relative;
    min-height: 450px;
}

.video-right iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.features {
    padding: 80px 0;
    background: var(--bg-cream);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

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

.feature-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--primary-dark);
}

.feature-content h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.feature-content p {
    font-size: 13px;
    color: var(--text-medium);
    line-height: 1.6;
}

.interior-products {
    padding: 80px 0;
    background: var(--bg-cream);
}

.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

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

.filter-btn {
    background: none;
    border: none;
    font-size: 13px;
    color: var(--text-light);
    cursor: pointer;
    padding: 5px 0;
    transition: color 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    color: var(--text-dark);
}

.products-grid-full {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 70px 0 0;
}

.footer > .container {
    padding-bottom: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    background: var(--footer-bottom);
    padding: 20px 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
}

.footer-center {
    display: flex;
    align-items: center;
    gap: 25px;
}

.footer-center span {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
}

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

.social-links a {
    color: rgba(255,255,255,0.6);
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--white);
}

.footer-legal {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
}

.products-page {
    padding: 60px 0 80px;
    background: var(--bg-light);
    min-height: calc(100vh - 200px);
}

.products-page .page-header {
    text-align: center;
    margin-bottom: 40px;
}

.archive-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--text-dark);
    margin: 0 0 10px 0;
}

.archive-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    margin: 0;
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: 14px;
    font-style: italic;
    color: var(--text-light);
    display: block;
    margin-bottom: 8px;
}

.page-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 500;
    color: var(--text-dark);
    margin: 0;
}

.products-filter-bar,
.products-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.products-toolbar {
    justify-content: center;
}

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

.sort-dropdown select {
    font-family: 'Neue Montreal', sans-serif;
    font-size: 13px;
    color: var(--text-dark);
    background: transparent;
    border: none;
    cursor: pointer;
}

.products-page-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-bottom: 50px;
}

.product-card {
    text-align: center;
    padding: 20px;
}

.product-card .product-image {
    background: transparent;
    margin-bottom: 15px;
    transition: transform 0.3s;
}

.product-card:hover .product-image {
    transform: translateY(-5px);
}

.product-card .product-image img {
    width: 100%;
    height: 200px;
    object-fit: contain;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.page-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--text-dark);
    border-radius: 50%;
    transition: all 0.3s;
}

.page-link:hover {
    background: rgba(0,0,0,0.05);
}

.page-link.active {
    background: var(--text-dark);
    color: var(--white);
}

.product-detail {
    padding: 60px 0;
    background: var(--bg-cream);
}

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

.product-gallery {
    display: flex;
    gap: 20px;
}

.gallery-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s;
    overflow: hidden;
}

.thumbnail:hover,
.thumbnail.active {
    opacity: 1;
}

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

.gallery-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-main img {
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
}

.product-info {
    padding-top: 20px;
}

.product-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 500;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.product-code {
    font-size: 13px;
    color: var(--primary-dark);
    display: block;
    margin-bottom: 20px;
}

.wishlist-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    font-family: 'Neue Montreal', sans-serif;
    font-size: 13px;
    color: var(--text-dark);
    cursor: pointer;
    margin-left: auto;
    margin-bottom: 20px;
    transition: color 0.3s;
}

.wishlist-btn:hover {
    color: var(--primary-dark);
}

.product-specs {
    width: 100%;
    border-collapse: collapse;
}

.product-specs tr:nth-child(odd) {
    background: var(--bg-light);
}

.product-specs td {
    padding: 12px 15px;
    font-size: 13px;
    color: var(--text-dark);
}

.product-specs td:first-child {
    font-weight: 500;
    width: 40%;
}

.about-hero {
    position: relative;
    height: 500px;
    overflow: hidden;
}

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

.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
}

.about-hero-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 72px;
    font-weight: 500;
    color: var(--white);
    letter-spacing: 15px;
}

.our-story {
    padding: 80px 0;
    background: var(--bg-cream);
}

.story-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.story-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    font-style: italic;
    text-align: center;
    color: var(--text-light);
    margin-bottom: 50px;
}

.story-content {
    max-width: 800px;
    margin: 0 auto;
}

.story-content p {
    font-size: 14px;
    line-height: 1.9;
    color: var(--text-medium);
    margin-bottom: 20px;
    text-align: justify;
}

.about-features {
    padding: 80px 0;
    background: var(--bg-cream);
}

.about-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.about-feature-card {
    text-align: center;
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

a.about-feature-card:hover {
    transform: translateY(-5px);
}

.about-feature-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin-bottom: 20px;
}

.about-feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.about-feature-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.about-feature-subtitle {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.about-feature-card p {
    font-size: 13px;
    color: var(--text-medium);
    line-height: 1.6;
}

@media (max-width: 900px) {
    .about-features-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-hero {
        height: 350px;
    }

    .about-hero-logo {
        font-size: 48px;
        letter-spacing: 10px;
    }
}

@media (max-width: 600px) {
    .about-hero {
        height: 280px;
    }

    .about-hero-logo {
        font-size: 36px;
        letter-spacing: 8px;
    }

    .story-title {
        font-size: 28px;
    }

    .our-story {
        padding: 50px 0;
    }

    .about-features {
        padding: 50px 0;
    }
}

.contact-section {
    padding: 80px 0;
    background: var(--bg-cream);
    min-height: calc(100vh - 200px);
}

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

.contact-info h2,
.contact-form-wrapper h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 25px;
}

.contact-details p {
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.6;
}

.contact-details strong {
    font-weight: 600;
}

.contact-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 25px 0;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: transform 0.3s, opacity 0.3s;
}

.social-icon:hover {
    transform: scale(1.1);
}

.social-icon.facebook { background: #1877f2; }
.social-icon.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-icon.twitter { background: #000000; }
.social-icon.youtube { background: #ff0000; }
.social-icon.linkedin { background: #0a66c2; }
.social-icon.pinterest { background: #e60023; }
.social-icon.whatsapp { background: #25d366; }
.social-icon.email { background: var(--primary-dark); }

.social-icon svg {
    width: 18px;
    height: 18px;
}

.contact-map {
    margin-top: 25px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.contact-map iframe {
    display: block;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 0;
    font-family: 'Neue Montreal', sans-serif;
    font-size: 14px;
    border: none;
    border-bottom: 1px solid #ccc;
    background: transparent;
    color: var(--text-dark);
    transition: border-color 0.3s;
}

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

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

.projects-page {
    padding: 60px 0;
    background: var(--bg-cream);
    min-height: calc(100vh - 200px);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    background: transparent;
}

.project-image {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.project-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.project-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.6);
    color: var(--white);
    padding: 10px 15px;
    text-align: center;
    min-width: 60px;
}

.date-month {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.date-day {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 500;
    line-height: 1;
}

.project-content {
    padding: 0 5px;
}

.project-category {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.project-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 500;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.project-desc {
    font-size: 13px;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 15px;
}

.project-link {
    font-size: 12px;
    color: var(--text-dark);
    font-weight: 500;
}

.blog-detail {
    padding: 40px 0 80px;
    background: var(--bg-cream);
    min-height: calc(100vh - 200px);
}

.blog-featured-image {
    margin-bottom: 25px;
    overflow: hidden;
}

.blog-featured-image img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

.blog-content {
    max-width: 100%;
}

.blog-meta {
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--text-dark);
}

.blog-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.blog-body p {
    font-size: 13px;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 20px;
}

.blog-body blockquote {
    border-left: 2px solid var(--text-dark);
    padding-left: 20px;
    margin: 25px 0;
    font-size: 13px;
    color: var(--text-dark);
    line-height: 1.8;
}

.blog-tags {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
    font-size: 13px;
    color: var(--text-dark);
}

.blog-tags a {
    color: var(--text-dark);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.blog-tags a:hover {
    opacity: 0.7;
}

.blog-share {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
    font-size: 13px;
    color: var(--text-dark);
}

.blog-share a {
    color: var(--text-dark);
    transition: opacity 0.3s ease;
}

.blog-share a:hover {
    opacity: 0.7;
}

.blog-navigation {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 20px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #e5e5e5;
}

.blog-navigation .nav-previous,
.blog-navigation .nav-next {
    flex: 1;
    max-width: 48%;
}

.blog-navigation .nav-next {
    text-align: right;
}

.blog-navigation a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
    height: 100%;
}

.blog-navigation a:hover {
    border-color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.blog-navigation .nav-next a {
    justify-content: flex-end;
}

.blog-navigation .nav-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--bg-cream);
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.blog-navigation a:hover .nav-arrow {
    background: var(--text-dark);
    color: #fff;
}

.blog-navigation .nav-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
    overflow: hidden;
}

.blog-navigation .nav-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.6;
}

.blog-navigation .nav-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 1100px) {
    .navbar {
        padding: 15px 30px;
    }
    .header-top {
        padding: 8px 30px;
    }
    .nav-icons {
        right: 30px;
    }
    .nav-links {
        gap: 20px;
    }
    .logo {
        margin: 0 30px;
        font-size: 36px;
    }
    .logo img {
        max-height: 50px;
    }
}

@media (max-width: 992px) {
    .products-grid,
    .products-grid-full,
    .products-page-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .features-grid {
        gap: 40px;
    }
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-light);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 25px;
        z-index: 99;
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links li a {
        font-size: 16px;
    }
    .mobile-menu-btn {
        display: flex;
        position: absolute;
        right: 20px;
    }
    .nav-icons {
        right: 60px;
    }
    .logo {
        margin: 0 auto;
    }
    .how-we-do,
    .video-section {
        grid-template-columns: 1fr;
    }
    .products-grid,
    .products-grid-full,
    .products-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 600px) {
    .hero {
        height: 350px;
    }
    .section-title {
        font-size: 26px;
    }
    .products-grid,
    .products-grid-full,
    .products-page-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-hero {
        height: 280px;
    }
    .about-hero-logo {
        font-size: 36px;
        letter-spacing: 8px;
    }
}

.model-viewer-section {
    padding: 60px 0;
    background: #F3E6D6;
}

.model-viewer-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.model-viewer-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.model-viewer-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 30px;
}

.model-controls {
    display: flex;
    gap: 10px;
}

.model-control-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: transparent;
    border: 1px solid #1a1a1a;
    font-family: inherit;
    font-size: 12px;
    color: #1a1a1a;
    cursor: pointer;
    transition: all 0.3s;
}

.model-control-btn:hover,
.model-control-btn.active {
    background: #1a1a1a;
    color: #fff;
}

.model-control-btn.active svg {
    stroke: #fff;
}

a.model-download-btn {
    text-decoration: none;
    background: var(--primary-dark);
    color: #fff;
    border-color: var(--primary-dark);
}

a.model-download-btn:hover {
    background: #8B2A1C;
    border-color: #8B2A1C;
}

a.model-download-btn svg {
    stroke: #fff;
}

.model-viewer-wrapper {
    position: relative;
}

model-viewer {
    width: 100%;
    height: 450px;
    background: #FAF1EA;
    border-radius: 8px;
    --poster-color: transparent;
}

model-viewer::part(default-progress-bar) {
    background-color: #1a1a1a;
    height: 3px;
}

@media (max-width: 992px) {
    .model-viewer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .model-viewer-content {
        text-align: center;
    }

    .model-controls {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    model-viewer {
        height: 350px;
    }

    .model-viewer-content h2 {
        font-size: 26px;
    }

    .model-control-btn {
        padding: 8px 12px;
        font-size: 11px;
    }

    .model-viewer-section {
        padding: 40px 0;
    }
}

.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-dark);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background: var(--text-dark);
    transform: translateY(-3px);
}

.whatsapp-float-btn {
    position: fixed;
    bottom: 90px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.whatsapp-float-btn.visible {
    opacity: 1;
    visibility: visible;
}

.whatsapp-float-btn:hover {
    background: #128c7e;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-float-btn svg {
    width: 28px;
    height: 28px;
}

.related-products {
    padding: 60px 0;
    background: var(--bg-cream);
}

.related-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 500;
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 40px;
}

.related-products-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.related-nav {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--text-dark);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    flex-shrink: 0;
}

.related-nav:hover {
    background: var(--primary-dark);
}

.related-products-grid {
    display: flex;
    gap: 20px;
    flex: 1;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 0;
}

.related-products-grid::-webkit-scrollbar {
    display: none;
}

.related-products-grid .product-card {
    flex: 0 0 calc(25% - 15px);
    min-width: 250px;
}

@media (max-width: 992px) {
    .related-products-grid .product-card {
        flex: 0 0 calc(33.333% - 14px);
        min-width: 220px;
    }

    .related-nav {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .related-nav {
        display: none;
    }

    .related-products-wrapper {
        display: block;
    }

    .related-products-grid {
        gap: 15px;
    }

    .related-products-grid .product-card {
        flex: 0 0 calc(50% - 8px);
        min-width: 150px;
    }

    .scroll-top-btn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .whatsapp-float-btn {
        bottom: 75px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .whatsapp-float-btn svg {
        width: 24px;
        height: 24px;
    }
}

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

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--primary-dark);
    border: none;
    color: var(--white);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.slider-btn:hover {
    background: #a33220;
}

.slider-btn.prev {
    left: 0;
}

.slider-btn.next {
    right: 0;
}

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

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: background 0.3s;
}

.slider-dots .dot:hover {
    background: rgba(255,255,255,0.8);
}

.slider-dots .dot.active {
    background: var(--white);
}

.products-carousel {
    display: flex;
    align-items: center;
    gap: 40px;
}

.carousel-btn {
    background: none;
    border: 1px solid #ddd;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    flex-shrink: 0;
    color: var(--text-medium);
}

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

.products-cta {
    text-align: center;
    margin-top: 50px;
}

@media (max-width: 768px) {
    .products-carousel {
        gap: 0;
    }

    .carousel-btn {
        display: none;
    }

    .product-image img {
        width: 100%;
        height: auto;
        max-height: 450px;
    }

    .blog-navigation {
        flex-direction: column;
        gap: 15px;
    }

    .blog-navigation .nav-previous,
    .blog-navigation .nav-next {
        max-width: 100%;
    }

    .blog-navigation .nav-next {
        text-align: left;
    }

    .blog-navigation .nav-next a {
        justify-content: flex-start;
        flex-direction: row-reverse;
    }

    .blog-navigation a {
        padding: 15px;
    }

    .blog-navigation .nav-arrow {
        width: 40px;
        height: 40px;
    }

    .blog-navigation .nav-title {
        font-size: 14px;
    }
}

.login-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-cream);
    padding: 40px 20px;
}

.login-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.login-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.login-visual {
    position: relative;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #8B2A1C 100%);
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.login-visual-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="3" fill="rgba(255,255,255,0.08)"/><circle cx="40" cy="70" r="2.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="80" r="2" fill="rgba(255,255,255,0.12)"/><circle cx="10" cy="90" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.5;
}

.login-visual-content {
    position: relative;
    z-index: 1;
    color: var(--white);
}

.login-logo {
    margin-bottom: 40px;
}

.login-logo h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    margin: 0;
}

.login-logo img {
    max-height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
}

.login-visual-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 500;
    margin: 0 0 15px 0;
}

.login-visual-content > p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.7;
    margin-bottom: 40px;
}

.login-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.login-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 1rem;
}

.login-features li:last-child {
    border-bottom: none;
}

.login-features svg {
    flex-shrink: 0;
    opacity: 0.9;
}

.login-form-wrapper {
    padding: 60px 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-form-content {
    width: 100%;
    max-width: 380px;
}

.login-header {
    text-align: center;
    margin-bottom: 35px;
}

.login-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    font-weight: 500;
    color: var(--text-dark);
    margin: 0 0 10px 0;
}

.login-header p {
    color: var(--text-light);
    font-size: 1rem;
    margin: 0;
}

.login-message {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.login-message.error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.login-message.success {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.login-form .form-group {
    margin-bottom: 22px;
}

.login-form label {
    display: block;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.login-form .input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.login-form .input-wrapper svg {
    position: absolute;
    left: 16px;
    color: var(--text-light);
    pointer-events: none;
}

.login-form .input-wrapper input {
    width: 100%;
    padding: 14px 16px 14px 50px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f9fafb;
}

.login-form .input-wrapper input:focus {
    outline: none;
    border-color: var(--primary-dark);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(189, 58, 38, 0.1);
}

.login-form .input-wrapper input::placeholder {
    color: #9ca3af;
}

.password-toggle {
    position: absolute;
    right: 16px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-light);
    padding: 0;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: var(--text-dark);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-medium);
}

.checkbox-wrapper input[type="checkbox"] {
    display: none;
}

.checkbox-wrapper .checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkmark {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

.forgot-password {
    font-size: 0.9rem;
    color: var(--primary-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #8B2A1C;
    text-decoration: underline;
}

.btn-login {
    width: 100%;
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-login svg {
    transition: transform 0.3s ease;
}

.btn-login:hover svg {
    transform: translateX(5px);
}

.login-divider {
    display: flex;
    align-items: center;
    margin: 30px 0;
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

.login-divider span {
    padding: 0 20px;
    color: var(--text-light);
    font-size: 0.9rem;
}

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

.login-footer p {
    color: var(--text-light);
    margin: 0 0 15px 0;
    font-size: 0.95rem;
}

.login-footer .btn-outline {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid var(--primary-dark);
    color: var(--primary-dark);
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

@media (max-width: 992px) {
    .login-grid {
        grid-template-columns: 1fr;
    }

    .login-visual {
        padding: 40px 30px;
    }

    .login-visual-content h2 {
        font-size: 2rem;
    }

    .login-form-wrapper {
        padding: 40px 30px;
    }
}

@media (max-width: 576px) {
    .login-section {
        padding: 20px 15px;
    }

    .login-visual {
        padding: 30px 25px;
    }

    .login-logo h1 {
        font-size: 2rem;
    }

    .login-visual-content h2 {
        font-size: 1.5rem;
    }

    .login-visual-content > p {
        font-size: 0.95rem;
    }

    .login-features li {
        font-size: 0.9rem;
        padding: 12px 0;
    }

    .login-form-wrapper {
        padding: 30px 25px;
    }

    .login-header h2 {
        font-size: 1.8rem;
    }

    .form-options {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}

.header-wishlist {
    position: relative;
}

.wishlist-count {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 18px;
    height: 18px;
    background: var(--primary-dark);
    color: white;
    font-size: 10px;
    font-weight: 600;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
}

.wishlist-btn.active svg {
    fill: var(--primary-dark);
    stroke: var(--primary-dark);
}

.action-btn.wishlist-btn.active {
    background: var(--primary-dark);
    color: white;
}

.action-btn.wishlist-btn.active svg {
    stroke: white;
    fill: white;
}

.product-info .wishlist-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    border: 2px solid var(--text-dark);
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-bottom: 25px;
}

.product-info .wishlist-btn:hover {
    background: var(--text-dark);
    color: white;
}

.product-info .wishlist-btn:hover svg {
    stroke: white;
}

.product-info .wishlist-btn.active {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
}

.product-info .wishlist-btn.active svg {
    stroke: white;
    fill: white;
}

.wishlist-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    max-width: 100%;
    height: 100%;
    background: white;
    z-index: 10001;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.wishlist-sidebar.active {
    right: 0;
}

.wishlist-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.wishlist-overlay.active {
    opacity: 1;
    visibility: visible;
}

.wishlist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
}

.wishlist-header h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 500;
    margin: 0;
}

.wishlist-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    color: var(--text-dark);
    transition: color 0.3s;
}

.wishlist-close:hover {
    color: var(--primary-dark);
}

.wishlist-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px 25px;
}

.wishlist-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.wishlist-item-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-light);
}

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

.wishlist-item-info {
    flex: 1;
    min-width: 0;
}

.wishlist-item-title {
    display: block;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wishlist-item-title:hover {
    color: var(--primary-dark);
}

.wishlist-item-link {
    font-size: 12px;
    color: var(--primary-dark);
    text-decoration: none;
}

.wishlist-item-link:hover {
    text-decoration: underline;
}

.wishlist-item-remove {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text-light);
    transition: color 0.3s;
}

.wishlist-item-remove:hover {
    color: var(--primary-dark);
}

.wishlist-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 40px;
    text-align: center;
    color: var(--text-light);
}

.wishlist-empty svg {
    margin-bottom: 20px;
    opacity: 0.3;
}

.wishlist-empty p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.wishlist-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--text-dark);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10002;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.wishlist-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.wishlist-toast svg {
    color: var(--primary-dark);
}

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

.product-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

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

.action-btn:hover svg {
    stroke: white;
}

@media (max-width: 576px) {
    .wishlist-sidebar {
        width: 100%;
    }

    .wishlist-toast {
        left: 20px;
        right: 20px;
        transform: translateX(0) translateY(100px);
        border-radius: 12px;
    }

    .wishlist-toast.show {
        transform: translateX(0) translateY(0);
    }

    .product-actions {
        opacity: 1;
        transform: translateX(0);
    }
}
