﻿/*
Theme Name: Victoria Mart Theme
Theme URI: http://example.com
Author: You
Author URI: http://example.com
Description: Custom WordPress theme for Victoria Mart.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: victoria-mart
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
    --brand-primary: #013A96;
    --brand-secondary: #ff6b6b;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --bg-main: #f9fafb;
    --white: #ffffff;
    --border-color: #e5e7eb;
    
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 24px rgba(0,0,0,0.12);
    --shadow-hover: 0 20px 30px rgba(0,0,0,0.15);
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Utilities */
.text-center { text-align: center; }
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 32px; }
.mb-6 { margin-bottom: 48px; }

/* Top Bar */
.top-bar {
    background-color: #012b70;
    color: var(--white);
    font-size: 0.85rem;
    padding: 10px 0;
    text-align: center;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Header */
.main-header {
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: var(--transition);
    border-bottom: 1px solid var(--border-color);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 140px;
    gap: 20px;
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 2.1rem;
    color: #000000;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    line-height: 1;
}

.logo-text span {
    font-size: 1.8rem;
    margin-left: 2px;
}

/* Center Search Container */
.header-search-container {
    position: relative;
    flex: 1;
    max-width: 500px;
}

.search-form-element {
    display: flex;
    align-items: center;
    background-color: #ededed;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #d1d5db;
    transition: var(--transition);
}

.search-form-element:focus-within {
    border-color: #012b70;
    box-shadow: 0 0 0 3px rgba(1, 43, 112, 0.15);
}

.header-search-input {
    flex: 1;
    background: none;
    border: none;
    padding: 10px 18px;
    font-size: 0.95rem;
    outline: none;
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
}

.header-search-input::placeholder {
    color: #6b7280;
}

.header-search-btn {
    background-color: #012b70;
    border: none;
    color: var(--white);
    width: 50px;
    height: 42px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.header-search-btn:hover {
    background-color: #011f54;
}

/* Search Dropdown */
.search-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    z-index: 1100;
    max-height: 350px;
    overflow-y: auto;
    animation: fadeIn 0.2s ease;
    padding: 8px 0;
}

.search-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px solid #f3f4f6;
}

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

.search-dropdown-item:hover {
    background-color: #f9fafb;
}

.search-dropdown-item img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
}

.search-dropdown-info {
    flex: 1;
}

.search-dropdown-name {
    font-size: 0.925rem;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.3;
}

.search-dropdown-meta {
    font-size: 0.775rem;
    color: var(--text-muted);
}

.search-dropdown-price {
    font-size: 0.925rem;
    font-weight: 700;
    color: #012b70;
}

