/*
 * Bathroom Zen Theme — Custom Styles
 */

:root {
    --bath-primary: #0d6e6e;
    --bath-primary-dark: #0a5a5a;
    --bath-primary-light: #e8f4f4;
    --bath-accent: #c9782b;
    --bath-accent-light: #fdf4e8;
    --bath-dark: #1a1a2e;
    --bath-text: #333333;
    --bath-text-light: #666666;
    --bath-bg: #ffffff;
    --bath-bg-alt: #f7f9fb;
    --bath-bg-dark: #1a1a2e;
    --bath-border: #e0e0e0;
    --bath-font: 'Segoe UI', system-ui, -apple-system, sans-serif;
    --bath-shadow: 0 2px 15px rgba(0,0,0,0.08);
    --bath-shadow-lg: 0 5px 30px rgba(0,0,0,0.12);
    --bath-radius: 8px;
    --bath-transition: 0.3s ease;
}

* { box-sizing: border-box; }

body {
    font-family: var(--bath-font);
    color: var(--bath-text);
    background: var(--bath-bg);
    margin: 0;
    line-height: 1.7;
}

a { color: var(--bath-primary); text-decoration: none; transition: var(--bath-transition); }
a:hover { color: var(--bath-primary-dark); }

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

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

/* ===== Top Bar ===== */
.bath-topbar {
    background: var(--bath-dark);
    color: #fff;
    font-size: 13px;
    padding: 6px 0;
}
.bath-topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.bath-topbar a { color: #ccc; }
.bath-topbar a:hover { color: #fff; }
.bath-topbar-item { margin-right: 18px; }
.bath-topbar-inquiry {
    background: var(--bath-accent);
    color: #fff !important;
    padding: 4px 14px;
    border-radius: 4px;
    font-weight: 600;
    margin-right: 12px;
}
.bath-topbar-cart { color: #ccc; }

/* ===== Header ===== */
.bath-header {
    background: var(--bath-bg);
    border-bottom: 1px solid var(--bath-border);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.bath-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.bath-logo-text {
    font-size: 24px;
    font-weight: 800;
    color: var(--bath-primary);
    letter-spacing: 2px;
    display: block;
    line-height: 1.2;
}
.bath-logo-tagline {
    font-size: 11px;
    color: var(--bath-text-light);
    letter-spacing: 1px;
    text-transform: uppercase;
}
.bath-main-nav { display: flex; align-items: center; }
.bath-mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--bath-dark);
    padding: 5px;
}
.bath-nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
}
.bath-nav-menu li { position: relative; }
.bath-nav-menu a {
    display: block;
    padding: 8px 18px;
    color: var(--bath-dark);
    font-weight: 500;
    font-size: 15px;
    border-radius: 6px;
}
.bath-nav-menu a:hover {
    background: var(--bath-primary-light);
    color: var(--bath-primary);
}

/* ===== Categories Bar (Vertical Menu) ===== */
.bath-categories-bar {
    background: var(--bath-bg-alt);
    border-bottom: 2px solid var(--bath-primary);
}
.bath-categories-toggle-wrapper {
    padding: 10px 0;
}
.bath-categories-toggle {
    background: var(--bath-primary);
    color: #fff;
    border: none;
    padding: 10px 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 6px;
    transition: var(--bath-transition);
    width: 100%;
    text-align: left;
}
.bath-categories-toggle:hover {
    background: var(--bath-primary-dark);
}
.bath-categories-menu {
    display: none;
    padding: 10px 0 15px;
}
.bath-categories-menu.active { display: block; }
.bath-categories-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.bath-categories-list li { margin: 0; }
.bath-categories-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid var(--bath-border);
    border-radius: var(--bath-radius);
    color: var(--bath-text);
    font-weight: 500;
    transition: var(--bath-transition);
}
.bath-categories-list a:hover {
    border-color: var(--bath-primary);
    color: var(--bath-primary);
    box-shadow: var(--bath-shadow);
    transform: translateY(-2px);
}
.bath-categories-list .menu-item-has-children > a::after {
    content: '▸';
    margin-left: auto;
    color: var(--bath-text-light);
}

/* ===== Hero Carousel ===== */
.bath-hero-carousel {
    position: relative;
    overflow: hidden;
    height: 500px;
}
.bath-carousel-container {
    display: flex;
    height: 100%;
    transition: transform 0.6s ease;
}
.bath-carousel-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.bath-carousel-content {
    color: #fff;
    max-width: 700px;
    padding: 40px 20px;
}
.bath-carousel-content h1 {
    font-size: 48px;
    font-weight: 800;
    margin: 0 0 16px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.bath-carousel-content p {
    font-size: 18px;
    margin: 0 0 30px;
    opacity: 0.9;
}
.bath-carousel-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
    pointer-events: none;
}
.bath-carousel-nav button {
    pointer-events: auto;
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    font-size: 36px;
    padding: 10px 18px;
    cursor: pointer;
    border-radius: 50%;
    backdrop-filter: blur(4px);
    transition: var(--bath-transition);
}
.bath-carousel-nav button:hover {
    background: rgba(255,255,255,0.4);
}
.bath-carousel-dots {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
}
.bath-carousel-dots span {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background: rgba(255,255,255,0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--bath-transition);
}
.bath-carousel-dots span.active {
    background: #fff;
    transform: scale(1.2);
}

