/*
Theme Name: TarasExpert
Theme URI: https://tarasexpert.pl
Author: TarasExpert
Author URI: https://tarasexpert.pl
Description: Profesjonalny motyw WordPress dla sklepu z plytami tarasowymi z Wloch i elementami do tarasow wentylowanych.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tarasexpert
Tags: woocommerce, e-commerce, custom-menu, featured-images, translation-ready
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
WooCommerce tested up to: 8.5
*/

/* ===========================
   CSS Variables & Reset
   =========================== */
:root {
    --te-primary: #2C3E50;
    --te-primary-light: #34495E;
    --te-accent: #C8956C;
    --te-accent-hover: #B8854C;
    --te-accent-light: #E8D5C4;
    --te-gold: #D4A574;
    --te-dark: #1A252F;
    --te-text: #333333;
    --te-text-light: #666666;
    --te-text-muted: #999999;
    --te-bg: #FFFFFF;
    --te-bg-light: #F8F6F3;
    --te-bg-warm: #FAF7F4;
    --te-border: #E5E0DB;
    --te-success: #27AE60;
    --te-danger: #E74C3C;
    --te-shadow: 0 4px 20px rgba(0,0,0,0.08);
    --te-shadow-hover: 0 8px 40px rgba(0,0,0,0.12);
    --te-radius: 8px;
    --te-radius-lg: 16px;
    --te-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --te-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --te-font-heading: 'Playfair Display', Georgia, serif;
    --te-container: 1280px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--te-font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--te-text);
    background: var(--te-bg);
    overflow-x: hidden;
}

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

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

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--te-font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--te-primary);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); }
h4 { font-size: 1.3rem; }

p {
    margin-bottom: 1rem;
    color: var(--te-text-light);
}

/* ===========================
   Container & Layout
   =========================== */
.te-container {
    max-width: var(--te-container);
    margin: 0 auto;
    padding: 0 2rem;
}

.te-section {
    padding: 6rem 0;
}

.te-section--alt {
    background: var(--te-bg-light);
}

.te-section--dark {
    background: var(--te-primary);
    color: #fff;
}

.te-section--dark h2,
.te-section--dark h3,
.te-section--dark h4 {
    color: #fff;
}

.te-section--dark p {
    color: rgba(255,255,255,0.8);
}

.te-section__header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.te-section__header .te-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--te-accent);
    margin-bottom: 1rem;
    font-family: var(--te-font);
}

.te-section__header h2 {
    margin-bottom: 1rem;
}

.te-section__header p {
    font-size: 1.1rem;
}

/* ===========================
   Buttons
   =========================== */
.te-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    font-family: var(--te-font);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 2px solid transparent;
    border-radius: var(--te-radius);
    cursor: pointer;
    transition: var(--te-transition);
    text-transform: uppercase;
}

.te-btn--primary {
    background: var(--te-accent);
    color: #fff;
    border-color: var(--te-accent);
}

.te-btn--primary:hover {
    background: var(--te-accent-hover);
    border-color: var(--te-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(200,149,108,0.4);
}

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

.te-btn--outline:hover {
    background: var(--te-primary);
    color: #fff;
    transform: translateY(-2px);
}

.te-btn--white {
    background: #fff;
    color: var(--te-primary);
    border-color: #fff;
}

.te-btn--white:hover {
    background: transparent;
    color: #fff;
    transform: translateY(-2px);
}

.te-btn--large {
    padding: 1.1rem 2.8rem;
    font-size: 1rem;
}

.te-btn svg,
.te-btn .btn-icon {
    width: 18px;
    height: 18px;
}

/* ===========================
   Header / Navigation
   =========================== */
.te-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: var(--te-transition);
}

.te-header.scrolled {
    border-bottom-color: var(--te-border);
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.te-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    height: 80px;
    max-width: var(--te-container);
    margin: 0 auto;
}

.te-header__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--te-font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--te-primary);
}

.te-header__logo img {
    height: 45px;
    width: auto;
}

.te-header__logo span {
    color: var(--te-accent);
}

.te-nav {
    display: flex;
    align-items: center;
    gap: 0;
}

.te-nav__link {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--te-text);
    position: relative;
    letter-spacing: 0.3px;
}

.te-nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1.2rem;
    right: 1.2rem;
    height: 2px;
    background: var(--te-accent);
    transform: scaleX(0);
    transition: var(--te-transition);
}

.te-nav__link:hover,
.te-nav__link.active {
    color: var(--te-accent);
}

.te-nav__link:hover::after,
.te-nav__link.active::after {
    transform: scaleX(1);
}

.te-nav__link--dropdown {
    gap: 0.3rem;
}

.te-nav__link--dropdown .arrow {
    font-size: 0.6rem;
    transition: var(--te-transition);
}

.te-nav__dropdown {
    position: relative;
}

.te-nav__dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: #fff;
    border-radius: var(--te-radius);
    box-shadow: var(--te-shadow-hover);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--te-transition);
}

.te-nav__dropdown:hover .te-nav__dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.te-nav__dropdown-menu a {
    display: block;
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
    color: var(--te-text);
}

.te-nav__dropdown-menu a:hover {
    background: var(--te-bg-light);
    color: var(--te-accent);
}

.te-header__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Language Switcher */
.te-lang-switcher {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--te-bg-light);
    border-radius: var(--te-radius);
    padding: 2px;
}

.te-lang-switcher__btn {
    padding: 0.35rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--te-text-muted);
    border-radius: calc(var(--te-radius) - 2px);
    transition: var(--te-transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.te-lang-switcher__btn:hover {
    color: var(--te-primary);
}

.te-lang-switcher__btn.active {
    background: var(--te-primary);
    color: #fff;
}

.te-header.scrolled .te-lang-switcher {
    background: rgba(0,0,0,0.05);
}

.te-header__cart {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0.5rem;
    color: var(--te-primary);
}

.te-header__cart svg {
    width: 22px;
    height: 22px;
}

.te-header__cart-count {
    position: absolute;
    top: 0;
    right: -2px;
    width: 18px;
    height: 18px;
    background: var(--te-accent);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.te-header__phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--te-primary);
    font-size: 0.9rem;
}

.te-header__phone svg {
    width: 16px;
    height: 16px;
    color: var(--te-accent);
}

/* Mobile menu toggle */
.te-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    cursor: pointer;
    border: none;
    background: none;
}

.te-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--te-primary);
    transition: var(--te-transition);
}

/* ===========================
   Hero Section
   =========================== */
.te-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.te-hero__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--te-primary) 0%, var(--te-dark) 100%);
}

.te-hero__bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('assets/images/hero-pattern.svg') repeat;
    opacity: 0.05;
}

.te-hero__bg-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}

.te-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(44,62,80,0.85) 0%, rgba(26,37,47,0.7) 100%);
}

.te-hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: var(--te-container);
    margin: 0 auto;
    padding: 4rem 2rem;
}

.te-hero__content {
    color: #fff;
}

.te-hero__label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    background: rgba(200,149,108,0.15);
    border: 1px solid rgba(200,149,108,0.3);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--te-accent-light);
    margin-bottom: 1.5rem;
}

.te-hero__title {
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.te-hero__title span {
    color: var(--te-accent);
    display: block;
}

.te-hero__text {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 2.5rem;
    max-width: 520px;
    line-height: 1.8;
}

.te-hero__buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.te-hero__stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.te-hero__stat {
    text-align: center;
}

.te-hero__stat-number {
    font-family: var(--te-font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--te-accent);
    line-height: 1;
}

.te-hero__stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    margin-top: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.te-hero__visual {
    position: relative;
}

.te-hero__image-main {
    border-radius: var(--te-radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.te-hero__image-main img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.te-hero__image-accent {
    position: absolute;
    bottom: -2rem;
    left: -2rem;
    width: 200px;
    height: 200px;
    border-radius: var(--te-radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    border: 4px solid #fff;
}

.te-hero__image-accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.te-hero__badge {
    position: absolute;
    top: 2rem;
    right: -1rem;
    background: var(--te-accent);
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: var(--te-radius);
    box-shadow: 0 10px 30px rgba(200,149,108,0.4);
    text-align: center;
}

.te-hero__badge-title {
    font-family: var(--te-font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1;
}

.te-hero__badge-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.2rem;
}

/* ===========================
   Features / Benefits
   =========================== */
.te-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.te-feature {
    text-align: center;
    padding: 2.5rem 2rem;
    background: #fff;
    border-radius: var(--te-radius-lg);
    box-shadow: var(--te-shadow);
    transition: var(--te-transition);
    position: relative;
    overflow: hidden;
}

.te-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--te-accent);
    transform: scaleX(0);
    transition: var(--te-transition);
}

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

.te-feature:hover::before {
    transform: scaleX(1);
}

.te-feature__icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: var(--te-bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--te-accent);
    transition: var(--te-transition);
}

.te-feature:hover .te-feature__icon {
    background: var(--te-accent);
    color: #fff;
}

.te-feature__icon svg {
    width: 30px;
    height: 30px;
}

.te-feature h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.te-feature p {
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===========================
   About / Info Section
   =========================== */
.te-about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.te-about--reverse {
    direction: rtl;
}

.te-about--reverse > * {
    direction: ltr;
}

.te-about__image {
    position: relative;
}

.te-about__image img {
    border-radius: var(--te-radius-lg);
    box-shadow: var(--te-shadow);
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.te-about__image::after {
    content: '';
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    width: 60%;
    height: 60%;
    border: 3px solid var(--te-accent);
    border-radius: var(--te-radius-lg);
    z-index: -1;
}

.te-about__content h2 {
    margin-bottom: 1.5rem;
}

.te-about__content p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.te-about__list {
    margin: 2rem 0;
}

.te-about__list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.6rem 0;
    font-size: 0.95rem;
    color: var(--te-text);
}

.te-about__list li svg {
    width: 20px;
    height: 20px;
    color: var(--te-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

/* ===========================
   Products Grid
   =========================== */
.te-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

/* Homepage featured products - force 3 columns with proper styling */
.te-section--alt .woocommerce ul.products,
.te-section--alt ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2.5rem !important;
    max-width: 100%;
}

@media (max-width: 992px) {
    .te-section--alt .woocommerce ul.products,
    .te-section--alt ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }
}

@media (max-width: 576px) {
    .te-section--alt .woocommerce ul.products,
    .te-section--alt ul.products {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
}

.te-product-card {
    background: #fff;
    border-radius: var(--te-radius-lg);
    overflow: hidden;
    box-shadow: var(--te-shadow);
    transition: var(--te-transition);
    position: relative;
}

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

.te-product-card__badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.3rem 0.8rem;
    background: var(--te-accent);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.te-product-card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.te-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.te-product-card:hover .te-product-card__image img {
    transform: scale(1.05);
}

.te-product-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(44,62,80,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    opacity: 0;
    transition: var(--te-transition);
}

.te-product-card:hover .te-product-card__overlay {
    opacity: 1;
}

.te-product-card__overlay-btn {
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--te-primary);
    cursor: pointer;
    border: none;
    transition: var(--te-transition);
    transform: translateY(10px);
}

.te-product-card:hover .te-product-card__overlay-btn {
    transform: translateY(0);
}

.te-product-card__overlay-btn:hover {
    background: var(--te-accent);
    color: #fff;
}

.te-product-card__overlay-btn svg {
    width: 18px;
    height: 18px;
}

.te-product-card__body {
    padding: 1.5rem;
}

.te-product-card__category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--te-accent);
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.te-product-card__title {
    font-family: var(--te-font-heading);
    font-size: 1.1rem;
    color: var(--te-primary);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.te-product-card__title a:hover {
    color: var(--te-accent);
}

.te-product-card__price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--te-primary);
}

.te-product-card__price del {
    font-size: 0.9rem;
    color: var(--te-text-muted);
    font-weight: 400;
    margin-right: 0.5rem;
}

.te-product-card__price ins {
    text-decoration: none;
    color: var(--te-accent);
}

.te-product-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--te-border);
}

.te-product-card__rating {
    display: flex;
    gap: 2px;
    color: var(--te-gold);
    font-size: 0.85rem;
}

.te-product-card__add-to-cart {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: var(--te-primary);
    color: #fff;
    border: none;
    border-radius: var(--te-radius);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--te-transition);
}

.te-product-card__add-to-cart:hover {
    background: var(--te-accent);
}

/* ===========================
   Categories
   =========================== */
.te-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

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

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

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

.te-category-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26,37,47,0.8) 0%, rgba(26,37,47,0.2) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    transition: var(--te-transition);
}

.te-category-card:hover .te-category-card__overlay {
    background: linear-gradient(to top, rgba(200,149,108,0.9) 0%, rgba(200,149,108,0.3) 100%);
}

.te-category-card__title {
    font-family: var(--te-font-heading);
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 0.3rem;
}

.te-category-card__count {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
}

/* ===========================
   Why Choose Us / Process
   =========================== */
.te-process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    counter-reset: step;
}

.te-process__step {
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
    counter-increment: step;
}

.te-process__step::before {
    content: counter(step, decimal-leading-zero);
    display: block;
    font-family: var(--te-font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--te-accent);
    opacity: 0.3;
    margin-bottom: 1rem;
    line-height: 1;
}