.search-dropdown-empty {
    padding: 16px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Right Side elements */
.header-right-side {
    display: flex;
    align-items: center;
    gap: 30px;
}

.header-text-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-text-link {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: #4b5563;
}

.header-text-link:hover {
    color: #012b70;
}

.header-text-sep {
    color: #d1d5db;
    font-size: 0.85rem;
}

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

.header-icon-btn {
    position: relative;
    color: #111827;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
}

.header-icon-btn:hover {
    background-color: #f3f4f6;
    color: #012b70;
}

.header-icon-btn .icon-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: #012b70;
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    height: 16px;
    min-width: 16px;
    padding: 0 4px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-header-wrapper {
    display: flex;
    align-items: center;
}

/* Capsule Cart */
.header-cart-capsule {
    background-color: #012b70;
    border-radius: 30px;
    display: flex;
    align-items: center;
    padding: 4px 16px 4px 5px;
    color: var(--white);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    text-decoration: none;
    position: relative;
    gap: 8px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.header-cart-capsule:hover {
    background-color: #011f54;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.cart-circle-icon {
    background-color: var(--white);
    color: #012b70;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-total-text {
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.cart-badge-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ffffff;
    color: #012b70;
    border: 1.5px solid #012b70;
    font-size: 0.725rem;
    font-weight: 700;
    height: 18px;
    min-width: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Category Sub Navigation Bar */
.category-sub-bar {
    background-color: #012b70;
    padding: 8px 0;
    border-bottom: 2px solid #011f54;
}

.category-sub-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.category-sub-links a {
    color: var(--white);
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    opacity: 0.9;
    text-transform: uppercase;
}

.category-sub-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.sub-link-sep {
    color: rgba(255,255,255,0.3);
    font-size: 0.95rem;
}

.shop-all-sub {
    color: #ffd2d2 !important;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-transform: capitalize;
}

.btn-primary {
    background-color: var(--brand-secondary);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: #ff5252;
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background-color: #012b70;
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background-color: var(--white);
    color: var(--brand-primary);
    transform: translateY(-2px);
}

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

.btn-outline-dark:hover {
    background-color: var(--brand-primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* Views */
.view {
    display: none;
    animation: fadeIn 0.4s ease;
    min-height: calc(100vh - 400px);
}

.view.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero Section */
.hero-wrapper-outer {
    padding: 0;
}

.hero-section {
    position: relative;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    color: var(--white);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: background 0.8s ease-in-out;
    background-size: cover;
    background-position: center;
}

.hero-container-inner {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 40px;
    padding: 60px 70px 75px;
    position: relative;
}

.hero-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
    color: var(--white);
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.15;
    color: var(--white);
    letter-spacing: -1px;
}

.hero-title .highlight {
    color: #e91e63; /* Pink highlight color like in image 1 */
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 36px;
    font-weight: 400;
    line-height: 1.6;
    max-width: 550px;
}

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

.btn-shop-now {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #b02a37; /* Dark red/burgundy color like in image 1 */
    color: var(--white);
    padding: 14px 36px;
    border-radius: 30px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-shop-now:hover {
    background-color: #92202b;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(176, 42, 55, 0.4);
}

.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    z-index: 2;
}

.hero-image-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 10px; /* white frame around the image */
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 480px;
    aspect-ratio: 1.5;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-image-card:hover {
    transform: scale(1.02);
}

.hero-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: calc(var(--radius-md) - 4px);
}

/* Slide Navigation Arrows */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: var(--white);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.5rem;
    font-weight: 300;
    z-index: 10;
    backdrop-filter: blur(4px);
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.prev-arrow {
    left: 20px;
}

.next-arrow {
    right: 20px;
}

/* Slide Indicator Dots */
.hero-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.hero-dot.active {
    background-color: var(--white);
    border-color: var(--white);
    width: 24px;
    border-radius: 5px;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 16px;
    text-align: center;
}
.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 48px;
}

.category-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border-color);
}

.category-section-header h2 {
    font-size: 2rem;
    margin: 0;
}

.view-all-link {
    font-weight: 600;
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}
.view-all-link:hover {
    color: var(--brand-secondary);
    gap: 12px;
}

/* Category Grid */
.home-categories {
    padding: 80px 0;
    background: var(--white);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 30px;
}

.category-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.category-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(1,58,150,0.8), rgba(0,0,0,0.2));
    z-index: 1;
    transition: var(--transition);
}

.category-card img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 0.6s ease;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.category-card:hover img {
    transform: scale(1.1);
}

.category-card:hover::after {
    background: linear-gradient(to top, rgba(1,58,150,0.9), rgba(0,0,0,0.4));
}

.category-card-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
}

.category-card h3 {
    color: var(--white);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.category-card span {
    color: var(--white);
    font-weight: 500;
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
    display: inline-block;
}
.category-card:hover span {
    opacity: 1;
    transform: translateY(0);
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
    gap: 30px;
}

.product-grid-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 920px;
    margin: 0 auto;
}

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

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

/* Premium Product Card */
.product-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--border-color);
}

.product-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-6px);
}

.product-image-wrapper {
    position: relative;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    overflow: hidden;
    background: #f3f4f6;
}

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

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

.product-badges {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 2;
}

.badge {
    background-color: var(--brand-secondary);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-sm);
}

.wishlist-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    z-index: 2;
    transition: var(--transition);
    color: var(--text-muted);
}

