/*
Theme Name: Brita Shqip Water Systems Theme
Theme URI: https://peaklifesupply.com/brita
Description: Një temë premium WordPress + WooCommerce në gjuhën shqipe e optimizuar për shitjen e filtrave të ujit Brita në Kosovë. Mbështetet në dizajnin Purity & Flow me stil Glassmorphism dhe Tailwind CSS.
Version: 1.0.0
Author: Antigravity
Author URI: https://peaklifesupply.com
Text Domain: brita-shqip
Tags: ecommerce, woocommerce, responsive-layout, clean, modern, glassmorphism
License: GNU GPLv2 or later
*/

/* Custom Gotham Font Declarations (Official BRITA Typography) */
@font-face {
    font-family: 'Gotham';
    src: url('fonts/Gotham-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'Gotham';
    src: url('fonts/Gotham-Book.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Gotham';
    src: url('fonts/Gotham-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'Gotham';
    src: url('fonts/Gotham-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

/* Custom variables and fallbacks */
:root {
    --primary-color: #002068;
    --secondary-color: #00658d;
    --eco-green: #4CAF50;
    --background-color: #f9f9f9;
}

/* Glassmorphism utility classes */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.soft-shadow {
    box-shadow: 0 10px 30px -10px rgba(0, 32, 104, 0.1);
}

/* Woocommerce default overrides to look unified */
.woocommerce span.onsale {
    background-color: #4CAF50 !important;
}

.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .woocommerce #respond input#submit.alt {
    background-color: #002068 !important;
    border-radius: 9999px !important;
    padding: 0.75rem 2rem !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover, .woocommerce #respond input#submit.alt:hover {
    background-color: #003399 !important;
}

/* Custom Header Navigation styling for WordPress custom menus */
.menu-item a {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    transition: all 0.2s ease;
}

/* Horizontal top nav styling */
.hidden.md\:flex ul.menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.hidden.md\:flex ul.menu li a {
    color: #444653; /* on-surface-variant */
    padding-bottom: 0.25rem;
}

.hidden.md\:flex ul.menu li a:hover {
    color: #002068; /* primary blue */
}

/* Style current active page in WP menu */
.hidden.md\:flex ul.menu li.current-menu-item a, 
.hidden.md\:flex ul.menu li.current_page_item a {
    color: #00658d !important; /* secondary */
    border-bottom: 2px solid #00658d;
}

/* Mobile vertical menu drawer lists */
#mobile-drawer ul.menu {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

#mobile-drawer ul.menu li a {
    font-size: 1.125rem; /* text-lg */
    color: #444653; /* on-surface-variant */
}

#mobile-drawer ul.menu li a:hover {
    color: #002068; /* primary blue */
}

#mobile-drawer ul.menu li.current-menu-item a, 
#mobile-drawer ul.menu li.current_page_item a {
    color: #002068 !important;
    font-weight: 700;
}

/* =========================================================================
   WooCommerce Grid Layout Reset & Fixes
   ========================================================================= */
.woocommerce ul.products, 
.woocommerce-page ul.products {
    display: grid !important;
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    gap: 1.5rem !important;
    width: 100% !important;
    margin: 0 0 2rem 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

@media (min-width: 640px) {
    .woocommerce ul.products, 
    .woocommerce-page ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (min-width: 1024px) {
    .woocommerce ul.products, 
    .woocommerce-page ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 2rem !important;
    }
}

/* Reset individual product item width, float and margins */
.woocommerce ul.products li.product, 
.woocommerce-page ul.products li.product,
.woocommerce ul.products .product,
.woocommerce-page ul.products .product {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    clear: none !important;
}

/* Clear WooCommerce clear-floats pseudo elements */
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after {
    display: none !important;
}

/* =========================================================================
   WooCommerce Single Product Page Overrides
   ========================================================================= */
.woocommerce div.product div.images,
.woocommerce div.product div.summary {
    width: 100% !important;
    float: none !important;
}

.woocommerce div.product .woocommerce-tabs {
    clear: both !important;
}

/* Price styling in product page */
.woocommerce div.product p.price,
.woocommerce div.product span.price {
    color: #002068 !important;
    font-weight: 700 !important;
}

.woocommerce div.product p.price del,
.woocommerce div.product span.price del {
    color: #747684 !important;
    font-weight: 400 !important;
    opacity: 0.6;
}

.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins {
    text-decoration: none !important;
    color: #002068 !important;
    font-weight: 700 !important;
}

/* Variation selects */
.woocommerce div.product form.cart .variations select {
    border: 1px solid #e2e2e2 !important;
    border-radius: 9999px !important;
    padding: 0.75rem 1.5rem !important;
    font-family: 'Gotham', sans-serif !important;
    background-color: #ffffff !important;
}

.woocommerce div.product form.cart .variations select:focus {
    border-color: #00658d !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(0, 101, 141, 0.15) !important;
}

/* =========================================================================
   Pagination Styling
   ========================================================================= */
.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.nav-links a,
.nav-links span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
}

.nav-links a {
    color: #002068;
    background-color: #f3f3f3;
}

.nav-links a:hover {
    background-color: #002068;
    color: #ffffff;
}

.nav-links span.current {
    background-color: #002068;
    color: #ffffff;
}

/* =========================================================================
   Prose / Content Styling
   ========================================================================= */
.prose h2 { font-size: 1.5rem; font-weight: 700; color: #002068; margin-top: 2rem; margin-bottom: 1rem; }
.prose h3 { font-size: 1.25rem; font-weight: 600; color: #002068; margin-top: 1.5rem; margin-bottom: 0.75rem; }
.prose p  { margin-bottom: 1rem; }
.prose ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.prose ol { list-style: decimal; padding-left: 1.5rem; margin-bottom: 1rem; }
.prose li { margin-bottom: 0.25rem; }
.prose a  { color: #00658d; text-decoration: underline; }
.prose a:hover { color: #002068; }
.prose img { border-radius: 0.75rem; margin: 1.5rem 0; }
.prose blockquote {
    border-left: 4px solid #00658d;
    padding-left: 1.25rem;
    font-style: italic;
    color: #444653;
    margin: 1.5rem 0;
}

/* =========================================================================
   WooCommerce Messages / Notices
   ========================================================================= */
.woocommerce-message,
.woocommerce-info {
    border-top-color: #00658d !important;
    background-color: rgba(0, 101, 141, 0.05) !important;
    border-radius: 0.75rem !important;
}

.woocommerce-message::before,
.woocommerce-info::before {
    color: #00658d !important;
}

.woocommerce-error {
    border-top-color: #ba1a1a !important;
    background-color: rgba(186, 26, 26, 0.05) !important;
    border-radius: 0.75rem !important;
}

/* =========================================================================
   Smooth Animations
   ========================================================================= */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Line clamp utility */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.scrollbar-none::-webkit-scrollbar {
    display: none;
}
/* Hide scrollbar for IE, Edge and Firefox */
.scrollbar-none {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}


