/* ============================================
   Deveron Water Lilies - Main Stylesheet
   ============================================ */

/* Fonts are self-hosted and loaded from header.php */

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    line-height: 24px;
    color: #6d6a6a;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Philosopher', sans-serif;
    color: #2b2b2b;
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: transparent;
    font-family: inherit;
}

/* ============================================
   Container
   ============================================ */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* ============================================
   Announcement Bar
   ============================================ */
.announcement-bar {
    width: 100%;
    text-align: center;
    background-color: #024985;
    padding: 10px 40px 10px 20px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    position: relative;
    transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.3s ease;
    overflow: hidden;
}

.announcement-bar.dismissed {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
}

.announcement-close {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease;
    padding: 0 4px;
    line-height: 1;
}

.announcement-close:hover {
    opacity: 1;
}

.announcement-bar strong {
    display: block;
    font-weight: 900;
    margin-bottom: 4px;
}

/* ============================================
   Site Header
   ============================================ */
.site-header {
    width: 100%;
    background-color: #fff;
    height: 115px;
    position: relative;
    z-index: 100;
    transition: box-shadow 0.3s ease, height 0.3s ease;
}

.site-header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-inner {
    display: flex;
    align-items: center;
    height: 100%;
}

.header-logo {
    flex-shrink: 0;
}

.header-logo img {
    height: 75px;
    width: auto;
}

.site-header.sticky .header-logo img.logo-full {
    display: none;
}

.site-header.sticky .header-logo img.logo-icon {
    display: block;
}

.header-logo img.logo-icon {
    display: none;
    height: 40px;
    width: auto;
}

.header-nav {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.header-nav a {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #1b1b1b;
    padding: 0 29px;
    transition: color 0.3s ease;
}

.header-nav a:hover {
    color: #000;
}

.header-nav a.active {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: 16px;
}

.header-actions button,
.header-actions a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #595959;
    transition: opacity 0.3s ease;
}

.header-actions button:hover,
.header-actions a:hover {
    opacity: 0.7;
}

.cart-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.cart-badge {
    position: relative;
}

.cart-badge span {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    font-size: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Spacer for when header is sticky */
.header-spacer {
    display: none;
    height: 115px;
}

body.header-is-sticky .header-spacer {
    display: block;
}

/* ============================================
   Mobile Burger + Nav Drawer
   ============================================ */
.header-actions .mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
}

.burger-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: #1b1b1b;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-nav-toggle.is-open .burger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mobile-nav-toggle.is-open .burger-bar:nth-child(2) {
    opacity: 0;
}
.mobile-nav-toggle.is-open .burger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 998;
}

.mobile-nav-backdrop.is-open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    max-width: 85vw;
    height: 100vh;
    background: #fff;
    box-shadow: -4px 0 16px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 999;
    padding: 60px 24px 24px;
    overflow-y: auto;
}

.mobile-nav.is-open {
    transform: translateX(0);
}

.mobile-nav-close {
    position: absolute;
    top: 12px;
    right: 16px;
    width: 36px;
    height: 36px;
    font-size: 28px;
    line-height: 1;
    color: #1b1b1b;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-list li {
    border-bottom: 1px solid #eee;
}

.mobile-nav-list a {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #1b1b1b;
    padding: 16px 4px;
}

.mobile-nav-list a.active {
    color: #024985;
}

body.mobile-nav-open {
    overflow: hidden;
}

/* ============================================
   Hero Slider
   ============================================ */
.hero-slider {
    position: relative;
    width: 100%;
    height: 640px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 10;
}

.hero-content-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.hero-lotus {
    width: 80px;
    height: auto;
    margin-bottom: 16px;
    opacity: 0.9;
}

.hero-title {
    font-family: 'Euphoria Script', cursive;
    font-size: 90px;
    color: #330086;
    line-height: 1.1;
    font-weight: 400;
    margin: 0;
}