.te-process__step h4 {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.te-process__step p {
    font-size: 0.9rem;
}

.te-process__step::after {
    content: '';
    position: absolute;
    top: 3rem;
    right: -1rem;
    width: 2rem;
    height: 2px;
    background: var(--te-border);
}

.te-process__step:last-child::after {
    display: none;
}

/* ===========================
   Testimonials
   =========================== */
.te-testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.te-testimonial {
    background: #fff;
    padding: 2.5rem;
    border-radius: var(--te-radius-lg);
    box-shadow: var(--te-shadow);
    position: relative;
}

.te-testimonial__quote {
    font-size: 3rem;
    color: var(--te-accent);
    opacity: 0.3;
    line-height: 1;
    font-family: var(--te-font-heading);
    margin-bottom: 1rem;
}

.te-testimonial__text {
    font-size: 1rem;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--te-text-light);
}

.te-testimonial__author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.te-testimonial__avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.te-testimonial__name {
    font-weight: 600;
    color: var(--te-primary);
    font-size: 0.95rem;
}

.te-testimonial__role {
    font-size: 0.8rem;
    color: var(--te-text-muted);
}

.te-testimonial__stars {
    display: flex;
    gap: 2px;
    color: var(--te-gold);
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

/* ===========================
   CTA Banner
   =========================== */
.te-cta {
    position: relative;
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--te-primary) 0%, var(--te-dark) 100%);
    overflow: hidden;
}

.te-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(200,149,108,0.1);
    border-radius: 50%;
}

.te-cta__inner {
    position: relative;
    text-align: center;
    z-index: 2;
}

.te-cta h2 {
    color: #fff;
    margin-bottom: 1rem;
}

.te-cta p {
    color: rgba(255,255,255,0.8);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.te-cta__buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===========================
   Footer
   =========================== */
.te-footer {
    background: var(--te-dark);
    color: rgba(255,255,255,0.7);
    padding-top: 5rem;
}

.te-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.te-footer__brand {
    margin-bottom: 1.5rem;
}

.te-footer__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--te-font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.te-footer__logo span {
    color: var(--te-accent);
}

.te-footer__desc {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: rgba(255,255,255,0.6);
}

.te-footer__social {
    display: flex;
    gap: 0.75rem;
}

.te-footer__social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: var(--te-transition);
}

.te-footer__social a:hover {
    background: var(--te-accent);
    color: #fff;
}

.te-footer__social a svg {
    width: 18px;
    height: 18px;
}

.te-footer h4 {
    color: #fff;
    font-family: var(--te-font);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.te-footer__links li {
    margin-bottom: 0.6rem;
}

.te-footer__links a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.te-footer__links a:hover {
    color: var(--te-accent);
    padding-left: 5px;
}

.te-footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.te-footer__contact li svg {
    width: 18px;
    height: 18px;
    color: var(--te-accent);
    flex-shrink: 0;
    margin-top: 3px;
}

.te-footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
}

.te-footer__payment {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.te-footer__payment img {
    height: 28px;
    opacity: 0.6;
    transition: var(--te-transition);
}

.te-footer__payment img:hover {
    opacity: 1;
}

/* ===========================
   Page Header / Breadcrumb
   =========================== */
.te-page-header {
    background: linear-gradient(135deg, var(--te-primary) 0%, var(--te-dark) 100%);
    padding: 8rem 0 4rem;
    text-align: center;
}

.te-page-header h1 {
    color: #fff;
    margin-bottom: 0.75rem;
}

.te-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

.te-breadcrumb a {
    color: rgba(255,255,255,0.6);
}

.te-breadcrumb a:hover {
    color: var(--te-accent);
}

.te-breadcrumb .separator {
    color: rgba(255,255,255,0.3);
}

.te-breadcrumb .current {
    color: var(--te-accent);
}

/* ===========================
   Contact Page
   =========================== */
.te-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.te-contact-info__item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.te-contact-info__icon {
    width: 50px;
    height: 50px;
    background: var(--te-bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--te-accent);
    flex-shrink: 0;
}

.te-contact-info__icon svg {
    width: 22px;
    height: 22px;
}

.te-contact-info__label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--te-text-muted);
    margin-bottom: 0.3rem;
}

.te-contact-info__value {
    font-weight: 600;
    color: var(--te-primary);
    font-size: 1rem;
}

.te-contact-form {
    background: #fff;
    padding: 3rem;
    border-radius: var(--te-radius-lg);
    box-shadow: var(--te-shadow);
}

.te-contact-form h3 {
    margin-bottom: 2rem;
}

.te-form-group {
    margin-bottom: 1.5rem;
}

.te-form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--te-primary);
    margin-bottom: 0.5rem;
}

.te-form-group input,
.te-form-group textarea,
.te-form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid var(--te-border);
    border-radius: var(--te-radius);
    font-family: var(--te-font);
    font-size: 0.95rem;
    color: var(--te-text);
    transition: var(--te-transition);
    background: var(--te-bg-light);
}

.te-form-group input:focus,
.te-form-group textarea:focus,
.te-form-group select:focus {
    outline: none;
    border-color: var(--te-accent);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(200,149,108,0.1);
}

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

.te-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* ===========================
   Gallery / Realizacje
   =========================== */
.te-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.te-gallery__item {
    position: relative;
    border-radius: var(--te-radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.te-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.te-gallery__item:hover img {
    transform: scale(1.1);
}

.te-gallery__item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(44,62,80,0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--te-transition);
}

.te-gallery__item:hover .te-gallery__item-overlay {
    opacity: 1;
}

.te-gallery__item-overlay svg {
    width: 30px;
    height: 30px;
    color: #fff;
    margin-bottom: 0.5rem;
}

.te-gallery__item-overlay span {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
}

/* large item spanning 2 cols */
.te-gallery__item--large {
    grid-column: span 2;
    grid-row: span 2;
}

/* ===========================
   WooCommerce Overrides
   =========================== */

/* --- Product Grid wrapper (force full width for WC shortcode output) --- */
.te-section .woocommerce,
.te-container .woocommerce {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

/* --- Product Grid (all contexts: shop, shortcodes, widgets) --- */
.woocommerce ul.products,
.woocommerce-page ul.products,
.woocommerce .products ul,
ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Shortcode columns override */
.woocommerce ul.products.columns-2 { grid-template-columns: repeat(2, 1fr) !important; }
.woocommerce ul.products.columns-3 { grid-template-columns: repeat(3, 1fr) !important; }
.woocommerce ul.products.columns-4 { grid-template-columns: repeat(4, 1fr) !important; }

.woocommerce ul.products::before,
.woocommerce ul.products::after,
ul.products::before,
ul.products::after {
    display: none !important;
    content: none !important;
}

.woocommerce ul.products li.product,
ul.products li.product {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    display: block !important;
}

/* --- Product Card (custom via hooks) --- */
.woocommerce ul.products li.product .te-product-card,
.te-product-card {
    background: #fff;
    border-radius: var(--te-radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.04);
}

.woocommerce ul.products li.product .te-product-card:hover,
.te-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(44,62,80,0.12);
    border-color: rgba(200,149,108,0.2);
}

/* Image container */
.woocommerce .te-product-card__image,
.te-product-card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, #F5F3F0 0%, #EBE8E3 100%);
    min-height: 200px;
}

.woocommerce .te-product-card__image a,
.te-product-card__image a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.woocommerce .te-product-card__image img,
.woocommerce .te-product-card__img,
.te-product-card__image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Placeholder images - show nicely centered */
.woocommerce .te-product-card__image img.wp-post-image[src*="placeholder"],
.woocommerce .te-product-card__image img.wp-post-image[src*="woocommerce-placeholder"],
.te-product-card__image img[src*="placeholder"],
.woocommerce .te-product-card__image .wp-post-image,
.te-product-card__image .attachment-te-product-thumb {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    margin: 0 !important;
}

/* Actual placeholder styling */
.woocommerce .te-product-card__image img[src*="placeholder"],
.woocommerce .te-product-card__image img[src*="woocommerce-placeholder"] {
    width: 60% !important;
    height: auto !important;
    object-fit: contain !important;
    opacity: 0.35;
    filter: grayscale(100%);
    margin: auto !important;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Custom placeholder (no image) */
.te-product-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #F5F3F0 0%, #E8E5E0 100%);
}

.te-product-card__placeholder svg {
    width: 48px;
    height: 48px;
    color: #C5C0B8;
    opacity: 0.6;
}

.woocommerce .te-product-card:hover .te-product-card__image img,
.woocommerce .te-product-card:hover .te-product-card__img,
.te-product-card:hover .te-product-card__image img {
    transform: scale(1.05);
}

/* Sale badge */
.woocommerce .te-product-card__badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.35rem 0.9rem;
    background: linear-gradient(135deg, #E74C3C, #C0392B);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    z-index: 3;
    box-shadow: 0 3px 10px rgba(231,76,60,0.3);
}

/* Hover overlay on image */
.woocommerce .te-product-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(44,62,80,0.7) 0%, rgba(44,62,80,0.1) 50%, transparent 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.woocommerce .te-product-card:hover .te-product-card__overlay {
    opacity: 1;
}

.woocommerce .te-product-card__overlay-btn {
    width: 48px;
    height: 48px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--te-primary);
    cursor: pointer;
    border: none;
    transition: var(--te-transition);
    transform: translateY(15px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.woocommerce .te-product-card:hover .te-product-card__overlay-btn {
    transform: translateY(0);
}

.woocommerce .te-product-card__overlay-btn:hover {
    background: var(--te-accent);
    color: #fff;
    transform: scale(1.1);
}

.woocommerce .te-product-card__overlay-btn svg {
    width: 20px;
    height: 20px;
}

/* Card body */
.woocommerce .te-product-card__body,
.te-product-card__body {
    padding: 1.25rem 1.25rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #fff;
}

/* Category label */
.woocommerce .te-product-card__category,
.te-product-card__category {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--te-accent);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: var(--te-font);
    opacity: 0.85;
}

/* Title */
.woocommerce .te-product-card__title,
.te-product-card__title {
    font-family: var(--te-font) !important;
    font-size: 1rem !important;
    color: var(--te-primary) !important;
    margin-bottom: 0.75rem !important;
    line-height: 1.35 !important;
    padding: 0 !important;
    font-weight: 600;
    min-height: 2.7em;
}

.woocommerce .te-product-card__title a,
.te-product-card__title a {
    color: inherit;
    text-decoration: none;
}

.woocommerce .te-product-card__title a:hover,
.te-product-card__title a:hover {
    color: var(--te-accent);
}

/* Price */
.woocommerce .te-product-card__price,
.te-product-card__price {
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    color: var(--te-primary) !important;
    padding: 0 !important;
    margin-bottom: 0;
    font-family: var(--te-font);
    letter-spacing: -0.3px;
}

.woocommerce .te-product-card__price del {
    font-size: 0.8rem;
    color: var(--te-text-muted);
    font-weight: 400;
    margin-right: 0.4rem;
    opacity: 0.5;
    text-decoration: line-through;
}

.woocommerce .te-product-card__price ins {
    text-decoration: none !important;
    color: #B8854C !important;
}

.woocommerce .te-product-card__price .woocommerce-Price-amount {
    color: inherit;
}

/* Meta row: rating + add to cart */
.woocommerce .te-product-card__meta,
.te-product-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--te-border);
}

.woocommerce .te-product-card__rating,
.te-product-card__rating {
    display: flex;
    gap: 2px;
    color: var(--te-gold);
    font-size: 0.8rem;
}

.woocommerce .te-product-card__rating .star-rating {
    font-size: 0.8rem;
    color: var(--te-gold) !important;
}

/* Empty rating - show subtle dots */
.te-product-card__rating--empty::before {
    content: '';
}

/* Custom add-to-cart button in card - HIGH SPECIFICITY to override WC defaults */
.woocommerce ul.products li.product .te-product-card .te-product-card__meta a.te-product-card__add-to-cart,
.woocommerce ul.products li.product a.te-product-card__add-to-cart,
.woocommerce .te-product-card a.te-product-card__add-to-cart,
a.te-product-card__add-to-cart,
.te-product-card__add-to-cart {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    padding: 0.55rem 1rem !important;
    background: var(--te-primary) !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--te-radius) !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: var(--te-transition) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    white-space: nowrap !important;
    font-family: var(--te-font) !important;
    line-height: 1.3 !important;
    text-decoration: none !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: none !important;
    box-shadow: none !important;
    margin: 0 !important;
}

.woocommerce ul.products li.product a.te-product-card__add-to-cart:hover,
.woocommerce .te-product-card a.te-product-card__add-to-cart:hover,
a.te-product-card__add-to-cart:hover {
    background: var(--te-accent) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 3px 10px rgba(200,149,108,0.3) !important;
}

/* SVG icon in add-to-cart must be small */
.te-product-card__add-to-cart svg,
.woocommerce .te-product-card__add-to-cart svg,
a.te-product-card__add-to-cart svg {
    width: 14px !important;
    height: 14px !important;
    max-width: 14px !important;
    max-height: 14px !important;
    flex-shrink: 0 !important;
}

