/*
Theme Name: Sanaa Design
Theme URI: https://sanaadesign.de/
Author: Sanaa Design Team
Author URI: https://sanaadesign.de/
Description: Premium elegant, minimalist WooCommerce Theme for Personalized Islamic Gifts.
Version: 1.0.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sanaa-design
Tags: e-commerce, two-columns, dark, custom-colors, translation-ready
*/

:root {
    --bg-dark: #121212;
    /* Rich anthracite dark background */
    --bg-darker: #0c0c0c;
    /* Deep rich dark gray/black */
    --bg-header: #1a1a1a;
    /* Lighter anthracite for header background to stand out */
    --bg-light: #f6f5f1;
    --bg-beige: #e8e2d6;
    --color-gold: #ceb479;
    /* Exact logo gold */
    --color-gold-hover: #e0c88f;
    --color-white: #ffffff;
    --color-gray: #a3a3a3;
    --color-black: #141414;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: #d5d5d5;
    /* Muted white / light gray standard text color */
    line-height: 1.6;
    overflow-x: hidden;
}

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

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Typography Headings */
h1,
h2,
h3,
h4,
h5,
h6,
.title {
    color: var(--color-white);
}

.title,
.logo-text {
    font-family: var(--font-heading);
    font-weight: 400;
}

.gold {
    color: var(--color-gold);
}

.black {
    color: var(--color-black);
}

.black-light {
    color: #333;
}

/* Topbar */
.topbar {
    background-color: var(--bg-darker);
    color: var(--color-gold);
    text-align: center;
    padding: 10px 0;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(206, 180, 121, 0.2);
}

/* Header (Lighter background to stand out) */
.header {
    background-color: var(--bg-header);
    padding: 20px 0;
    border-bottom: 1px solid rgba(206, 180, 121, 0.1);
    /* Subtle gold border border-bottom */
}

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

.header-left {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1;
}

.currency-lang {
    font-size: 12px;
    color: var(--color-gray);
    display: flex;
    align-items: center;
    gap: 10px;
}

.currency-lang span {
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.currency-lang span:hover {
    color: var(--color-white);
}

.nav {
    display: flex;
    gap: 25px;
}

.nav-link,
.nav a {
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    color: #d5d5d5;
    transition: var(--transition);
}

.nav-link::after,
.nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-gold);
    transition: var(--transition);
}

.nav-link:hover,
.nav a:hover {
    color: var(--color-gold);
}

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

/* Active Menu Items (Highlight in Gold) */
.nav-link.active,
.nav a.active,
.nav li.current-menu-item>a,
.nav li.current_page_item>a,
.nav li.current-menu-ancestor>a,
.mobile-menu-nav li.current-menu-item>a,
.mobile-menu-nav a.active {
    color: var(--color-gold) !important;
}

.nav-link.active::after,
.nav a.active::after,
.nav li.current-menu-item>a::after,
.nav li.current_page_item>a::after,
.nav li.current-menu-ancestor>a::after {
    width: 100% !important;
}

.header-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

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

.logo-text {
    color: var(--color-gold);
    font-size: 18px;
    letter-spacing: 3px;
}

.header-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.header-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.icon-link {
    color: var(--color-white);
    position: relative;
}

.icon-link:hover {
    color: var(--color-gold);
}

.cart-link {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--color-gold) !important;
}

.cart-link:hover {
    color: var(--color-gold-hover) !important;
}

.cart-count {
    font-size: 14px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: var(--font-body);
    font-weight: 500;
    cursor: pointer;
    border: 1px solid transparent;
}

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

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

.btn-outline {
    background-color: transparent;
    border-color: var(--color-gold);
    color: var(--color-gold);
}

.btn-outline:hover {
    background-color: var(--color-gold);
    color: var(--color-black);
}

.btn-outline-white {
    background-color: transparent;
    border-color: var(--color-white);
    color: var(--color-white);
}

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

.btn-outline-dark {
    background-color: transparent;
    border-color: var(--color-black);
    color: var(--color-black);
}

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

