/*
Theme Name: Fibercan Store
Theme URI: https://mothercanproducts.com
Description: A minimalist, high-conversion WooCommerce store with macOS-inspired navigation.
Version: 1.1.0
Author: Antigravity
Author URI: https://deepmind.google
License: GNU General Public License v2 or later
Text Domain: fibercan-store
*/

/* Clean up Clutter on Home */
body.home .woocommerce-breadcrumb,
body.home .page-title,
body.home .woocommerce-products-header {
    display: none;
}

body.menu-open {
    overflow: hidden;
}

:root {
    /* Primary Colors - Richer Green Gradient */
    --primary: #059669;
    /* Emerald-600 */
    --primary-dark: #065f46;
    --primary-light: #ecfdf5;
    --accent: #f59e0b;
    /* Amber for highlights */

    /* Semantic Colors */
    --text: #0f172a;
    /* Slate-900 */
    --text-muted: #64748b;
    /* Slate-500 */
    --white: #ffffff;
    --bg-light: #f8fafc;
    --border: rgba(15, 23, 42, 0.08);

    /* Glassmorphism Tokens */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-blur: 20px;
    --glass-border: rgba(255, 255, 255, 0.4);

    /* Spacing & Layout */
    --container: 1440px;
    --section-spacing: 120px;
    --btn-radius: 100px;
    --card-radius: 32px;

    /* Modern Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-premium: 0 30px 60px -12px rgba(15, 23, 42, 0.12);

    /* Typography */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Mockup Sync */
    --product-grid-bg: #ffffff;
    --product-card-radius: 40px;
    --premium-gradient: linear-gradient(135deg, #059669, #065f46);
}

/* Reset & Basics */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

/* Global Emoji Fix */
body img.emoji,
body .emoji {
    max-width: 20px;
    height: auto;
    display: inline-block;
    vertical-align: middle;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.auth-font {
    font-family: var(--font-heading);
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.2, 0, 0, 1);
}

/* Announcement Bar */
.announcement-bar {
    background: #0a0a0a;
    /* Panther Black */
    color: var(--primary);
    /* Logo Theme Green */
    padding: 12px 0;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    position: relative;
    z-index: 2001;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 50px;
    overflow: hidden;
    opacity: 1;
}

.announcement-bar.hidden {
    max-height: 0;
    padding: 0;
    opacity: 0;
    pointer-events: none;
}

.announcement-bar strong {
    color: var(--white);
    margin-left: 5px;
}

body.side-cart-open {
    overflow: hidden;
}

.site-header {
    position: fixed;
    left: 0;
    width: 100%;
    height: 90px;
    z-index: 2000;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    background: transparent;
    display: flex;
    align-items: center;
}

.site-header.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    height: 70px;
    top: 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid var(--glass-border);
}

.header-inner {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 48px;
    width: auto;
    transition: all 0.4s ease;
}

.site-header.scrolled .logo img {
    height: 38px;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

.main-navigation a {
    font-weight: 600;
    font-size: 15px;
    color: var(--text);
    position: relative;
    padding: 8px 0;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.main-navigation a:hover {
    color: var(--primary);
}

.main-navigation a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.menu-toggle {
    display: none;
    background: var(--bg-light);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    cursor: pointer;
    color: var(--text);
}

.cart-link {
    position: relative;
    font-size: 24px;
    color: var(--text);
    background: var(--white);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.cart-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--primary);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary);
    color: white;
    font-size: 10px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid var(--white);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    width: 100%;
    position: relative;
    background: #fdfdfd;
    overflow: hidden;
}

.hero-swiper {
    height: 100%;
    width: 100%;
    z-index: 5;
    pointer-events: auto;
}

.hero-swiper .swiper-slide {
    opacity: 0 !important;
    transition: opacity 0.8s ease;
    visibility: hidden;
}

.hero-swiper .swiper-slide-active {
    opacity: 1 !important;
    visibility: visible;
}

.slide-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 40px;
    padding: 100px 0 80px;
    position: relative;
}

.slide-content {
    flex: 0 0 45%;
    z-index: 10;
    text-align: left;
}

.slide-tagline {
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.2em;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.slide-tagline::after {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--primary);
}

.slide-tagline::before {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--primary);
}

.slide-title {
    font-size: clamp(48px, 8vw, 92px);
    line-height: 1;
    margin-bottom: 30px;
    font-weight: 800;
}

.slide-desc {
    font-size: 20px;
    color: var(--text-muted);
    max-width: 550px;
    margin-bottom: 40px;
    line-height: 1.6;
}

.slide-split-group {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border-radius: 100px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    white-space: nowrap;
}