/* ===== Sections ===== */
.bath-section {
    padding: 80px 0;
}
.bath-section:nth-child(even) {
    background: var(--bath-bg-alt);
}
.bath-section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: var(--bath-dark);
    margin: 0 0 10px;
}
.bath-section-subtitle {
    text-align: center;
    color: var(--bath-text-light);
    font-size: 17px;
    margin: 0 0 50px;
}
.bath-section-cta {
    text-align: center;
    margin-top: 40px;
}

/* ===== Categories Grid ===== */
.bath-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.bath-category-card {
    background: #fff;
    border-radius: var(--bath-radius);
    overflow: hidden;
    box-shadow: var(--bath-shadow);
    transition: var(--bath-transition);
    text-align: center;
}
.bath-category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--bath-shadow-lg);
}
.bath-category-img {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bath-category-placeholder {
    font-size: 64px;
    opacity: 0.6;
}
.bath-category-card h3 {
    padding: 15px;
    margin: 0;
    font-size: 17px;
    color: var(--bath-dark);
}

/* ===== Products Section ===== */
.bath-products-placeholder {
    text-align: center;
    padding: 60px 20px;
    background: var(--bath-bg-alt);
    border-radius: var(--bath-radius);
    color: var(--bath-text-light);
}

/* ===== About Section ===== */
.bath-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.bath-about-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--bath-dark);
    margin: 0 0 20px;
}
.bath-about-content p {
    color: var(--bath-text-light);
    margin-bottom: 20px;
    font-size: 16px;
}
.bath-stats {
    display: flex;
    gap: 30px;
    margin: 30px 0;
}
.bath-stat {
    text-align: center;
}
.bath-stat-num {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--bath-primary);
}
.bath-stat-label {
    font-size: 13px;
    color: var(--bath-text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.bath-about-image {
    height: 400px;
    border-radius: var(--bath-radius);
    display: flex;
    align-items: center;
    justify-content: center;
}
.bath-about-placeholder {
    font-size: 20px;
    color: var(--bath-text-light);
    text-align: center;
    padding: 20px;
}

/* ===== Features Grid ===== */
.bath-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
.bath-feature-card {
    text-align: center;
    padding: 35px 20px;
    background: #fff;
    border-radius: var(--bath-radius);
    box-shadow: var(--bath-shadow);
    transition: var(--bath-transition);
}
.bath-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--bath-shadow-lg);
}
.bath-feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
}
.bath-feature-card h3 {
    font-size: 18px;
    color: var(--bath-dark);
    margin: 0 0 10px;
}
.bath-feature-card p {
    font-size: 14px;
    color: var(--bath-text-light);
    margin: 0;
    line-height: 1.6;
}

/* ===== Lead Form ===== */
.bath-lead-section {
    background: var(--bath-dark);
    color: #fff;
}
.bath-lead-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}
.bath-lead-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 15px;
}
.bath-lead-content p {
    opacity: 0.8;
    margin-bottom: 30px;
    font-size: 17px;
}
.bath-lead-form-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}
.bath-input {
    flex: 1;
    padding: 14px 18px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-family: var(--bath-font);
    outline: none;
}
.bath-input:focus {
    box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
}
.bath-lead-form select.bath-input {
    appearance: auto;
}

/* ===== Buttons ===== */
.bath-btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: var(--bath-transition);
    text-decoration: none;
    font-family: var(--bath-font);
}
.bath-btn-primary {
    background: var(--bath-primary);
    color: #fff;
}
.bath-btn-primary:hover {
    background: var(--bath-primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(13,110,110,0.3);
}
.bath-btn-secondary {
    background: rgba(255,255,255,0.2);
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
}
.bath-btn-secondary:hover {
    background: rgba(255,255,255,0.3);
    color: #fff;
}
.bath-btn-outline {
    background: transparent;
    color: var(--bath-primary);
    border: 2px solid var(--bath-primary);
}
.bath-btn-outline:hover {
    background: var(--bath-primary);
    color: #fff;
}

/* ===== CTA Section ===== */
.bath-cta-section {
    background: linear-gradient(135deg, var(--bath-primary), var(--bath-primary-dark));
    color: #fff;
    text-align: center;
    padding: 60px 0;
}
.bath-cta-content h2 {
    font-size: 32px;
    margin: 0 0 12px;
}
.bath-cta-content p {
    opacity: 0.9;
    margin: 0 0 30px;
    font-size: 17px;
}
.bath-cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* ===== Footer ===== */
.bath-footer {
    background: var(--bath-bg-dark);
    color: #ccc;
    padding: 60px 0 0;
}
.bath-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.bath-footer-col h3 {
    color: #fff;
    font-size: 18px;
    margin: 0 0 18px;
}
.bath-footer-col p {
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 15px;
}
.bath-footer-contact {
    font-size: 14px;
    line-height: 1.8;
}
.bath-footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}
.bath-footer-menu li {
    margin-bottom: 8px;
}
.bath-footer-menu a {
    color: #999;
    font-size: 14px;
}
.bath-footer-menu a:hover {
    color: #fff;
}
.bath-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    margin-top: 40px;
    text-align: center;
    font-size: 13px;
    color: #777;
}