.te-product-card__add-to-cart.added::after,
.woocommerce .te-product-card__add-to-cart.added::after {
    content: none !important;
    display: none !important;
}

.te-product-card__add-to-cart.loading {
    opacity: 0.7;
}

/* Hide WC default sale flash (we use custom) */
.woocommerce ul.products li.product .onsale,
.woocommerce span.onsale {
    display: none !important;
}

/* --- General WC Buttons (exclude product card buttons) --- */
.woocommerce a.button:not(.te-product-card__add-to-cart),
.woocommerce button.button:not(.te-product-card__add-to-cart),
.woocommerce input.button,
.woocommerce #respond input#submit {
    background: var(--te-primary) !important;
    color: #fff !important;
    border-radius: var(--te-radius) !important;
    font-family: var(--te-font) !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 0.85rem 2rem !important;
    transition: var(--te-transition) !important;
    border: none !important;
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
    background: var(--te-accent) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(200,149,108,0.3);
}

.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt {
    background: var(--te-accent) !important;
}

.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
    background: var(--te-accent-hover) !important;
}

.woocommerce .star-rating {
    color: var(--te-gold) !important;
}

/* --- WC Messages --- */
.woocommerce-message,
.woocommerce-info {
    border-top-color: var(--te-accent) !important;
    background: var(--te-bg-warm) !important;
    border-radius: var(--te-radius) !important;
    font-family: var(--te-font) !important;
}

.woocommerce-message::before,
.woocommerce-info::before {
    color: var(--te-accent) !important;
}

.woocommerce-error {
    border-top-color: var(--te-danger) !important;
    border-radius: var(--te-radius) !important;
}

/* --- Single Product Page --- */
.woocommerce div.product {
    padding: 2rem 0;
}

.woocommerce div.product .product_title {
    font-family: var(--te-font-heading) !important;
    color: var(--te-primary) !important;
    font-size: 2rem !important;
    margin-bottom: 0.75rem !important;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
    color: var(--te-primary) !important;
    font-size: 1.8rem !important;
    font-weight: 800;
}

.woocommerce div.product p.price ins {
    color: var(--te-accent) !important;
}

.woocommerce div.product .woocommerce-product-details__short-description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--te-text-light);
    margin-bottom: 1.5rem;
}

.woocommerce div.product .woocommerce-tabs {
    margin-top: 3rem;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    padding: 0 !important;
    margin: 0 0 2rem !important;
    border-bottom: 2px solid var(--te-border) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before {
    border-bottom-color: var(--te-border) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    font-family: var(--te-font) !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    padding: 1rem 1.5rem !important;
    color: var(--te-text-muted) !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    border-bottom: 3px solid var(--te-accent) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: var(--te-accent) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
    color: var(--te-primary) !important;
}

/* Product gallery */
.woocommerce div.product div.images {
    border-radius: var(--te-radius-lg);
    overflow: hidden;
}

.woocommerce div.product div.images img {
    border-radius: var(--te-radius);
}

/* Quantity input */
.woocommerce .quantity {
    display: inline-flex;
    align-items: center;
    border: 2px solid var(--te-border);
    border-radius: var(--te-radius);
    overflow: hidden;
}

.woocommerce .quantity .qty {
    border: none !important;
    border-radius: 0 !important;
    width: 50px;
    text-align: center;
    font-family: var(--te-font);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5rem;
    -moz-appearance: textfield;
}

.woocommerce .quantity .qty::-webkit-inner-spin-button,
.woocommerce .quantity .qty::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Related products */
.woocommerce div.product .related > h2,
.woocommerce div.product .upsells > h2 {
    font-family: var(--te-font-heading) !important;
    font-size: 1.5rem !important;
    color: var(--te-primary) !important;
    margin-bottom: 1.5rem !important;
}

/* ===========================
   Cart Page - Exclusive Design
   =========================== */
.woocommerce-cart .te-main {
    background: var(--te-bg-light);
    min-height: 60vh;
}

.woocommerce-cart .woocommerce {
    padding: 0 0 4rem;
}

/* Hide default cart_totals - we use custom summary */
.woocommerce-cart .cart-collaterals .cart_totals {
    display: none;
}

/* === Cart Page Container - Modern === */
.te-cart {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
    position: relative;
}

.te-cart::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 400px;
    background: linear-gradient(180deg, rgba(200,149,108,0.03) 0%, transparent 100%);
    pointer-events: none;
    z-index: -1;
}

/* === Step Progress - Modern === */
.te-cart__steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 2.5rem 0 3rem;
    position: relative;
}

.te-cart__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    z-index: 1;
}

.te-cart__step-number {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(145deg, #f0f0f0, #e6e6e6);
    color: var(--te-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    font-family: var(--te-font);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow:
        4px 4px 12px rgba(0,0,0,0.08),
        -2px -2px 8px rgba(255,255,255,0.9),
        inset 0 0 0 2px rgba(255,255,255,0.5);
    position: relative;
}

.te-cart__step-number::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, transparent, transparent);
    z-index: -1;
    transition: all 0.4s ease;
}

.te-cart__step--active .te-cart__step-number {
    background: linear-gradient(135deg, var(--te-accent), var(--te-gold));
    color: #fff;
    transform: scale(1.1);
    box-shadow:
        0 8px 32px rgba(200,149,108,0.45),
        0 0 0 4px rgba(200,149,108,0.15),
        inset 0 1px 1px rgba(255,255,255,0.3);
}

.te-cart__step--active .te-cart__step-number::before {
    background: linear-gradient(135deg, var(--te-accent), var(--te-gold));
    opacity: 0.2;
    animation: stepPulse 2s ease-in-out infinite;
}

@keyframes stepPulse {
    0%, 100% { transform: scale(1); opacity: 0.2; }
    50% { transform: scale(1.15); opacity: 0; }
}

.te-cart__step--done .te-cart__step-number {
    background: linear-gradient(135deg, var(--te-success), #2ecc71);
    color: #fff;
    box-shadow: 0 4px 20px rgba(39,174,96,0.35);
}

.te-cart__step-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--te-text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
}

.te-cart__step--active .te-cart__step-label {
    color: var(--te-accent);
    transform: translateY(2px);
}

.te-cart__step-line {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--te-border), var(--te-border));
    margin: 0 1.25rem;
    margin-bottom: 2rem;
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

.te-cart__step-line::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--te-accent), var(--te-gold));
    border-radius: 3px;
    transition: width 0.6s ease;
}

.te-cart__step--done + .te-cart__step-line::after {
    width: 100%;
}

/* === Free Shipping Bar - Modern Glass === */
.te-cart__shipping-bar {
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(248,246,243,0.9));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    box-shadow:
        0 8px 32px rgba(0,0,0,0.08),
        0 0 0 1px rgba(255,255,255,0.8),
        inset 0 1px 1px rgba(255,255,255,0.9);
    position: relative;
    overflow: hidden;
}

.te-cart__shipping-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200,149,108,0.4), transparent);
}

.te-cart__shipping-text {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--te-text);
    margin-bottom: 1rem;
    font-weight: 500;
}

.te-cart__shipping-text svg {
    width: 24px;
    height: 24px;
    color: var(--te-accent);
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(200,149,108,0.3));
    animation: truckBounce 2s ease-in-out infinite;
}

@keyframes truckBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
}

.te-cart__shipping-text--free {
    color: var(--te-success);
    font-weight: 600;
}

.te-cart__shipping-text--free svg {
    color: var(--te-success);
    animation: checkPop 0.5s ease forwards, none;
}

@keyframes checkPop {
    0% { transform: scale(0.8); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.te-cart__shipping-progress {
    height: 10px;
    background: linear-gradient(180deg, #e8e4e0, #f0ece8);
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        inset 0 2px 4px rgba(0,0,0,0.06),
        0 1px 0 rgba(255,255,255,0.8);
    position: relative;
}

.te-cart__shipping-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--te-accent), var(--te-gold), #e8c9a8);
    background-size: 200% 100%;
    border-radius: 20px;
    transition: width 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    box-shadow:
        0 0 12px rgba(200,149,108,0.4),
        inset 0 1px 1px rgba(255,255,255,0.4);
    animation: gradientFlow 3s ease infinite;
}

@keyframes gradientFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.te-cart__shipping-progress-bar::before {
    content: '';
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255,255,255,0.8);
}

.te-cart__shipping-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255,255,255,0.4) 50%,
        transparent 100%
    );
    animation: shimmer 2.5s ease-in-out infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* === Cart Layout - Modern === */
.te-cart__layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2.5rem;
    align-items: start;
}

/* === Cart Items Column === */
.te-cart__items-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--te-border);
    position: relative;
}

.te-cart__items-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, var(--te-accent), var(--te-gold));
}

.te-cart__items-header h2 {
    font-family: var(--te-font-heading);
    font-size: 1.75rem;
    color: var(--te-primary);
    margin: 0;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.te-cart__count {
    font-weight: 500;
    color: var(--te-accent);
    font-size: 1rem;
    font-family: var(--te-font);
    background: linear-gradient(135deg, var(--te-accent-light), rgba(200,149,108,0.1));
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

.te-cart__continue {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--te-accent);
    padding: 0.6rem 1rem;
    border-radius: 8px;
    background: transparent;
    transition: all 0.3s ease;
}

.te-cart__continue:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--te-accent), var(--te-gold));
    transform: translateX(-4px);
    box-shadow: 0 4px 15px rgba(200,149,108,0.3);
}

.te-cart__continue svg {
    width: 18px;
    height: 18px;
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

.te-cart__continue:hover svg {
    transform: rotate(180deg) translateX(4px);
}

/* === Product Card in Cart - Modern Glass === */
.te-cart__product {
    display: grid;
    grid-template-columns: 130px 1fr 44px;
    gap: 1.75rem;
    background: linear-gradient(145deg, rgba(255,255,255,0.98), rgba(252,250,248,0.95));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 1.75rem;
    margin-bottom: 1.25rem;
    box-shadow:
        0 4px 24px rgba(0,0,0,0.06),
        0 0 0 1px rgba(255,255,255,0.9),
        inset 0 1px 0 rgba(255,255,255,1);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    align-items: center;
    position: relative;
    overflow: hidden;
}

.te-cart__product::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200,149,108,0.2), transparent);
}

.te-cart__product:hover {
    transform: translateY(-4px);
    box-shadow:
        0 20px 50px rgba(0,0,0,0.1),
        0 0 0 1px rgba(200,149,108,0.15),
        inset 0 1px 0 rgba(255,255,255,1);
}

/* Product entrance animation */
.te-cart__product {
    animation: productSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.te-cart__product:nth-child(1) { animation-delay: 0.1s; }
.te-cart__product:nth-child(2) { animation-delay: 0.2s; }
.te-cart__product:nth-child(3) { animation-delay: 0.3s; }
.te-cart__product:nth-child(4) { animation-delay: 0.4s; }
.te-cart__product:nth-child(5) { animation-delay: 0.5s; }

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

.te-cart__product-image {
    width: 130px;
    height: 130px;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--te-bg-light), #fff);
    flex-shrink: 0;
    box-shadow:
        0 4px 16px rgba(0,0,0,0.08),
        inset 0 0 0 1px rgba(0,0,0,0.04);
    transition: all 0.4s ease;
    position: relative;
}

.te-cart__product:hover .te-cart__product-image {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.te-cart__product-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    margin: 0 !important;
    transition: transform 0.6s ease;
}

.te-cart__product:hover .te-cart__product-image img {
    transform: scale(1.08);
}

.te-cart__product-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.te-cart__product-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
}

.te-cart__product-cat {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: #fff;
    font-weight: 700;
    background: linear-gradient(135deg, var(--te-accent), var(--te-gold));
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    display: inline-block;
    width: fit-content;
    box-shadow: 0 2px 8px rgba(200,149,108,0.3);
}

.te-cart__product-name {
    font-family: var(--te-font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--te-primary);
    margin: 0.2rem 0 0;
    line-height: 1.35;
}

.te-cart__product-name a {
    color: inherit;
    transition: all 0.3s ease;
    background: linear-gradient(transparent 60%, var(--te-accent-light) 60%);
    background-size: 100% 200%;
    background-position: 0 0;
}

.te-cart__product-name a:hover {
    color: var(--te-accent);
    background-position: 0 100%;
}

.te-cart__product-sku {
    font-size: 0.75rem;
    color: var(--te-text-muted);
    margin-top: 0.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.te-cart__product-sku::before {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--te-accent);
    border-radius: 50%;
}

.te-cart__product-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

/* === Quantity Controls - Modern with +/- buttons === */
.te-quantity {
    display: inline-flex !important;
    align-items: center !important;
    border: none !important;
    border-radius: 14px !important;
    overflow: hidden;
    background: linear-gradient(145deg, #f8f6f3, #fff);
    box-shadow:
        0 2px 8px rgba(0,0,0,0.06),
        inset 0 1px 2px rgba(0,0,0,0.04),
        0 0 0 1px rgba(0,0,0,0.04);
}

.te-quantity .qty {
    width: 50px !important;
    height: 44px !important;
    text-align: center !important;
    border: none !important;
    background: transparent !important;
    font-family: var(--te-font) !important;
    font-weight: 800 !important;
    font-size: 1rem !important;
    color: var(--te-primary);
    padding: 0 !important;
    -moz-appearance: textfield;
    outline: none;
}

.te-quantity .qty::-webkit-inner-spin-button,
.te-quantity .qty::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* +/- Quantity Buttons */
.te-quantity__btn {
    width: 40px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--te-text-muted);
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
    padding: 0;
    position: relative;
}