.split-btn-left,
.split-btn-right {
    padding: 14px 32px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.split-btn-left {
    color: var(--text);
    background: #f1f5f9;
    /* Soft light gray/blue */
}

.split-btn-left:hover {
    background: #f8fafc;
    color: var(--primary);
}

.split-btn-right {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 20px rgba(5, 150, 105, 0.2);
}

.split-btn-right:hover {
    background: var(--primary-dark);
    box-shadow: 0 15px 30px rgba(5, 150, 105, 0.3);
    color: white;
}

.split-btn-right .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px 48px;
    border-radius: var(--btn-radius);
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    border: none;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 10px 20px -5px rgba(5, 150, 105, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px rgba(5, 150, 105, 0.4);
}

.btn-outline {
    background: var(--white);
    border: 1px solid var(--border);
    color: var(--text);
}

.btn-outline:hover {
    background: var(--bg-light);
    border-color: var(--text);
}

/* Floating Timer Badge - More Premium */
.offer-timer {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    /* Align right */
    gap: 8px;
    margin-top: 0;
    padding: 0;
    background: transparent;
    color: #ef4444;
    /* Urgent Red */
    position: relative;
    z-index: 5;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.9);
    pointer-events: auto;
}

.timer-label {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.15em;
    color: #ef4444;
    /* Match timer red */
    text-transform: uppercase;
}

.timer-values {
    display: flex;
    gap: 15px;
}

.timer-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timer-unit span {
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
}

.timer-unit small {
    font-size: 9px;
    text-transform: uppercase;
    opacity: 0.5;
}

.slide-image-wrapper {
    flex: 0 0 50%;
    display: flex;
    justify-content: flex-end;
    position: relative;
}

/* Floating Urgency Chip */
.floating-timer-wrapper {
    position: absolute;
    top: 25px;
    right: 25px;
    z-index: 10;
}

.urgency-chip {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 8px 16px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
}

.pulse-dot {
    width: 38px;
    height: 38px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 900;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
}

.pulse-dot::after {
    content: '';
    position: absolute;
    inset: -6px;
    border: 2px solid #ef4444;
    border-radius: 50%;
    animation: chip-pulse 2.5s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes chip-pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.slide-price-inline {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
    border-left: 1px solid rgba(0, 0, 0, 0.08);
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    line-height: 1;
}

.slide-price-inline .current-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--text);
}

.slide-price-inline .regular-price {
    font-size: 12px;
    text-decoration: line-through;
    color: var(--text-muted);
    margin-top: 2px;
}

.image-inner {
    position: relative;
    display: block;
    width: 100%;
}

.slide-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-premium);
}

/* Old Timer & Inline Price Cleanups */
.image-overlay-actions {
    display: none !important;
}

@keyframes badgePulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* macOS Dock - Refined */
.dock-container {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2100;
    /* Higher than header and others */
    display: flex;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 28px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.dock-container.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(20px);
}

.dock-item {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--white);
    padding: 3px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.dock-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 11px;
}

.dock-item.active {
    transform: scale(1.2) translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.dock-item.active::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    background: var(--primary);
    border-radius: 50%;
}

.dock-item:hover {
    transform: translateY(-8px);
}

/* Best Sellers Section Refinement */
.section-padding {
    padding: var(--section-spacing) 0;
}

.section-header {
    margin-bottom: 80px;
    max-width: 700px;
}

.section-title {
    font-size: clamp(32px, 5vw, 52px);
    margin-bottom: 20px;
}

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

/* New: Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: var(--card-radius);
    border: 1px solid var(--border);
    transition: all 0.4s ease;
}

.feature-card:hover {
    background: var(--white);
    transform: translateY(-10px);
    box-shadow: var(--shadow-premium);
    border-color: transparent;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    font-size: 28px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* New: Categories Section */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.category-card {
    position: relative;
    height: 450px;
    border-radius: var(--card-radius);
    overflow: hidden;
    cursor: pointer;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(15, 23, 42, 0.8));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 50px;
    color: white;
}

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

.category-overlay h3 {
    color: white;
    font-size: 28px;
    margin-bottom: 10px;
}

.category-overlay p {
    opacity: 0.8;
    font-size: 16px;
    margin-bottom: 20px;
}

.category-link {
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.category-card:hover .category-link::after {
    transform: translateX(10px);
}

.products-grid {
    width: 100%;
}

/* WooCommerce Shop Header Styling */
.woocommerce-products-header {
    margin-bottom: 20px;
    padding-bottom: 0px;
    border-bottom: 1px solid var(--border);
}

.woocommerce-products-header__title,
.page-title {
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 15px;
    font-weight: 800;
}

.woocommerce-result-count {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.woocommerce-before-shop-loop-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 10px;
    padding-bottom: 20px;
}

.woocommerce-result-count {
    margin: 0 !important;
}

.woocommerce-ordering {
    margin: 0 !important;
}

.woocommerce-ordering select {
    padding: 12px 25px;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: var(--white);
    font-weight: 600;
    font-size: 14px;
    color: var(--text);
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    padding-right: 45px;
}

.woocommerce-ordering select:hover {
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.woocommerce-ordering select:focus {
    outline: none;
    border-color: var(--primary);
}

/* WooCommerce Product Grid & Card */
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 40px !important;
    list-style: none !important;
    padding: 0 !important;
}

.woocommerce ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
    display: flex;
    flex-direction: column;
}