.wishlist-btn:hover {
    color: var(--brand-secondary);
    transform: scale(1.1);
}

.product-info {
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-category {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 12px;
    line-height: 1.4;
    font-family: 'Inter', sans-serif;
}
.product-title:hover {
    color: var(--brand-primary);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 16px;
}
.product-rating svg {
    width: 16px; height: 16px;
    fill: #f59e0b;
}
.product-rating span {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-left: 4px;
}

.product-bottom {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-price-wrapper {
    display: flex;
    flex-direction: column;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand-primary);
}

.original-price {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 400;
}

.add-to-cart-quick {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--brand-primary);
}

.product-card:hover .add-to-cart-quick {
    background: var(--brand-primary);
    color: var(--white);
    border-color: var(--brand-primary);
}

/* Sections */
.home-products-section {
    padding: 60px 0;
}

/* Features/Trust Section */
.features-section {
    padding: 80px 0;
    background: var(--white);
    border-top: 1px solid var(--border-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
    gap: 40px;
}

.feature-box {
    text-align: center;
    padding: 30px;
    background: var(--bg-main);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: var(--white);
}

.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(1, 58, 150, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--brand-primary);
}

.feature-icon-wrapper svg {
    width: 36px; height: 36px; fill: currentColor;
}

.feature-box h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Testimonials */
.testimonials-section {
    padding: 100px 0;
    background: var(--brand-primary);
    color: var(--white);
}

.testimonials-section .section-title,
.testimonials-section .section-subtitle {
    color: var(--white);
}
.testimonials-section .section-subtitle {
    opacity: 0.8;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 30px;
}

.testimonial-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
    color: #fcd34d;
}
.testimonial-stars svg { width: 20px; height: 20px; fill: currentColor; }

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 24px;
    line-height: 1.8;
    opacity: 0.9;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 50px; height: 50px;
    border-radius: 50%;
    background: var(--brand-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}
.author-info h4 {
    color: var(--white);
    margin: 0 0 4px;
}
.author-info span {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Footer & Newsletter */
.newsletter-section {
    background: var(--white);
    padding: 80px 0;
    border-bottom: 1px solid var(--border-color);
}

.newsletter-box {
    background: linear-gradient(135deg, var(--bg-main) 0%, #eef2f6 100%);
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.newsletter-content {
    flex: 1;
    min-width: 300px;
}

.newsletter-content h2 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.newsletter-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.newsletter-form-wrapper {
    flex: 1;
    min-width: 300px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
    background: var(--white);
    padding: 8px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.newsletter-form input {
    flex: 1;
    padding: 16px 20px;
    border: none;
    outline: none;
    font-size: 1rem;
    border-radius: var(--radius-sm);
}

footer {
    background-color: #0b1120;
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-col h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--white);
}

.footer-col p {
    color: #9ca3af;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-links a {
    color: #9ca3af;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--brand-secondary);
    padding-left: 6px;
}

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

.footer-bottom p {
    color: #9ca3af;
    font-size: 0.9rem;
}

.payment-icons {
    display: flex;
    gap: 16px;
    align-items: center;
    background: #1f2937;
    padding: 12px 24px;
    border-radius: var(--radius-md);
}

.payment-icons img {
    height: 24px;
    opacity: 0.8;
    transition: var(--transition);
}

.payment-icons img:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Product Detail Page Overrides */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.product-gallery img {
    border-radius: var(--radius-md);
    width: 100%;
}

.detail-title {
    font-size: 2.5rem;
    font-family: 'Outfit', sans-serif;
}

/* Profile Page Styles */
.profile-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: start;
}

.profile-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    padding: 40px 30px;
}

.profile-sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.profile-avatar-container {
    position: relative;
    width: 130px;
    height: 130px;
    margin-bottom: 24px;
}

.profile-avatar-container img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-md);
}