/* Hero Section */
.hero {
    padding: 80px 0;
    background: radial-gradient(circle at center, #1f1f1f 0%, #141414 100%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-content {
    flex: 1;
    z-index: 2;
}

.hero-content .subtitle {
    font-size: 14px;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 20px;
}

.hero-content .title {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.hero-content .description {
    font-size: 16px;
    color: #ccc;
    margin-bottom: 40px;
    max-width: 500px;
}

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

.hero-image-wrapper {
    flex: 1.2;
    position: relative;
}

.hero-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border: 1px solid rgba(206, 180, 121, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* Benefits Section */
.benefits {
    border-top: 1px solid rgba(206, 180, 121, 0.2);
    border-bottom: 1px solid rgba(206, 180, 121, 0.2);
    padding: 40px 0;
    background-color: var(--bg-darker);
}

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

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.benefit-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.benefit-text h4 {
    font-size: 13px;
    letter-spacing: 1px;
    margin-bottom: 5px;
    color: var(--color-gold);
}

.benefit-text p {
    font-size: 12px;
    color: #aaa;
}

/* Categories */
.categories {
    padding: 0;
}

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

.category-card {
    position: relative;
    height: 450px;
    overflow: hidden;
    display: block;
    border-right: 1px solid rgba(206, 180, 121, 0.2);
}

.category-card:last-child {
    border-right: none;
}

.category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.category-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 100%);
    transition: background 0.3s ease;
}

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

.category-card:hover::after {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.category-content {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 2;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.category-icon-wrapper {
    width: 60px;
    height: 60px;
    border: 1px solid var(--color-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.category-title {
    font-size: 24px;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

/* Popular Products */
.popular-products {
    background-color: var(--bg-light);
    color: var(--color-black);
    padding: 80px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}

.section-header .subtitle {
    font-size: 14px;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.section-header .title {
    font-size: 32px;
    letter-spacing: 2px;
}

.view-all {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-black);
    font-weight: 500;
}

.view-all:hover {
    color: var(--color-gold);
}

.products-slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

.slider-btn {
    background: none;
    border: 1px solid #ddd;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-black);
    transition: var(--transition);
    background-color: var(--color-white);
}

.slider-btn:hover {
    background-color: var(--color-gold);
    color: var(--color-white);
    border-color: var(--color-gold);
}

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

.product-card {
    background-color: #1a1a1a !important;
    /* Lighter anthracite card background */
    border: 1px solid rgba(206, 180, 121, 0.15) !important;
    /* Thin subtle gold border */
    border-radius: 6px !important;
    padding: 20px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
}

.product-card:hover {
    border-color: var(--color-gold) !important;
    box-shadow: 0 15px 35px rgba(206, 180, 121, 0.12) !important;
    transform: translateY(-5px) !important;
}

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

.product-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.5s ease;
    aspect-ratio: 4/5 !important;
}

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

.wishlist-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: var(--color-white);
    cursor: pointer;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.product-card:hover .wishlist-btn {
    opacity: 1;
    transform: translateY(0);
}

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

.product-info {
    text-align: left;
}

.product-title {
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 10px;
    line-height: 1.4;
    font-family: var(--font-body);
}

.product-price {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

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

.stars {
    display: flex;
    gap: 2px;
}

.star {
    width: 14px;
    height: 14px;
    color: #ddd;
}

.star.filled {
    color: var(--color-gold);
    fill: var(--color-gold);
}

.rating-count {
    font-size: 12px;
    color: #888;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

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

.dot.active {
    background-color: var(--color-black);
}

/* About Section */
.about-section {
    background-color: var(--bg-beige);
    padding: 0;
    color: var(--color-black);
}

.about-container {
    display: flex;
    align-items: center;
}

.about-image-wrapper {
    flex: 1;
}

.about-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.about-content {
    flex: 1;
    padding: 80px 100px;
}

.about-content .subtitle {
    font-size: 14px;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 20px;
}

.about-content .title {
    font-size: 40px;
    line-height: 1.2;
    margin-bottom: 30px;
}

.about-content .description {
    font-size: 16px;
    margin-bottom: 40px;
    max-width: 500px;
}

/* Ramadan Collection Section */
.ramadan-section {
    background-color: #111;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

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

.ramadan-content {
    flex: 1;
    z-index: 2;
}

.ramadan-content .subtitle {
    font-size: 14px;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 20px;
}

.ramadan-content .title {
    font-size: 42px;
    margin-bottom: 30px;
}

.ramadan-content .description {
    font-size: 16px;
    color: #ccc;
    margin-bottom: 40px;
}

.ramadan-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
}

.ramadan-image {
    width: 80%;
    max-width: 500px;
    height: auto;
    object-fit: cover;
    box-shadow: 0 0 50px rgba(206, 180, 121, 0.2);
}

/* Instagram Section */
.instagram-section {
    color: var(--color-black);
    padding: 80px 0 0;
    text-align: center;
}

.instagram-header {
    margin-bottom: 40px;
}

.instagram-handle {
    font-size: 12px;
    letter-spacing: 2px;
    color: #666;
    display: block;
    margin-bottom: 10px;
}

.instagram-title {
    font-size: 28px;
    letter-spacing: 2px;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.insta-item {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
}

.insta-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    cursor: pointer;
}

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

.insta-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.insta-item:hover::after {
    opacity: 1;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, #12110f 0%, #080807 100%);
    padding-top: 80px;
    border-top: 1px solid rgba(206, 180, 121, 0.15);
    box-shadow: inset 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1.8fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: start;
    gap: 12px;
    margin-bottom: 25px;
    text-decoration: none;
}

.footer-logo .logo-text {
    font-size: 15px;
    letter-spacing: 3px;
    color: var(--color-gold);
    font-family: var(--font-heading);
}

.brand-desc {
    color: #b8b5ad;
    font-size: 13.5px;
    line-height: 1.8;
    margin-bottom: 30px;
}

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

.social-links a {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(206, 180, 121, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #aaa;
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-links a:hover {
    background-color: var(--color-gold);
    color: var(--color-black);
    border-color: var(--color-gold);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(206, 180, 121, 0.3);
}

.footer-title {
    font-size: 13px;
    letter-spacing: 2.5px;
    margin-bottom: 25px;
    color: var(--color-gold);
    text-transform: uppercase;
    font-family: var(--font-heading);
    position: relative;
    display: inline-block;
}

.footer-title::after {
    content: '';
    display: block;
    width: 25px;
    height: 1px;
    background-color: var(--color-gold);
    margin-top: 8px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #999;
    font-size: 13.5px;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    text-decoration: none;
}

.footer-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--color-gold);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-gold);
    transform: translateX(4px);
}

.footer-links a:hover::after {
    width: 100%;
}

.newsletter-col {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(206, 180, 121, 0.1);
    padding: 30px;
    border-radius: 4px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.newsletter-col .footer-title {
    margin-bottom: 15px;
}

.newsletter-col p {
    color: #aaa;
    font-size: 13.5px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.2);
    border-radius: 2px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.newsletter-form:focus-within {
    border-color: var(--color-gold);
}

.newsletter-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 14px 18px;
    color: var(--color-white);
    outline: none;
    font-family: var(--font-body);
    font-size: 13.5px;
}

.newsletter-form button {
    background: var(--color-gold);
    border: none;
    padding: 0 22px;
    cursor: pointer;
    color: var(--color-black);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-form button:hover {
    background-color: var(--color-white);
    color: var(--color-black);
}

.payment-methods {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

.payment-icon {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #888;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 5px 10px;
    border-radius: 2px;
    background: rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    transition: all 0.3s;
}

.payment-icon:hover {
    color: var(--color-white);
    border-color: rgba(206, 180, 121, 0.3);
    background: rgba(206, 180, 121, 0.03);
}

.payment-icon.mastercard {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.mc-circles {
    display: flex;
    align-items: center;
}

.mc-red {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #eb001b;
    z-index: 1;
    margin-right: -4px;
}

.mc-yellow {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #f79e1b;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding: 25px 0;
    background-color: #0b0a09;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #555;
    letter-spacing: 0.5px;
}

.legal-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.legal-links a {
    color: #666;
    transition: color 0.3s;
    text-decoration: none;
}

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

/* Responsive */
@media (max-width: 1200px) {
    .container {
        padding: 0 20px;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

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

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

    .about-container {
        flex-direction: column;
    }

    .about-content {
        padding: 50px 20px;
        text-align: center;
    }

    .ramadan-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

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

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 20px;
    }

    .nav {
        flex-wrap: wrap;
        justify-content: center;
    }

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

    .category-card {
        border-right: none;
        border-bottom: 1px solid rgba(206, 180, 121, 0.2);
    }

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

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

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .payment-methods {
        justify-content: center;
    }

    .footer-bottom-container {
        flex-direction: column;
        gap: 15px;
    }
}