.shop-content-layout {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.shop-main-content {
    flex: 1;
    min-width: 0;
}

.shop-sidebar {
    flex: 0 0 300px;
}

@media (max-width: 1024px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .woocommerce ul.products {
        grid-template-columns: 1fr !important;
    }
}

.product {
    background: var(--white);
    padding: 0 !important;
    /* Reset padding for bleeded design */
    border-radius: var(--card-radius);
    border: 1px solid var(--border);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.product:hover {
    box-shadow: var(--shadow-premium);
    transform: translateY(-10px);
    border-color: transparent;
}

.product-image-link {
    display: block;
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--bg-light);
}

.product img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    padding: 20px;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.product:hover img {
    transform: scale(1.1);
}

.product-details {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: left;
}

.product h2 {
    font-size: 22px;
    margin-bottom: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.product-description {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

.product .price {
    font-size: 20px;
    font-weight: 800;
    color: var(--text);
    margin: 0 0 25px 0 !important;
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: flex-start !important;
}

.product .price del {
    font-size: 15px;
    color: var(--text-muted);
    font-weight: 500;
}

.product .price ins {
    text-decoration: none;
    color: var(--primary);
}

.woocommerce .product .button,
.woocommerce .product .btn-primary,
.woocommerce-page .product .button,
.woocommerce-page .product .btn-primary {
    background: var(--primary);
    color: white;
    padding: 14px 32px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
    text-align: center;
    border: none;
    margin-top: auto;
    box-shadow: 0 10px 20px rgba(5, 150, 105, 0.2);
}

.woocommerce .product .button:hover,
.woocommerce-page .product .button:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(5, 150, 105, 0.3);
    color: white;
}

/* Styled AJAX "View Cart" link */
a.added_to_cart.wc-forward {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary) !important;
    color: white !important;
    padding: 8px 16px !important;
    border-radius: 100px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    z-index: 15;
    box-shadow: var(--shadow-md);
}

/* Sale Badge */
/* Global Sale Badge Styling */
.woocommerce span.onsale {
    background: #064e3b !important;
    color: #fff !important;
    padding: 6px 14px !important;
    border-radius: 100px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    left: auto !important;
    z-index: 20;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    line-height: 1 !important;
    min-width: 0 !important;
    min-height: 0 !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
    border: none !important;
}

.woocommerce span.onsale .sale-icon {
    font-size: 15px !important;
    color: #fbbf24 !important;
    line-height: 1 !important;
    display: inline-block !important;
}

.woocommerce span.onsale::before {
    display: none !important;
}

/* Footer Styles */
.site-footer {
    background: #0f172a;
    /* Slate-900 */
    color: rgba(255, 255, 255, 0.7);
    padding-top: 100px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 80px;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

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

.footer-logo img {
    height: 50px;
    margin-bottom: 30px;
    filter: brightness(0) invert(1);
}

.footer-desc {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 30px;
}

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

.footer-social a {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-title {
    color: white;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

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

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

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

.footer-contact li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 15px;
}

.footer-contact .dashicons {
    color: var(--primary);
}

.footer-bottom {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    font-size: 14px;
}

/* Mobile Styles */
@media (max-width: 900px) {
    .site-header {
        background: var(--white);
        height: 70px;
    }

    .menu-toggle {
        display: block;
    }

    .main-navigation {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--white);
        padding: 40px;
        transform: translateY(-100%);
        transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 3000;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        visibility: hidden;
        opacity: 0;
    }

    .main-navigation.toggled {
        transform: translateY(0);
        visibility: visible;
        opacity: 1;
    }

    .main-navigation ul {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        text-align: center;
        width: 100%;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .main-navigation li {
        width: 100%;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .main-navigation.toggled li {
        opacity: 1;
        transform: translateY(0);
    }

    /* Staggered animation for menu items */
    .main-navigation.toggled li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .main-navigation.toggled li:nth-child(2) {
        transition-delay: 0.2s;
    }

    .main-navigation.toggled li:nth-child(3) {
        transition-delay: 0.3s;
    }

    .main-navigation.toggled li:nth-child(4) {
        transition-delay: 0.4s;
    }

    .main-navigation.toggled li:nth-child(5) {
        transition-delay: 0.5s;
    }

    .main-navigation a {
        font-family: var(--font-heading);
        font-size: 36px;
        font-weight: 800;
        color: var(--text);
        letter-spacing: -0.03em;
        padding: 10px 20px;
        display: block;
        transition: color 0.3s ease;
    }

    .main-navigation a:hover {
        color: var(--primary);
    }

    .hero-section {
        height: auto;
        min-height: 500px;
    }

    .slide-inner {
        flex-direction: column;
        text-align: center;
        padding-top: 80px;
        padding-bottom: 20px;
        /* Increased to clear the 70px mobile header */
        max-width: 100vw;
        overflow: hidden;
        align-items: center;
        gap: 10px;
    }

    .slide-content {
        text-align: center;
        margin-bottom: 30px;
        margin-top: 30px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .slide-tagline {
        justify-content: center;
    }

    .slide-image-wrapper {
        order: -1;
        width: 100%;
        margin-bottom: 20px;
        padding: 30px 10px 0;
        display: flex;
        justify-content: center;
        border-radius: 40px;

    }

    .image-inner {
        width: 100%;
        position: relative;
        height: max-content;
        top: 0;
    }

    .slide-image {
        border-radius: 30px;
        width: 100%;
        height: auto;
        bottom: 0;
        position: relative;
    }

    .slide-title {
        font-size: 34px !important;
        margin-bottom: 10px !important;
        line-height: 1.1;
    }

    .slide-desc {
        font-size: 17px !important;
        margin-bottom: 15px !important;
        line-height: 1.45;
        padding: 0 10px;
        width: 100%;
        max-width: 100% !important;
    }

    .view-details-link {
        font-size: 13px;
        margin-top: 6px;
    }

    .floating-timer-wrapper {
        top: -15px;
        right: 0;
        left: 0;
        margin: auto;
        max-width: max-content;
    }

    .urgency-chip {
        padding: 5px 12px;
        font-size: 11px;
    }

    .slide-split-group {
        position: absolute;
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        align-items: center;
        width: 95%;
        max-width: 450px;
        padding: 6px;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 100px;
        z-index: 1000;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        gap: 5px;
    }

    .slide-price-inline {
        padding: 0 10px;
        border: none;
    }

    .slide-price-inline .current-price {
        font-size: 16px;
    }

    .slide-price-inline .regular-price {
        font-size: 11px;
    }

    .split-btn-left,
    .split-btn-right {
        flex: 1;
        padding: 10px 12px;
        font-size: 11px;
        justify-content: center;
        white-space: nowrap;
        border-radius: 100px;
    }

    .image-overlay-actions {
        display: none !important;
    }

    .section-padding {
        padding: 40px 0;
    }

    /* Clear fixed header for internal pages - specifically targeted for mobile */
    body.woocommerce-page .shop-archive-container,
    body.woocommerce-page .woocommerce-main-wrapper,
    body.woocommerce-page .fibercan-single-product-container,
    body.woocommerce-page .site-main {
        padding-top: 120px !important;
    }

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

    .woocommerce ul.products {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .woocommerce ul.products li.product {
        text-align: left
    }

    .woocommerce ul.products li.product img {
        grid-column: 1 !important;
        grid-row: 1 / 5 !important;
        width: 100% !important;
        margin: 0 !important;
        border-radius: 45px !important;
    }

    .woocommerce ul.products li.product h2 {
        grid-column: 2 !important;
        grid-row: 1 !important;
        font-size: 16px !important;
        margin: 0 0 4px 0 !important;
        padding: 0 !important;
    }

    .product-description {
        grid-column: 2 !important;
        grid-row: 2 !important;
        font-size: 11px !important;
        color: var(--text-muted);
        line-height: 1.3;
        margin-bottom: 6px !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .woocommerce ul.products li.product .price {
        grid-column: 2 !important;
        grid-row: 3 !important;
        justify-content: flex-start !important;
        margin: 0 0 8px 0 !important;
        font-size: 14px !important;
    }

    .woocommerce ul.products li.product .button {
        grid-column: 1 / -1;
        grid-row: 5;
        width: 100%;
        max-width: none;
        padding: 14px 24px;
        font-size: 14px;
        font-weight: 800;
        margin: 15px 0 0 0;
        border-radius: 100px;
        box-shadow: 0 10px 20px rgba(5, 150, 105, 0.2);
        justify-content: center;
        display: flex;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .woocommerce span.onsale {
        top: 10px !important;
        right: 10px !important;
        left: auto !important;
        background: #064e3b !important;
        color: #fff !important;
        padding: 4px 10px !important;
        font-size: 9px !important;
        border-radius: 100px !important;
    }

    .shop-page-wrapper {
        flex-direction: column;
        gap: 50px;
    }

    .shop-sidebar {
        width: 100%;
        position: static;
        order: 2;
    }

    .shop-main-content {
        order: 1;
        width: 100%;
        padding: 0 20px;
        /* Explicit padding for content */
    }

    .woocommerce-products-header__title,
    .page-title {
        padding: 0 !important;
        /* Reset nested padding as parent now has it */
        font-size: 32px;
        margin-bottom: 25px;
        text-align: left;
    }

    .woocommerce-ordering,
    .woocommerce-result-count {
        float: none !important;
        width: 100% !important;
        margin: 0 0 15px 0 !important;
        text-align: left !important;
        padding: 0 !important;
        /* Reset nested padding as parent now has it */
    }

    .woocommerce-ordering select {
        width: 100%;
    }

    .header-actions {
        display: flex;
        align-items: center;
        gap: 20px;
        position: relative;
        z-index: 3001;
    }

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

/* Notification System - Apple Style */
#fibercan-notification-container {
    padding: 20px;
    pointer-events: none;
    transition: right 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

body.side-cart-open #fibercan-notification-container {
    right: 470px !important;
}

.fibercan-notification-popup {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 18px;
    padding: 15px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 15px;
    transform: translateX(120%);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    opacity: 0;
    position: relative;
    color: var(--text);
    pointer-events: auto;
}

.fibercan-notification-popup.active {
    transform: translateX(0);
    opacity: 1;
}

.notification-icon {
    font-size: 24px;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.notification-content {
    font-size: 14px;
    line-height: 1.5;
    flex-grow: 1;
}

.notification-content strong {
    font-weight: 700;
}

.notification-close {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--text-muted);
    cursor: pointer;
    padding: 5px;
    line-height: 1;
    margin-left: 10px;
}

.notification-close:hover {
    color: var(--accent);
}

/* Specific Notification Types */
.notification-success .notification-icon {
    background: #e6fffa;
}

.notification-warning .notification-icon {
    background: #fffbe6;
}

.notification-error .notification-icon {
    background: #fff1f0;
}

/* Cart Icon in Header */
.cart-link {
    position: relative;
    display: flex;
    align-items: center;
    color: var(--text);
    text-decoration: none;
    padding: 10px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.cart-link:hover {
    background: var(--bg-light);
}

.cart-link .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

.cart-count {
    background: var(--primary);
    color: white;
    font-size: 10px;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 0 4px;
}

/* ==========================================================================
   WooCommerce Internal Pages (Product, Cart, Checkout)
   ========================================================================== */

/* Layout & Spacing for Internal Pages */
.woocommerce-page {
    background: #fbfbfd;
}

.woocommerce-page .site-main {
    padding-top: 140px;
    padding-bottom: 100px;
}

.woocommerce-page .container {
    max-width: 1200px;
}

/* Breadcrumbs */
.woocommerce-breadcrumb {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-weight: 500;
}

.woocommerce-breadcrumb a {
    color: var(--text-muted);
}

.woocommerce-breadcrumb a:hover {
    color: var(--primary);
}

/* Notices */
.woocommerce-page .woocommerce-message,
.woocommerce-page .woocommerce-info,
.woocommerce-page .woocommerce-error {
    background: var(--white);
    border: none;
    border-radius: 20px;
    padding: 20px 30px;
    margin-bottom: 40px;
    position: relative;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    list-style: none;
    font-size: 15px;
    font-weight: 600;
}

.woocommerce-page .woocommerce-message {
    border-left: 6px solid var(--primary);
}

.woocommerce-page .woocommerce-error {
    border-left: 6px solid var(--accent);
    color: var(--accent);
}

.woocommerce-message .button {
    margin-left: auto;
    background: var(--primary);
    color: white !important;
    padding: 8px 20px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
}

/* Custom Template Layouts (The "Best Design") */
.fibercan-cart-layout,
.fibercan-checkout-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: start;
}

@media (max-width: 1100px) {

    .fibercan-cart-layout,
    .fibercan-checkout-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Single Product Page - New Structure */
/* --- PREMIUM SINGLE PRODUCT REDESIGN --- */
.woocommerce-page .fibercan-custom-single-product.product {
    display: block;
    background: transparent;
    border: none;
    padding: 0;
    overflow: visible;
    height: auto;
    transform: none;
    box-shadow: none;
}

.fibercan-custom-single-product {
    margin-top: 40px;
}

.fibercan-custom-single-product .product-top-section {
    display: flex;
    gap: 100px;
    margin-bottom: 100px;
    align-items: flex-start;
}

/* Gallery Section */
.fibercan-custom-single-product .product-gallery-wrapper {
    flex: 0 0 550px;
    position: relative;
}

.fibercan-custom-single-product .woocommerce-product-gallery {
    border-radius: 40px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.06);
    position: relative;
    border: 1px solid var(--border);
}

/* Summary Section */
.fibercan-custom-single-product .product-info-wrapper {
    flex: 1;
    padding: 0;
}

.fibercan-custom-single-product .product-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-light);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 25px;
}

.fibercan-custom-single-product .product_title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 20px;
    color: var(--text);
}

/* Rating Stars */
.fibercan-custom-single-product .woocommerce-product-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 35px;
}

.fibercan-custom-single-product .star-rating {
    font-size: 16px;
    width: 5.4em;
    position: relative;
    height: 1em;
    line-height: 1;
    overflow: hidden;
    color: #fbbf24;
}

.fibercan-custom-single-product .star-rating::before {
    content: '★★★★★';
    opacity: 0.15;
    position: absolute;
    top: 0;
    left: 0;
}

.fibercan-custom-single-product .star-rating span {
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
}

.fibercan-custom-single-product .star-rating span::before {
    content: '★★★★★';
}

.fibercan-custom-single-product .woocommerce-review-link {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 600;
}

/* Description */
.fibercan-custom-single-product .woocommerce-product-details__short-description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 45px;
}

/* Purchase Zone: Price + Add To Cart */
.fibercan-custom-single-product .product-purchase-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 40px;
    background: #ffffff;
    border-radius: 35px;
    margin-bottom: 45px;
    border: 1px solid var(--border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.04);
}

.fibercan-custom-single-product .product-purchase-row .price {
    font-size: 42px;
    font-weight: 900;
    color: var(--text);
    white-space: nowrap;
    line-height: 1;
    margin: 0;
}

.fibercan-custom-single-product .product-purchase-row .price del {
    font-size: 20px;
    opacity: 0.5;
    margin-right: 12px;
}

.fibercan-custom-single-product .product-purchase-row .price ins {
    text-decoration: none;
    color: #059669;
    /* Richer green for price */
}

.fibercan-custom-single-product .product-purchase-row form.cart {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0 !important;
    flex: 1;
    justify-content: flex-end;
}

.fibercan-custom-single-product .product-purchase-row .single_add_to_cart_button {
    height: 70px;
    border-radius: 20px !important;
    padding: 0 50px !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    background: var(--premium-gradient) !important;
    box-shadow: 0 15px 35px rgba(5, 150, 105, 0.25);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none !important;
}

.fibercan-custom-single-product .product-purchase-row .single_add_to_cart_button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

/* Quantity Scrubber Premium */
.fibercan-custom-single-product .quantity {
    display: flex !important;
    align-items: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 100px;
    height: 70px;
    padding: 0 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.fibercan-custom-single-product .quantity button {
    background: transparent;
    border: none;
    color: var(--text);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.fibercan-custom-single-product .quantity button:hover {
    background: var(--bg-light);
}

.fibercan-custom-single-product .quantity input.qty {
    border: none !important;
    background: transparent !important;
    width: 50px !important;
    text-align: center !important;
    font-weight: 800 !important;
    font-size: 20px !important;
    color: var(--text) !important;
    padding: 0 !important;
}

/* Chrome, Safari, Edge, Opera */
.fibercan-custom-single-product .quantity input::-webkit-outer-spin-button,
.fibercan-custom-single-product .quantity input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Meta Data */
.fibercan-custom-single-product .product_meta {
    padding-top: 35px;
    border-top: 1px solid #e2e8f0;
    font-size: 15px;
    color: var(--text-muted);
}

.fibercan-custom-single-product .product_meta>span {
    display: block;
    margin-bottom: 8px;
}

.fibercan-custom-single-product .product_meta strong {
    color: var(--text);
    font-weight: 700;
}




.woocommerce-page .woocommerce-product-gallery__trigger {
    display: none;
}

/* Bottom Section: Tabs & Related */
.fibercan-custom-single-product .product-bottom-section {
    padding-top: 100px;
    border-top: 1px solid #e2e8f0;
    margin-top: 50px;
}

.fibercan-custom-single-product .related.products {
    padding-top: 100px;
}

.fibercan-custom-single-product .related.products h2 {
    font-size: 48px;
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 60px;
    text-align: left;
}

/* Urgent Timer Redesign */
.product-urgency-timer {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: #fff1f2;
    color: #e11d48;
    padding: 10px 20px;
    border-radius: 100px;
    font-weight: 800;
    margin-bottom: 25px;
    border: 2px solid #fecdd3;
    font-size: 13px;
    box-shadow: 0 10px 20px rgba(225, 29, 72, 0.05);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Side Cart Premium Implementation */
.side-cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.side-cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.side-cart-wrapper {
    position: fixed;
    top: 0;
    right: 0;
    width: 450px;
    max-width: 90%;
    height: 100vh;
    background: var(--white);
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.1);
}

.side-cart-wrapper.active {
    transform: translateX(0);
}

.side-cart-content-wrapper {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Loading Overlay */
.side-cart-wrapper.loading::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.side-cart-wrapper.loading::after {
    opacity: 1;
    visibility: visible;
}

.side-cart-wrapper.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    border: 3px solid var(--primary-light);
    border-top-color: var(--primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 101;
    animation: cart-spin 0.8s linear infinite;
    opacity: 0;
    visibility: hidden;
}

.side-cart-wrapper.loading::before {
    opacity: 1;
    visibility: visible;
}

@keyframes cart-spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.side-cart-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.side-cart-header {
    padding: 30px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.side-cart-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
}

.side-cart-close {
    background: var(--bg-light);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text);
    transition: all 0.3s ease;
}

.side-cart-close:hover {
    background: var(--text);
    color: var(--white);
}

.side-cart-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px 30px;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}

.side-cart-content::-webkit-scrollbar {
    width: 6px;
}

.side-cart-content::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 10px;
}

/* Side Cart Premium Refactored Styles (Clean Selectors) */
.side-cart-wrapper {
    --cart-bg: #ffffff;
    --cart-card-bg: #ffffff;
    --cart-border: rgba(0, 0, 0, 0.08);
    --cart-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    --cart-hover-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.side-cart-wrapper .side-cart-content {
    padding: 24px 20px;
}

.side-cart-wrapper .widget_shopping_cart_content .woocommerce-mini-cart {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.side-cart-wrapper .woocommerce-mini-cart-item {
    display: flex;
    align-items: stretch;
    gap: 16px;
    padding: 16px;
    background: var(--cart-card-bg);
    border: 1px solid var(--cart-border);
    border-radius: 20px;
    position: relative;
    box-shadow: var(--cart-shadow);
    list-style: none;
    margin: 0;
    width: 100%;
    float: none;
    clear: both;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.side-cart-wrapper .woocommerce-mini-cart-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--cart-hover-shadow);
    border-color: var(--primary-light);
}

.side-cart-wrapper .woocommerce-mini-cart-item img {
    width: 80px;
    height: 80px;
    border-radius: 14px;
    object-fit: cover;
    margin: 0;
    float: none;
    display: block;
    flex-shrink: 0;
}

/* Content area within card */
.side-cart-wrapper .woocommerce-mini-cart-item>a:not(.remove) {
    display: flex;
    flex-direction: column;
    font-weight: 800;
    font-size: 14px;
    line-height: 1.25;
    color: var(--text);
    text-decoration: none;
    margin: 0;
    padding: 0 20px 0 0;
    flex: 1;
    float: none;
}

.side-cart-wrapper .woocommerce-mini-cart-item dl.variation {
    margin: 4px 0 8px 0;
    font-size: 11px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    border: none;
    color: var(--text-muted);
}

/* Quantity and Price Row */
.side-cart-wrapper .mini-cart-qty-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: auto;
    padding-top: 10px;
}

.side-cart-wrapper .quantity-scrubber {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-light);
    padding: 4px 10px;
    border-radius: 12px;
}

.side-cart-wrapper .btn-qty {
    width: 22px;
    height: 22px;
    background: transparent;
    border: none;
    font-size: 16px;
    font-weight: 800;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
}

.side-cart-wrapper .btn-qty:hover {
    color: var(--primary);
}

.side-cart-wrapper .quantity {
    font-size: 13px;
    font-weight: 800;
}

.side-cart-wrapper .price-each {
    font-size: 15px;
    font-weight: 900;
    color: var(--primary);
    font-family: var(--font-heading);
}

.side-cart-wrapper .price-each del {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
    margin-right: 5px;
}

.side-cart-wrapper .price-each ins {
    text-decoration: none;
    color: var(--primary);
}

.side-cart-wrapper .remove {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    background: #f1f5f9;
    color: #94a3b8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 5;
}

.side-cart-wrapper .remove:hover {
    background: #fee2e2;
    color: #ef4444;
    transform: rotate(90deg);
}

.side-cart-footer {
    padding: 30px;
    background: #ffffff;
    border-top: 1px solid var(--border);
}

.side-cart-wrapper .woocommerce-mini-cart__total {
    padding: 0 0 24px 0;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 900;
}

.side-cart-wrapper .woocommerce-mini-cart__buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.side-cart-wrapper .woocommerce-mini-cart__buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border-radius: 16px;
    font-weight: 800;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.side-cart-wrapper .woocommerce-mini-cart__buttons a.checkout {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 25px rgba(5, 150, 105, 0.2);
}

.side-cart-wrapper .woocommerce-mini-cart__buttons a.checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(5, 150, 105, 0.3);
}