.te-quantity__btn::before {
    content: '';
    position: absolute;
    inset: 6px;
    border-radius: 8px;
    background: transparent;
    transition: all 0.25s ease;
    z-index: 0;
}

.te-quantity__btn svg {
    position: relative;
    z-index: 1;
    transition: all 0.25s ease;
}

.te-quantity__btn:hover {
    color: #fff;
}

.te-quantity__btn:hover::before {
    background: linear-gradient(135deg, var(--te-accent), var(--te-gold));
    box-shadow: 0 4px 12px rgba(200,149,108,0.35);
}

.te-quantity__btn:active {
    transform: scale(0.95);
}

.te-quantity__btn--minus {
    border-right: 1px solid rgba(0,0,0,0.06);
}

.te-quantity__btn--plus {
    border-left: 1px solid rgba(0,0,0,0.06);
}

/* Cart page quantity */
.te-cart__quantity .te-quantity {
    background: linear-gradient(145deg, #f8f6f3, #fff);
}

/* Single product page quantity */
.woocommerce div.product .te-quantity {
    background: linear-gradient(145deg, #f8f6f3, #fff);
}

.woocommerce div.product .te-quantity .qty {
    width: 60px !important;
    height: 48px !important;
    font-size: 1.1rem !important;
}

.woocommerce div.product .te-quantity__btn {
    width: 44px;
    height: 48px;
}

/* Price display - Modern */
.te-cart__product-price {
    font-size: 0.85rem;
    color: var(--te-text-muted);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
}

.te-cart__product-price::before {
    content: 'Cena jedn.';
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
}

.te-cart__product-price .woocommerce-Price-amount {
    color: var(--te-text-light);
    font-weight: 600;
}

.te-cart__product-subtotal {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--te-primary);
    font-family: var(--te-font);
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.1rem;
}

.te-cart__product-subtotal::before {
    content: 'Suma';
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--te-text-muted);
    font-weight: 600;
}

.te-cart__product-subtotal .woocommerce-Price-amount {
    color: inherit;
    background: linear-gradient(135deg, var(--te-primary), var(--te-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Remove button - Modern */
.te-cart__product-remove {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.te-cart__remove-btn {
    width: 40px;
    height: 40px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 12px !important;
    background: linear-gradient(145deg, #f8f6f3, #fff) !important;
    color: var(--te-text-muted) !important;
    font-size: 1.3rem !important;
    line-height: 1 !important;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-decoration: none !important;
    cursor: pointer;
    box-shadow:
        0 2px 6px rgba(0,0,0,0.04),
        inset 0 1px 0 rgba(255,255,255,0.8);
}

.te-cart__remove-btn:hover {
    background: linear-gradient(135deg, var(--te-danger), #c0392b) !important;
    color: #fff !important;
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 6px 20px rgba(231,76,60,0.4);
}

/* === Cart Actions (Coupon & Update) - Modern === */
.te-cart__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    margin-top: 1rem;
    padding: 1.5rem;
    background: linear-gradient(145deg, rgba(248,246,243,0.8), rgba(255,255,255,0.9));
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow:
        0 2px 12px rgba(0,0,0,0.04),
        inset 0 1px 0 rgba(255,255,255,0.9);
    flex-wrap: wrap;
}

.te-cart__coupon-input {
    display: flex;
    gap: 0;
    flex: 1;
    max-width: 400px;
    position: relative;
}

.te-cart__coupon-input input {
    flex: 1;
    padding: 1rem 1.25rem;
    border: none;
    border-radius: 14px 0 0 14px;
    font-family: var(--te-font);
    font-size: 0.9rem;
    font-weight: 500;
    background: #fff;
    transition: all 0.3s ease;
    outline: none;
    box-shadow:
        inset 0 2px 4px rgba(0,0,0,0.04),
        0 0 0 1px rgba(0,0,0,0.06);
}

.te-cart__coupon-input input:focus {
    box-shadow:
        inset 0 2px 4px rgba(0,0,0,0.04),
        0 0 0 2px var(--te-accent),
        0 4px 20px rgba(200,149,108,0.15);
}

.te-cart__coupon-input input::placeholder {
    color: var(--te-text-muted);
    font-weight: 400;
}

.te-cart__coupon-btn {
    padding: 1rem 1.75rem;
    background: linear-gradient(135deg, var(--te-primary), var(--te-primary-light));
    color: #fff;
    border: none;
    border-radius: 0 14px 14px 0;
    font-family: var(--te-font);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.te-cart__coupon-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--te-accent), var(--te-gold));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.te-cart__coupon-btn span {
    position: relative;
    z-index: 1;
}

.te-cart__coupon-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44,62,80,0.3);
}

.te-cart__coupon-btn:hover::before {
    opacity: 1;
}

.te-cart__update-btn {
    padding: 1rem 1.75rem;
    background: transparent;
    color: var(--te-text-muted);
    border: 2px solid var(--te-border);
    border-radius: 14px;
    font-family: var(--te-font);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.te-cart__update-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--te-bg-light), var(--te-border));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.te-cart__update-btn:hover {
    border-color: var(--te-accent);
    color: var(--te-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.te-cart__update-btn:hover::before {
    opacity: 1;
}

/* === Summary Sidebar - Modern Glass === */
.te-cart__summary {
    position: sticky;
    top: 100px;
}

.te-cart__summary-card {
    background: linear-gradient(165deg, rgba(255,255,255,0.98), rgba(252,250,248,0.95));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow:
        0 20px 60px rgba(0,0,0,0.08),
        0 0 0 1px rgba(255,255,255,0.9),
        inset 0 1px 1px rgba(255,255,255,1);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.te-cart__summary-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--te-accent), var(--te-gold), var(--te-accent));
    background-size: 200% 100%;
    animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.te-cart__summary-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(200,149,108,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.te-cart__summary-title {
    font-family: var(--te-font-heading);
    font-size: 1.3rem;
    color: var(--te-primary);
    margin: 0 0 1.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 2px solid var(--te-border);
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.te-cart__summary-title::before {
    content: '';
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, var(--te-accent), var(--te-gold));
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(200,149,108,0.5);
}

.te-cart__summary-rows {
    margin-bottom: 1.5rem;
}

.te-cart__summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 0;
    font-size: 0.9rem;
    color: var(--te-text-light);
    border-bottom: 1px dashed rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.te-cart__summary-row:hover {
    padding-left: 0.5rem;
    background: linear-gradient(90deg, rgba(200,149,108,0.03), transparent);
}

.te-cart__summary-row:last-child {
    border-bottom: none;
}

.te-cart__summary-row span:last-child {
    font-weight: 700;
    color: var(--te-primary);
}

.te-cart__summary-row--discount span:last-child {
    color: var(--te-success);
}

.te-cart__free-label {
    background: linear-gradient(135deg, var(--te-success), #2ecc71);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(39,174,96,0.3);
    animation: freeBadgePulse 2s ease-in-out infinite;
}

@keyframes freeBadgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Total - Modern */
.te-cart__summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    margin: 0 -2rem 1.5rem;
    background: linear-gradient(135deg, var(--te-bg-light), rgba(200,149,108,0.05));
    border-top: none;
    border-bottom: none;
    position: relative;
}

.te-cart__summary-total::before,
.te-cart__summary-total::after {
    content: '';
    position: absolute;
    left: 2rem;
    right: 2rem;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--te-border), transparent);
}

.te-cart__summary-total::before { top: 0; }
.te-cart__summary-total::after { bottom: 0; }

.te-cart__summary-total span:first-child {
    font-weight: 700;
    color: var(--te-primary);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.te-cart__total-price {
    font-family: var(--te-font-heading);
    font-size: 2rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--te-accent), var(--te-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.te-cart__total-price .woocommerce-Price-amount {
    color: inherit;
    font-size: inherit;
}

/* Checkout Button - Modern 3D */
.te-cart__checkout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1.25rem 2rem;
    background: linear-gradient(135deg, var(--te-accent), var(--te-gold));
    color: #fff;
    border: none;
    border-radius: 16px;
    font-family: var(--te-font);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-decoration: none;
    margin-bottom: 1.75rem;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 8px 25px rgba(200,149,108,0.35),
        0 0 0 1px rgba(255,255,255,0.1) inset,
        0 1px 0 rgba(255,255,255,0.2) inset;
}

.te-cart__checkout-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: left 0.6s ease;
}

.te-cart__checkout-btn:hover::before {
    left: 100%;
}

.te-cart__checkout-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow:
        0 20px 40px rgba(200,149,108,0.45),
        0 0 0 1px rgba(255,255,255,0.2) inset;
    color: #fff;
}

.te-cart__checkout-btn:active {
    transform: translateY(-2px) scale(1);
}

.te-cart__checkout-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.te-cart__checkout-btn:hover svg {
    transform: translateX(4px);
}

/* Trust Badges - Modern */
.te-cart__trust {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--te-border);
    margin-bottom: 1.5rem;
}

.te-cart__trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--te-text-light);
    padding: 0.5rem 0.75rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: default;
}

.te-cart__trust-item:hover {
    background: linear-gradient(135deg, rgba(39,174,96,0.05), transparent);
    transform: translateX(4px);
}

.te-cart__trust-item svg {
    width: 20px;
    height: 20px;
    color: var(--te-success);
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(39,174,96,0.3));
}

/* Payment Methods - Modern */
.te-cart__payment-methods {
    text-align: center;
}

.te-cart__payment-methods > span {
    font-size: 0.7rem;
    color: var(--te-text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.te-cart__payment-icons {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.te-cart__payment-icons span {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--te-text-muted);
    padding: 0.4rem 0.75rem;
    background: linear-gradient(145deg, #fff, var(--te-bg-light));
    border-radius: 8px;
    box-shadow:
        0 2px 6px rgba(0,0,0,0.04),
        inset 0 1px 0 rgba(255,255,255,0.8);
    transition: all 0.3s ease;
}

.te-cart__payment-icons span:hover {
    transform: translateY(-2px);
    box-shadow:
        0 6px 12px rgba(0,0,0,0.08),
        inset 0 1px 0 rgba(255,255,255,0.8);
    color: var(--te-primary);
}

/* Cross-sells - Modern */
.te-cart__cross-sells {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid var(--te-border);
    position: relative;
}

.te-cart__cross-sells::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, var(--te-accent), var(--te-gold));
}

.te-cart__cross-sells .cross-sells > h2 {
    font-family: var(--te-font-heading) !important;
    font-size: 1.6rem;
    color: var(--te-primary);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.te-cart__cross-sells .cross-sells > h2::before {
    content: '';
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, var(--te-accent), var(--te-gold));
    border-radius: 50%;
}

/* === Empty Cart - Modern Glass === */
.te-cart-empty {
    text-align: center;
    padding: 5rem 2rem;
    max-width: 650px;
    margin: 4rem auto;
    background: linear-gradient(165deg, rgba(255,255,255,0.95), rgba(252,250,248,0.9));
    backdrop-filter: blur(20px);
    border-radius: 32px;
    box-shadow:
        0 30px 80px rgba(0,0,0,0.08),
        0 0 0 1px rgba(255,255,255,0.9),
        inset 0 1px 1px rgba(255,255,255,1);
    position: relative;
    overflow: hidden;
}

.te-cart-empty::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--te-accent), var(--te-gold), var(--te-accent));
    background-size: 200% 100%;
    animation: gradientShift 4s ease infinite;
}

.te-cart-empty__icon {
    width: 140px;
    height: 140px;
    margin: 0 auto 2.5rem;
    background: linear-gradient(145deg, #fff, var(--te-accent-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow:
        0 15px 40px rgba(200,149,108,0.2),
        inset 0 -5px 15px rgba(200,149,108,0.1);
}

.te-cart-empty__icon::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px dashed var(--te-accent-light);
    animation: rotateDash 20s linear infinite;
}

@keyframes rotateDash {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.te-cart-empty__icon svg {
    width: 56px;
    height: 56px;
    color: var(--te-accent);
    filter: drop-shadow(0 4px 8px rgba(200,149,108,0.3));
}

.te-cart-empty__title {
    font-family: var(--te-font-heading);
    font-size: 2.2rem;
    color: var(--te-primary);
    margin-bottom: 1rem;
}

.te-cart-empty__text {
    font-size: 1.1rem;
    color: var(--te-text-light);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}

.te-cart-empty__actions {
    margin-bottom: 3.5rem;
}

.te-cart-empty__actions .te-btn {
    padding: 1.1rem 2.5rem;
    font-size: 0.95rem;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(200,149,108,0.35);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.te-cart-empty__actions .te-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 40px rgba(200,149,108,0.45);
}

.te-cart-empty__features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 2.5rem;
    margin: 0 -2rem -5rem;
    background: linear-gradient(180deg, transparent, rgba(200,149,108,0.03));
    border-top: 1px solid var(--te-border);
}

