/* Slider link clickable - removed, now .slide can be <a> or <div> */
/* Slider link clickable fix: only for .slide-link-wrapper */
.slide-link-wrapper {
    display: block;
}

.container-full {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Payment Result Messages */
.payment-message {
    max-width: 420px;
    margin: 40px auto;
    padding: 32px 24px;
    border-radius: 12px;
    font-size: 1.15rem;
    box-shadow: 0 2px 16px 0 rgba(0, 0, 0, 0.07);
    text-align: center;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.payment-message.success {
    background: linear-gradient(90deg, #e8f9f1 0%, #d2f7e5 100%);
    color: #1a7f4c;
    border: 1.5px solid #1a7f4c33;
}

.payment-message.error {
    background: linear-gradient(90deg, #fff0f0 0%, #ffeaea 100%);
    color: #c0392b;
    border: 1.5px solid #c0392b33;
}

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

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

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

/* Header Styles */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.top-bar {
    background-color: #f5f5f5;
    padding: 8px 0;
    text-align: center;
    font-size: 14px;
}

.main-nav {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    background-color: #ffffff;
}

.main-nav .container {
    max-width: 100%;
    padding: 0 40px;
}

.nav-layout {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
}

.mobile-menu-button {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

.nav-links a,
.account-links a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    margin-right: 20px;
}

.account-links {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.cart-count {
    background-color: #333;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 11px;
    position: relative;
    top: -8px;
    margin-left: -5px;
}

.logo {
    margin: 0;
    margin-right: 40px;
    flex-shrink: 0;
}

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

.logo h1 {
    font-size: 24px;
    letter-spacing: 2px;
    line-height: 1;
}

.main-menu {
    display: flex;
    justify-content: flex-start;
    list-style: none;
    margin: 0;
    flex-grow: 1;
}

.main-menu>li {
    margin: 0 15px;
    position: relative;
}

.main-menu a {
    text-decoration: none;
    color: #333;
    font-family: 'louize', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    display: block;
    padding: 10px 0;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown:hover .submenu {
    display: block;
}

.dropdown>a::after {
    content: "\25BE";
    /* Unicode for down arrow */
    margin-left: 8px;
    font-size: 12px;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    z-index: 100;
    padding: 10px 0;
    list-style: none;
}

.submenu li {
    margin: 0;
    padding: 0;
}

.submenu a {
    padding: 8px 20px;
    font-weight: normal;
    font-size: 13px;
}

.submenu a:hover {
    background-color: #f8f8f8;
}

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

.hero-slider {
    position: relative;
    width: 100%;
    /* Aspect ratio to match 2000x800 (or Bolland & Branch style ~0.4) */
    padding-bottom: 40%;
    height: 0;
    overflow: hidden;
}

/* Remove fixed heights for media queries to maintain aspect ratio on all devices */
@media (max-width: 992px) {
    /* Optional: can increase height ratio for mobile if needed, but keeping consistent for now */
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    transform: scale(1);
    animation: kenburns 10s infinite;
    text-decoration: none;
    color: inherit;
    pointer-events: none;
    /* Slide content not clickable */
}

/* Slide wrapper for proper positioning */
.slide-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    /* Default: no interaction */
}

.slide-wrapper.active {
    z-index: 5;
    pointer-events: auto;
    /* Only active slide is interactive */
}

/* Link overlay - only for slides with links */
.slide-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: block;
    cursor: pointer;
    text-decoration: none;
    pointer-events: auto;
    /* Clickable when parent allows */
}

/* Make <a> slides clickable */
a.slide {
    display: block;
    pointer-events: auto;
    cursor: pointer;
    z-index: 1;
}

/* Ensure content inside slide doesn't block clicks */
a.slide .slide-overlay,
a.slide .container {
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    animation-play-state: running;
}

.slide-wrapper.active .slide {
    opacity: 1;
    animation-play-state: running;
}

.slide:not(.active) {
    animation-play-state: paused;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

@keyframes kenburns {
    0% {
        transform: scale(1) translate(0, 0);
    }

    50% {
        transform: scale(1.1) translate(-1%, -1%);
    }

    100% {
        transform: scale(1) translate(0, 0);
    }
}

.hero-content {
    text-align: center;
    width: 100%;
}

.hero-content h2 {
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.hero-content h3 {
    font-size: 32px;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    background-color: #333;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    letter-spacing: 1px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #555;
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
    z-index: 10;
}

.slider-controls span {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.slider-controls span:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}

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

.dot.active {
    background-color: white;
}

/* Promotions */
.promotions {
    padding: 60px 0;
}

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

.promo-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
}

.promo-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s;
}

.promo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
}

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

.promo-overlay h4 {
    font-size: 24px;
    margin-bottom: 5px;
}

.promo-overlay p {
    font-size: 18px;
    margin-bottom: 15px;
}

.btn-secondary {
    background-color: transparent;
    color: #333;
    border: 1px solid #333;
    padding: 8px 20px;
    text-decoration: none;
    font-size: 14px;
}

/* Best Sellers */
.best-sellers {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.section-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
}

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

.product-card {
    background-color: white;
    position: relative;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    border-radius: 8px;
    overflow: hidden;
}

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

.product-image-container {
    width: 100%;
    aspect-ratio: 3 / 4;
    background: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-card .product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

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

.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #333;
    color: white;
    padding: 5px 10px;
    font-size: 12px;
    z-index: 1;
    border-radius: 4px;
}

.product-card img {
    width: 100%;
    display: block;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.price {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

.original-price {
    text-decoration: line-through;
    color: #999;
    margin-right: 5px;
}

.add-to-cart {
    background-color: transparent;
    color: #333;
    border: 1px solid #333;
    padding: 10px 20px;
    width: 100%;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.add-to-cart:hover {
    background-color: #333;
    color: white;
}

.btn-view-details {
    background-color: transparent;
    color: #333;
    border: 1px solid #333;
}

.btn-view-details:hover {
    background-color: #333;
    color: white;
}

/* Full Width Banners */
.full-width-banners {
    padding: 30px 0;
}

.banner {
    width: 100%;
    margin-bottom: 30px;
}

.banner a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.banner:last-child {
    margin-bottom: 0;
}

.banner img {
    width: 100%;
    display: block;
}

/* Footer */
footer {
    background-color: #f5f5f5;
    padding: 60px 0 30px;
}

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

.footer-column h4 {
    font-size: 16px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

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

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

.footer-column ul li a {
    text-decoration: none;
    color: #666;
    font-size: 14px;
}

.social-icons {
    margin-bottom: 20px;
}

.social-icons a {
    display: inline-block;
    margin-right: 15px;
    color: #333;
    font-size: 18px;
}

.newsletter input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
}

.newsletter button {
    background-color: #333;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.legal-links a {
    text-decoration: none;
    color: #666;
    font-size: 14px;
    margin-left: 20px;
}

/* Breadcrumb */
.breadcrumb {
    padding: 20px 0;
    background-color: #f9f9f9;
}

.breadcrumb a {
    text-decoration: none;
    color: #666;
    font-size: 14px;
}

.breadcrumb span {
    color: #333;
    font-size: 14px;
}

/* Category Banner */
.category-banner {
    padding: 60px 0;
    text-align: center;
    background-color: #f8f8f8;
}

.category-banner h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.category-banner p {
    font-size: 18px;
    color: #666;
}

/* Filters */
.filters {
    padding: 30px 0;
    border-bottom: 1px solid #eee;
}

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

.filter-group label {
    margin-right: 10px;
    font-size: 14px;
}

.filter-group select {
    padding: 8px 15px;
    border: 1px solid #ddd;
    background-color: white;
}

.filter-btn {
    background-color: transparent;
    border: 1px solid #333;
    padding: 8px 20px;
    cursor: pointer;
    font-size: 14px;
}

/* Products Section */
.products-section {
    padding: 60px 0;
}

.colors {
    margin: 15px 0;
}

.color-option {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 8px;
    cursor: pointer;
    border: 1px solid #ddd;
}

.color-option.white {
    background-color: #fff;
}

.color-option.ivory {
    background-color: #f8f0e0;
}

.color-option.sage {
    background-color: #b7c1a5;
}

.color-option.black {
    background-color: #000;
}

.color-option.active {
    border: 2px solid #333;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.pagination a {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    text-decoration: none;
    color: #333;
    border: 1px solid #ddd;
}

.pagination a.active {
    background-color: #333;
    color: white;
    border-color: #333;
}

/* Product Detail */
.product-detail {
    padding: 60px 0;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 50px;
    align-items: start;
    max-width: 1050px;
    margin: 0 auto;
}

.main-image {
    width: 100%;
    max-width: 450px;
    background: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: crosshair;
    aspect-ratio: 4 / 5;
    /* Dikey oranı bir tık daha yumuşatıldı */
    max-height: 600px;
}

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

/* Trumbowyg text styles */
.trumbowyg-content p {
    margin-bottom: 12px;
}

.trumbowyg-content ul,
.trumbowyg-content ol {
    padding-left: 25px;
    margin-bottom: 15px;
}

.trumbowyg-content li {
    margin-bottom: 6px;
}

.trumbowyg-content br {
    display: block;
    content: "";
    margin-top: 5px;
}


/* Image Navigation Buttons */
.image-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.image-nav-btn:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.image-nav-btn.prev-image {
    left: 15px;
}

.image-nav-btn.next-image {
    right: 15px;
}

.image-nav-btn i {
    color: #333;
    font-size: 16px;
}

/* Image Dots Navigation */
.image-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.8);
    padding: 8px 12px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

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

.image-dot:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: scale(1.2);
}

.image-dot.active {
    background: #333;
    width: 24px;
    border-radius: 5px;
}

/* Zoom Lens */
.zoom-lens {
    position: absolute;
    width: 150px;
    height: 150px;
    border: 3px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    cursor: none;
    display: none;
    pointer-events: none;
    z-index: 100;
    background-repeat: no-repeat;
    background-size: 600px 600px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), inset 0 0 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(0px);
}

.thumbnail-images {
    display: flex;
    gap: 12px;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 10px;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #ccc #f0f0f0;
}

/* Custom scrollbar for webkit browsers */
.thumbnail-images::-webkit-scrollbar {
    height: 8px;
}

.thumbnail-images::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

.thumbnail-images::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
    transition: background 0.3s ease;
}

.thumbnail-images::-webkit-scrollbar-thumb:hover {
    background: #999;
}

.thumbnail-wrapper {
    flex: 0 0 calc(25% - 9px);
    min-width: 100px;
    max-width: 150px;
    height: 100px;
    /* Ensure consistent height for thumbnail wrappers */
    display: flex;
    /* For centering content */
    align-items: center;
    justify-content: center;
    border: 3px solid #e0e0e0;
    border-radius: 6px;
    transition: all 0.3s ease;
    overflow: hidden;
    /* Hide overflow for video */
    position: relative;
    cursor: pointer;
}

.thumbnail-wrapper:hover {
    border-color: #999;
}

.thumbnail-wrapper.active {
    border-color: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

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

.video-thumbnail {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
    /* Placeholder background */
}

.video-thumbnail video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(70%);
    /* Darken video for better icon visibility */
}

.video-play-icon {
    position: absolute;
    color: white;
    font-size: 2em;
    pointer-events: none;
    /* Don't block click on wrapper */
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.image-gallery img {
    width: 100%;
    display: block;
    margin-bottom: 20px;
}

.thumbnail-strip {
    display: flex;
    gap: 10px;
}

.thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
}

.thumb.active {
    border-color: #333;
}

.product-info-detail h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

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

.product-rating .stars {
    display: flex;
    gap: 5px;
    color: #ffc107;
}

.rating-count {
    color: #666;
    font-size: 14px;
}

.rating {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.stars {
    color: #ffc107;
    margin-right: 10px;
}

.rating span {
    color: #666;
    font-size: 14px;
}

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

.product-price h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 5px;
}

.price-note {
    font-size: 13px;
    color: #666;
    margin-bottom: 25px;
}

.product-info-detail .price {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 30px;
}

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

.option-group h4 {
    margin-bottom: 15px;
    font-size: 16px;
}

.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.size-btn {
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 14px;
}

.size-btn.active,
.size-btn:hover {
    background-color: #333;
    color: white;
    border-color: #333;
}

.quantity-selector {
    margin-bottom: 30px;
}

.qty-controls {
    display: flex;
    align-items: center;
}

.qty-btn {
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 18px;
}

.qty-input {
    width: 50px;
    height: 40px;
    text-align: center;
    border: 1px solid #ddd;
    border-left: none;
    border-right: none;
}

.btn-large {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    margin-bottom: 15px;
}

.wishlist-btn {
    background-color: transparent;
    border: none;
    color: #333;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 15px;
}

.wishlist-btn i {
    margin-right: 10px;
}

.product-details {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.product-details h3 {
    margin-bottom: 15px;
}

.product-details ul {
    list-style: disc;
    padding-left: 20px;
    margin: 15px 0;
}

.product-details li {
    margin-bottom: 8px;
}

/* Product Detail Section */
.product-detail-section {
    padding: 60px 0;
}

.product-detail-section .container {
    max-width: 100%;
}

.product-info-detail {
    padding: 0 20px;
}

.product-info-detail h1 {
    font-size: 32px;
    margin-bottom: 15px;
    color: #333;
}

.product-description {
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    color: #666;
    line-height: 1.8;
    overflow-wrap: break-word;
    /* Ensure long words break and wrap */
}

.product-video-section {
    margin: 30px 0;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.product-video-section h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.product-video-section video {
    width: 100%;
    max-width: 600px;
    border-radius: 8px;
    background: #f5f5f5;
}

.product-options {
    margin: 30px 0;
}

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

.option-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.option-group select,
.option-group input:not(.qty-input) {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.action-buttons-container {
    display: flex;
    gap: 15px;
    align-items: center;
    max-width: 450px;
    margin-bottom: 25px;
}

.add-to-cart-btn {
    flex: 1;
    padding: 15px;
    background-color: #333;
    color: white;
    border: none;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.add-to-cart-btn:hover {
    background-color: #555;
    transform: translateY(-2px);
}

.wishlist-btn {
    width: 60px;
    height: 52px;
    background-color: transparent;
    color: #333;
    border: 1px solid #ddd;
    font-size: 18px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wishlist-btn:hover {
    border-color: #333;
    background-color: #f9f9f9;
    color: #d32f2f;
}

.product-details-info {
    margin: 30px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.product-details-info h3 {
    margin-bottom: 15px;
    font-size: 18px;
}

.product-details-info ul {
    list-style: none;
    padding-left: 0;
}

.product-details-info li {
    padding: 8px 0;
    color: #666;
}

.product-details-info li:before {
    content: "✓ ";
    color: #333;
    font-weight: bold;
    margin-right: 8px;
}

.shipping-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.shipping-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
}

.shipping-item i {
    font-size: 24px;
    color: #333;
    flex-shrink: 0;
}

.shipping-item h4 {
    margin: 0 0 5px 0;
    font-size: 14px;
}

.shipping-item p {
    margin: 0;
    font-size: 12px;
    color: #666;
}

.related-products {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.related-products h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 28px;
}

/* Cart Section */
.cart-section {
    padding: 60px 0;
}

.cart-section h1 {
    font-size: 32px;
    margin-bottom: 30px;
}

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

.cart-item {
    display: flex;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.item-image {
    width: 150px;
    margin-right: 20px;
}

.item-image img {
    width: 100%;
    display: block;
}

.item-details {
    flex: 1;
}

.item-details h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.item-details p {
    margin-bottom: 10px;
    color: #666;
}

.item-price {
    text-align: right;
}

.item-price p {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}

.remove-item {
    background-color: transparent;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 14px;
}

.remove-item i {
    margin-right: 5px;
}

.empty-cart {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 8px;
}

.empty-cart p {
    font-size: 18px;
    color: #666;
    margin: 0;
}

.empty-cart a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
}

.empty-cart a:hover {
    text-decoration: underline;
}

.cart-summary {
    background-color: #f9f9f9;
    padding: 30px;
    height: fit-content;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.summary-row.total {
    font-weight: bold;
    font-size: 18px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
    margin-top: 15px;
}

.checkout-btn {
    width: 100%;
    padding: 15px;
    background-color: #333;
    color: white;
    border: none;
    font-size: 16px;
    cursor: pointer;
    margin: 20px 0;
}

.checkout-btn:hover {
    background-color: #555;
}

.promo-code {
    display: flex;
    margin-bottom: 20px;
}

.promo-code input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-right: none;
}

.promo-code button {
    background-color: #333;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
}

.payment-methods {
    text-align: center;
}

.payment-methods p {
    margin-bottom: 15px;
    color: #666;
}

.payment-icons i {
    font-size: 24px;
    margin: 0 5px;
    color: #666;
}

.continue-shopping {
    text-align: center;
    margin-top: 20px;
}

.continue-shopping a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
}

.continue-shopping i {
    margin-right: 10px;
}

/* Checkout Section */
.checkout-section {
    padding: 60px 0;
}

.checkout-section h1 {
    font-size: 32px;
    margin-bottom: 30px;
}

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

.checkout-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.checkout-progress::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #ddd;
    z-index: 1;
}

.progress-step {
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-number {
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-weight: bold;
}

.step-label {
    font-size: 14px;
    color: #666;
}

.progress-step.active .step-number {
    background-color: #333;
    color: white;
}

.progress-step.active .step-label {
    color: #333;
    font-weight: bold;
}

.checkout-details h2 {
    font-size: 20px;
    margin: 30px 0 15px;
}

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

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    font-size: 16px;
}

.form-group label {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #666;
}

.form-group input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.back-link {
    text-decoration: none;
    color: #333;
    display: flex;
    align-items: center;
}

.back-link i {
    margin-right: 10px;
}

.continue-btn {
    background-color: #333;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    cursor: pointer;
}

.order-summary .summary-box {
    background-color: #f9f9f9;
    padding: 30px;
}

.summary-items {
    margin-bottom: 20px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.item-info h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.item-info p {
    font-size: 14px;
    color: #666;
}

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

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

    .product-layout {
        grid-template-columns: 1fr;
    }

    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cart-layout,
    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .shipping-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .promo-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

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

    /* Responsive ürün yazı fontlarını küçült */
    .product-info h3 {
        font-size: 14px;
    }

    .price {
        font-size: 16px;
    }

    .add-to-cart,
    .btn-view-details {
        font-size: 13px;
    }

    /* Product Detail Page - Responsive Fixes */
    /* Product images container - full width on tablet/mobile */
    .product-images {
        gap: 10px;
        width: 100vw !important;
        position: relative !important;
        left: 50% !important;
        right: 50% !important;
        margin-left: -50vw !important;
        margin-right: -50vw !important;
        padding: 0 !important;
    }

    .main-image {
        width: 100%;
        max-height: 500px !important;
    }

    .main-product-media {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
    }

    .thumbnail-images {
        padding: 10px 15px !important;
        margin: 0 !important;
    }

    .thumbnail-wrapper {
        height: 80px !important;
        min-width: 80px !important;
        max-width: 80px !important;
    }

    .thumbnail-wrapper img,
    .thumbnail-wrapper .video-thumbnail video {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .product-info-detail {
        min-height: auto !important;
    }

    .product-info-detail h1 {
        font-size: 22px !important;
        line-height: 1.3 !important;
        margin-bottom: 12px !important;
    }

    .product-description {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }

    .product-description p {
        margin: 0 !important;
    }

    /* Modal image consistent sizing */
    .image-modal-content {
        padding: 0 !important;
    }

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

    /* Modal controls positioning */
    .image-modal-close {
        top: 15px !important;
        right: 15px !important;
        font-size: 35px !important;
        width: 40px !important;
        height: 40px !important;
    }

    .modal-nav-btn {
        width: 45px !important;
        height: 45px !important;
    }

    .modal-nav-btn.modal-prev {
        left: 15px !important;
    }

    .modal-nav-btn.modal-next {
        right: 15px !important;
    }

    .modal-dots {
        bottom: 20px !important;
    }

    .main-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: white;
        padding: 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        border-top: 1px solid #eee;
    }

    .main-menu.active {
        display: flex;
    }

    .main-menu>li {
        margin: 0;
        text-align: left;
        width: 100%;
        border-bottom: 1px solid #f9f9f9;
    }

    .main-menu a {
        padding: 15px 20px;
        display: block;
    }

    .dropdown>a {
        padding: 15px 20px;
        border-bottom: none;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .dropdown>a::after {
        content: "\25BE";
        float: none;
        margin-left: 10px;
    }

    .submenu {
        position: static;
        display: none;
        box-shadow: none;
        background-color: #f8f8f8;
        padding: 0;
        margin: 0;
        width: 100%;
    }

    .submenu li {
        padding: 0;
    }

    .submenu a {
        padding: 12px 20px 12px 40px;
        border-bottom: 1px solid #eee;
    }

    .dropdown:hover .submenu {
        display: none;
    }

    /* Toggle submenu on click for mobile (requires JS) or simplify to always show if active */
    .dropdown.active .submenu {
        display: block;
    }

    .mobile-menu-button {
        display: block;
        margin-right: 15px;
        order: 1;
        /* First element */
    }

    .logo {
        margin: 0 auto 0 0;
        /* Left align: No margin left, Auto margin right */
        flex-grow: 0;
        order: 2;
        /* Second element */
    }

    .account-links {
        order: 3;
        /* Third element */
        margin-left: auto;
        /* Push to right just in case */
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .hero-slider {
        padding-bottom: 56.25%;
        height: 0;
    }

    .slide {
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        background-color: #2c3e50;
    }

    .hero-content h3 {
        font-size: 24px;
    }

    .full-width-banners {
        padding: 20px 0;
    }

    .banner {
        margin-bottom: 20px;
    }

    /* Product Detail - Tablet Size (keep 2 column) */


    .thumbnail-images {
        padding: 0 10px;
    }

    .product-info-detail {
        padding: 0 !important;
    }

    .product-info-detail h1 {
        font-size: 26px;
        margin-bottom: 12px;
    }

    .product-description {
        line-height: 1.7;
    }

    .product-video-section {
        margin: 20px 0;
        padding: 15px 0;
    }

    .product-video-section h3 {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .product-video-section video {
        max-width: 100%;
    }
}

@media (max-width: 576px) {

    /* Global container padding */
    .container {
        padding: 0 30px !important;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Mobile modda ürün yazı fontlarını daha da küçült */
    .product-info h3 {
        font-size: 13px;
    }

    .price {
        font-size: 15px;
    }

    .add-to-cart,
    .btn-view-details {
        font-size: 12px;
    }

    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Remove container padding for product images on mobile */
    .product-detail-section {
        padding: 30px 0;
    }

    .product-detail-section .container {
        padding: 0 30px;
    }

    /* Product images container - full width on mobile */
    .product-images {
        gap: 10px;
        width: 100vw !important;
        position: relative !important;
        left: 50% !important;
        right: 50% !important;
        margin-left: -50vw !important;
        margin-right: -50vw !important;
        padding: 0 !important;
    }

    /* Main product image - optimize for mobile */
    .main-image {
        width: 100% !important;
        border-radius: 0 !important;
        margin: 0 !important;
        max-height: 450px !important;
    }

    .main-product-media {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
    }

    .thumbnail-images {
        padding: 10px 15px !important;
        margin: 0 !important;
    }

    .thumbnail-wrapper {
        height: 70px !important;
        min-width: 70px !important;
        max-width: 70px !important;
        flex: 0 0 70px !important;
    }

    .thumbnail-wrapper img,
    .thumbnail-wrapper .video-thumbnail video {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    /* Product info needs padding back */
    .product-info-detail {
        padding: 0 !important;
    }

    /* Product info typography adjustments */
    .product-info-detail h1 {
        font-size: 20px !important;
        margin-bottom: 10px !important;
        line-height: 1.3 !important;
    }

    .product-price h2 {
        font-size: 24px !important;
        margin-bottom: 8px !important;
    }

    .price-note {
        font-size: 12px !important;
    }

    .product-rating {
        margin-bottom: 12px !important;
    }

    .product-rating .stars {
        font-size: 16px !important;
    }

    .rating-count {
        font-size: 13px !important;
    }

    .product-description {
        margin: 15px 0 !important;
        line-height: 1.6 !important;
        padding: 0 !important;
        font-size: 14px !important;
    }

    .product-description p {
        margin: 0 !important;
        font-size: 14px !important;
    }

    /* Modal image consistent sizing */
    .image-modal-content {
        padding: 0 !important;
    }

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

    /* Modal controls positioning */
    .image-modal-close {
        top: 10px !important;
        right: 10px !important;
        font-size: 32px !important;
        width: 38px !important;
        height: 38px !important;
    }

    .modal-nav-btn {
        width: 40px !important;
        height: 40px !important;
    }

    .modal-nav-btn i {
        font-size: 18px !important;
    }

    .modal-nav-btn.modal-prev {
        left: 10px !important;
    }

    .modal-nav-btn.modal-next {
        right: 10px !important;
    }

    .modal-dots {
        bottom: 15px !important;
    }

    .product-video-section {
        margin: 15px 0;
        padding: 0;
    }

    .product-video-section h3 {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .product-video-section video {
        max-width: 100%;
        max-height: 300px;
    }

    /* Product options - add spacing */
    .product-options {
        margin-top: 20px;
        padding: 0;
    }

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

    .option-group label {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .option-group select,
    .option-group input {
        width: 100%;
        padding: 12px;
        font-size: 15px;
    }

    .qty-controls {
        justify-content: flex-start;
    }

    .qty-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .qty-input {
        width: 80px;
        height: 40px;
        font-size: 16px;
    }

    /* Add to cart button */
    .add-to-cart-btn,
    .wishlist-btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 16px;
        margin-bottom: 12px;
    }

    .wishlist-btn {
        margin-top: 10px;
    }

    /* Product details section */
    .product-details-info {
        padding: 0;
        margin: 20px 0;
    }

    .product-details-info h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .product-details-info ul {
        padding-left: 20px;
    }

    .product-details-info li {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .shipping-info {
        padding: 0;
        margin: 20px 0;
        gap: 15px;
    }

    .shipping-item {
        flex-direction: row;
        align-items: center;
        text-align: left;
    }

    .shipping-item i {
        font-size: 20px;
        margin-right: 12px;
        margin-bottom: 0;
    }

    .shipping-item h4 {
        font-size: 15px;
        margin-bottom: 2px;
    }

    .shipping-item p {
        font-size: 13px;
    }

    .image-nav-btn {
        width: 35px;
        height: 35px;
    }

    .image-nav-btn.prev-image {
        left: 10px;
    }

    .image-nav-btn.next-image {
        right: 10px;
    }

    .image-nav-btn i {
        font-size: 14px;
    }

    .image-dots {
        bottom: 10px;
        padding: 6px 10px;
        gap: 6px;
    }

    .image-dot {
        width: 8px;
        height: 8px;
    }

    .image-dot.active {
        width: 20px;
    }

    /* Disable zoom on mobile for better UX */
    .main-image {
        cursor: pointer !important;
        /* Clickable to open modal */
    }

    .zoom-lens {
        display: none !important;
    }

    /* Optimize thumbnails for mobile - hide scrollbar */
    .thumbnail-images {
        gap: 8px;
        padding: 0 0 5px 0;
        /* Horizontal padding removed to prevent overflow */
        margin: 0;
        -ms-overflow-style: none;
        /* IE and Edge */
        scrollbar-width: none;
        /* Firefox */
    }

    .thumbnail-images::-webkit-scrollbar {
        display: none;
        /* Chrome, Safari, Opera */
    }

    .thumbnail-wrapper {
        flex: 0 0 70px;
        min-width: 70px;
        max-width: 70px;
    }

    .thumbnail {
        height: 70px;
        border-width: 2px;
    }

    /* Product info typography adjustments */
    .product-info-detail h1 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .product-price h2 {
        font-size: 26px;
    }

    /* Breadcrumb mobile padding */
    .breadcrumb .container {
        padding: 0 30px !important;
    }

    /* Related products section */
    .related-products {
        padding: 40px 0;
    }

    .related-products .container {
        padding: 0 30px !important;
    }

    .related-products h2 {
        font-size: 22px;
        margin-bottom: 25px;
        padding: 0;
    }

    .related-products .product-grid {
        gap: 20px;
    }

    .thumbnail-wrapper {
        flex: 0 0 calc(33.33% - 8px);
        min-width: 80px;
    }

    .thumbnail {
        height: 80px;
    }

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

    .item-image {
        width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
    }

    .item-price {
        text-align: left;
    }

    .shipping-info {
        grid-template-columns: 1fr;
    }

    .product-info-detail {
        padding: 0;
    }

    .product-info-detail h1 {
        font-size: 24px;
    }

    .hero-slider {
        padding-bottom: 56.25%;
        height: 0;
    }

    .slide {
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        background-color: #2c3e50;
    }

    .promo-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .promotions {
        padding: 30px 0;
    }

    .hero-content h2 {
        font-size: 14px;
    }

    .hero-content h3 {
        font-size: 20px;
    }

    .slider-controls {
        padding: 0 10px;
    }

    .slider-controls span {
        width: 30px;
        height: 30px;
    }


    /* No Products Message */
    .no-products {
        grid-column: 1 / -1;
        text-align: center;
        padding: 60px 20px;
        background: #f9f9f9;
        border: 1px solid #eee;
        border-radius: 8px;
    }

    .no-products p {
        font-size: 16px;
        color: #666;
        margin: 0;
    }

}

/* end @media (max-width: 576px) */

/* Alert Messages */
.alert {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-error {
    background: #fee;
    color: #c33;
    border: 1px solid #fcc;
}

.alert-error i {
    font-size: 18px;
}

.alert-success {
    background: #efe;
    color: #3c3;
    border: 1px solid #cfc;
}

.alert-success i {
    font-size: 18px;
}

/* Account Section */
.account-section {
    padding: 60px 0;
    background: #f9f9f9;
    min-height: calc(100vh - 300px);
}

.account-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Account Form Styles */
.account-form {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: none;
    animation: fadeIn 0.3s ease-in;
}

.account-form.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.account-form h2 {
    margin-bottom: 30px;
    font-size: 28px;
    color: #333;
    text-align: center;
}

/* Social Login Buttons */
.social-login {
    display: grid;
    gap: 12px;
    margin-bottom: 25px;
}

.social-btn {
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: white;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.google-btn {
    border-color: #ea4335;
    color: #ea4335;
}

.google-btn:hover {
    background: #ea4335;
    color: white;
}

.facebook-btn {
    border-color: #1877f2;
    color: #1877f2;
}

.facebook-btn:hover {
    background: #1877f2;
    color: white;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
    gap: 15px;
    color: #999;
}

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

.divider span {
    font-size: 13px;
    font-weight: 500;
}

/* Form Styles */
.form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus {
    outline: none;
    border-color: #333;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.form-group small {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.remember-me input[type="checkbox"] {
    cursor: pointer;
    width: 16px;
    height: 16px;
}

.forgot-password {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Submit Button */
.btn-submit {
    padding: 14px 20px;
    background: #333;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-submit:hover {
    background: #555;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-submit:active {
    transform: translateY(0);
}

/* Form Footer */
.form-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}

.form-footer a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

.form-footer a:hover {
    color: #666;
    text-decoration: underline;
}

/* Checkbox in Signup Form */
.form-group.checkbox {
    flex-direction: row;
    align-items: flex-start;
}

.form-group.checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    font-weight: normal;
    margin-top: 2px;
}

.form-group.checkbox input[type="checkbox"] {
    margin-top: 4px;
    width: 16px;
    height: 16px;
    cursor: pointer;
    flex-shrink: 0;
}

.form-group.checkbox a {
    color: #333;
    text-decoration: underline;
    font-weight: 500;
}

.form-group.checkbox a:hover {
    color: #666;
}

/* Account Features */
.account-features {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.account-features h3 {
    margin-bottom: 30px;
    font-size: 22px;
    color: #333;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.feature-item {
    text-align: center;
    padding: 20px;
    border-radius: 8px;
    background: #f9f9f9;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: #f0f0f0;
    transform: translateY(-5px);
}

.feature-item i {
    font-size: 32px;
    color: #333;
    margin-bottom: 15px;
    display: block;
}

.feature-item h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #333;
}

.feature-item p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .account-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .account-form {
        padding: 30px 20px;
    }

    .account-form h2 {
        font-size: 22px;
    }

    .account-features {
        padding: 30px 20px;
    }

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

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

    .social-btn {
        font-size: 13px;
        padding: 10px 15px;
    }
}

/* ========== PROFILE PAGE STYLES ========== */
.profile-section {
    padding: 60px 0;
    background: #f9f9f9;
    min-height: calc(100vh - 300px);
}

.profile-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
}

/* Profile Sidebar */
.profile-sidebar {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.user-card {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.user-avatar {
    font-size: 60px;
    color: #333;
    margin-bottom: 15px;
}

.user-card h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #333;
}

.user-card p {
    font-size: 13px;
    color: #666;
    word-break: break-all;
}

.profile-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.nav-link:hover {
    background: #f5f5f5;
    color: #333;
}

.nav-link.active {
    background: #333;
    color: white;
}

.nav-link.logout {
    color: #d33;
    margin-top: 10px;
    border-top: 1px solid #eee;
    padding-top: 12px;
}

.nav-link.logout:hover {
    background: #fdf5f5;
    color: #d33;
}

.nav-link i {
    font-size: 16px;
    min-width: 16px;
}

/* Profile Content */
.profile-content {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.tab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #eee;
}

.tab-header h2 {
    font-size: 24px;
    color: #333;
}

.btn-edit,
.btn-add {
    padding: 10px 16px;
    background: #333;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-edit:hover,
.btn-add:hover {
    background: #555;
    transform: translateY(-2px);
}

/* Profile Info Display */
.profile-info-display {
    display: grid;
    gap: 20px;
}

.profile-info-display.hidden,
.profile-info-edit.hidden {
    display: none;
}

.info-row {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.info-row:last-child {
    border-bottom: none;
}

.info-row label {
    font-weight: 600;
    color: #666;
    font-size: 14px;
}

.info-row span {
    color: #333;
    font-size: 14px;
}

/* Edit Form */
.profile-info-edit {
    display: grid;
    gap: 20px;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.btn-cancel {
    padding: 12px 20px;
    background: #e0e0e0;
    color: #333;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel:hover {
    background: #d0d0d0;
}

/* Orders List */
.orders-list {
    display: grid;
    gap: 15px;
}

.order-item {
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.order-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.order-header {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 20px;
    align-items: center;
    margin-bottom: 15px;
}

.order-number h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.order-number p {
    font-size: 13px;
    color: #666;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-pending {
    background: #ffeaa7;
    color: #856404;
}

.status-processing {
    background: #74b9ff;
    color: #0c5aa0;
}

.status-shipped {
    background: #00b894;
    color: #fff;
}

.status-delivered {
    background: #55efc4;
    color: #0b5345;
}

.status-cancelled {
    background: #fab1a0;
    color: #742701;
}

.order-total {
    text-align: right;
}

.order-total p {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.order-footer {
    text-align: right;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.btn-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    border: none;
    background: none;
    font-size: 14px;
    transition: color 0.3s ease;
    padding: 0;
}

.btn-link:hover {
    color: #666;
    text-decoration: underline;
}

.btn-link.danger {
    color: #d33;
}

.btn-link.danger:hover {
    color: #c00;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #f5f5f5;
    border-radius: 8px;
}

.empty-state i {
    font-size: 48px;
    color: #ccc;
    margin-bottom: 20px;
    display: block;
}

.empty-state h3 {
    font-size: 20px;
    color: #666;
    margin-bottom: 10px;
}

.empty-state p {
    color: #999;
    margin-bottom: 20px;
}

/* Addresses Section */
.addresses-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.address-card {
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.address-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.address-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.address-label {
    flex: 1;
}

.address-label h4 {
    margin: 0;
    color: #333;
    font-size: 16px;
}

.address-info h4 {
    font-size: 16px;
    margin-bottom: 10px;
}

.address-info p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 5px;
}

.address-actions {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.badge-default {
    display: inline-block;
    background-color: #28a745;
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 10px;
}

.address-form {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 6px;
    border: 1px solid #eee;
    margin-bottom: 30px;
}

.address-form h3,
.address-form h4 {
    margin-bottom: 20px;
    color: #333;
    font-size: 18px;
}

.address-form .form-group {
    margin-bottom: 15px;
}

.address-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.address-form input,
.address-form textarea,
.address-form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
}

.address-form input:focus,
.address-form textarea:focus,
.address-form select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

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

.address-form .form-row {
    display: flex;
    gap: 15px;
}

.address-form .form-row .form-group {
    flex: 1;
}

.address-form .checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
}

.address-form .checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.address-form .checkbox label {
    margin: 0;
    font-weight: normal;
    cursor: pointer;
}

.address-form .form-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.address-form .btn-submit {
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.address-form .btn-submit:hover {
    background-color: #0056b3;
}

.address-form .btn-cancel {
    background-color: #6c757d;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.address-form .btn-cancel:hover {
    background-color: #5a6268;
}

/* Settings Section */
.settings-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.settings-section:last-child {
    border-bottom: none;
}

.settings-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.setting-info h4 {
    font-size: 15px;
    margin-bottom: 5px;
    color: #333;
}

.setting-info p {
    font-size: 13px;
    color: #666;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
}

.checkbox-label input[type="checkbox"] {
    cursor: pointer;
    width: 18px;
    height: 18px;
}

.danger-zone {
    background: #fff5f5;
    padding: 20px;
    border-radius: 6px;
    border: 1px solid #fcc;
}

.danger-zone h3 {
    color: #d33;
}

.btn-danger {
    padding: 10px 16px;
    background: #d33;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-danger:hover {
    background: #c00;
    transform: translateY(-2px);
}

/* Alert Messages */
.alert {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.alert-success i {
    color: #28a745;
}

.alert-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.alert-error i {
    color: #dc3545;
}

/* Profile Edit Form Styles */
.profile-info-edit {
    margin-top: 20px;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 6px;
}

.profile-info-edit .form-group {
    margin-bottom: 15px;
}

.profile-info-edit .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.profile-info-edit .form-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s;
}

.profile-info-edit .form-group input:focus {
    outline: none;
    border-color: #333;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.profile-info-edit .form-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.profile-info-edit .btn-submit {
    padding: 10px 20px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.profile-info-edit .btn-submit:hover {
    background-color: #555;
    transform: translateY(-2px);
}

.profile-info-edit .btn-cancel {
    padding: 10px 20px;
    background-color: #eee;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.profile-info-edit .btn-cancel:hover {
    background-color: #ddd;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: grid;
    place-items: center;
}

.modal-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 2001;
}

.modal-content h3,
.modal-content h4 {
    margin-bottom: 20px;
    color: #333;
    font-size: 18px;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #333;
}

.modal-content .form-group {
    margin-bottom: 15px;
}

.modal-content label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
}

.modal-content input:focus,
.modal-content textarea:focus,
.modal-content select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.modal-content .form-row {
    display: flex;
    gap: 15px;
}

.modal-content .form-row .form-group {
    flex: 1;
}

.modal-content .form-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.modal-content .btn-submit {
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.modal-content .btn-submit:hover {
    background-color: #0056b3;
}

.modal-content .btn-cancel {
    background-color: #6c757d;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.modal-content .btn-cancel:hover {
    background-color: #5a6268;
}

/* Password Form Styles */
.password-form {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 6px;
    border: 1px solid #eee;
}

.password-form h4 {
    margin-bottom: 20px;
    color: #333;
    font-size: 16px;
}

.password-form .form-group {
    margin-bottom: 15px;
}

.password-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.password-form input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.password-form input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.password-form small {
    display: block;
    color: #666;
    font-size: 12px;
    margin-top: 5px;
}

.password-form .form-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.password-form .btn-submit {
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.password-form .btn-submit:hover {
    background-color: #0056b3;
}

.password-form .btn-cancel {
    background-color: #6c757d;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.password-form .btn-cancel:hover {
    background-color: #5a6268;
}

/* Delete Form Styles */
.delete-form {
    background-color: #fff5f5;
    padding: 25px;
    border-radius: 6px;
    border: 1px solid #fcc;
}

.delete-form h4 {
    margin-bottom: 15px;
    color: #d33;
    font-size: 16px;
}

.delete-form .form-group {
    margin-bottom: 15px;
}

.delete-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.delete-form label span {
    margin-left: 8px;
}

.delete-form input[type="password"],
.delete-form input[type="checkbox"] {
    font-size: 14px;
}

.delete-form input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.delete-form input[type="password"]:focus {
    outline: none;
    border-color: #d33;
    box-shadow: 0 0 0 3px rgba(211, 51, 51, 0.1);
}

.delete-form input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin-right: 8px;
}

.delete-form .form-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.delete-form .btn-danger {
    background-color: #d33;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.delete-form .btn-danger:hover {
    background-color: #b33;
}

.delete-form .btn-cancel {
    background-color: #6c757d;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.delete-form .btn-cancel:hover {
    background-color: #5a6268;
}

/* Responsive Design */
@media (max-width: 768px) {
    .profile-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .profile-sidebar {
        position: relative;
        top: 0;
        margin-bottom: 20px;
    }

    .tab-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .order-header {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .order-total {
        text-align: left;
    }

    .addresses-list {
        grid-template-columns: 1fr;
    }

    .setting-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .profile-content {
        padding: 20px;
    }
}

/* Placeholder Image Styling */
.placeholder-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: #f0f0f0;
    color: #ccc;
    font-size: 48px;
}

/* ========== MOBILE IMAGE MODAL (ONLY FOR RESPONSIVE) ========== */
.image-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    overflow: hidden;
}

.image-modal.active {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.image-modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.modal-main-image {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    user-select: none;
    -webkit-user-select: none;
}

.image-modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.image-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Modal Navigation Buttons */
.modal-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.modal-nav-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.modal-nav-btn.modal-prev {
    left: 20px;
}

.modal-nav-btn.modal-next {
    right: 20px;
}

.modal-nav-btn i {
    color: #333;
    font-size: 20px;
}

/* Modal Dots */
.modal-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10001;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 15px;
    border-radius: 25px;
    backdrop-filter: blur(5px);
}

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

.modal-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.modal-dot.active {
    background: white;
    width: 30px;
    border-radius: 6px;
}

/* Hide modal on desktop - only show on mobile/tablet */
@media (min-width: 769px) {
    .image-modal {
        display: none !important;
    }
}


/* =============================================
   STICKY WHATSAPP BUTTON
   ============================================= */
#whatsapp-sticky-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}

#whatsapp-sticky-btn svg {
    display: block;
    /* SVG zaten kendi içinde yeşil daire içeriyor, burada sadece beyaz ikon kısmı görünsün */
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
}

/* Pulse animasyon halkası */
#whatsapp-sticky-btn::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 3px solid rgba(37, 211, 102, 0.5);
    animation: wa-pulse 2s ease-out infinite;
}

@keyframes wa-pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    70% {
        transform: scale(1.4);
        opacity: 0;
    }

    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* Hover efekti */
#whatsapp-sticky-btn:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.6);
}

/* Tooltip */
.wa-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: #1a1a1a;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    padding: 7px 14px;
    border-radius: 8px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    transform: translateY(-50%) translateX(6px);
    letter-spacing: 0.3px;
}

/* Tooltip ok işareti */
.wa-tooltip::after {
    content: '';
    position: absolute;
    right: -7px;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: #1a1a1a;
}

#whatsapp-sticky-btn:hover .wa-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* Mobilde tooltip gizle, buton biraz küçülsün */
@media (max-width: 768px) {
    #whatsapp-sticky-btn {
        width: 52px;
        height: 52px;
        bottom: 20px;
        right: 16px;
    }

    .wa-tooltip {
        display: none;
    }
}

/* =============================================
   ÜRÜN VARYANT RENK SEÇİCİ STİLLERİ
   ============================================= */

/* --- Ürün Detay Sayfası Swatchları --- */
.variant-color-group {
    margin-bottom: 20px;
}

.variant-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    letter-spacing: 0.3px;
}

.variant-label #selected-color-name {
    font-weight: 400;
    color: #666;
}

.color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.color-swatch {
    display: inline-block;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid transparent;
    outline: 2px solid #ddd;
    cursor: pointer;
    transition: transform 0.18s ease, outline-color 0.18s ease, box-shadow 0.18s ease;
    position: relative;
}

.color-swatch:hover {
    transform: scale(1.15);
    outline-color: #888;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.color-swatch.active {
    outline-color: #333;
    outline-width: 2.5px;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #333;
    transform: scale(1.08);
}

/* --- Kategori Kartları Küçük Swatchları --- */
.card-color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 6px 0 10px 0;
    align-items: center;
}

.card-swatch {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid transparent;
    outline: 1.5px solid #ddd;
    transition: transform 0.15s ease, outline-color 0.15s ease;
    cursor: pointer;
}

.card-swatch:hover {
    transform: scale(1.2);
    outline-color: #888;
}

.card-swatch.active {
    outline-color: #333;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1.5px #333;
}