.side-cart-wrapper .woocommerce-mini-cart__buttons a:not(.checkout) {
    background: var(--bg-light);
    color: var(--text);
}

.side-cart-wrapper .woocommerce-mini-cart__empty-message {
    text-align: center;
    padding: 80px 30px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-muted);
}

/* Hide View Cart Button in notices & after AJAX add to cart */
.woocommerce-message .button.wc-forward,
.added_to_cart {
    display: none !important;
}

/* Mobile Adjustments */
@media (max-width: 480px) {
    .side-cart-wrapper {
        width: 100%;
    }
}

.product-urgency-timer .timer-bolt {
    font-size: 22px !important;
    line-height: 1 !important;
    color: #fbbf24 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    filter: drop-shadow(0 0 5px rgba(251, 191, 36, 0.3));
}

.product-urgency-timer .timer-label {
    white-space: nowrap;
}

.product-urgency-timer .timer-clock {
    background: #e11d48;
    color: #fff;
    padding: 5px 12px;
    border-radius: 8px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 18px;
    letter-spacing: 1px;
    min-width: 70px;
    text-align: center;
}

/* Responsive */
@media (max-width: 1200px) {
    .fibercan-custom-single-product .product-top-section {
        gap: 50px;
    }

    .fibercan-custom-single-product .product-gallery-wrapper {
        flex: 0 0 450px;
    }
}