.te-cart-empty__feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 1rem;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.te-cart-empty__feature:hover {
    background: rgba(255,255,255,0.8);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.te-cart-empty__feature svg {
    width: 36px;
    height: 36px;
    color: var(--te-accent);
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 3px 6px rgba(200,149,108,0.25));
}

.te-cart-empty__feature strong {
    font-size: 0.9rem;
    color: var(--te-primary);
    font-weight: 700;
}

.te-cart-empty__feature span {
    font-size: 0.8rem;
    color: var(--te-text-muted);
    line-height: 1.5;
}

/* Cart responsive - Modern */
@media (max-width: 1200px) {
    .te-cart__layout {
        grid-template-columns: 1fr 360px;
    }
}

@media (max-width: 1024px) {
    .te-cart__layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .te-cart__summary {
        position: static;
    }

    .te-cart__summary-card {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .te-cart__product {
        grid-template-columns: 100px 1fr 36px;
        gap: 1.25rem;
        padding: 1.25rem;
        border-radius: 16px;
    }

    .te-cart__product-image {
        width: 100px;
        height: 100px;
        border-radius: 12px;
    }

    .te-cart__product-actions {
        gap: 1rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .te-cart__product-price,
    .te-cart__product-subtotal {
        flex-direction: row;
        gap: 0.5rem;
        align-items: center;
    }

    .te-cart__product-price::before,
    .te-cart__product-subtotal::before {
        display: none;
    }

    .te-cart__actions {
        flex-direction: column;
        align-items: stretch;
        padding: 1.25rem;
        gap: 1rem;
    }

    .te-cart__coupon-input {
        max-width: 100%;
    }

    .te-cart__step-line {
        width: 50px;
        margin: 0 0.75rem;
    }

    .te-cart__step-number {
        width: 44px;
        height: 44px;
        font-size: 0.9rem;
    }

    .te-cart__shipping-bar {
        padding: 1.25rem 1.5rem;
        border-radius: 16px;
    }

    .te-cart-empty {
        padding: 3rem 1.5rem;
        margin: 2rem auto;
        border-radius: 24px;
    }

    .te-cart-empty__features {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 2rem 1rem;
        margin-bottom: -3rem;
    }

    .te-cart-empty__feature {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
        gap: 1rem;
    }

    .te-cart-empty__feature svg {
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .te-cart__product {
        grid-template-columns: 1fr 36px;
        gap: 1rem;
        padding: 1rem;
    }

    .te-cart__product-image {
        width: 100%;
        height: 180px;
        grid-column: 1 / -1;
        border-radius: 12px;
    }

    .te-cart__product-details {
        grid-column: 1;
    }

    .te-cart__product-remove {
        position: absolute;
        top: 1rem;
        right: 1rem;
    }

    .te-cart__product {
        position: relative;
    }

    .te-cart__steps {
        padding: 1.5rem 0 2rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .te-cart__step-label {
        font-size: 0.6rem;
        letter-spacing: 1px;
    }

    .te-cart__step-line {
        width: 30px;
        margin: 0 0.5rem;
    }

    .te-cart__summary-card {
        padding: 1.5rem;
        border-radius: 20px;
    }

    .te-cart__summary-total {
        margin: 0 -1.5rem 1.25rem;
        padding: 1.25rem;
    }

    .te-cart__checkout-btn {
        padding: 1.1rem 1.5rem;
        font-size: 0.9rem;
        letter-spacing: 1.5px;
    }

    .te-cart__total-price {
        font-size: 1.6rem !important;
    }

    .te-cart-empty__icon {
        width: 120px;
        height: 120px;
    }

    .te-cart-empty__icon svg {
        width: 44px;
        height: 44px;
    }

    .te-cart-empty__title {
        font-size: 1.75rem;
    }
}

/* ===========================
   Checkout Page - Premium
   =========================== */
/* ===========================
   Checkout Page - Modern Glass
   =========================== */
.woocommerce-checkout .te-main {
    background: linear-gradient(180deg, var(--te-bg-light) 0%, var(--te-bg-warm) 100%);
    min-height: 80vh;
    position: relative;
}

.woocommerce-checkout .te-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 350px;
    background: linear-gradient(180deg, rgba(200,149,108,0.04) 0%, transparent 100%);
    pointer-events: none;
}

.woocommerce-checkout .te-container {
    max-width: 1200px;
    position: relative;
    z-index: 1;
}

/* Checkout Steps Header */
.te-checkout-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 2rem 0 3rem;
    margin-bottom: 1rem;
}

/* Coupon notice - Modern */
.woocommerce-checkout .woocommerce-info {
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(252,250,248,0.9)) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: none !important;
    border-radius: 16px !important;
    padding: 1.25rem 1.75rem !important;
    font-family: var(--te-font) !important;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    box-shadow:
        0 4px 20px rgba(0,0,0,0.06),
        0 0 0 1px rgba(255,255,255,0.8),
        inset 0 1px 0 rgba(255,255,255,1);
    position: relative;
    overflow: hidden;
}

.woocommerce-checkout .woocommerce-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--te-accent), var(--te-gold));
}

/* Main checkout form */
.woocommerce form.checkout {
    padding: 0 0 4rem;
}

/* NEW: Two-column layout - Form left, Summary right */
.te-checkout-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 2.5rem;
    align-items: start;
}

/* Left column - Customer details */
.te-checkout-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.te-checkout-section {
    background: linear-gradient(165deg, rgba(255,255,255,0.98), rgba(252,250,248,0.95));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow:
        0 10px 40px rgba(0,0,0,0.06),
        0 0 0 1px rgba(255,255,255,0.9),
        inset 0 1px 1px rgba(255,255,255,1);
    position: relative;
    overflow: hidden;
    animation: sectionFadeIn 0.6s ease backwards;
}

.te-checkout-section:nth-child(1) { animation-delay: 0.1s; }
.te-checkout-section:nth-child(2) { animation-delay: 0.2s; }
.te-checkout-section:nth-child(3) { animation-delay: 0.3s; }

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

.te-checkout-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--te-accent), var(--te-gold), var(--te-accent));
    background-size: 200% 100%;
    animation: gradientShift 4s ease infinite;
}

/* Right column - Order summary sidebar */
.te-checkout-sidebar {
    position: sticky;
    top: 100px;
}

.te-checkout-sidebar__inner {
    background: linear-gradient(165deg, rgba(255,255,255,0.98), rgba(252,250,248,0.95));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 24px;
    box-shadow:
        0 15px 50px rgba(0,0,0,0.08),
        0 0 0 1px rgba(255,255,255,0.9),
        inset 0 1px 1px rgba(255,255,255,1);
    position: relative;
    overflow: hidden;
    animation: sectionFadeIn 0.6s ease backwards;
    animation-delay: 0.2s;
}

.te-checkout-sidebar__inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--te-accent), var(--te-gold), var(--te-accent));
    background-size: 200% 100%;
    animation: gradientShift 4s ease infinite;
}

/* Sidebar trust badges */
.te-checkout-sidebar__trust {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid var(--te-border);
}

.te-checkout-sidebar__trust-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.82rem;
    color: var(--te-text-light);
}

.te-checkout-sidebar__trust-item svg {
    width: 16px;
    height: 16px;
    color: var(--te-success);
}

/* Hide old col2-set structure */
.woocommerce form.checkout .col2-set {
    display: none;
}

/* Style order review in sidebar */
.te-checkout-sidebar #order_review_heading {
    background: transparent !important;
    padding: 0 0 1.25rem !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
    margin-bottom: 0 !important;
    font-size: 1.2rem !important;
}

.te-checkout-sidebar #order_review_heading::before {
    display: none;
}

.te-checkout-sidebar #order_review {
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Section headings - Modern */
.woocommerce form.checkout h3,
.woocommerce #order_review_heading {
    font-family: var(--te-font) !important;
    color: var(--te-primary) !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    margin-bottom: 2rem !important;
    padding-bottom: 1.25rem;
    border-bottom: 2px solid var(--te-border);
    letter-spacing: 0.3px;
    text-transform: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
}

.woocommerce form.checkout h3::before,
.woocommerce #order_review_heading::before {
    content: '';
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, var(--te-accent), var(--te-gold));
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(200,149,108,0.4);
}

.woocommerce form.checkout h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--te-accent), var(--te-gold));
}

/* Form rows - Modern spacing */
.woocommerce form .form-row {
    margin-bottom: 1.25rem !important;
    padding: 0 !important;
    position: relative;
}

.woocommerce form .form-row-first,
.woocommerce form .form-row-last {
    width: 48% !important;
    display: inline-block !important;
}

.woocommerce form .form-row-first {
    margin-right: 4% !important;
}

.woocommerce form .form-row-wide {
    width: 100% !important;
}

/* Labels - Modern */
.woocommerce form .form-row label {
    font-family: var(--te-font) !important;
    font-weight: 600 !important;
    font-size: 0.8rem !important;
    color: var(--te-primary) !important;
    margin-bottom: 0.5rem !important;
    display: block !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.woocommerce form .form-row label .required {
    color: var(--te-accent) !important;
    font-weight: 700;
    margin-left: 2px;
}

/* Input fields - Modern Glass Style */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-checkout #payment .form-row input.input-text,
.woocommerce form .form-row .select2-container .select2-selection {
    width: 100% !important;
    padding: 1rem 1.25rem !important;
    border: none !important;
    border-radius: 14px !important;
    font-family: var(--te-font) !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    transition: all 0.3s ease;
    background: linear-gradient(145deg, #fff, #f8f6f3) !important;
    color: var(--te-text) !important;
    box-sizing: border-box !important;
    line-height: 1.4 !important;
    -webkit-appearance: none;
    box-shadow:
        inset 0 2px 4px rgba(0,0,0,0.04),
        0 0 0 1px rgba(0,0,0,0.06),
        0 2px 8px rgba(0,0,0,0.02);
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
    background: #fff !important;
    box-shadow:
        inset 0 2px 4px rgba(0,0,0,0.02),
        0 0 0 3px rgba(200,149,108,0.2),
        0 8px 25px rgba(200,149,108,0.1) !important;
    outline: none !important;
    transform: translateY(-1px);
}

.woocommerce form .form-row input.input-text::placeholder {
    color: var(--te-text-muted);
    font-weight: 400;
}

/* Select2 dropdowns - Modern */
.woocommerce form .select2-container--default .select2-selection--single {
    height: auto !important;
    padding: 1rem 1.25rem !important;
    border: none !important;
    border-radius: 14px !important;
    background: linear-gradient(145deg, #fff, #f8f6f3) !important;
    box-shadow:
        inset 0 2px 4px rgba(0,0,0,0.04),
        0 0 0 1px rgba(0,0,0,0.06);
}

.woocommerce form .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 1.4 !important;
    padding: 0 !important;
    font-family: var(--te-font) !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    color: var(--te-text) !important;
}

.woocommerce form .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 50% !important;
    transform: translateY(-50%) !important;
    right: 16px !important;
}

.woocommerce form .select2-container--default.select2-container--open .select2-selection--single {
    box-shadow:
        inset 0 2px 4px rgba(0,0,0,0.02),
        0 0 0 3px rgba(200,149,108,0.2),
        0 8px 25px rgba(200,149,108,0.1);
}

.select2-dropdown {
    border: none !important;
    border-radius: 16px !important;
    box-shadow:
        0 15px 50px rgba(0,0,0,0.15),
        0 0 0 1px rgba(0,0,0,0.05) !important;
    overflow: hidden;
    margin-top: 8px;
}

.select2-results__option {
    font-family: var(--te-font) !important;
    font-size: 0.9rem !important;
    padding: 0.85rem 1.25rem !important;
    transition: all 0.2s ease;
}

.select2-results__option--highlighted {
    background: linear-gradient(135deg, var(--te-accent), var(--te-gold)) !important;
}

/* Textarea - Modern */
.woocommerce form .form-row textarea {
    min-height: 120px;
    resize: vertical;
}

/* Validated fields */
.woocommerce form .form-row.woocommerce-validated input.input-text {
    box-shadow:
        inset 0 2px 4px rgba(0,0,0,0.02),
        0 0 0 2px rgba(39,174,96,0.2),
        0 2px 8px rgba(0,0,0,0.02) !important;
}

.woocommerce form .form-row.woocommerce-invalid input.input-text {
    box-shadow:
        inset 0 2px 4px rgba(0,0,0,0.02),
        0 0 0 2px rgba(231,76,60,0.2),
        0 2px 8px rgba(0,0,0,0.02) !important;
}

/* Order review section - Modern Glass */
.woocommerce #order_review_heading {
    background: linear-gradient(165deg, rgba(255,255,255,0.98), rgba(252,250,248,0.95));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2rem 2.5rem 1.5rem;
    border-radius: 24px 24px 0 0;
    box-shadow:
        0 -5px 30px rgba(0,0,0,0.04),
        0 0 0 1px rgba(255,255,255,0.9),
        inset 0 1px 1px rgba(255,255,255,1);
    border-bottom: none;
    margin-bottom: 0 !important;
    position: relative;
    overflow: hidden;
    animation: sectionFadeIn 0.6s ease backwards;
    animation-delay: 0.3s;
}