.avatar-change-btn {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background-color: var(--brand-primary);
    color: var(--white);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.avatar-change-btn:hover {
    background-color: var(--brand-secondary);
    transform: scale(1.1);
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.profile-role {
    color: var(--brand-primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.profile-meta {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.avatar-picker-dropdown {
    margin-top: 20px;
    background: var(--bg-main);
    border-radius: var(--radius-md);
    padding: 16px;
    width: 100%;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
}

.avatar-options {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 8px;
}

.avatar-option {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    object-fit: cover;
}

.avatar-option:hover, .avatar-option.selected {
    border-color: var(--brand-primary);
    transform: scale(1.1);
}

.profile-details-card {
    padding: 40px;
}

.profile-tabs {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.profile-tab-btn {
    background: none;
    border: none;
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    padding-bottom: 16px;
    color: var(--brand-primary);
    border-bottom: 2px solid var(--brand-primary);
    cursor: pointer;
}

.profile-alert-success {
    background-color: #def7ec;
    color: #03543f;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 24px;
    animation: fadeIn 0.3s ease;
}

.profile-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 30px;
    margin-bottom: 36px;
}

.info-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-group label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.info-value {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-main);
    padding: 12px 16px;
    background-color: var(--bg-main);
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
}

.profile-input {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    outline: none;
    transition: var(--transition);
    background-color: var(--white);
    color: var(--text-main);
    width: 100%;
}

.profile-input:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(1, 58, 150, 0.1);
}

textarea.profile-input {
    resize: vertical;
}

.profile-actions {
    display: flex;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

.profile-header-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px;
    background: rgba(255,255,255,0.1);
    border-radius: 30px;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.15);
}

.profile-header-btn:hover {
    background: rgba(255,255,255,0.2);
}

.profile-header-btn img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--white);
}

.profile-header-btn span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--white);
}