@media (max-width: 1100px) {
    .fibercan-single-product-container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .fibercan-custom-single-product .product-top-section {
        flex-direction: column;
        gap: 40px;
    }

    .fibercan-custom-single-product .product-gallery-wrapper,
    .fibercan-custom-single-product .product-info-wrapper {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }

    .fibercan-custom-single-product .product-gallery-wrapper {
        position: static;
    }

    .fibercan-custom-single-product .product-purchase-row {
        flex-direction: column;
        align-items: stretch;
        padding: 30px;
        gap: 25px;
    }

    .fibercan-custom-single-product .product-purchase-row form.cart {
        flex-direction: row;
        justify-content: space-between;
        gap: 15px;
    }

    .fibercan-custom-single-product .product-purchase-row .single_add_to_cart_button {
        flex: 1;
        padding: 0 20px !important;
        font-size: 16px !important;
    }
}


/* Related Products */
.related.products {
    margin-top: 80px;
    padding-top: 80px;
    border-top: 1px solid var(--border);
}

.related.products h2 {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 50px;
    letter-spacing: -0.02em;
}

/* Global Quantity Scrubber (Single Product Page) */
.fibercan-custom-single-product .quantity {
    display: inline-flex;
    align-items: center;
    background: #f2f2f7;
    border-radius: 12px;
    padding: 2px;
    height: 54px;
}