.woocommerce #order_review_heading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--te-accent), var(--te-gold), var(--te-accent));
    background-size: 200% 100%;
    animation: gradientShift 4s ease infinite;
}

.woocommerce #order_review {
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(252,250,248,0.95));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0 2.5rem 2.5rem;
    border-radius: 0 0 24px 24px;
    box-shadow:
        0 15px 40px rgba(0,0,0,0.06),
        0 0 0 1px rgba(255,255,255,0.9);
    animation: sectionFadeIn 0.6s ease backwards;
    animation-delay: 0.35s;
}

/* Order table - Modern */
.woocommerce #order_review table.shop_table {
    border: none !important;
    margin: 0 !important;
}

.woocommerce #order_review table.shop_table thead th {
    border: none !important;
    padding: 1rem 0 !important;
    font-family: var(--te-font) !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    color: var(--te-text-muted) !important;
}

.woocommerce #order_review table.shop_table td,
.woocommerce #order_review table.shop_table th {
    border: none !important;
    border-bottom: 1px dashed rgba(0,0,0,0.08) !important;
    padding: 1.1rem 0 !important;
    font-family: var(--te-font) !important;
    font-size: 0.95rem !important;
    transition: all 0.3s ease;
}

.woocommerce #order_review table.shop_table tbody tr:hover td {
    background: linear-gradient(90deg, rgba(200,149,108,0.03), transparent);
    padding-left: 0.5rem !important;
}

.woocommerce #order_review table.shop_table .cart-subtotal td,
.woocommerce #order_review table.shop_table .shipping td {
    font-weight: 600;
}

.woocommerce #order_review table.shop_table .order-total {
    position: relative;
}

.woocommerce #order_review table.shop_table .order-total td,
.woocommerce #order_review table.shop_table .order-total th {
    border-bottom: none !important;
    padding-top: 1.5rem !important;
    padding-bottom: 0.5rem !important;
}

.woocommerce #order_review table.shop_table .order-total td {
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    background: linear-gradient(135deg, var(--te-accent), var(--te-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.woocommerce #order_review table.shop_table .order-total th {
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--te-primary);
}

/* Payment methods - Modern Glass */
.woocommerce-checkout #payment {
    background: linear-gradient(165deg, rgba(255,255,255,0.98), rgba(252,250,248,0.95)) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-radius: 24px !important;
    box-shadow:
        0 15px 50px rgba(0,0,0,0.08),
        0 0 0 1px rgba(255,255,255,0.9),
        inset 0 1px 1px rgba(255,255,255,1) !important;
    border: none !important;
    padding: 2.5rem !important;
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
    animation: sectionFadeIn 0.6s ease backwards;
    animation-delay: 0.4s;
}

.woocommerce-checkout #payment::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--te-accent), var(--te-gold), var(--te-accent));
    background-size: 200% 100%;
    animation: gradientShift 4s ease infinite;
}

.woocommerce-checkout #payment ul.payment_methods {
    border-bottom: 2px solid var(--te-border) !important;
    padding: 0 0 1.5rem !important;
    margin: 0 0 2rem !important;
    list-style: none !important;
}

.woocommerce-checkout #payment ul.payment_methods li {
    padding: 1.25rem 1.5rem !important;
    border-radius: 16px !important;
    margin-bottom: 0.75rem;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid transparent;
    background: linear-gradient(145deg, #fff, #faf8f5);
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}

.woocommerce-checkout #payment ul.payment_methods li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: transparent;
    transition: all 0.3s ease;
}

.woocommerce-checkout #payment ul.payment_methods li:hover {
    background: linear-gradient(145deg, #fff, #fff);
    border-color: rgba(200,149,108,0.2);
    transform: translateX(4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

.woocommerce-checkout #payment ul.payment_methods li:hover::before {
    background: linear-gradient(180deg, var(--te-accent), var(--te-gold));
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method input[type="radio"]:checked + label {
    color: var(--te-accent);
}

.woocommerce-checkout #payment ul.payment_methods li label {
    font-family: var(--te-font) !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.woocommerce-checkout #payment ul.payment_methods li label img {
    max-height: 28px;
    width: auto;
}

.woocommerce-checkout #payment .payment_box {
    background: linear-gradient(145deg, var(--te-bg-light), rgba(200,149,108,0.05)) !important;
    border-radius: 12px !important;
    padding: 1.25rem 1.5rem !important;
    font-size: 0.88rem !important;
    color: var(--te-text-light) !important;
    margin-top: 1rem;
    border-left: 3px solid var(--te-accent);
}

.woocommerce-checkout #payment .payment_box::before {
    display: none !important;
}

/* Place order button - Modern 3D */
.woocommerce-checkout #payment .place-order {
    padding-top: 2rem !important;
}

.woocommerce-checkout #payment .place-order .button {
    width: 100% !important;
    padding: 1.4rem 2.5rem !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    letter-spacing: 2.5px !important;
    text-transform: uppercase !important;
    background: linear-gradient(135deg, var(--te-accent), var(--te-gold)) !important;
    border: none !important;
    border-radius: 16px !important;
    color: #fff !important;
    cursor: pointer !important;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    box-shadow:
        0 10px 30px rgba(200,149,108,0.4),
        0 0 0 1px rgba(255,255,255,0.1) inset,
        0 1px 0 rgba(255,255,255,0.2) inset !important;
    position: relative;
    overflow: hidden;
}

.woocommerce-checkout #payment .place-order .button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: left 0.6s ease;
}

.woocommerce-checkout #payment .place-order .button:hover::before {
    left: 100%;
}

.woocommerce-checkout #payment .place-order .button:hover {
    transform: translateY(-4px) scale(1.02) !important;
    box-shadow:
        0 20px 50px rgba(200,149,108,0.5),
        0 0 0 1px rgba(255,255,255,0.2) inset !important;
}

.woocommerce-checkout #payment .place-order .button:active {
    transform: translateY(-2px) scale(1) !important;
}

/* Privacy policy text */
.woocommerce-checkout .woocommerce-privacy-policy-text p {
    font-size: 0.82rem !important;
    color: var(--te-text-muted) !important;
    line-height: 1.6;
}

.woocommerce-checkout .woocommerce-privacy-policy-text a {
    color: var(--te-accent);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(200,149,108,0.3);
    text-underline-offset: 2px;
}

.woocommerce-checkout .woocommerce-privacy-policy-text a:hover {
    text-decoration-color: var(--te-accent);
}

/* Terms checkbox - Modern */
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(145deg, var(--te-bg-light), rgba(200,149,108,0.03));
    border-radius: 12px;
}

.woocommerce-checkout .woocommerce-form__label-for-checkbox {
    font-size: 0.88rem !important;
    color: var(--te-text-light) !important;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}

.woocommerce-checkout .woocommerce-form__label-for-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--te-accent);
}

/* Order notes */
.woocommerce form #order_comments_field {
    margin-top: 1rem;
}

.woocommerce form #order_comments_field label {
    margin-bottom: 0.75rem !important;
}

/* Shipping methods in checkout */
.woocommerce #order_review table.shop_table .shipping td {
    padding: 1rem 0 !important;
}

.woocommerce #order_review .woocommerce-shipping-methods {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce #order_review .woocommerce-shipping-methods li {
    padding: 0.6rem 0;
}

.woocommerce #order_review .woocommerce-shipping-methods li label {
    font-family: var(--te-font) !important;
    font-size: 0.9rem !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

/* === Checkout Steps - Modern === */
.te-checkout-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 2rem 0 2.5rem;
    margin-bottom: 1rem;
}

.te-checkout-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    z-index: 1;
}

.te-checkout-step__number {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(145deg, #f0f0f0, #e6e6e6);
    color: var(--te-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    font-family: var(--te-font);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow:
        4px 4px 12px rgba(0,0,0,0.08),
        -2px -2px 8px rgba(255,255,255,0.9),
        inset 0 0 0 2px rgba(255,255,255,0.5);
    position: relative;
}

.te-checkout-step__number::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: transparent;
    z-index: -1;
    transition: all 0.4s ease;
}

.te-checkout-step--active .te-checkout-step__number {
    background: linear-gradient(135deg, var(--te-accent), var(--te-gold));
    color: #fff;
    transform: scale(1.1);
    box-shadow:
        0 8px 32px rgba(200,149,108,0.45),
        0 0 0 4px rgba(200,149,108,0.15),
        inset 0 1px 1px rgba(255,255,255,0.3);
}

.te-checkout-step--active .te-checkout-step__number::before {
    background: linear-gradient(135deg, var(--te-accent), var(--te-gold));
    opacity: 0.2;
    animation: stepPulse 2s ease-in-out infinite;
}

.te-checkout-step--done .te-checkout-step__number {
    background: linear-gradient(135deg, var(--te-success), #2ecc71);
    color: #fff;
    box-shadow: 0 4px 20px rgba(39,174,96,0.35);
}

.te-checkout-step--done .te-checkout-step__number svg {
    width: 24px;
    height: 24px;
}

.te-checkout-step__label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--te-text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
}

.te-checkout-step--active .te-checkout-step__label {
    color: var(--te-accent);
}

.te-checkout-step--done .te-checkout-step__label {
    color: var(--te-success);
}

.te-checkout-step__line {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--te-border), var(--te-border));
    margin: 0 1.25rem;
    margin-bottom: 2rem;
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

.te-checkout-step__line--done {
    background: linear-gradient(90deg, var(--te-success), #2ecc71);
}

/* Checkout Security Badge */
.te-checkout-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, rgba(39,174,96,0.08), rgba(39,174,96,0.03));
    border-radius: 30px;
    max-width: fit-content;
    margin: 0 auto 2.5rem;
    border: 1px solid rgba(39,174,96,0.15);
}

.te-checkout-security svg {
    width: 18px;
    height: 18px;
    color: var(--te-success);
}

.te-checkout-security span {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--te-success);
    letter-spacing: 0.3px;
}

/* Checkout Trust Badges */
.te-checkout-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    padding: 2.5rem;
    background: linear-gradient(165deg, rgba(255,255,255,0.95), rgba(252,250,248,0.9));
    backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow:
        0 10px 40px rgba(0,0,0,0.05),
        0 0 0 1px rgba(255,255,255,0.9);
}

.te-checkout-trust__item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.te-checkout-trust__item:hover {
    background: rgba(255,255,255,0.8);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

.te-checkout-trust__item svg {
    width: 32px;
    height: 32px;
    color: var(--te-accent);
    flex-shrink: 0;
    filter: drop-shadow(0 3px 6px rgba(200,149,108,0.25));
}

.te-checkout-trust__item strong {
    display: block;
    font-size: 0.95rem;
    color: var(--te-primary);
    margin-bottom: 0.25rem;
}

.te-checkout-trust__item span {
    font-size: 0.82rem;
    color: var(--te-text-muted);
    line-height: 1.5;
}

/* === Thank You Page - Modern === */
.te-thankyou {
    max-width: 700px;
    margin: 0 auto;
    padding-bottom: 4rem;
}

.te-thankyou__success,
.te-thankyou__failed {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(165deg, rgba(255,255,255,0.98), rgba(252,250,248,0.95));
    backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow:
        0 15px 50px rgba(0,0,0,0.06),
        0 0 0 1px rgba(255,255,255,0.9),
        inset 0 1px 1px rgba(255,255,255,1);
    position: relative;
    overflow: hidden;
    animation: sectionFadeIn 0.6s ease backwards;
}

.te-thankyou__success::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--te-success), #2ecc71, var(--te-success));
    background-size: 200% 100%;
    animation: gradientShift 4s ease infinite;
}

.te-thankyou__failed::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--te-danger), #c0392b);
}

.te-thankyou__icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, rgba(39,174,96,0.1), rgba(46,204,113,0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: iconPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s backwards;
}

@keyframes iconPop {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.te-thankyou__icon::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px dashed rgba(39,174,96,0.2);
    animation: rotateDash 20s linear infinite;
}

.te-thankyou__icon svg {
    width: 48px;
    height: 48px;
    color: var(--te-success);
    filter: drop-shadow(0 4px 8px rgba(39,174,96,0.3));
}

.te-thankyou__icon--failed {
    background: linear-gradient(135deg, rgba(231,76,60,0.1), rgba(192,57,43,0.05));
}

.te-thankyou__icon--failed svg {
    color: var(--te-danger);
    filter: drop-shadow(0 4px 8px rgba(231,76,60,0.3));
}

.te-thankyou__icon--failed::before {
    border-color: rgba(231,76,60,0.2);
}

.te-thankyou__title {
    font-family: var(--te-font-heading);
    font-size: 2rem;
    color: var(--te-primary);
    margin-bottom: 0.5rem;
    animation: fadeUp 0.6s ease 0.4s backwards;
}

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

.te-thankyou__subtitle {
    font-size: 1.1rem;
    color: var(--te-text-light);
    margin-bottom: 2.5rem;
    animation: fadeUp 0.6s ease 0.5s backwards;
}