/* Responsive */
@media (max-width: 768px) {
    .profile-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .profile-info-grid {
        grid-template-columns: 1fr;
    }
    
    .header-content {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
        gap: 12px 15px;
        padding: 10px 16px;
        height: auto;
    }

    .logo-text {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
        align-self: center;
    }

    .logo-text img {
        height: 48px !important;
        margin: 0 !important;
        width: auto !important;
    }

    .header-search-container {
        grid-column: 1 / span 2;
        grid-row: 2;
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .header-right-side {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        align-self: center;
        gap: 0;
    }

    .header-text-links {
        display: none !important; /* Hide secondary links on mobile */
    }

    .header-icons-row {
        gap: 10px;
    }

    .header-icon-btn {
        width: 34px;
        height: 34px;
    }

    .header-cart-capsule {
        padding: 2px 10px 2px 4px;
        gap: 4px;
    }

    .cart-circle-icon {
        width: 26px;
        height: 26px;
    }

    .cart-total-text {
        font-size: 0.8rem;
    }

    .cart-badge-count {
        width: 16px;
        height: 16px;
        font-size: 0.65rem;
    }

    /* Category bar horizontal scrolling */
    .category-sub-bar {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 8px 0;
    }

    .category-sub-links {
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-start;
        padding: 0 16px;
        gap: 16px;
        width: max-content;
    }

    .sub-link-sep {
        display: none;
    }

    .hero-container-inner {
        grid-template-columns: 1fr;
        padding: 30px 16px 40px;
        text-align: center;
        gap: 20px;
    }

    .hero-left {
        align-items: center;
        text-align: center;
        padding-top: 10px;
    }

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

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 24px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .btn-shop-now {
        width: 100%;
    }

    .hero-right {
        order: -1;
    }

    .hero-image-card {
        aspect-ratio: 1.5; /* maintain original aspect ratio for showcase */
        max-width: 100%;
    }

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

    .newsletter-box {
        padding: 30px 20px;
        text-align: center;
        justify-content: center;
    }
    
    .product-detail-grid {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    
    .category-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

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

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

/* Sidebar Widget System */
.sidebar-widget {
    margin-top: 30px;
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.sidebar-widget:hover {
    box-shadow: var(--shadow-md);
}

.widget-title {
    font-size: 1rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-main);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}

.widget-icon {
    width: 18px;
    height: 18px;
    fill: var(--brand-primary);
}

/* Price Filter Slider styles */
.slider-vals {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
}

.price-slider {
    width: 100%;
    margin: 8px 0;
    cursor: pointer;
    accent-color: var(--brand-primary);
}

.slider-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
}

.max-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.max-label strong {
    color: var(--text-main);
    font-weight: 600;
}

.reset-price-btn {
    background: none;
    border: none;
    color: var(--brand-secondary);
    font-size: 0.75rem;
    cursor: pointer;
    font-weight: 600;
    padding: 0;
    transition: var(--transition);
}

.reset-price-btn:hover {
    color: #ff4747;
    text-decoration: underline;
}

/* Trust Widget styles */
.trust-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.trust-item {
    display: flex;
    gap: 16px;
    align-items: center;
}

.trust-icon-wrapper {
    width: 38px;
    height: 38px;
    background: rgba(1, 58, 150, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--brand-primary);
}

.trust-text {
    display: flex;
    flex-direction: column;
    font-size: 0.85rem;
}

.trust-text strong {
    color: var(--text-main);
    font-weight: 600;
    margin-bottom: 2px;
}

.trust-text span {
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* Special Promo Card */
.sidebar-promo-card {
    margin-top: 25px;
    padding: 20px;
    background: linear-gradient(135deg, var(--brand-primary) 0%, #012b70 100%);
    color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.sidebar-promo-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.promo-bg-badge {
    position: absolute;
    right: -5px;
    bottom: -5px;
    width: 60px;
    height: 60px;
    opacity: 0.12;
    pointer-events: none;
    user-select: none;
}

.promo-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
    font-weight: 600;
    display: block;
}

.promo-title {
    font-size: 1.15rem;
    font-family: 'Outfit', sans-serif;
    margin: 4px 0 8px 0;
    color: var(--white) !important;
    font-weight: 700;
}

.promo-desc {
    font-size: 0.8rem;
    opacity: 0.85;
    margin-bottom: 12px;
    line-height: 1.4;
}

.promo-code {
    background: rgba(255,255,255,0.15);
    border: 1px dashed rgba(255,255,255,0.4);
    border-radius: var(--radius-sm);
    padding: 8px;
    text-align: center;
    font-weight: 700;
    font-family: monospace;
    letter-spacing: 1.5px;
    font-size: 0.95rem;
    color: var(--white);
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Shop Layout Styles */
.shop-layout {
    display: flex;
    gap: 40px;
}

.sidebar {
    width: 250px;
    flex-shrink: 0;
}

.shop-content {
    flex: 1;
}

/* Product Detail actions desktop defaults */
.product-actions-row {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.qty-select-wrapper {
    display: flex;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
}

/* Responsive Layout Overrides */
@media (max-width: 768px) {
    .shop-layout {
        flex-direction: column;
        gap: 30px;
    }
    .sidebar {
        width: 100%;
    }
    .shop-content {
        width: 100%;
    }
    .sidebar-widget {
        margin-top: 20px;
    }
}

@media (max-width: 576px) {
    .product-actions-row {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .qty-select-wrapper {
        justify-content: center;
        width: 100%;
    }
    .qty-select-wrapper button {
        flex: 1;
        padding: 12px 0;
    }
    .qty-select-wrapper input {
        width: 80px;
    }
    #pd-add-btn {
        width: 100%;
        padding: 14px;
    }
    #pd-wishlist-btn {
        width: 100%;
        padding: 12px;
        display: flex;
        justify-content: center;
    }
    .tab-buttons-row {
        gap: 20px !important;
    }
    .newsletter-form {
        flex-direction: column;
        background: transparent;
        box-shadow: none;
        padding: 0;
        gap: 12px;
    }
    .newsletter-form input {
        background: var(--white);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-md);
        width: 100%;
    }
    .newsletter-form button {
        width: 100%;
        border-radius: var(--radius-md) !important;
        padding: 16px;
    }
    .payment-icons {
        flex-wrap: wrap;
        justify-content: center;
        padding: 12px 16px;
        gap: 12px;
    }
}

.tab-buttons-row {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