.hero-cta {
    display: inline-block;
    margin-top: 32px;
    font-family: 'Philosopher', sans-serif;
    font-size: 16px;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.hero-cta:hover {
    color: #333;
}

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

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

.hero-dot.active {
    background-color: #c0392b;
}

/* ============================================
   Products Section
   ============================================ */
.products-section {
    width: 100%;
    padding: 48px 0;
    background-color: #fff;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.filter-btn {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #595959;
    font-weight: 400;
    padding: 0;
    transition: color 0.3s ease;
}

.filter-btn:hover {
    opacity: 0.8;
}

.filter-btn.active {
    color: #c0392b;
    font-weight: 700;
}

.filter-toggle {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #595959;
}

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

.product-card {
    padding: 0 20px;
    text-align: center;
    display: block;
    color: inherit;
}

.product-card:hover .product-image > img:first-child {
    transform: scale(1.05);
}

.product-image {
    position: relative;
    width: 100%;
    max-width: 295px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    margin-bottom: 16px;
    margin-left: auto;
    margin-right: auto;
}

.product-image > img:first-child {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-flag {
    position: absolute;
    top: 6px;
    left: 6px;
    z-index: 2;
    width: 45px !important;
    max-width: 45px !important;
    height: auto !important;
    object-fit: contain;
}

.product-title {
    font-family: 'Philosopher', sans-serif;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #595959;
    line-height: 1.3;
    margin-bottom: 4px;
}

.product-add-to-basket {
    font-size: 12px;
    color: #afafaf;
    font-weight: 400;
    margin-top: 8px;
    margin-bottom: 4px;
}

.product-price {
    font-size: 12px;
    color: #afafaf;
    font-weight: 400;
}

/* ============================================
   Passion Section
   ============================================ */
.passion-section {
    background-color: #fff;
    padding: 80px 0;
}

.passion-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.passion-image img {
    width: 100%;
    height: auto;
}

.passion-text h2 {
    font-size: 36px;
    margin-bottom: 0;
}

.passion-divider {
    width: 40px;
    height: 2px;
    background-color: #024985;
    margin: 15px 0 20px;
}

.passion-text p {
    font-size: 15px;
    line-height: 24px;
    color: #6d6a6a;
    margin-bottom: 0;
}

.passion-btn {
    display: inline-block;
    margin-top: 25px;
    border: 1px solid #2b2b2b;
    padding: 10px 24px;
    font-family: 'Philosopher', sans-serif;
    font-size: 14px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #2b2b2b;
    transition: all 0.3s ease;
}

.passion-btn:hover {
    background-color: #2b2b2b;
    color: #fff;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    position: relative;
    width: 100%;
    height: 533px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/headers/Water-Lily-Pond.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.45);
}

.cta-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.cta-content h2 {
    font-size: 38px;
    color: #fff;
    margin-bottom: 16px;
}

.cta-content p {
    font-family: 'Lora', serif;
    font-size: 22px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

.cta-btn {
    display: inline-block;
    font-family: 'Philosopher', sans-serif;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    border: 1px solid #fff;
    padding: 12px 30px;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background-color: #fff;
    color: #333;
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials-section {
    padding: 60px 0;
    background-color: #fff;
}

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

.testimonial {
    text-align: center;
}

.testimonial-quote-mark {
    font-family: Georgia, serif;
    font-size: 48px;
    line-height: 1;
    color: #c0392b;
    margin-bottom: 8px;
    user-select: none;
}

.testimonial-text {
    font-family: 'Lora', serif;
    font-size: 17px;
    font-style: italic;
    color: #4b4747;
    line-height: 1.6;
}

.testimonial-author {
    font-family: 'Philosopher', sans-serif;
    font-size: 14px;
    color: #2b2b2b;
    margin-top: 15px;
    letter-spacing: 1px;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background-color: #f5f0eb;
    color: #6d6a6a;
}

.footer-main {
    padding: 60px 0;
}

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

.footer-logo img {
    height: 80px;
    width: auto;
}

.footer-col h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #2b2b2b;
    margin-bottom: 20px;
}

.footer-contact {
    font-size: 13px;
    line-height: 1.8;
    color: #6d6a6a;
}

.footer-contact p {
    margin-bottom: 12px;
}

.footer-contact strong {
    font-weight: 600;
    color: #2b2b2b;
    display: block;
    margin-bottom: 2px;
}

.footer-contact a {
    color: #6d6a6a;
}

.footer-contact a:hover {
    color: #2b2b2b;
}

.footer-products {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-products li {
    margin-bottom: 16px;
}

.footer-product-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #6d6a6a;
    text-decoration: none;
}

.footer-product-item:hover {
    color: #2b2b2b;
}

.footer-product-thumb {
    width: 50px;
    height: 50px;
    object-fit: cover;
    flex-shrink: 0;
}

.footer-product-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-product-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #2b2b2b;
    line-height: 1.3;
}

.footer-product-price {
    font-size: 12px;
    color: #999;
}

.footer-search-col label {
    display: none;
}

.footer-search-input-wrap {
    display: flex;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.footer-search-input-wrap input {
    width: 100%;
    padding: 8px 12px;
    font-size: 13px;
    font-family: 'Montserrat', sans-serif;
    border: none;
    background: transparent;
    color: #2b2b2b;
    outline: none;
}

.footer-search-input-wrap input::placeholder {
    color: #999;
}

.footer-search-input-wrap button {
    background: none;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

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

.footer-copyright {
    font-size: 12px;
    color: #999;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-payment {
    display: flex;
    gap: 8px;
    align-items: center;
}

.footer-payment img {
    height: 24px;
    width: auto;
    border-radius: 3px;
}

.footer-social {
    display: flex;
    gap: 24px;
}

.footer-social a {
    font-size: 12px;
    color: #999;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
}

.footer-social a:hover {
    color: #2b2b2b;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background-color: #c0392b;
    color: #fff;
    text-decoration: none;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 99;
    transition: opacity 0.3s ease;
}

.back-to-top.visible {
    display: flex;
}

.back-to-top:hover {
    opacity: 0.8;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .header-nav {
        display: none;
    }

    .header-actions .mobile-nav-toggle {
        display: flex;
    }

    .header-actions {
        margin-left: auto;
    }

    .cart-link-text {
        display: none;
    }

    .hero-title {
        font-size: 50px;
    }

    .hero-slider {
        height: 450px;
    }

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

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

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

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

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* ============================================
   Category Listing Page
   ============================================ */
.category-listing {
    padding: 50px 0 80px;
}

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

.category-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.category-card-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    margin-bottom: 16px;
}

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

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

.category-card h3 {
    font-family: 'Philosopher', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #2b2b2b;
}

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

@media (max-width: 1024px) and (min-width: 769px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   Page Header (text-only, e.g. Our Plants, Cart)
   ============================================ */
.page-header {
    padding: 50px 0 30px;
    text-align: center;
    background-color: #f9f9f9;
    border-bottom: 1px solid #eee;
}

.page-header h1 {
    font-size: 36px;
    margin-bottom: 8px;
}

.page-header-subtitle {
    font-family: 'Lora', serif;
    font-size: 16px;
    font-style: italic;
    color: #888;
}

/* ============================================
   Page Header Banner (content pages)
   ============================================ */
.page-header-banner {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.page-header-banner > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-header-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.35);
}

.page-header-banner-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.page-header-banner-content h1 {
    font-size: 42px;
    color: #fff;
    text-align: center;
}

/* ============================================
   Content Pages (About, Shipping, FAQ)
   ============================================ */
.content-page {
    padding: 60px 0;
}

.content-area {
    max-width: 800px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.8;
    color: #4b4747;
}

.content-area h2 {
    font-size: 28px;
    margin: 30px 0 15px;
}

.content-area h3 {
    font-size: 22px;
    margin: 25px 0 10px;
}

.content-area p {
    margin-bottom: 16px;
}

.content-area ul,
.content-area ol {
    margin: 16px 0;
    padding-left: 24px;
    list-style: disc;
}

.content-area ol {
    list-style: decimal;
}

.content-area li {
    margin-bottom: 8px;
}

.content-area table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 14px;
}

.content-area table th,
.content-area table td {
    border: 1px solid #ddd;
    padding: 12px 16px;
    text-align: left;
}

.content-area table th {
    background-color: #024985;
    color: #fff;
    font-family: 'Philosopher', sans-serif;
    font-weight: 400;
    font-size: 15px;
}

.content-area table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.content-area img {
    border-radius: 4px;
    margin: 16px 0;
}

/* ============================================
   Product Detail Page
   ============================================ */
.product-breadcrumb {
    padding: 16px 0;
    background-color: #f9f9f9;
    font-size: 13px;
    color: #888;
    border-bottom: 1px solid #eee;
}

.product-breadcrumb a {
    color: #595959;
}

.product-breadcrumb a:hover {
    color: #024985;
}

.product-breadcrumb span {
    color: #2b2b2b;
}

.product-detail {
    padding: 50px 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.product-detail-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.product-detail-info h1 {
    font-size: 30px;
    margin-bottom: 16px;
    line-height: 1.3;
}

.product-detail-price {
    font-family: 'Philosopher', sans-serif;
    font-size: 28px;
    color: #024985;
    font-weight: 700;
    margin-bottom: 16px;
}

.stock-status {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    padding: 6px 12px;
    display: inline-block;
    border-radius: 3px;
}

.stock-status.in-stock {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.stock-status.out-of-stock {
    background-color: #ffebee;
    color: #c62828;
}

.product-detail-description {
    font-size: 15px;
    line-height: 1.8;
    color: #4b4747;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.product-detail-description p {
    margin-bottom: 12px;
}

.product-add-form {
    margin-bottom: 24px;
}

.product-qty-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.product-qty-row label {
    font-size: 14px;
    font-weight: 500;
    color: #2b2b2b;
}

.qty-input {
    width: 70px;
    padding: 8px 10px;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    border: 1px solid #ddd;
    text-align: center;
    outline: none;
}

.qty-input:focus {
    border-color: #024985;
}

.add-to-cart-btn {
    display: inline-block;
    background-color: #024985;
    color: #fff;
    font-family: 'Philosopher', sans-serif;
    font-size: 15px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 14px 36px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.add-to-cart-btn:hover {
    background-color: #013a6b;
}

.product-categories-tags {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.tags-label {
    font-size: 13px;
    font-weight: 600;
    color: #2b2b2b;
}

.category-tag {
    display: inline-block;
    font-size: 12px;
    color: #595959;
    border: 1px solid #ddd;
    padding: 4px 12px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.category-tag:hover {
    background-color: #024985;
    color: #fff;
    border-color: #024985;
}

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

.related-products-section {
    border-top: 1px solid #eee;
}

/* ============================================
   Pagination
   ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    font-size: 13px;
    font-family: 'Montserrat', sans-serif;
    color: #595959;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

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

.pagination-link.active {
    background-color: #024985;
    color: #fff;
    border-color: #024985;
}

/* ============================================
   No Results / Search Count
   ============================================ */
.no-results {
    text-align: center;
    padding: 60px 0;
    font-size: 16px;
    color: #888;
}

.no-results a {
    color: #024985;
    text-decoration: underline;
}

.search-count {
    font-size: 14px;
    color: #888;
    margin-bottom: 30px;
}

/* ============================================
   Cart Page
   ============================================ */
.cart-section {
    padding: 40px 0 80px;
}

.cart-empty {
    text-align: center;
    padding: 60px 0;
}

.cart-empty p {
    font-size: 18px;
    color: #888;
    margin-bottom: 24px;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.cart-table th {
    font-family: 'Philosopher', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #2b2b2b;
    text-align: left;
    padding: 12px 16px;
    border-bottom: 2px solid #2b2b2b;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cart-table td {
    padding: 16px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
    font-size: 14px;
    color: #4b4747;
}

.cart-item-image {
    width: 80px;
}

.cart-item-image img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 3px;
}

.cart-item-name a {
    font-family: 'Philosopher', sans-serif;
    font-size: 15px;
    color: #2b2b2b;
}

.cart-item-name a:hover {
    color: #024985;
}

.cart-item-remove .remove-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    font-size: 20px;
    color: #c0392b;
    border: 1px solid #c0392b;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.cart-item-remove .remove-btn:hover {
    background-color: #c0392b;
    color: #fff;
}

.cart-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.cart-coupon {
    max-width: 400px;
    margin-right: auto;
    margin-bottom: 24px;
    padding: 16px;
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 4px;
}

.cart-coupon h3 {
    font-size: 16px;
    margin-bottom: 12px;
}

.coupon-form {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.coupon-input {
    flex: 1;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    line-height: 1;
}

.coupon-apply-btn {
    flex-shrink: 0;
    padding: 12px 24px;
    background-color: #024985;
    color: #fff;
    border: none;
    border-radius: 3px;
    font-family: 'Philosopher', sans-serif;
    font-size: 14px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.coupon-apply-btn:hover {
    background-color: #013a6b;
}

.coupon-applied {
    font-size: 14px;
    color: #2b2b2b;
}

.coupon-remove {
    margin-left: 8px;
    color: #c0392b;
    font-size: 12px;
    text-decoration: underline;
}

.coupon-flash {
    font-size: 13px;
    margin-bottom: 8px;
    padding: 6px 10px;
    border-radius: 3px;
}
.coupon-flash-success { background: #e8f5e9; color: #1b5e20; }
.coupon-flash-error   { background: #ffebee; color: #b71c1c; }

.cart-totals {
    max-width: 400px;
    margin-left: auto;
}

.cart-totals h3 {
    font-size: 20px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #2b2b2b;
}

.cart-totals-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    font-size: 14px;
    color: #4b4747;
    border-bottom: 1px solid #eee;
}

.cart-totals-grand {
    font-size: 18px;
    font-weight: 700;
    color: #2b2b2b;
}

.shipping-warning {
    color: #c0392b;
    font-weight: 600;
    font-size: 13px;
}

.cart-minimum-warning,
.cart-contact-warning {
    margin-top: 20px;
    padding: 16px;
    background-color: #fff3e0;
    border: 1px solid #ff9800;
    border-radius: 4px;
    font-size: 14px;
    color: #e65100;
}

.cart-contact-warning a {
    color: #024985;
    text-decoration: underline;
}

.checkout-btn {
    display: block;
    width: 100%;
    margin-top: 24px;
    background-color: #024985;
    color: #fff;
    font-family: 'Philosopher', sans-serif;
    font-size: 16px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 16px;
    border: none;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.checkout-btn:hover {
    background-color: #013a6b;
    color: #fff;
}

/* ============================================
   Checkout Page
   ============================================ */
.checkout-section {
    padding: 40px 0 80px;
}

.checkout-errors {
    margin-bottom: 24px;
    padding: 14px 18px;
    background: #fdecea;
    border: 1px solid #f5c2c0;
    color: #b71c1c;
    border-radius: 4px;
    font-size: 14px;
}
.checkout-errors ul { margin: 6px 0 0 18px; }

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

.checkout-fields h2,
.checkout-summary h2 {
    font-size: 22px;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #2b2b2b;
}

.checkout-form .form-group {
    margin-bottom: 16px;
}
.checkout-form .form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.checkout-form label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #2b2b2b;
}
.checkout-form .req   { color: #c0392b; }
.checkout-form .muted { color: #999; font-weight: 400; font-size: 12px; }

.checkout-form input[type="text"],
.checkout-form input[type="tel"],
.checkout-form input[type="email"],
.checkout-form select,
.checkout-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #2b2b2b;
    background: #fff;
    transition: border-color 0.2s ease;
}
.checkout-form input:focus,
.checkout-form select:focus,
.checkout-form textarea:focus {
    outline: none;
    border-color: #024985;
}
.checkout-form textarea { resize: vertical; }

.checkout-summary {
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 24px;
    position: sticky;
    top: 24px;
}
.checkout-summary-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 18px;
    font-size: 14px;
}
.checkout-summary-table td,
.checkout-summary-table th {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    text-align: left;
    font-weight: 400;
}
.checkout-summary-table tfoot th { font-weight: 600; }
.checkout-summary-table .text-right { text-align: right; }
.checkout-summary-table .checkout-summary-total th,
.checkout-summary-table .checkout-summary-total td {
    font-size: 16px;
    font-weight: 700;
    color: #2b2b2b;
    border-bottom: none;
    padding-top: 14px;
}

/* Payment Method Selector */
.checkout-payment-methods {
    margin: 18px 0;
}
.checkout-payment-methods h3 {
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #2b2b2b;
    margin-bottom: 10px;
}
.payment-option {
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 14px;
    margin-bottom: 8px;
    background: #fff;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}
.payment-option:has(input:checked) {
    border-color: #3a5a40;
    background-color: #f7faf7;
}
.payment-option label {
    display: block;
    cursor: pointer;
}
.payment-option input[type="radio"] {
    margin-right: 8px;
    accent-color: #3a5a40;
}
.payment-option-label {
    font-weight: 600;
    font-size: 14px;
    color: #2b2b2b;
}
.payment-option-desc {
    display: block;
    font-size: 12px;
    color: #888;
    margin-top: 4px;
    padding-left: 24px;
    line-height: 1.5;
}

.checkout-terms {
    margin: 18px 0;
    padding: 14px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 13px;
    line-height: 1.5;
}
.checkout-terms label { display: block; cursor: pointer; }
.checkout-terms input[type="checkbox"] { margin-right: 8px; }
.checkout-terms a { color: #024985; text-decoration: underline; }

.checkout-back {
    margin-top: 16px;
    text-align: center;
    font-size: 13px;
}
.checkout-back a { color: #024985; }

@media (max-width: 768px) {
    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .checkout-form .form-row-2 {
        grid-template-columns: 1fr;
    }
    .checkout-summary { position: static; }
}

/* ============================================
   Contact Page
   ============================================ */
.contact-section {
    padding: 50px 0 80px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2,
.contact-form-wrap h2 {
    font-size: 28px;
    margin-bottom: 0;
}

.contact-details {
    margin-top: 24px;
}

.contact-detail-item {
    margin-bottom: 20px;
}

.contact-detail-item strong {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #2b2b2b;
    margin-bottom: 4px;
}

.contact-detail-item p {
    font-size: 15px;
    color: #6d6a6a;
    line-height: 1.6;
}

.contact-detail-item a {
    color: #024985;
}

.contact-detail-item a:hover {
    text-decoration: underline;
}

.contact-map {
    margin-top: 30px;
}

.contact-map iframe {
    width: 100%;
    border-radius: 4px;
}

.contact-form {
    margin-top: 24px;
}

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

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #2b2b2b;
    margin-bottom: 6px;
}

.form-group .required {
    color: #c0392b;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    border: 1px solid #ddd;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #024985;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-submit-btn {
    display: inline-block;
    background-color: #024985;
    color: #fff;
    font-family: 'Philosopher', sans-serif;
    font-size: 15px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 14px 36px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-submit-btn:hover {
    background-color: #013a6b;
}

/* ============================================
   Alert Messages
   ============================================ */
.alert {
    padding: 14px 20px;
    margin-bottom: 30px;
    border-radius: 4px;
    font-size: 14px;
}

.alert-success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.alert-error {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

/* ============================================
   Responsive - New Pages
   ============================================ */
@media (max-width: 768px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
    }

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

    .page-header-banner {
        height: 220px;
    }

    .page-header-banner-content h1 {
        font-size: 28px;
    }

    .cart-table th:nth-child(1),
    .cart-table td:nth-child(1) {
        display: none;
    }

    .cart-actions {
        flex-direction: column;
        gap: 12px;
    }

    .cart-totals {
        max-width: 100%;
    }
}