.te-thankyou__text {
    font-size: 1rem;
    color: var(--te-text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.te-thankyou__order-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 2rem;
    background: linear-gradient(145deg, var(--te-bg-light), rgba(200,149,108,0.03));
    border-radius: 16px;
    margin-top: 2rem;
    text-align: left;
    animation: fadeUp 0.6s ease 0.6s backwards;
}

.te-thankyou__order-item {
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.te-thankyou__order-item:hover {
    background: rgba(255,255,255,0.8);
}

.te-thankyou__order-item span {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--te-text-muted);
    margin-bottom: 0.4rem;
}

.te-thankyou__order-item strong {
    font-size: 1rem;
    color: var(--te-primary);
    font-weight: 700;
}

.te-thankyou__total {
    font-size: 1.2rem !important;
    background: linear-gradient(135deg, var(--te-accent), var(--te-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Next Steps */
.te-thankyou__next {
    margin-top: 2.5rem;
    padding: 2.5rem;
    background: linear-gradient(165deg, rgba(255,255,255,0.98), rgba(252,250,248,0.95));
    backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow:
        0 10px 40px rgba(0,0,0,0.05),
        0 0 0 1px rgba(255,255,255,0.9);
    animation: fadeUp 0.6s ease 0.7s backwards;
}

.te-thankyou__next h3 {
    font-family: var(--te-font-heading);
    font-size: 1.3rem;
    color: var(--te-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.te-thankyou__next-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.te-thankyou__next-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 14px;
    transition: all 0.3s ease;
}

.te-thankyou__next-item:hover {
    background: rgba(200,149,108,0.05);
    transform: translateX(4px);
}

.te-thankyou__next-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--te-accent), var(--te-gold));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(200,149,108,0.3);
}

.te-thankyou__next-item strong {
    display: block;
    font-size: 0.95rem;
    color: var(--te-primary);
    margin-bottom: 0.2rem;
}

.te-thankyou__next-item span {
    font-size: 0.85rem;
    color: var(--te-text-muted);
}

/* Thank You Actions */
.te-thankyou__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
    animation: fadeUp 0.6s ease 0.8s backwards;
}

.te-thankyou__actions .te-btn {
    padding: 1rem 2rem;
}

.te-thankyou__actions .te-btn svg {
    transform: rotate(180deg);
}

/* Thank You Responsive */
@media (max-width: 768px) {
    .te-thankyou__success,
    .te-thankyou__failed {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }

    .te-thankyou__icon {
        width: 80px;
        height: 80px;
    }

    .te-thankyou__icon svg {
        width: 40px;
        height: 40px;
    }

    .te-thankyou__title {
        font-size: 1.6rem;
    }

    .te-thankyou__order-info {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .te-thankyou__next {
        padding: 1.75rem;
        border-radius: 20px;
    }

    .te-thankyou__actions {
        flex-direction: column;
    }

    .te-thankyou__actions .te-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Checkout Responsive */
@media (max-width: 1100px) {
    .te-checkout-layout {
        grid-template-columns: 1fr 380px;
        gap: 2rem;
    }
}

@media (max-width: 1024px) {
    .te-checkout-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .te-checkout-sidebar {
        position: static;
    }

    .te-checkout-sidebar__inner {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .te-checkout-steps {
        padding: 1.5rem 0 2rem;
    }

    .te-checkout-step__number {
        width: 44px;
        height: 44px;
        font-size: 0.9rem;
    }

    .te-checkout-step__line {
        width: 50px;
        margin: 0 0.75rem;
    }

    .te-checkout-step__label {
        font-size: 0.65rem;
    }

    .te-checkout-security {
        padding: 0.6rem 1rem;
        margin-bottom: 2rem;
    }

    .te-checkout-security span {
        font-size: 0.75rem;
    }

    .te-checkout-section {
        padding: 1.75rem;
        border-radius: 20px;
    }

    .te-checkout-sidebar__inner {
        padding: 1.75rem;
        border-radius: 20px;
    }

    .woocommerce-checkout #payment {
        padding: 1.75rem !important;
        border-radius: 20px !important;
    }
}

@media (max-width: 480px) {
    .te-checkout-steps {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .te-checkout-step__line {
        width: 30px;
        margin: 0 0.5rem;
    }

    .woocommerce form .form-row-first,
    .woocommerce form .form-row-last {
        width: 100% !important;
        display: block !important;
        margin-right: 0 !important;
    }

    .te-checkout-section {
        padding: 1.5rem;
    }

    .te-checkout-sidebar__inner {
        padding: 1.5rem;
    }

    .woocommerce-checkout #payment .place-order .button {
        padding: 1.2rem 1.5rem !important;
        font-size: 0.9rem !important;
        letter-spacing: 1.5px !important;
    }
}

/* ===========================
   Pagination
   =========================== */
.te-pagination,
.woocommerce nav.woocommerce-pagination ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.te-pagination a,
.te-pagination span,
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--te-radius);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--te-text);
    background: var(--te-bg-light);
    border: none !important;
    transition: var(--te-transition);
}

.te-pagination a:hover,
.woocommerce nav.woocommerce-pagination ul li a:hover {
    background: var(--te-accent);
    color: #fff;
}

.te-pagination .current,
.woocommerce nav.woocommerce-pagination ul li span.current {
    background: var(--te-primary) !important;
    color: #fff !important;
}

/* ===========================
   Sidebar / Widgets
   =========================== */
.te-sidebar .widget {
    background: #fff;
    padding: 2rem;
    border-radius: var(--te-radius-lg);
    box-shadow: var(--te-shadow);
    margin-bottom: 2rem;
}

.te-sidebar .widget-title {
    font-family: var(--te-font-heading);
    font-size: 1.1rem;
    color: var(--te-primary);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--te-border);
}

.te-sidebar .widget ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--te-border);
}

.te-sidebar .widget ul li:last-child {
    border-bottom: none;
}

.te-sidebar .widget ul li a {
    color: var(--te-text-light);
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.te-sidebar .widget ul li a:hover {
    color: var(--te-accent);
}

/* Price filter */
.woocommerce .widget_price_filter .price_slider_wrapper .ui-widget-content {
    background: var(--te-border) !important;
}

.woocommerce .widget_price_filter .ui-slider .ui-slider-range {
    background: var(--te-accent) !important;
}

.woocommerce .widget_price_filter .ui-slider .ui-slider-handle {
    background: var(--te-accent) !important;
    border: 2px solid #fff !important;
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.te-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.te-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

.te-animate--delay-1 { transition-delay: 0.1s; }
.te-animate--delay-2 { transition-delay: 0.2s; }
.te-animate--delay-3 { transition-delay: 0.3s; }
.te-animate--delay-4 { transition-delay: 0.4s; }

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 1024px) {
    .te-hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .te-hero__text {
        margin: 0 auto 2.5rem;
    }

    .te-hero__buttons {
        justify-content: center;
    }

    .te-hero__stats {
        justify-content: center;
    }

    .te-hero__visual {
        max-width: 500px;
        margin: 0 auto;
    }

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

    .te-about {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .te-about--reverse {
        direction: ltr;
    }

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

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

    .te-process__step::after {
        display: none;
    }

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

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

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

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

    .te-gallery__item--large {
        grid-column: span 1;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .te-nav {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        bottom: 0;
        background: #fff;
        flex-direction: column;
        padding: 2rem;
        gap: 0;
        overflow-y: auto;
        z-index: 999;
    }

    .te-nav.active {
        display: flex;
    }

    .te-nav__link {
        padding: 1rem;
        font-size: 1.1rem;
        border-bottom: 1px solid var(--te-border);
        width: 100%;
    }

    .te-nav__link::after {
        display: none;
    }

    .te-nav__dropdown-menu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding-left: 1rem;
    }

    .te-menu-toggle {
        display: flex;
    }

    .te-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .te-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .te-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .te-header__phone {
        display: none;
    }

    .te-section {
        padding: 4rem 0;
    }

    .te-container {
        padding: 0 1rem;
    }

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

    .te-hero__stats {
        gap: 2rem;
        flex-wrap: wrap;
    }

    .te-hero__image-accent {
        display: none;
    }

    .te-hero__badge {
        display: none;
    }

    .te-categories {
        grid-template-columns: 1fr;
    }

    .te-process {
        grid-template-columns: 1fr;
    }

    .te-footer__grid {
        grid-template-columns: 1fr;
    }

    .te-footer__bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .te-form-row {
        grid-template-columns: 1fr;
    }

    .te-gallery {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .te-hero__buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .te-btn {
        justify-content: center;
    }

    .te-hero__title {
        font-size: 2rem;
    }
}

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

    .woocommerce form.checkout .col2-set {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
        max-width: 100%;
        margin: 0 !important;
    }
}

@media (max-width: 480px) {
    .woocommerce ul.products {
        grid-template-columns: 1fr !important;
        max-width: 380px;
        margin: 0 auto !important;
    }

    .woocommerce table.shop_table {
        font-size: 0.9rem;
    }

    .woocommerce table.shop_table .product-thumbnail {
        width: 60px;
    }

    .woocommerce table.shop_table .product-thumbnail img {
        width: 50px !important;
        height: 50px !important;
    }

    .woocommerce .cart_totals {
        margin-top: 1.5rem;
    }

    .woocommerce table.shop_table td.actions .coupon {
        flex-direction: column;
    }

    .woocommerce table.shop_table td.actions .coupon input.input-text {
        min-width: auto;
        width: 100%;
    }
}

/* ===========================
   Elementor Compatibility
   =========================== */

/* Full-width Elementor content */
.te-main--elementor,
.te-main--fullwidth {
    padding-top: 80px;
}

.te-main--elementor .te-container,
.te-main--fullwidth .te-container {
    max-width: 100%;
    padding: 0;
}

/* Elementor sections full bleed */
.elementor-section.elementor-section-full_width {
    max-width: 100%;
}

.elementor-section.elementor-section-boxed > .elementor-container {
    max-width: var(--te-container);
}

/* Canvas template - no padding */
.te-canvas .elementor {
    padding-top: 0;
}

/* Elementor default styling overrides */
.elementor-widget-heading .elementor-heading-title {
    font-family: var(--te-font-heading);
    color: var(--te-primary);
}

.elementor-widget-text-editor {
    font-family: var(--te-font);
    color: var(--te-text-light);
    line-height: 1.7;
}

.elementor-button {
    font-family: var(--te-font) !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
    border-radius: var(--te-radius) !important;
}

/* Elementor WC Products widget */
.elementor-widget-woocommerce-products ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem !important;
}

/* Shop layout with sidebar */
.te-shop-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 3rem;
    padding: 3rem 0;
}

.te-shop-layout .te-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.te-shop-content .woocommerce-result-count {
    font-family: var(--te-font);
    color: var(--te-text-muted);
    font-size: 0.9rem;
}

.te-shop-content .woocommerce-ordering select {
    padding: 0.6rem 1rem;
    border: 2px solid var(--te-border);
    border-radius: var(--te-radius);
    font-family: var(--te-font);
    font-size: 0.85rem;
    color: var(--te-text);
    background: #fff;
    cursor: pointer;
    transition: var(--te-transition);
}

.te-shop-content .woocommerce-ordering select:focus {
    border-color: var(--te-accent);
    outline: none;
}

@media (max-width: 1024px) {
    .te-shop-layout {
        grid-template-columns: 1fr;
    }

    .te-shop-layout .te-sidebar {
        position: static;
    }

    .woocommerce ul.products,
    ul.products,
    .elementor-widget-woocommerce-products ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

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

/* --- Hide WC default elements that we replace --- */
.woocommerce ul.products li.product > a:first-child:not(.te-product-card__overlay-btn),
.woocommerce ul.products li.product > .price,
.woocommerce ul.products li.product > .star-rating,
.woocommerce ul.products li.product > h2.woocommerce-loop-product__title {
    /* Hide any default WC elements that slip through */
}

/* Shop page sidebar widget styling */
.te-sidebar .widget {
    background: #fff;
    padding: 1.5rem;
    border-radius: var(--te-radius-lg);
    box-shadow: var(--te-shadow);
    margin-bottom: 1.5rem;
}

.te-sidebar .widget-title,
.te-sidebar .widget h3 {
    font-family: var(--te-font) !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    color: var(--te-primary) !important;
    margin-bottom: 1rem !important;
    padding-bottom: 0.75rem !important;
    border-bottom: 2px solid var(--te-border) !important;
}

.te-sidebar .widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.te-sidebar .widget ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--te-border);
}

.te-sidebar .widget ul li:last-child {
    border-bottom: none;
}

.te-sidebar .widget ul li a {
    color: var(--te-text);
    font-size: 0.9rem;
    transition: var(--te-transition);
}

.te-sidebar .widget ul li a:hover {
    color: var(--te-accent);
}

.te-sidebar .widget ul li .count,
.te-sidebar .widget ul li span {
    color: var(--te-text-muted);
    font-size: 0.8rem;
}

/* Price filter widget */
.te-sidebar .widget .price_slider_wrapper,
.te-sidebar .widget_price_filter {
    font-size: 0.9rem !important;
}