/* ===== WooCommerce Overrides ===== */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    background: #fff;
    border-radius: var(--bath-radius);
    padding: 15px;
    box-shadow: var(--bath-shadow);
    transition: var(--bath-transition);
}
.woocommerce ul.products li.product:hover {
    box-shadow: var(--bath-shadow-lg);
    transform: translateY(-5px);
}
.woocommerce ul.products li.product .price {
    color: var(--bath-primary);
    font-weight: 700;
}
.woocommerce ul.products li.product .button {
    background: var(--bath-primary) !important;
    color: #fff !important;
    border-radius: 6px !important;
}
.woocommerce ul.products li.product .button:hover {
    background: var(--bath-primary-dark) !important;
}

/* ===== Shop Layout ===== */
.bath-shop-layout {
    display: flex;
    gap: 30px;
    padding: 40px 0;
    min-height: 60vh;
}
.bath-shop-sidebar {
    width: 250px;
    flex-shrink: 0;
    background: var(--bath-bg-alt);
    border-radius: var(--bath-radius);
    padding: 20px;
    border: 1px solid var(--bath-border);
}
.bath-sidebar-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--bath-dark);
    margin: 0 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--bath-primary);
}
.bath-shop-sidebar .bath-categories-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.bath-shop-sidebar .bath-categories-list a {
    border: none;
    border-radius: 0;
    padding: 10px 0;
    border-bottom: 1px solid var(--bath-border);
    background: transparent;
}
.bath-shop-sidebar .bath-categories-list a:hover {
    transform: none;
    color: var(--bath-primary);
    box-shadow: none;
}
.bath-shop-content {
    flex: 1;
    min-width: 0;
}
.bath-shop-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--bath-dark);
    margin: 0 0 20px;
}
.bath-empty-shop {
    text-align: center;
    padding: 60px 20px;
    background: var(--bath-bg-alt);
    border-radius: var(--bath-radius);
    color: var(--bath-text-light);
}

/* ===== Single Product ===== */
.bath-single-product {
    padding: 40px 0;
    min-height: 60vh;
}

/* ===== Page Content ===== */
.bath-page {
    padding: 40px 0;
    min-height: 60vh;
}
.bath-single {
    padding: 40px 0;
    min-height: 60vh;
}
.bath-archive {
    padding: 40px 0;
    min-height: 60vh;
}
.page-header {
    text-align: center;
    padding: 40px 0;
    background: var(--bath-bg-alt);
    margin-bottom: 40px;
}
.page-header h1 {
    font-size: 36px;
    color: var(--bath-dark);
    margin: 0;
}
.page-content,
.entry-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Contact / Inquiry Page ===== */
.wpcf7 {
    max-width: 600px;
    margin: 0 auto;
}
.wpcf7 input,
.wpcf7 textarea,
.wpcf7 select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--bath-border);
    border-radius: 6px;
    font-size: 15px;
    font-family: var(--bath-font);
}
.wpcf7 input[type="submit"] {
    background: var(--bath-primary);
    color: #fff;
    border: none;
    font-weight: 600;
    cursor: pointer;
    padding: 14px 32px;
    width: auto;
}
.wpcf7 input[type="submit"]:hover {
    background: var(--bath-primary-dark);
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .bath-categories-grid { grid-template-columns: repeat(2, 1fr); }
    .bath-about-grid { grid-template-columns: 1fr; gap: 30px; }
    .bath-features-grid { grid-template-columns: repeat(2, 1fr); }
    .bath-footer-grid { grid-template-columns: repeat(2, 1fr); }
    .bath-hero-carousel { height: 400px; }
    .bath-carousel-content h1 { font-size: 36px; }
}

@media (max-width: 768px) {
    .bath-topbar-inner { flex-direction: column; text-align: center; }
    .bath-mobile-toggle { display: block; }
    .bath-nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        padding: 10px;
        z-index: 99;
    }
    .bath-nav-menu.active { display: flex; }
    .bath-hero-carousel { height: 320px; }
    .bath-carousel-content h1 { font-size: 28px; }
    .bath-categories-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .bath-features-grid { grid-template-columns: 1fr; }
    .bath-footer-grid { grid-template-columns: 1fr; }
    .bath-lead-form-row { flex-direction: column; }
    .bath-stats { flex-direction: column; gap: 15px; }
    .bath-categories-list { grid-template-columns: 1fr; }
    .bath-shop-layout { flex-direction: column; }
    .bath-shop-sidebar { width: 100%; }
}

@media (max-width: 480px) {
    .bath-categories-grid { grid-template-columns: 1fr; }
    .bath-section { padding: 40px 0; }
}