.fibercan-custom-single-product .quantity .qty {
    width: 60px;
    height: 100%;
    background: transparent;
    border: none;
    text-align: center;
    font-size: 18px;
    font-weight: 800;
    color: var(--text);
}

/* Global Button Fix for Premium Look */
.button,
.wc-block-components-button,
button[type="submit"].alt,
.single_add_to_cart_button {
    background-color: var(--primary);
    color: #ffffff;
    border-radius: 12px;
    font-weight: 800;
    padding: 16px 32px;
    font-size: 16px;
    border: none;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.button:hover,
.wc-block-components-button:hover,
button[type="submit"].alt:hover,
.single_add_to_cart_button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(5, 150, 105, 0.2);
    background-color: var(--primary-dark);
}

/* Table Styling for Classic templates */
table.shop_table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.woocommerce table.shop_table th {
    background: #f9f9fb;
    padding: 20px;
    text-align: left;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    font-weight: 800;
}

.woocommerce table.shop_table td {
    padding: 25px 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.woocommerce-page .product-thumbnail img {
    border-radius: 12px;
    width: 80px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.product-name a {
    font-weight: 800;
    font-size: 18px;
    color: var(--text);
    display: block;
    margin-bottom: 5px;
}

/* Cart & Checkout Sidebars */
.cart-collaterals,
.checkout-sidebar {
    position: sticky;
    top: 120px;
}

.cart_totals,
.checkout-sidebar-sticky {
    background: var(--white);
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.04);
}

/* Tabs */
.woocommerce-tabs {
    margin-top: 80px;
}

.woocommerce-tabs ul.tabs {
    display: flex;
    gap: 40px;
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.woocommerce-tabs ul.tabs li {
    padding-bottom: 20px;
    font-weight: 700;
    color: var(--text-muted);
    font-size: 18px;
}

.woocommerce-tabs ul.tabs li.active {
    color: var(--primary);
    border-bottom: 3px solid var(--primary);
}

.woocommerce-tabs .panel {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 800px;
}

/* Form Styling */
.woocommerce-checkout .form-row {
    margin-bottom: 25px;
}

.woocommerce-checkout label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 14px;
    color: var(--text);
}

.woocommerce-checkout input.input-text,
.woocommerce-checkout textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    background: #fafafa;
    font-size: 16px;
    font-family: var(--font-body);
}