.te-sidebar .widget .price_slider_wrapper .price_label,
.te-sidebar .widget_price_filter .price_label {
    font-size: 0.85rem !important;
    color: var(--te-text-light);
}

.te-sidebar .widget .price_slider_wrapper .ui-slider {
    background: var(--te-border) !important;
    border: none !important;
    height: 5px !important;
    border-radius: 3px !important;
    margin: 1rem 0 !important;
}

.te-sidebar .widget .price_slider_wrapper .ui-slider .ui-slider-range {
    background: var(--te-accent) !important;
    border-radius: 3px !important;
}

.te-sidebar .widget .price_slider_wrapper .ui-slider .ui-slider-handle {
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    background: #fff !important;
    border: 3px solid var(--te-accent) !important;
    top: -7px !important;
    cursor: pointer !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.te-sidebar .widget .price_slider_wrapper .button,
.te-sidebar .widget_price_filter .button {
    background: var(--te-primary) !important;
    color: #fff !important;
    border: none !important;
    padding: 0.5rem 1.2rem !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border-radius: var(--te-radius) !important;
    cursor: pointer !important;
}

.te-sidebar .widget .price_slider_wrapper .button:hover,
.te-sidebar .widget_price_filter .button:hover {
    background: var(--te-accent) !important;
}

/* Hide WC's duplicate title inside price filter widget */
.widget_price_filter .widget-title,
.widget_price_filter > h2,
.widget .widget_price_filter > h2,
.te-sidebar .widget .woocommerce-widget-title {
    display: none !important;
}

/* Hide duplicate "Filtruj po cenie" text that appears inside form */
.price_slider_wrapper > span:first-child,
.widget_price_filter form > span:first-child {
    display: none !important;
}

/* Better price filter form layout */
.te-sidebar .widget_price_filter form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.te-sidebar .widget_price_filter .price_slider_amount {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.te-sidebar .widget_price_filter .price_slider_amount .price_label {
    flex: 1;
    text-align: right;
    color: var(--te-text-muted);
}

/* Style the Price: X zl - Y zl text */
.te-sidebar .widget_price_filter .price_label {
    font-size: 0.85rem;
    color: var(--te-text-light);
    margin-top: 0.5rem;
}

/* Help widget (phone) better styling */
.te-sidebar .widget[style*="gradient"] {
    padding: 2rem 1.5rem !important;
}

.te-sidebar .widget[style*="gradient"] p {
    margin-bottom: 1rem !important;
    line-height: 1.5 !important;
}

.te-sidebar .widget[style*="gradient"] .te-btn {
    padding: 0.85rem 1.5rem !important;
    font-size: 0.9rem !important;
    gap: 0.6rem !important;
}

.te-sidebar .widget[style*="gradient"] .te-btn svg {
    width: 18px !important;
    height: 18px !important;
}

/* Shop header bar (result count + sorting) */
.te-shop-content .woocommerce-result-count,
.woocommerce-result-count {
    font-family: var(--te-font) !important;
    color: var(--te-text-muted) !important;
    font-size: 0.85rem !important;
}

.te-shop-content .woocommerce-ordering select,
.woocommerce-ordering select {
    padding: 0.55rem 2rem 0.55rem 1rem !important;
    border: 2px solid var(--te-border) !important;
    border-radius: var(--te-radius) !important;
    font-family: var(--te-font) !important;
    font-size: 0.82rem !important;
    color: var(--te-text) !important;
    background: #fff !important;
    cursor: pointer;
    transition: var(--te-transition);
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.75rem center !important;
}

.te-shop-content .woocommerce-ordering select:focus,
.woocommerce-ordering select:focus {
    border-color: var(--te-accent) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(200,149,108,0.15) !important;
}

/* ===========================
   Shop Toolbar
   =========================== */
.te-shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--te-border);
    gap: 1rem;
    flex-wrap: wrap;
}

.te-shop-toolbar__left,
.te-shop-toolbar__right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.te-shop-toolbar__filter-btn {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: var(--te-bg-light);
    border: 1px solid var(--te-border);
    border-radius: var(--te-radius);
    font-family: var(--te-font);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--te-text);
    cursor: pointer;
    transition: var(--te-transition);
}

.te-shop-toolbar__filter-btn:hover {
    border-color: var(--te-accent);
    color: var(--te-accent);
}

.te-shop-toolbar__results {
    font-size: 0.85rem;
    color: var(--te-text-muted);
}

.te-shop-toolbar__view {
    display: flex;
    gap: 0;
    border: 1px solid var(--te-border);
    border-radius: var(--te-radius);
    overflow: hidden;
}

.te-shop-toolbar__view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.7rem;
    background: #fff;
    border: none;
    cursor: pointer;
    color: var(--te-text-muted);
    transition: var(--te-transition);
}

.te-shop-toolbar__view-btn + .te-shop-toolbar__view-btn {
    border-left: 1px solid var(--te-border);
}

.te-shop-toolbar__view-btn--active,
.te-shop-toolbar__view-btn:hover {
    background: var(--te-primary);
    color: #fff;
}

.te-shop-toolbar__sort .woocommerce-ordering {
    margin: 0;
}

/* Hide duplicate result count from WC (we have our own in toolbar) */
.te-shop-content .woocommerce-result-count {
    display: none !important;
}

/* Page header product count */
.te-page-header__count {
    font-size: 0.5em;
    font-weight: 400;
    color: var(--te-text-muted);
    font-family: var(--te-font);
}

/* ===========================
   Shop List View
   =========================== */
.te-products--list ul.products,
.te-products--list .products {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
}

.te-products--list .te-product-card {
    display: grid;
    grid-template-columns: 250px 1fr;
    overflow: hidden;
}

.te-products--list .te-product-card__image {
    aspect-ratio: auto;
    height: 100%;
}

.te-products--list .te-product-card__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.5rem 2rem;
}

.te-products--list .te-product-card__meta {
    margin-top: auto;
}

/* ===========================
   Sidebar Mobile Toggle
   =========================== */
.te-sidebar__header {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--te-border);
}

.te-sidebar__header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.te-sidebar__close {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--te-text);
    padding: 0;
    line-height: 1;
}

.te-sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
}

.te-sidebar-overlay.active {
    display: block;
}

/* ===========================
   Single Product Layout
   =========================== */
.te-single-product__main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.te-single-product__gallery {
    position: sticky;
    top: 100px;
    align-self: start;
}

.te-single-product__gallery .woocommerce-product-gallery {
    margin: 0;
}

.te-single-product__category {
    margin-bottom: 0.75rem;
}

.te-single-product__category a {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: var(--te-accent-light);
    color: var(--te-accent-hover);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
}

.te-single-product__category a:hover {
    background: var(--te-accent);
    color: #fff;
}

.te-single-product__title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 1rem;
}

.te-single-product__price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--te-primary);
    margin-bottom: 1.5rem;
}

.te-single-product__price del {
    font-size: 1.2rem;
    color: var(--te-text-muted);
    font-weight: 400;
}

.te-single-product__price ins {
    text-decoration: none;
    color: var(--te-accent);
}

.te-single-product__short-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--te-text-light);
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--te-border);
}

.te-single-product__short-desc p:last-child {
    margin-bottom: 0;
}

/* Trust badges */
.te-single-product__trust {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--te-bg-light);
    border-radius: var(--te-radius-lg);
}

.te-single-product__trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.te-single-product__trust-item svg {
    width: 24px;
    height: 24px;
    color: var(--te-accent);
    flex-shrink: 0;
}

.te-single-product__trust-item strong {
    display: block;
    font-size: 0.85rem;
    color: var(--te-text);
}

.te-single-product__trust-item span {
    font-size: 0.75rem;
    color: var(--te-text-muted);
}

/* Meta */
.te-single-product__meta {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--te-border);
}

.te-single-product__meta-row {
    font-size: 0.85rem;
    color: var(--te-text-light);
    margin-bottom: 0.3rem;
}

.te-single-product__meta-label {
    font-weight: 600;
    color: var(--te-text);
}

/* Enhanced Tabs */
.te-single-product__tabs {
    margin-bottom: 3rem;
}

.te-single-product__tabs .woocommerce-tabs {
    background: #fff;
    border-radius: var(--te-radius-lg);
    box-shadow: var(--te-shadow);
    overflow: hidden;
}

.te-single-product__tabs .woocommerce-tabs ul.tabs {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    border-bottom: 2px solid var(--te-border);
    background: var(--te-bg-light);
}

.te-single-product__tabs .woocommerce-tabs ul.tabs li {
    flex: 1;
    margin: 0;
    padding: 0;
    border: none;
    background: none;
}

.te-single-product__tabs .woocommerce-tabs ul.tabs li a {
    display: block;
    text-align: center;
    padding: 1rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--te-text-light);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: var(--te-transition);
}

.te-single-product__tabs .woocommerce-tabs ul.tabs li.active a,
.te-single-product__tabs .woocommerce-tabs ul.tabs li a:hover {
    color: var(--te-accent);
    border-bottom-color: var(--te-accent);
}

.te-single-product__tabs .woocommerce-tabs .panel {
    padding: 2rem;
}

/* Related products */
.te-single-product__related {
    border-top: 1px solid var(--te-border);
    padding-top: 3rem;
}

.te-single-product__related .related > h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* ===========================
   Cart Coupon Collapsible
   =========================== */
.te-cart__coupon-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: none;
    border: 1px dashed var(--te-border);
    border-radius: var(--te-radius);
    font-family: var(--te-font);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--te-accent);
    cursor: pointer;
    transition: var(--te-transition);
}

.te-cart__coupon-toggle:hover {
    border-color: var(--te-accent);
    background: var(--te-accent-light);
}

.te-cart__coupon-toggle svg {
    width: 18px;
    height: 18px;
}

.te-cart__coupon-arrow {
    transition: transform 0.3s ease;
}

.te-cart__coupon-toggle.active .te-cart__coupon-arrow {
    transform: rotate(180deg);
}

.te-cart__coupon-form {
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-top: 0.75rem;
}

/* Cart mobile price labels */
.te-cart__price-label {
    display: none;
    font-size: 0.75rem;
    color: var(--te-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===========================
   Checkout Section Headers
   =========================== */
.te-checkout-section__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--te-border);
}

.te-checkout-section__icon {
    width: 44px;
    height: 44px;
    background: var(--te-accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.te-checkout-section__icon svg {
    width: 20px;
    height: 20px;
    color: var(--te-accent);
}

.te-checkout-section__header h3 {
    font-size: 1.2rem;
    margin: 0;
}

.te-checkout-section__subtitle {
    font-size: 0.85rem;
    color: var(--te-text-muted);
    margin: 0.2rem 0 0;
}

/* Checkout payment methods - selected styling */
.woocommerce-checkout-payment .wc_payment_methods li {
    border: 2px solid var(--te-border);
    border-radius: var(--te-radius);
    padding: 1rem;
    margin-bottom: 0.5rem;
    transition: var(--te-transition);
}

.woocommerce-checkout-payment .wc_payment_methods li:has(input:checked) {
    border-color: var(--te-accent);
    background: rgba(200,149,108,0.05);
}

.woocommerce-checkout-payment .wc_payment_methods li label {
    font-weight: 600;
    cursor: pointer;
}

/* ===========================
   Responsive: Mobile
   =========================== */
@media (max-width: 992px) {
    /* Shop toolbar */
    .te-shop-toolbar__filter-btn {
        display: inline-flex;
    }

    /* Mobile sidebar */
    .te-sidebar {
        position: fixed;
        top: 0;
        left: -320px;
        width: 300px;
        height: 100vh;
        z-index: 999;
        background: #fff;
        overflow-y: auto;
        transition: left 0.3s ease;
        box-shadow: none;
        padding: 0;
    }

    .te-sidebar.active {
        left: 0;
        box-shadow: 5px 0 30px rgba(0,0,0,0.2);
    }

    .te-sidebar.active .widget {
        padding: 1rem 1.5rem;
    }

    .te-sidebar__header {
        display: flex;
    }

    .te-shop-layout {
        grid-template-columns: 1fr !important;
    }

    /* Single product */
    .te-single-product__main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .te-single-product__gallery {
        position: static;
    }

    /* List view on mobile */
    .te-products--list .te-product-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .te-shop-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .te-shop-toolbar__left,
    .te-shop-toolbar__right {
        justify-content: space-between;
    }

    /* Cart mobile */
    .te-cart__product-actions {
        flex-direction: column;
        gap: 0.5rem;
    }

    .te-cart__price-label {
        display: block;
    }

    /* Checkout */
    .te-checkout-layout {
        grid-template-columns: 1fr !important;
    }

    /* Tabs stacking */
    .te-single-product__tabs .woocommerce-tabs ul.tabs {
        flex-direction: column;
    }

    .te-single-product__tabs .woocommerce-tabs ul.tabs li a {
        text-align: left;
        padding: 0.75rem 1.5rem;
        border-bottom: none;
        border-left: 2px solid transparent;
    }

    .te-single-product__tabs .woocommerce-tabs ul.tabs li.active a {
        border-bottom: none;
        border-left-color: var(--te-accent);
    }
}
