/*
Theme Name: Custom Landing Page
Theme URI: https://github.com/
Author: Nawab Luxury UAE Studio
Description: Premium, conversion-optimized WordPress theme designed for UAE luxury appliances and electronics.
Version: 6.0.0
License: GNU General Public License v2 or later
Text Domain: custom-wc-landing
*/

/* ------------------------------------------------------------------------- *
 * Design System Tokens (UAE Luxury & High Conversion)
 * ------------------------------------------------------------------------- */
:root {
    --brand-dark: #0f172a;
    --brand-slate: #1e293b;
    --brand-muted: #64748b;
    --brand-gold: #c89b3c;
    --brand-gold-dark: #b8860b;
    --brand-gold-light: #fef9ee;
    --brand-gold-border: #f3dfb4;
    
    --action-emerald: #059669;
    --action-emerald-dark: #047857;
    --action-emerald-light: #ecfdf5;
    --action-emerald-border: #a7f3d0;
    
    --bg-page: #f8fafc;
    --bg-surface: #ffffff;
    --border-subtle: #e2e8f0;
    --border-focus: #b8860b;
    
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.09), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;
}

/* ------------------------------------------------------------------------- *
 * Reset & Base Typography
 * ------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-page);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', 'Inter', sans-serif;
    color: var(--brand-dark);
    margin-top: 0;
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease, opacity 0.2s ease;
}

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

/* ------------------------------------------------------------------------- *
 * Header & Navigation
 * ------------------------------------------------------------------------- */
.site-header {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.site-logo {
    display: flex;
    align-items: center;
}

.site-logo img {
    height: 48px;
    width: auto;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.08));
    transition: transform 0.3s ease;
}

.site-logo img:hover {
    transform: scale(1.03);
}

.main-nav-menu {
    margin: 0;
}

.header-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 28px;
}

.header-menu-list li a {
    color: var(--brand-slate);
    font-weight: 600;
    font-size: 14.5px;
    position: relative;
    padding: 6px 0;
}

.header-menu-list li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-gold);
    transition: width 0.25s ease;
    border-radius: 2px;
}

.header-menu-list li a:hover {
    color: var(--brand-gold-dark);
}

.header-menu-list li a:hover::after {
    width: 100%;
}

.header-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--brand-gold-light);
    border: 1px solid var(--brand-gold-border);
    color: var(--brand-gold-dark);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 13.5px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.header-cta-btn:hover {
    background: var(--brand-gold);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(184, 134, 11, 0.25);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .header-container {
        padding: 10px 15px;
    }
    .site-logo img {
        height: 40px;
    }
    .header-menu-list {
        display: none;
    }
}

/* ------------------------------------------------------------------------- *
 * UAE Top Trust Ribbon
 * ------------------------------------------------------------------------- */
.uae-top-trust-bar {
    background: linear-gradient(90deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    padding: 10px 0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-ribbon-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.trust-ribbon-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.trust-ribbon-item .highlight-gold {
    color: #f6d365;
    font-weight: 700;
}

.trust-ribbon-item .badge-pill {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .trust-ribbon-content {
        gap: 12px 18px;
        font-size: 12px;
    }
}

/* ------------------------------------------------------------------------- *
 * Hero Banner Section
 * ------------------------------------------------------------------------- */
.store-hero-section {
    padding: 35px 0 20px 0;
    text-align: center;
}

.store-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--brand-slate);
    margin-bottom: 16px;
}

.store-hero-title {
    font-size: 38px;
    font-weight: 800;
    color: var(--brand-dark);
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.store-hero-title span {
    background: linear-gradient(135deg, #c89b3c 0%, #996515 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.store-hero-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .store-hero-section {
        padding: 25px 0 15px 0;
    }
    .store-hero-title {
        font-size: 26px;
    }
    .store-hero-subtitle {
        font-size: 14px;
    }
}

/* ------------------------------------------------------------------------- *
 * Premium UAE Product Grid
 * ------------------------------------------------------------------------- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin: 30px 0 50px 0;
}

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

@media (max-width: 640px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
}

.product-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(200, 155, 60, 0.4);
}

.product-card-badge-top {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.badge-free-delivery {
    background: rgba(15, 23, 42, 0.9);
    color: #ffffff;
    backdrop-filter: blur(4px);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.badge-discount-save {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.product-image {
    position: relative;
    padding: 24px;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.product-image img {
    width: 85%;
    height: 85%;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.08));
}

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

.product-info {
    padding: 22px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    font-size: 13px;
    color: var(--brand-muted);
}

.rating-stars {
    color: #f59e0b;
    font-size: 14px;
    letter-spacing: 1px;
}

.product-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--brand-dark);
    margin: 0 0 12px 0;
    line-height: 1.45;
    height: 2.9em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.2s ease;
}

.product-title a:hover {
    color: var(--brand-gold-dark);
}

.product-specs-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}

.spec-chip {
    background: var(--bg-page);
    border: 1px solid var(--border-subtle);
    color: var(--brand-slate);
    font-size: 11.5px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
}

.product-pricing-wrap {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-top: 14px;
    border-top: 1px dashed var(--border-subtle);
}

.price-main-box {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.current-price {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--brand-dark);
}

.old-price {
    font-size: 14px;
    color: var(--text-light);
    text-decoration: line-through;
    font-weight: 500;
}

.pricing-badge {
    background: var(--action-emerald-light);
    color: var(--action-emerald-dark);
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--radius-full);
}

.btn-order-now {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: #ffffff;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 15px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.25);
    border: none;
    cursor: pointer;
}

.btn-order-now:hover {
    background: linear-gradient(135deg, #047857 0%, #065f46 100%);
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.35);
    transform: translateY(-2px);
    color: #ffffff;
}

/* ------------------------------------------------------------------------- *
 * Why Buy From Us (UAE Trust Pillars Section)
 * ------------------------------------------------------------------------- */
.uae-value-section {
    background: #ffffff;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 60px 0;
    margin-top: 60px;
}

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

.section-header h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 15px;
    margin: 0;
}

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

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

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

.value-card {
    background: var(--bg-page);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.value-card:hover {
    background: #ffffff;
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-gold-border);
    transform: translateY(-4px);
}

.value-icon {
    width: 54px;
    height: 54px;
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    margin: 0 auto 16px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: var(--shadow-sm);
}

.value-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: var(--brand-dark);
}

.value-card p {
    font-size: 13.5px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

/* ------------------------------------------------------------------------- *
 * Footer
 * ------------------------------------------------------------------------- */
.site-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 50px 0 25px 0;
    font-size: 14px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 25px;
}

.footer-logo img {
    height: 42px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-badge-pill {
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13px;
}

.footer-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-menu-list li a {
    color: #94a3b8;
}

.footer-menu-list li a:hover {
    color: #ffffff;
}