.woocommerce-checkout input.input-text:focus {
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 0 0 4px var(--primary-light);
    outline: none;
}

body .wc-block-cart__container,
body .wc-block-checkout__container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
}

@media (max-width: 1100px) {

    .wc-block-cart__container,
    .wc-block-checkout__container {
        grid-template-columns: 1fr !important;
    }
}

body .wc-block-components-button__text {
    color: #ffffff;
}

body .wc-block-components-title {
    font-size: 32px;
    font-weight: 900;
}

body .wc-block-components-sidebar {
    background: var(--white);
    border-radius: 30px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.04);
    border: none;
    padding: 40px;
}

/* -------------------------------------------------------------------------- */
/* PREMIUM MOBILE STICKY CART BAR */
/* -------------------------------------------------------------------------- */
.sticky-cart-mobile {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 15px 20px;
    box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.08);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.sticky-cart-mobile.visible {
    transform: translateY(0);
}

.sticky-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.sticky-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sticky-title {
    font-size: 14px;
    font-weight: 800;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

.sticky-price {
    font-size: 15px;
    font-weight: 900;
    color: var(--primary);
}

.sticky-price del {
    font-size: 12px;
    opacity: 0.5;
    margin-right: 5px;
}

.sticky-price ins {
    text-decoration: none;
}

.sticky-cart-mobile .btn-sticky {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.1em;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}

@media (min-width: 769px) {
    .sticky-cart-mobile {
        display: none !important;
    }
}

/* Features List Premium */
.fibercan-features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 50px;
    padding-top: 50px;
    border-top: 1px solid #e2e8f0;
}

.fibercan-feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}

.fibercan-feature-icon {
    width: 36px;
    height: 36px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Trust Badges Premium */
.fibercan-trust-badges {
    display: flex;
    gap: 20px;
    margin-top: 50px;
}

.fibercan-trust-badge {
    flex: 1;
    background: #f8fafc;
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.fibercan-trust-badge:hover {
    transform: translateY(-5px);
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.fibercan-trust-badge .dashicons {
    font-size: 28px;
    width: 28px;
    height: 28px;
    color: var(--primary);
    margin-bottom: 10px;
    display: inline-block;
}

.fibercan-trust-badge span {
    display: block;
    font-size: 12px;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}