﻿/*
Theme Name: BeautyNoor (Premium)
Theme URI: http://example.com/beautynoor
Author: Yuka2
Author URI: http://example.com
Description: РџСЂРµРјРёР°Р»СЊРЅР°СЏ СЃРІРµС‚Р»Р°СЏ С‚РµРјР° СЃ Р·РѕР»РѕС‚С‹РјРё (rose gold) Р°РєС†РµРЅС‚Р°РјРё РґР»СЏ РјР°РіР°Р·РёРЅР° РєРѕСЃРјРµС‚РёРєРё РІ РћРђР­. РћРїС‚РёРјРёР·РёСЂРѕРІР°РЅР° РґР»СЏ Google Shopping.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: noorbeauty
*/

/* Reset & Basic Variables */
:root {
    /* Р¦РІРµС‚РѕРІР°СЏ РїР°Р»РёС‚СЂР°: РљСЂРµРјРѕРІС‹Р№, Р РѕР·РѕРІРѕРµ Р·РѕР»РѕС‚Рѕ, РўРµРјРЅРѕ-СЃРµСЂС‹Р№ */
    --primary-color: #B76E79;
    /* Rose Gold */
    --primary-hover: #9e5b65;
    --text-color: #2c2c2c;
    --text-muted: #757575;
    --bg-light: #FDFCF0;
    /* РћС‡РµРЅСЊ Р»РµРіРєРёР№ РєСЂРµРјРѕРІС‹Р№ С„РѕРЅ */
    --bg-white: #ffffff;
    --border-color: #e5e5e5;

    /* РЁСЂРёС„С‚С‹ */
    --font-heading: 'Playfair Display', serif;
    /* РџСЂРµРјРёР°Р»СЊРЅС‹Р№ С€СЂРёС„С‚ СЃ Р·Р°СЃРµС‡РєР°РјРё */
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--bg-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
.site-title {
    font-family: var(--font-heading);
    color: var(--text-color);
    font-weight: 600;
}

a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

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

/* Header */
.site-header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 8px 0;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    gap: 20px;
}

.site-title {
    font-size: 30px;
    letter-spacing: 0.5px;
    text-transform: none;
    display: flex;
    align-items: baseline;
    line-height: 1;
    font-family: var(--font-heading);
}

.site-title a {
    color: var(--text-color);
    display: inline-flex;
    align-items: baseline;
}

.logo-shop {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-color);
    font-size: 30px;
    letter-spacing: 0.3px;
}

.logo-brand {
    font-family: var(--font-heading);
    font-weight: 600;
    font-style: italic;
    color: var(--primary-color);
    font-size: 30px;
    letter-spacing: 0.3px;
    margin-left: 2px;
}

.footer-brand {
    text-transform: none !important;
    letter-spacing: normal !important;
    font-size: 26px !important;
}
.footer-brand .logo-shop,
.footer-brand .logo-brand {
    font-size: 26px;
    text-transform: none !important;
    letter-spacing: 0.3px !important;
}

/* Navigation & Mega Menu */
.header-inner {
    position: relative;
    /* Р”Р»СЏ РїРѕР·РёС†РёРѕРЅРёСЂРѕРІР°РЅРёСЏ РјРµРіР°-РјРµРЅСЋ РЅР° РІСЃСЋ С€РёСЂРёРЅСѓ С€Р°РїРєРё */
}

/* Р’С‚РѕСЂРѕР№ СЏСЂСѓСЃ С€Р°РїРєРё: РќР°РІРёРіР°С†РёСЏ */
.header-bottom {
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
    /* РўРѕРЅРєР°СЏ Р»РёРЅРёСЏ СЂР°Р·РґРµР»РµРЅРёСЏ */
    padding: 10px 0;
}

.main-navigation {
    width: 100%;
    position: relative;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    justify-content: center;
    /* Р¦РµРЅС‚СЂРёСЂСѓРµРј РјРµРЅСЋ РїРѕ РІСЃРµРјСѓ СЌРєСЂР°РЅСѓ */
    align-items: center;
    gap: 40px;
    /* РЈРІРµР»РёС‡РёР»Рё СЂР°СЃСЃС‚РѕСЏРЅРёРµ РґР»СЏ РєСЂР°СЃРѕС‚С‹ */
    margin: 0;
    padding: 0;
}

.main-navigation>ul>li {
    padding: 10px 0;
    line-height: 1;
    /* РЈР±РёСЂР°РµРј Р»РёС€РЅРёРµ СЃРґРІРёРіРё РїРѕ РІС‹СЃРѕС‚Рµ */
}

.main-navigation a {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.main-navigation .cat-icon {
    font-size: 16px;
    /* Р Р°Р·РјРµСЂ РёРєРѕРЅРєРё-СЌРјРѕРґР·Рё РІ РјРµРЅСЋ */
}

.main-navigation .arrow {
    font-size: 10px;
    color: var(--text-muted);
}

.has-mega-menu {
    position: static;
    /* Р’С‹С…РѕРґРёРј РёР· РєРѕРЅС‚РµРєСЃС‚Р° li, С‡С‚РѕР±С‹ РјРµРЅСЋ СЃС‚Р°Р»Рѕ 100% С€РёСЂРёРЅС‹ */
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 40px 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
}

/* Hover effect only for Desktop */
@media (min-width: 992px) {
    .has-mega-menu:hover .mega-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.mega-menu-inner {
    display: flex;
    flex-wrap: wrap;
    /* Р”РѕР±Р°РІР»РµРЅРѕ, С‡С‚РѕР±С‹ РєРѕР»РѕРЅРєРё РїРµСЂРµРЅРѕСЃРёР»РёСЃСЊ РЅР° РІС‚РѕСЂСѓСЋ СЃС‚СЂРѕРєСѓ */
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.mega-column h4 {
    font-family: var(--font-main);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.mega-column ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mega-column a {
    text-transform: none;
    letter-spacing: normal;
    font-weight: 400;
    font-size: 14px;
    color: var(--text-muted);
}

.mega-column a:hover {
    color: var(--primary-color);
}

/* Header Actions (РџРѕРёСЃРє, РљРѕСЂР·РёРЅР°, Р“Р°РјР±СѓСЂРіРµСЂ) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobile-menu-toggle {
    display: none;
    /* РЎРєСЂС‹С‚Рѕ РЅР° РџРљ */
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-color);
}

/* РЈРјРЅС‹Р№ РџРѕРёСЃРє: РЅР° РґРµСЃРєС‚РѕРїРµ РІСЃРµРіРґР° РѕС‚РєСЂС‹С‚Р°СЏ СЃС‚СЂРѕРєР° */
.header-search {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1;
    /* Р—Р°РЅРёРјР°РµС‚ РґРѕСЃС‚СѓРїРЅРѕРµ РїСЂРѕСЃС‚СЂР°РЅСЃС‚РІРѕ */
    max-width: 500px;
    /* РЈРІРµР»РёС‡РёР»Рё С€РёСЂРёРЅСѓ, С‚Р°Рє РєР°Рє С‚РµРїРµСЂСЊ РµСЃС‚СЊ РјРµСЃС‚Рѕ */
    margin: 0 auto;
    /* Р¦РµРЅС‚СЂРёСЂРѕРІР°РЅРёРµ */
}

/* РќР° РџРљ СЃРєСЂС‹РІР°РµРј РёРєРѕРЅРєСѓ-РїРµСЂРµРєР»СЋС‡Р°С‚РµР»СЊ Р»СѓРїС‹ */
.search-toggle {
    display: none;
}

/* РќР° РџРљ СЃС‚СЂРѕРєР° РїРѕРёСЃРєР° Р±РѕР»СЊС€Рµ РЅРµ "РІСЃРїР»С‹РІР°СЋС‰РµРµ" РѕРєРЅРѕ, Р° РІСЃС‚СЂРѕРµРЅРЅС‹Р№ Р±Р»РѕРє */
.search-box {
    position: static;
    width: 100%;
    background: transparent;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
}

/* РЈРґР°Р»СЏРµРј hover/active СЌС„С„РµРєС‚ РґР»СЏ .search-box РЅР° РџРљ, С‚Р°Рє РєР°Рє РѕРЅ РІСЃРµРіРґР° РѕС‚РєСЂС‹С‚ */
.header-search:hover .search-box,
.header-search.is-active .search-box {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-form {
    display: flex;
    width: 100%;
}

.search-field {
    flex: 1;
    padding: 10px 15px;
    /* Р§СѓС‚СЊ РјРµРЅСЊС€Рµ РїР°РґРґРёРЅРіРё РґР»СЏ РєРѕРјРїР°РєС‚РЅРѕСЃС‚Рё */
    border: 1px solid var(--border-color);
    border-radius: 4px 0 0 4px;
    font-family: var(--font-main);
    font-size: 13px;
    outline: none;
    background: var(--bg-light);
    /* Р›РµРіРєРёР№ С„РѕРЅ, С‡С‚РѕР±С‹ РѕС‚РґРµР»СЏР»Р°СЃСЊ РѕС‚ С€Р°РїРєРё */
}

.search-field:focus {
    border-color: var(--primary-color);
}

.search-submit {
    background: var(--text-color);
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 0 4px 4px 0;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}

.search-submit:hover {
    background: var(--primary-color);
}

/* Premium Desktop Cart Pill - Luxurious Redesign */
.header-cart-link {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #ffffff 0%, var(--bg-light) 100%);
    border: 1px solid rgba(183, 110, 121, 0.25);
    padding: 10px 24px;
    border-radius: 50px;
    color: var(--text-color);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(183, 110, 121, 0.08);
    text-transform: none;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.header-cart-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #d8919b 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.header-cart-link:hover {
    border-color: transparent;
    box-shadow: 0 8px 25px rgba(183, 110, 121, 0.25);
    transform: translateY(-2px);
    color: #ffffff;
}

.header-cart-link:hover::before {
    opacity: 1;
}

.header-cart-link>* {
    position: relative;
    z-index: 2;
    transition: color 0.4s ease;
}

.header-cart-link .cart-icon {
    font-size: 18px;
    margin-right: 8px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
    transition: transform 0.4s ease;
}

.header-cart-link:hover .cart-icon {
    transform: scale(1.1) rotate(-5deg);
}

.header-cart-link .cart-text {
    font-size: 13px;
    font-weight: 700;
    margin-right: 14px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-family: var(--font-main);
}

.header-cart-link .cart-count {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 26px;
    background: var(--text-color);
    color: var(--bg-white);
    font-weight: 700;
    font-size: 12px;
    border-radius: 50%;
    padding: 0 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.header-cart-link:hover .cart-count {
    background: #ffffff;
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.4);
    transform: scale(1.15);
}

/* РљРЅРѕРїРєРё РћР±С‰РёРµ */
.btn,
button,
input[type="submit"] {
    background-color: var(--text-color);
    color: var(--bg-white);
    padding: 12px 30px;
    border: none;
    cursor: pointer;
    font-family: var(--font-main);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    font-size: 13px;
    transition: background-color 0.3s;
}

.btn:hover,
button:hover,
input[type="submit"]:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Main Content Area */
.site-main {
    min-height: 60vh;
}

/* Hero Section */
.hero-section {
    position: relative;
    background-color: var(--bg-light);
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    text-align: left;
    /* РўРµРєСЃС‚ СЃР»РµРІР° РїРѕ РґРµСЃРєС‚РѕРїСѓ */
    padding: 140px 0;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
    min-height: 600px;
}

/* Р“СЂР°РґРёРµРЅС‚, С‡С‚РѕР±С‹ С‚РµРєСЃС‚ Р»РµРіРєРѕ С‡РёС‚Р°Р»СЃСЏ РїРѕРІРµСЂС… Р»СЋР±РѕР№ РєР°СЂС‚РёРЅРєРё */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(253, 252, 240, 0.95) 0%, rgba(253, 252, 240, 0.7) 50%, rgba(253, 252, 240, 0) 100%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    max-width: 600px;
}

.hero-label {
    display: inline-block;
    background: var(--text-color);
    color: var(--bg-white);
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 6px 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 56px;
    margin-bottom: 20px;
    line-height: 1.15;
    color: var(--text-color);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 35px;
    line-height: 1.6;
}

.hero-actions .btn {
    padding: 16px 40px;
    font-size: 14px;
}

/* Features (Google Shopping Trust signals) */
.features-bar {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-white);
    padding: 30px 0;
}

.features-bar .container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    justify-content: center;
    transition: transform 0.3sease;
}

.feature-item:hover {
    transform: translateY(-3px);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    /* РРєРѕРЅРєРё С†РІРµС‚Р° Rose Gold */
    background: var(--bg-light);
    /* Р›РµРіРєРёР№ РєСЂСѓР¶РѕРє РїРѕРґ РёРєРѕРЅРєРѕР№ */
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.feature-text {
    text-align: left;
}

.feature-text h4 {
    font-size: 15px;
    margin-bottom: 4px;
    font-family: var(--font-main);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.feature-text p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin: 60px 0 30px;
    font-size: 32px;
    color: var(--text-color);
}

/* Shop by Category Block */
.shop-by-category {
    padding: 20px 0 40px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.category-item:hover {
    transform: translateY(-5px);
}

.category-img-wrapper {
    width: 100%;
    max-width: 180px;
    /* РћРіСЂР°РЅРёС‡РёРІР°РµРј РјР°РєСЃРёРјР°Р»СЊРЅС‹Р№ СЂР°Р·РјРµСЂ РєСЂСѓРіР° */
    aspect-ratio: 1;
    /* Р”РµР»Р°РµРј РёРґРµР°Р»СЊРЅС‹Р№ РєРІР°РґСЂР°С‚ */
    border-radius: 50%;
    /* РџСЂРµРІСЂР°С‰Р°РµРј РєРІР°РґСЂР°С‚ РІ РєСЂСѓРі */
    overflow: hidden;
    margin: 0 auto 15px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    background: var(--bg-white);
}

.category-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* РљР°СЂС‚РёРЅРєР° Р°РєРєСѓСЂР°С‚РЅРѕ РІРїРёСЃС‹РІР°РµС‚СЃСЏ РІ РєСЂСѓРі */
    padding: 10px;
    /* РќРµР±РѕР»СЊС€РѕР№ РѕС‚СЃС‚СѓРї РѕС‚ РєСЂР°РµРІ РєСЂСѓРіР° */
    transition: transform 0.4s ease;
}

.category-item:hover img {
    transform: scale(1.08);
    /* РџСЂРё РЅР°РІРµРґРµРЅРёРё РєР°СЂС‚РёРЅРєР° С‡СѓС‚СЊ СѓРІРµР»РёС‡РёРІР°РµС‚СЃСЏ */
}

.category-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    font-family: var(--font-main);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Product Grid (Mockup/WooCommerce) */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.product-card {
    background: var(--bg-white);
    padding: 20px;
    text-align: center;
    border: 1px solid var(--border-color);
    /* РЎСЂР°Р·Сѓ СЃРґРµР»Р°РµРј Р»РµРіРєСѓСЋ СЂР°РјРєСѓ */
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transform: translateY(-3px);
}

.product-image {
    width: 100%;
    /* Р¤РёРєСЃРёСЂСѓРµС‚ С€РёСЂРёРЅСѓ РєРѕРЅС‚РµР№РЅРµСЂР° РєР°СЂС‚РёРЅРєРё */
    aspect-ratio: 1;
    background: var(--bg-white);
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* РЎРїР°СЃР°РµС‚ РѕС‚ РѕР±СЂРµР·РєРё Рё СЃРїР»СЋС‰РёРІР°РЅРёСЏ РєР°СЂС‚РёРЅРѕРє! */
    padding: 10px;
}

.product-title {
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 10px;
    /* РЈР±РёСЂР°РµРј Р¶РµСЃС‚РєСѓСЋ РІС‹СЃРѕС‚Сѓ Рё РІС‹С‚Р°Р»РєРёРІР°РµРј РєРѕРЅС‚РµРЅС‚ РІРЅРёР· */
    flex-grow: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.product-price {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 15px;
    margin-top: auto;
    /* РџСЂРёР¶РёРјР°РµС‚ С†РµРЅСѓ Рё РєРЅРѕРїРєСѓ Рє СЃР°РјРѕРјСѓ РЅРёР·Сѓ */
}

/* РЎС‚РёР»Рё РґР»СЏ СЃРєРёРґРѕС‡РЅРѕР№ С†РµРЅС‹ WooCommerce */
.product-price del {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 400;
    margin-right: 8px;
}

.top-rated-sidebar-widget ul.product_list_widget li del .woocommerce-Price-amount {
    color: var(--text-muted);
    font-size: 13px;
    text-decoration: line-through;
    margin-right: 5px;
}

/* ==========================================================================
   ADDED TO CART (VIEW CART BUTTON) REDESIGN
   ========================================================================== */

/* РќР° РґРµСЃРєС‚РѕРїРµ СЌС‚Рѕ Р°РєРєСѓСЂР°С‚РЅР°СЏ С‚РµРєСЃС‚РѕРІР°СЏ СЃСЃС‹Р»РєР° СЂСЏРґРѕРј СЃ РєРЅРѕРїРєРѕР№ */
a.added_to_cart.wc-forward {
    display: inline-block;
    margin-top: 10px;
    font-size: 13px;
    color: var(--text-color);
    text-decoration: underline;
    font-weight: 500;
    text-align: center;
    width: 100%;
}

a.added_to_cart.wc-forward:hover {
    color: var(--primary-color);
}

/* РќР° РјРѕР±РёР»СЊРЅС‹С… РїСЂСЏС‡РµРј СЌС‚Сѓ СЃРёСЃС‚РµРјРЅСѓСЋ СЃСЃС‹Р»РєСѓ, С‚Р°Рє РєР°Рє Сѓ РЅР°СЃ РµСЃС‚СЊ РєР»Р°СЃСЃРЅР°СЏ РїР»Р°РІР°СЋС‰Р°СЏ РїР°РЅРµР»СЊ СЃРЅРёР·Сѓ */
@media (max-width: 991px) {

    a.added_to_cart,
    a.added_to_cart.wc-forward,
    .wc-forward.added_to_cart {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        width: 0 !important;
        position: absolute !important;
        z-index: -9999 !important;
    }
}

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

/* Р Р°СЃС‚СЏРіРёРІР°РµРј РєРЅРѕРїРєСѓ РЅР° РІСЃСЋ С€РёСЂРёРЅСѓ РєР°СЂС‚РѕС‡РєРё */
.product-card .btn,
.product-card .add_to_cart_button {
    width: 100%;
    display: inline-block;
}

/* Customer Reviews Block */
.customer-reviews {
    padding: 40px 0 60px;
    background-color: var(--bg-light);
}

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

.review-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.review-stars {
    color: #ffd700;
    /* Р—РѕР»РѕС‚РѕР№ С†РІРµС‚ РґР»СЏ Р·РІРµР·Рґ */
    font-size: 20px;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.review-text {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
    flex-grow: 1;
    /* Р§С‚РѕР±С‹ Р°РІС‚РѕСЂС‹ РІСЃРµРіРґР° Р±С‹Р»Рё РЅР° РѕРґРЅРѕРј СѓСЂРѕРІРЅРµ СЃРЅРёР·Сѓ */
}

.review-author {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
    margin-top: auto;
}

.review-author strong {
    font-size: 15px;
    color: var(--text-color);
    font-family: var(--font-main);
}

.review-author span {
    font-size: 12px;
    color: var(--primary-color);
    margin-top: 4px;
}

/* SEO / About Us Block */
.seo-about-section {
    background-color: #faf9f5;
    /* РћС‡РµРЅСЊ РїСЂРёСЏС‚РЅС‹Р№ Р±РµР¶РµРІРѕ-РїСѓРґСЂРѕРІС‹Р№ РѕС‚С‚РµРЅРѕРє */
    padding: 80px 0;
    margin-top: 60px;
    border-top: 1px solid var(--border-color);
}

.seo-content-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    align-items: center;
}

.seo-text-area {
    padding-right: 20px;
}

.seo-title {
    font-size: 32px;
    margin-bottom: 25px;
    line-height: 1.3;
}

.seo-text-area p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.seo-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.seo-feature {
    background: var(--bg-white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-color);
}

.seo-icon {
    font-size: 28px;
    display: block;
    margin-bottom: 15px;
}

.seo-feature h3 {
    font-size: 16px;
    font-family: var(--font-main);
    margin-bottom: 10px;
    font-weight: 600;
}

.seo-feature p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Footer (Compliance Google Ads) */
.site-footer {
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 20px;
    margin-top: 60px;
}

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

.footer-widget-area h3 {
    font-family: var(--font-main);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-widget-area ul {
    list-style: none;
}

.footer-widget-area ul li {
    margin-bottom: 10px;
}

.footer-widget-area ul a {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-widget-area ul a:hover {
    color: var(--primary-color);
}

.site-info {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 13px;
}

/* ==========================================================================
   Single Product Page (Google Shopping Ready)
   ========================================================================== */
.premium-product-layout {
    margin: 60px auto;
    max-width: 1200px;
    padding: 0 20px;
}

.product-main-area {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.product-gallery-section,
.product-info-section {
    min-width: 0;
    /* РћР±СЏР·Р°С‚РµР»СЊРЅРѕ РґР»СЏ РїСЂРµРґРѕС‚РІСЂР°С‰РµРЅРёСЏ СЂР°Р·СЂС‹РІР° Grid СЃРєСЂРёРїС‚Р°РјРё */
}

.product-gallery-section {
    position: sticky;
    top: 20px;
    z-index: 10;
}

@media (max-width: 991px) {
    .product-gallery-section {
        position: relative;
        top: 0;
    }
}

.product-info-inner {
    padding-top: 10px;
}

.premium-product-layout h1.product_title {
    font-size: 36px;
    font-family: var(--font-heading);
    color: var(--text-color);
    margin-bottom: 15px;
    line-height: 1.2;
}

.premium-product-layout .price {
    font-size: 28px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 25px;
    display: block;
}

.premium-product-layout .woocommerce-product-details__short-description {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 30px;
}

.premium-product-layout form.cart {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.premium-product-layout .quantity input {
    width: 75px;
    height: 54px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: var(--bg-white);
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
    border-radius: 0;
    /* РЎС‚СЂРѕРіРёРµ СѓРіР»С‹ - Luxury Style */
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.premium-product-layout .quantity input:focus {
    border-color: var(--text-color);
    outline: none;
}

.premium-product-layout .single_add_to_cart_button {
    flex-grow: 1;
    height: 54px;
    padding: 0 40px;
    background-color: var(--text-color);
    /* РљР»Р°СЃСЃРёС‡РµСЃРєР°СЏ СЃС‚Р°С‚СѓСЃРЅР°СЏ Р·Р°Р»РёРІРєР° */
    color: #fff;
    border: 1px solid var(--text-color);
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    /* РЁРёСЂРѕРєРёР№ РёРЅС‚РµСЂРІР°Р» Р±СѓРєРІ РґР»СЏ РїСЂРµРјРёР°Р»СЊРЅРѕСЃС‚Рё */
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 0;
    /* РћСЃС‚СЂС‹Рµ РїСЂРµСЃС‚РёР¶РЅС‹Рµ СѓРіР»С‹ */
    display: flex;
    justify-content: center;
    align-items: center;
}

.premium-product-layout .single_add_to_cart_button:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(183, 110, 121, 0.3);
}

/* Trust Signals on Product Page */
.product-trust-signals {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
    background-color: #faf9f5;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.trust-icon {
    font-size: 24px;
}

.trust-text {
    display: flex;
    flex-direction: column;
}

.trust-text strong {
    font-size: 15px;
    color: var(--text-color);
}

.trust-text span {
    font-size: 13px;
    color: var(--text-muted);
}

/* Product Tabs & Description */
.product-bottom-area {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid var(--border-color);
}

.woocommerce-tabs ul.tabs {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    display: flex;
    gap: 30px;
    border-bottom: 1px solid var(--border-color);
}

.woocommerce-tabs ul.tabs li {
    padding-bottom: 15px;
}

.woocommerce-tabs ul.tabs li a {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.woocommerce-tabs ul.tabs li.active a {
    color: var(--text-color);
    font-weight: 600;
}

.woocommerce-Tabs-panel {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-muted);
}

/* ==========================================================================
   PRODUCT REVIEWS SECTION (РћС‚Р·С‹РІС‹)
   ========================================================================== */

/* Р’РєР»Р°РґРєРё (Tabs) - РРЅРґРёРєР°С‚РѕСЂ Р°РєС‚РёРІРЅРѕР№ РІРєР»Р°РґРєРё */
.woocommerce-tabs ul.tabs li.active a {
    color: var(--text-color);
    font-weight: 600;
    position: relative;
}

.woocommerce-tabs ul.tabs li.active a::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
}

/* РЎРїРёСЃРѕРє РѕС‚Р·С‹РІРѕРІ */
#reviews .commentlist {
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
}

#reviews .commentlist li {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

#reviews .commentlist li .comment_container {
    display: flex;
    gap: 20px;
}

#reviews .commentlist li img.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    background: #f5f5f5;
    padding: 3px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

#reviews .commentlist li .comment-text {
    flex-grow: 1;
}

#reviews .commentlist li .meta {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

#reviews .commentlist li .meta strong {
    color: var(--text-color);
    font-family: var(--font-heading);
    font-size: 16px;
}

#reviews .commentlist li .description {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-color);
}

/* Р—РІРµР·РґРЅС‹Р№ СЂРµР№С‚РёРЅРі (Stars) */
.star-rating {
    float: right;
    overflow: hidden;
    position: relative;
    height: 1em;
    line-height: 1;
    font-size: 1em;
    width: 5.4em;
    font-family: 'star';
    color: var(--primary-color);
}

.star-rating::before {
    content: '\73\73\73\73\73';
    color: #e0e0e0;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
}

.star-rating span {
    overflow: hidden;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
    padding-top: 1.5em;
}

.star-rating span::before {
    content: '\53\53\53\53\53';
    top: 0;
    position: absolute;
    left: 0;
}

/* Р¤РѕСЂРјР° РґРѕР±Р°РІР»РµРЅРёСЏ РѕС‚Р·С‹РІР° */
#review_form_wrapper {
    background: #faf9f5;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

#review_form_wrapper .comment-reply-title {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--text-color);
    margin-bottom: 20px;
    display: block;
}

#review_form_wrapper p {
    margin-bottom: 20px;
}

#review_form_wrapper label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
}

#review_form_wrapper input[type="text"],
#review_form_wrapper input[type="email"],
#review_form_wrapper textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: var(--bg-white);
    font-size: 15px;
    font-family: inherit;
    border-radius: 0;
    /* РЎС‚СЂРѕРіРёР№ СЃС‚РёР»СЊ */
    box-sizing: border-box;
    transition: all 0.3s;
}

#review_form_wrapper textarea {
    min-height: 120px;
    resize: vertical;
}

#review_form_wrapper input:focus,
#review_form_wrapper textarea:focus {
    border-color: var(--text-color);
    outline: none;
}

/* Р’С‹Р±РѕСЂ Р·РІРµР·Рґ РїСЂРё РѕС‚РїСЂР°РІРєРµ */
p.stars a {
    color: #ccc;
    text-decoration: none;
    font-size: 20px;
    display: inline-block;
    transition: color 0.2s;
}

p.stars a:hover,
p.stars a.active {
    color: var(--primary-color);
}

/* РљРЅРѕРїРєР° РѕС‚РїСЂР°РІРєРё РѕС‚Р·С‹РІР° */
#review_form_wrapper input[type="submit"] {
    background-color: var(--text-color);
    color: #fff;
    border: 1px solid var(--text-color);
    padding: 15px 40px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 0;
    display: inline-block;
    margin-top: 10px;
}

#review_form_wrapper input[type="submit"]:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(183, 110, 121, 0.2);
    transform: translateY(-2px);
}

/* ==========================================================================
   РРљРћРќРљР SVG Р’ WIDGET PRODUCTS
   ========================================================================== */
.product_list_widget img {
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* ==========================================================================
   Р’РћРЎРЎРўРђРќРћР’Р›Р•РќРР• РЎРўР РЈРљРўРЈР Р« РџРћР›Р•Р™ WOOCOMMERCE (РЈР”РђР›Р•РќРР• Float Р Р‘Р›РћРљРР РћР’РљРђ РЁРР РРќР«)
   ========================================================================== */
.woocommerce-checkout .col2-set {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    flex: none !important;
    padding: 0 !important;
}

/* РџСЂРёРЅСѓРґРёС‚РµР»СЊРЅРѕ СЂР°Р·РІРѕСЂР°С‡РёРІР°РµРј Р’РЎР• РїРѕР»СЏ РІРІРѕРґР° (РРјСЏ, Р¤Р°РјРёР»РёСЏ, РўРµР»РµС„РѕРЅ) РЅР° РІСЃСЋ Р»РµРІСѓСЋ РєРѕР»РѕРЅРєСѓ */
.woocommerce form .form-row {
    width: 100% !important;
    float: none !important;
    margin-bottom: 25px !important;
    display: block !important;
}

/* РСЃРєР»СЋС‡РµРЅРёРµ: РІРЅСѓС‚СЂРё С„РѕСЂРјС‹ РѕРїР»Р°С‚С‹ Р­РєСЃРїР°Р№СЂ Рё CVC РѕСЃС‚Р°СЋС‚СЃСЏ РІ РѕРґРЅСѓ Р»РёРЅРёСЋ */
#noorbeauty_cc_gateway_form .form-row-first,
#noorbeauty_cc_gateway_form .form-row-last,
.wc-credit-card-form .form-row-first,
.wc-credit-card-form .form-row-last {
    width: 50% !important;
    float: left !important;
    margin: 0 !important;
}

.wc-credit-card-form .form-row-last {
    float: right !important;
}

/* РЎР±СЂРѕСЃ С€РёСЂРёРЅ РґР»СЏ РёРЅРїСѓС‚РѕРІ, С‡С‚РѕР±С‹ РѕРЅРё РЅРµ РІС‹С…РѕРґРёР»Рё Р·Р° СЂР°РјРєРё */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Р¤РёРєСЃ С€РёСЂРёРЅС‹ РІСЃРµР№ РѕР±РµСЂС‚РєРё С„РѕСЂРјС‹ */
form.checkout.woocommerce-checkout {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
}

.noorbeauty-checkout-layout {
    width: 100% !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
}

.noorbeauty-checkout-left {
    width: 53% !important;
}

.noorbeauty-checkout-right {
    width: 42% !important;
}

@media (max-width: 991px) {

    .noorbeauty-checkout-left,
    .noorbeauty-checkout-right {
        width: 100% !important;
    }
}

/* ==========================================================================
   РРљРћРќРљР РћРџР›РђРўР« (Mastercard/Visa)
   ========================================================================== */
.payment_methods img {
    max-width: 40px;
    vertical-align: middle;
    margin-left: 10px;
}

/* ==========================================================================
   РђР’РўРћР—РђРџРћР›РќР•РќРР•, РљР РћРЎРЎР‘Р РђРЈР—Р•Р РќРћРЎРўР¬
   ========================================================================== */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}

/* ==========================================================================
   РљРђРЎРўРћРњРќРђРЇ Р¤РћР РњРђ РћРџР›РђРўР« РљРђР РўРћР™ (CREDIT CARD GATEWAY) - Р‘Р•РЎРЁРћР’РќР«Р™ РЎРўРР›Р¬
   ========================================================================== */
.wc-credit-card-form {
    margin: 0;
    padding: 0;
    background: transparent !important;
    border: none;
    box-sizing: border-box;
    width: 100%;
}

.wc-credit-card-form::before {
    content: "Checkout safely using a major card.";
    font-family: var(--font-heading);
    font-size: 24px;
    display: block;
    margin-bottom: 25px;
    color: var(--text-color);
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 15px;
}

body.woocommerce-checkout .wc-credit-card-form .form-row {
    margin-bottom: 20px !important;
    padding: 0 !important;
}

body.woocommerce-checkout .wc-credit-card-form label {
    display: block !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #6b7280 !important;
    margin-bottom: 8px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

body.woocommerce-checkout .wc-credit-card-form input.input-text {
    width: 100% !important;
    height: 52px !important;
    min-height: 52px !important;
    padding: 0 16px !important;
    border: 1px solid #e2e8f0 !important;
    background: #f8fafc !important;
    font-size: 15px !important;
    font-family: var(--font-main) !important;
    letter-spacing: 1.5px !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02) !important;
    position: relative !important;
    z-index: 1 !important;
    color: #1f2937 !important;
}

body.woocommerce-checkout .wc-credit-card-form input.input-text:focus {
    border-color: #94a3b8 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.2) !important;
    outline: none !important;
    z-index: 2 !important;
}

body.woocommerce-checkout .wc-credit-card-form .cc-input-wrap {
    position: relative;
    width: 100%;
}

body.woocommerce-checkout .wc-credit-card-form .cc-input-wrap input {
    padding-right: 80px !important;
    /* РќР°СЃС‚СЂРѕР№РєР° РѕС‚СЃС‚СѓРїР° РїРѕРґ РґРІР° Р»РѕРіРѕС‚РёРїР° */
}

body.woocommerce-checkout .wc-credit-card-form .cc-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    display: flex;
    align-items: center;
    z-index: 3;
}

body.woocommerce-checkout .wc-credit-card-form .cc-icon svg {
    height: auto;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.1));
}

body.woocommerce-checkout .wc-credit-card-form .form-row-first {
    float: left !important;
    width: 48% !important;
}

body.woocommerce-checkout .wc-credit-card-form .form-row-last {
    float: right !important;
    width: 48% !important;
}

.wc-credit-card-form .clear {
    clear: both;
}

/* ==========================================================================
   РћР§РРЎРўРљРђ Р”Р•Р¤РћР›РўРќР«РҐ РЎРўРР›Р•Р™ Р‘Р›РћРљРђ РћРџР›РђРўР« (Р§РўРћР‘Р« Р’РџРРЎРђРўР¬ Р’ Р›Р•Р’РЈР® РљРћР›РћРќРљРЈ)
   ========================================================================== */
#payment {
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin-top: 0 !important;
}

#payment ul.payment_methods {
    border: none !important;
    border-bottom: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* РЎРєСЂС‹РІР°РµРј РґРµС„РѕР»С‚РЅС‹Рµ С‚РµРєСЃС‚С‹ Рё РєСЂСѓР¶РѕС‡РєРё СЂР°РґРёРѕРєРЅРѕРїРѕРє С€Р»СЋР·Р° */
#payment .payment_methods li label,
#payment div.payment_box p,
#payment .payment_methods li input[type="radio"],
#payment .payment_methods li.payment_method_noorbeauty_cc>input,
#payment .payment_methods li.payment_method_noorbeauty_cc>label {
    display: none !important;
}

#payment div.payment_box {
    background-color: transparent !important;
    padding: 0 !important;
    color: inherit !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

#payment div.payment_box::before {
    display: none !important;
    /* РЈР±РёСЂР°РµРј С‚СЂРµСѓРіРѕР»СЊРЅРёС‡РµРє WooCommerce */
}

#payment .place-order {
    padding: 30px 0 0 0 !important;
    margin: 30px 0 0 0 !important;
    border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
    background: transparent !important;
}

#payment .place-order .button {
    width: 100% !important;
    font-size: 16px !important;
    padding: 22px !important;
    letter-spacing: 2px !important;
    background-color: var(--text-color) !important;
    color: #fff !important;
    border-radius: 0 !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    transition: all 0.3s ease !important;
    border: none !important;
}

#payment .place-order .button:hover {
    background-color: var(--primary-color) !important;
}

/* РўРµРєСЃС‚ 'Your personal data...' */
.woocommerce-privacy-policy-text {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* ==========================================================================
   Checkout Page (Google Shopping Ready) - BULLETPROOF FLEX LAYOUT
   ========================================================================== */
.noorbeauty-checkout-layout {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 40px;
}

.noorbeauty-checkout-left {
    width: 53%;
}

.noorbeauty-checkout-right {
    width: 42%;
}

#customer_details {
    margin-bottom: 20px;
}

#payment {
    margin-top: 30px !important;
}

#order_review_heading {
    margin-top: 0;
}

/* РќР° СЃР»СѓС‡Р°Р№ РјРѕР±РёР»СЊРЅС‹С… С‚РµР»РµС„РѕРЅРѕРІ - РїРµСЂРµСЃС‚СЂР°РёРІР°РµРј РІ РѕРґРЅСѓ РєРѕР»РѕРЅРєСѓ */
@media (max-width: 991px) {

    .noorbeauty-checkout-left,
    .noorbeauty-checkout-right {
        width: 100%;
    }

    .noorbeauty-checkout-right {
        margin-top: 40px;
    }
}

.woocommerce-checkout .col2-set {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
    width: 100%;
    float: none;
}

/* РЎС‚РёР»РёР·Р°С†РёСЏ С„РѕСЂРј Checkout */
.woocommerce form .form-row {
    padding: 0;
    margin-bottom: 25px;
}

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

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: var(--bg-white);
    font-size: 15px;
    font-family: inherit;
    border-radius: 0;
    /* РЎС‚СЂРѕРіРёР№ СЃС‚РёР»СЊ */
    box-sizing: border-box;
    transition: all 0.3s;
    height: 52px;
}

/* Select2 (РџРѕР»Рµ РІС‹Р±РѕСЂР° СЃС‚СЂР°РЅС‹/СЂРµРіРёРѕРЅР°) */
.woocommerce form .form-row .select2-container--default .select2-selection--single {
    height: 52px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0;
    background-color: var(--bg-white);
}

.woocommerce form .form-row .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--text-color);
    font-size: 15px;
    padding-left: 15px;
    line-height: 50px;
}

.woocommerce form .form-row .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 50px;
    right: 10px;
}

.woocommerce form .form-row textarea {
    height: 120px;
    resize: vertical;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
    border-color: var(--text-color);
    outline: none;
}

.woocommerce form .product-details .price {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 30px;
    display: block;
}

/* РћРєРЅРѕ Р·Р°РєР°Р·Р° (Order Review) */
#order_review {
    background: #faf9f5;
    padding: 30px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

#order_review_heading {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--text-color);
    margin-top: 0;
    margin-bottom: 20px;
}

table.shop_table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    border-radius: 0;
    border: none;
}

table.shop_table th,
table.shop_table td {
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    border-top: none;
    background: transparent;
}

table.shop_table th {
    font-weight: 600;
    color: var(--text-color);
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
}

table.shop_table .cart-subtotal th,
table.shop_table .order-total th {
    font-weight: 600;
}

table.shop_table .order-total .woocommerce-Price-amount {
    font-size: 24px;
    color: var(--primary-color);
    font-weight: 600;
}

/* ==========================================================================
   SIDE CART (OFF-CANVAS)
   ========================================================================== */

.noorbeauty-side-cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.noorbeauty-side-cart {
    position: fixed;
    top: 0;
    right: -450px;
    /* РЎРєСЂС‹С‚Рѕ Р·Р° СЌРєСЂР°РЅРѕРј */
    width: 100%;
    max-width: 450px;
    height: 100%;
    background: var(--bg-white);
    z-index: 10001;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
    transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.noorbeauty-side-cart.active {
    right: 0;
}

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

.side-cart-title {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--text-color);
    margin: 0;
}

.side-cart-close {
    background: none;
    border: none;
    font-size: 32px;
    line-height: 1;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s ease;
}

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

.side-cart-body {
    padding: 25px;
    flex-grow: 1;
    overflow-y: auto;
}

/* РЎС‚РёР»РёР·Р°С†РёСЏ РІРёРґР¶РµС‚Р° РІРЅСѓС‚СЂРё Р±РѕРєРѕРІРѕР№ РєРѕСЂР·РёРЅС‹ */
.noorbeauty-side-cart .woocommerce-mini-cart {
    margin: 0;
    padding: 0;
    list-style: none;
}

.noorbeauty-side-cart .woocommerce-mini-cart-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px dashed var(--border-color);
    position: relative;
}

.noorbeauty-side-cart .woocommerce-mini-cart-item a.remove {
    position: absolute;
    top: 0;
    right: 0;
    color: #ff4d4f;
    font-size: 20px;
    font-weight: 400;
    text-decoration: none;
}

.noorbeauty-side-cart .woocommerce-mini-cart-item img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 5px;
}

.noorbeauty-side-cart .woocommerce-mini-cart__total {
    border-top: 2px solid var(--text-color);
    padding-top: 20px;
    margin-top: 20px;
    font-size: 18px;
    display: flex;
    justify-content: space-between;
    font-weight: 600;
}

.noorbeauty-side-cart .woocommerce-mini-cart__buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.noorbeauty-side-cart .button {
    text-align: center;
    padding: 15px;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.noorbeauty-side-cart .button.checkout {
    background: var(--text-color);
    color: var(--bg-white);
}

.noorbeauty-side-cart .button.checkout:hover {
    background: var(--primary-color);
}

.noorbeauty-side-cart .button:not(.checkout) {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color);
}

.noorbeauty-side-cart .button:not(.checkout):hover {
    border-color: var(--text-color);
}

@media (max-width: 768px) {
    .noorbeauty-side-cart {
        display: none !important;
    }

    .noorbeauty-side-cart-overlay {
        display: none !important;
    }
}

.woocommerce form .form-row label {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-color);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 15px;
    background-color: var(--bg-white);
    transition: border-color 0.3s;
    border-radius: 0;
    height: 52px;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

/* Р‘Р»РѕРє Р·Р°РєР°Р·Р° (РЎРїСЂР°РІР°) */
#order_review_heading {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-top: 40px;
    border-top: 2px solid var(--border-color);
}

#order_review {
    background: #faf9f5;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

/* Р‘Р°Р·РѕРІС‹Рµ СЃС‚РёР»Рё РґР»СЏ С‚Р°Р±Р»РёС† (РљРѕСЂР·РёРЅР° Рё РћС„РѕСЂРјР»РµРЅРёРµ) */
table.shop_table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

table.shop_table th,
table.shop_table td {
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    /* Р›РµРіРєРёР№ РїСЂРµРјРёР°Р»СЊРЅС‹Р№ Р±РѕСЂРґРµСЂ */
    color: var(--text-color);
}

table.shop_table th {
    text-align: left;
    font-weight: 500;
    font-family: var(--font-main);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
    color: var(--text-muted);
}

table.shop_table td {
    text-align: right;
}

table.shop_table.cart td {
    text-align: center;
}

table.shop_table.cart td.product-name {
    text-align: left;
}

table.shop_table.cart td.product-name a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
}

table.shop_table.cart td.product-name a:hover {
    color: var(--primary-color);
}

table.shop_table.cart td.product-remove a.remove {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    color: var(--text-muted) !important;
    text-decoration: none;
    font-size: 20px;
    font-weight: 300;
    transition: all 0.3s;
}

table.shop_table.cart td.product-remove a.remove:hover {
    background: transparent;
    color: var(--primary-color) !important;
    transform: scale(1.1);
}

table.shop_table.cart td.product-thumbnail img {
    max-width: 80px;
    height: auto;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Р”РµР№СЃС‚РІРёСЏ РІ РљРѕСЂР·РёРЅРµ (РљСѓРїРѕРЅ Рё РћР±РЅРѕРІР»РµРЅРёРµ РєРѕСЂР·РёРЅС‹) */
.woocommerce-cart table.shop_table td.actions {
    padding: 30px 0;
    border-bottom: none;
}

.woocommerce-cart table.shop_table td.actions .coupon {
    float: left;
    display: flex;
    gap: 15px;
}

.woocommerce-cart table.shop_table td.actions .coupon .input-text {
    width: 200px;
    height: 50px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: var(--bg-white);
    padding: 0 15px;
    font-family: var(--font-main);
    border-radius: 0;
}

.woocommerce-cart table.shop_table td.actions .coupon .input-text:focus {
    border-color: var(--text-color);
    outline: none;
}

.woocommerce-cart table.shop_table td.actions .button,
.woocommerce-cart table.shop_table td.actions .coupon .button {
    height: 50px;
    padding: 0 30px;
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--text-color);
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0;
}

.woocommerce-cart table.shop_table td.actions .button:hover,
.woocommerce-cart table.shop_table td.actions .coupon .button:hover {
    background-color: var(--text-color);
    color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* РР·РјРµРЅРµРЅРёРµ РёРЅРїСѓС‚РѕРІ РєРѕР»РёС‡РµСЃС‚РІР° РІ РєРѕСЂР·РёРЅРµ */
.woocommerce-cart table.shop_table.cart .quantity input {
    height: 40px;
    width: 60px;
    border-radius: 0;
    border: 1px solid rgba(0, 0, 0, 0.1);
    font-weight: 500;
    text-align: center;
}

/* Р‘Р»РѕРє "РРўРћР“Рћ" РІ РєРѕСЂР·РёРЅРµ (Cart Totals) */
.cart-collaterals .cart_totals {
    background: #faf9f5;
    padding: 40px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    width: 100%;
    float: right;
}

.cart-collaterals .cart_totals h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--text-color);
    margin-bottom: 30px;
    margin-top: 0;
}

.cart-collaterals .cart_totals table.shop_table {
    border: none;
    margin-bottom: 30px;
}

.cart-collaterals .cart_totals table.shop_table th {
    font-weight: 500;
}

.cart-collaterals .cart_totals table.shop_table td[data-title="Total"] strong {
    font-size: 24px;
    color: var(--primary-color);
}

/* РљРЅРѕРїРєР° "Proceed to Checkout" РІ РєРѕСЂР·РёРЅРµ */
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 54px;
    padding: 0 40px;
    background-color: var(--text-color);
    color: #fff;
    border: 1px solid var(--text-color);
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 0;
    /* РћСЃС‚СЂС‹Рµ РїСЂРµСЃС‚РёР¶РЅС‹Рµ СѓРіР»С‹ */
    text-decoration: none;
    box-sizing: border-box;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(183, 110, 121, 0.3);
}

/* ==========================================================================
   DESKTOP CART LAYOUT (Р”РІРµ РєРѕР»РѕРЅРєРё)
   ========================================================================== */
@media (min-width: 992px) {
    .woocommerce-cart .woocommerce {
        display: grid;
        grid-template-columns: 65% 30%;
        gap: 5%;
        align-items: flex-start;
    }

    .woocommerce-cart .woocommerce-cart-form {
        grid-column: 1;
    }

    .woocommerce-cart .cart-collaterals {
        grid-column: 2;
        position: sticky;
        top: 100px;
    }
}

/* ==========================================================================
   RESPONSIVE CART TABLE (РњРѕР±РёР»СЊРЅР°СЏ РєРѕСЂР·РёРЅР° РєР°СЂС‚РѕС‡РєР°РјРё)
   ========================================================================== */
@media (max-width: 768px) {

    table.shop_table.cart,
    table.shop_table.cart tbody,
    table.shop_table.cart tr,
    table.shop_table.cart td {
        display: block;
        width: 100%;
        text-align: left !important;
    }

    /* РЎРєСЂС‹РІР°РµРј Р·Р°РіРѕР»РѕРІРєРё С‚Р°Р±Р»РёС†С‹ */
    table.shop_table.cart thead {
        display: none;
    }

    /* РџСЂРµРІСЂР°С‰Р°РµРј РєР°Р¶РґСѓСЋ СЃС‚СЂРѕРєСѓ С‚РѕРІР°СЂР° РІ РєР°СЂС‚РѕС‡РєСѓ */
    table.shop_table.cart tr.cart_item {
        margin-bottom: 20px;
        padding-bottom: 20px;
        border-bottom: 1px solid var(--border-color);
        position: relative;
    }

    table.shop_table.cart td {
        padding: 5px 0 !important;
        border: none !important;
    }

    /* РЎРєСЂС‹РІР°РµРј СЃРёСЃС‚РµРјРЅСѓСЋ РєРЅРѕРїРєСѓ СѓРґР°Р»РµРЅРёСЏ, РµСЃР»Рё РјС‹ РґРѕР±Р°РІРёРј СЃРІРѕСЋ РёР»Рё РїРµСЂРµРЅРµСЃРµРј */
    table.shop_table.cart td.product-remove {
        position: absolute;
        top: 0;
        right: 0;
        padding: 0 !important;
    }

    table.shop_table.cart td.product-remove a.remove {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 30px;
        height: 30px;
        background: #f5f5f5;
        color: #333 !important;
        border-radius: 50%;
        text-decoration: none;
        font-size: 18px;
        line-height: 1;
    }

    table.shop_table.cart td.product-thumbnail {
        text-align: center !important;
        margin-bottom: 15px;
    }

    table.shop_table.cart td.product-thumbnail img {
        max-width: 100px;
        height: auto;
        margin: 0 auto;
    }

    table.shop_table.cart td.product-name,
    table.shop_table.cart td.product-price,
    table.shop_table.cart td.product-subtotal {
        font-family: var(--font-main);
    }

    table.shop_table.cart td.product-name a {
        font-size: 16px;
        font-weight: 500;
        color: var(--text-color);
        text-decoration: none;
    }

    /* РџРѕРґРїРёСЃРё РїРµСЂРµРґ Р·РЅР°С‡РµРЅРёСЏРјРё РґР»СЏ РјРѕР±РёР»РѕРє */
    table.shop_table.cart td.product-price::before {
        content: "Price: ";
        font-weight: 600;
        font-size: 13px;
        color: var(--text-muted);
        margin-right: 5px;
    }

    table.shop_table.cart td.product-quantity {
        display: flex;
        align-items: center;
        margin: 10px 0;
    }

    table.shop_table.cart td.product-quantity::before {
        content: "Qty: ";
        font-weight: 600;
        font-size: 13px;
        color: var(--text-muted);
        margin-right: 15px;
    }

    table.shop_table.cart td.product-subtotal::before {
        content: "Total: ";
        font-weight: 600;
        font-size: 13px;
        color: var(--text-muted);
        margin-right: 5px;
    }

    table.shop_table.cart td.actions {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    table.shop_table.cart td.actions .coupon {
        width: 100%;
        display: flex;
        gap: 10px;
    }

    table.shop_table.cart td.actions .coupon .input-text {
        width: 100% !important;
        float: none !important;
    }

    table.shop_table.cart td.actions>.button,
    table.shop_table.cart td.actions .coupon .button {
        width: 100% !important;
        float: none !important;
    }
}

/* Р”РµР»Р°РµРј Checkout Grid РґР»СЏ Desktop (Р”РІРµ РєРѕР»РѕРЅРєРё) */
@media (min-width: 992px) {
    .woocommerce-checkout form.checkout {
        display: grid;
        grid-template-columns: 55% 40%;
        gap: 5%;
        align-items: flex-start;
    }

    #customer_details {
        margin-bottom: 0;
        grid-column: 1;
        grid-row: 1 / 3;
    }

    /* РћР±СЉРµРґРёРЅСЏРµРј Р·Р°РіРѕР»РѕРІРѕРє Рё С‚Р°Р±Р»РёС†Сѓ РІ РѕРґРЅСѓ РєРѕР»РѕРЅРєСѓ */
    #order_review_heading {
        grid-column: 2;
        grid-row: 1;
        margin-top: 0;
        padding-top: 0;
        border-top: none;
    }

    #order_review {
        grid-column: 2;
        grid-row: 2;
        position: sticky;
        top: 100px;
    }
}

/* РњРµС‚РѕРґС‹ РѕРїР»Р°С‚С‹ */
#payment {
    background: transparent;
    padding: 0;
}

#payment ul.payment_methods {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    border-bottom: none;
}

#payment ul.payment_methods li {
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

#payment div.payment_box {
    background: var(--bg-white);
    padding: 20px;
    margin-top: 15px;
    border-radius: 0;
    font-size: 14px;
    color: var(--text-muted);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

#payment div.payment_box::before {
    display: none;
}

/* РљРЅРѕРїРєР° Place Order */
.woocommerce #payment #place_order {
    width: 100%;
    height: 54px;
    padding: 0 40px;
    background-color: var(--text-color);
    /* РЎС‚СЂРѕРіР°СЏ РїСЂРµСЃС‚РёР¶РЅР°СЏ Р·Р°Р»РёРІРєР° */
    color: #fff;
    border: 1px solid var(--text-color);
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 0;
    /* РћСЃС‚СЂС‹Рµ СѓРіР»С‹ */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.woocommerce #payment #place_order:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(183, 110, 121, 0.3);
}

/* Floating Mobile Cart */
.mobile-floating-cart {
    display: none;
}

/* ------------------ MOBILE RESPONSIVE ------------------ */
@media (max-width: 991px) {
    .header-inner {
        flex-wrap: wrap;
        padding: 10px 0;
    }

    .header-bottom {
        padding: 0;
        /* РќР° РјРѕР±РёР»РєР°С… РіСЂР°РЅРёС†Р° Рё РѕС‚СЃС‚СѓРїС‹ РЅРµ РЅСѓР¶РЅС‹ */
        border-top: none;
    }

    /* Р”РµР»Р°РµРј С€Р°РїРєСѓ: Р›РѕРіРѕ РїРѕ С†РµРЅС‚СЂСѓ, Р“Р°РјР±СѓСЂРіРµСЂ СЃРїСЂР°РІР° */
    .site-branding {
        flex: 1;
        /* Р›РѕРіРѕС‚РёРї Р·Р°РЅРёРјР°РµС‚ РґРѕСЃС‚СѓРїРЅРѕРµ РјРµСЃС‚Рѕ */
        display: flex;
        justify-content: center;
        /* Р¦РµРЅС‚СЂРёСЂСѓРµРј Р»РѕРіРѕС‚РёРї */
        padding-left: 39px;
        /* РљРѕРјРїРµРЅСЃРёСЂСѓРµРј С€РёСЂРёРЅСѓ РёРєРѕРЅРєРё РјРµРЅСЋ (24px + 15px gap) РґР»СЏ РёРґРµР°Р»СЊРЅРѕРіРѕ С†РµРЅС‚СЂР° */
    }


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

    /* РњРѕР±РёР»СЊРЅС‹Р№ РїРѕРёСЃРє: РІСЃРµРіРґР° РѕС‚РєСЂС‹С‚Р°СЏ СЃС‚СЂРѕРєР° РџРћР” С€Р°РїРєРѕР№ */
    .header-search {
        flex: 100%;
        /* Р—Р°РЅРёРјР°РµС‚ РІСЃСЋ С€РёСЂРёРЅСѓ СЃС‚СЂРѕРєРё */
        margin-top: 15px;
        /* РћС‚СЃС‚СѓРї РѕС‚ Р»РѕРіРѕС‚РёРїР°/РіР°РјР±СѓСЂРіРµСЂР° */
        order: 4;
        /* РЎРјРµС‰Р°РµРј РІ СЃР°РјС‹Р№ РЅРёР· С„Р»РµРєСЃР±РѕРєСЃР° С€Р°РїРєРё */
    }

    .search-toggle {
        display: none;
        /* РџСЂСЏС‡РµРј Р»СѓРїСѓ */
    }

    .search-box {
        position: static;
        /* РћС‚РєР»СЋС‡Р°РµРј РІСЃРїР»С‹РІР°СЋС‰РµРµ РїРѕРІРµРґРµРЅРёРµ */
        width: 100%;
        background: transparent;
        padding: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .search-field {
        background: var(--bg-light);
        padding: 12px 15px;
        width: 100%;
        border-radius: 4px 0 0 4px;
        font-size: 14px;
    }

    .mobile-menu-toggle {
        display: block;
        /* РџРѕРєР°Р·С‹РІР°РµРј С‚РѕР»СЊРєРѕ РЅР° РјРѕР±РёР»СЊРЅС‹С… */
        background: none;
        border: none;
        font-size: 24px;
        color: var(--text-color);
        cursor: pointer;
        padding: 5px;
        line-height: 1;
        order: 3;
    }

    .main-navigation {
        display: none;
        width: 100%;
        order: 3;
        margin-top: 15px;
        /* РќРµРјРЅРѕРіРѕ СѓРјРµРЅСЊС€РµРЅ РѕС‚СЃС‚СѓРї */
        border-top: 1px solid var(--border-color);
        /* Р”РѕР±Р°РІР»РµРЅР° Р»РёРЅРёСЏ РѕС‚РґРµР»РµРЅРёСЏ РјРµРЅСЋ */
    }

    .main-navigation.is-active {
        display: block;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 0;
    }

    .main-navigation>ul>li {
        border-bottom: 1px solid var(--border-color);
        padding: 12px 0;
        /* РЎРґРµР»Р°РЅРѕ С‡СѓС‚СЊ РєРѕРјРїР°РєС‚РЅРµРµ */
    }

    .main-navigation a {
        font-size: 15px;
        /* Р§СѓС‚СЊ РєСЂСѓРїРЅРµРµ РґР»СЏ РїР°Р»СЊС†Р° */
    }

    .mega-menu {
        position: static;
        box-shadow: none;
        padding: 10px 10px 0 15px;
        /* РЎРґРІРёРі РІРїСЂР°РІРѕ РґР»СЏ РІРёР·СѓР°Р»Р° РІР»РѕР¶РµРЅРЅРѕСЃС‚Рё */
        border-top: none;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .has-mega-menu.is-active .mega-menu {
        display: block;
    }

    .mega-menu-inner {
        flex-direction: column;
        gap: 15px;
    }

    .mega-column h4 {
        margin-bottom: 10px;
        font-size: 13px;
    }

    .mega-column ul {
        gap: 8px;
    }

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

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    /* РЎРєСЂС‹РІР°РµРј С‚РµРєСЃС‚РѕРІСѓСЋ РєРѕСЂР·РёРЅСѓ РІ С€Р°РїРєРµ РЅР° СЃРјР°СЂС‚С„РѕРЅРµ */
    .header-cart-link {
        display: none !important;
    }

    /* Красивая плавающая капсула Корзины внизу экрана (Premium Pill Design) */
    .mobile-floating-cart {
        display: block;
        position: fixed;
        bottom: calc(20px + env(safe-area-inset-bottom));
        left: 20px;
        right: 20px;
        width: auto;
        max-width: none;
        background: linear-gradient(135deg, var(--primary-color) 0%, #d8919b 50%, var(--primary-color) 100%);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-radius: 50px;
        border: 1px solid rgba(255, 255, 255, 0.5);
        box-shadow:
            0 15px 35px rgba(183, 110, 121, 0.45),
            inset 0 1px 1px rgba(255, 255, 255, 0.6),
            inset 0 -2px 8px rgba(0, 0, 0, 0.08);
        z-index: 9999;
        transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.4s ease;
    }

    /* Скрываем пустую корзину (прячем панель вниз) */
    .mobile-floating-cart.is-empty {
        transform: translateY(150%);
        opacity: 0;
    }

    .mobile-floating-cart.has-items {
        transform: translateY(0);
        opacity: 1;
    }

    /* Полностью скрываем плавающую корзину на страницах самой Корзины и Оформления заказа */
    body.woocommerce-cart .mobile-floating-cart,
    body.woocommerce-checkout .mobile-floating-cart {
        display: none !important;
    }

    .floating-cart-btn {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 28px;
        color: #ffffff;
        font-family: var(--font-main);
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        font-size: 14px;
        text-decoration: none;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .floating-cart-btn:hover,
    .floating-cart-btn:focus {
        color: #fff;
        text-decoration: none;
    }

    .floating-cart-btn .cart-text {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .cart-icon-pulse {
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.2);
        width: 38px;
        height: 38px;
        border-radius: 50%;
        box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.4);
        animation: pulseIconSoft 2s infinite ease-in-out;
    }

    @keyframes pulseIconSoft {
        0% {
            transform: scale(1);
            box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.4), 0 0 0 0 rgba(255, 255, 255, 0.4);
        }

        50% {
            transform: scale(1.05);
            box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.4), 0 0 0 10px rgba(255, 255, 255, 0);
        }

        100% {
            transform: scale(1);
            box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.4), 0 0 0 0 rgba(255, 255, 255, 0);
        }
    }

    .floating-cart-btn .cart-icon {
        font-size: 18px;
    }

    .floating-cart-btn .cart-total-amount {
        font-weight: 700;
        color: #ffffff;
        background: rgba(255, 255, 255, 0.25);
        padding: 8px 16px;
        border-radius: 20px;
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.4), 0 4px 6px rgba(0, 0, 0, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.3);
        letter-spacing: 0.5px;
        transition: all 0.3s ease;
    }
}

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

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .category-img-wrapper {
        max-width: 140px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .product-main-area {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .premium-product-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-info h1 {
        font-size: 1.8em;
    }

    .product-price {
        font-size: 1.5em;
    }

    .product-actions {
        flex-direction: column;
    }

    .product-actions .btn {
        width: 100%;
    }

    .features-bar .container {
        flex-direction: column;
        gap: 30px;
    }

    .feature-item {
        justify-content: flex-start;
        /* РќР° РјРѕР±РёР»РєР°С… РІС‹СЂР°РІРЅРёРІР°РµРј РїРѕ Р»РµРІРѕРјСѓ РєСЂР°СЋ */
        max-width: 300px;
        margin: 0 auto;
        /* Р¦РµРЅС‚СЂРёСЂСѓРµРј СЃР°РјРё Р±Р»РѕРєРё */
    }

    .seo-features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .seo-content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .seo-text-area {
        padding-right: 0;
        text-align: center;
    }

    .header-top {
        font-size: 11px;
        padding: 8px 10px;
        line-height: 1.4;
    }

    .site-title {
        font-size: 20px;
        /* Р•С‰Рµ РјРµРЅСЊС€Рµ РґР»СЏ РјРѕР±РёР»РєРё */
    }

    .logo-shop {
        font-size: 15px;
    }

    /* РСЃРїСЂР°РІР»РµРЅРёРµ С‚РµРєСЃС‚Р° РЅР° РіР»Р°РІРЅРѕР№ РґР»СЏ РјРѕР±РёР»СЊРЅС‹С… */
    .hero-section {
        padding: 60px 15px;
        text-align: center;
        /* Р¦РµРЅС‚СЂРёСЂСѓРµРј С‚РµРєСЃС‚ РЅР° С‚РµР»РµС„РѕРЅРµ */
        background-position: center;
        min-height: auto;
    }

    .hero-overlay {
        /* РќР° С‚РµР»РµС„РѕРЅРµ РґРµР»Р°РµРј С„РѕРЅ Р±РѕР»РµРµ РїР»РѕС‚РЅС‹Рј, С‡С‚РѕР±С‹ С‚РµРєСЃС‚ 100% С‡РёС‚Р°Р»СЃСЏ */
        background: rgba(253, 252, 240, 0.85);
    }

    .hero-content {
        margin: 0 auto;
        max-width: 100%;
    }

    .hero-title {
        font-size: 38px;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 25px;
    }
}

/* ==========================================================================
   WOOCOMMERCE PREMIUM PRODUCT GRID STYLES
   ========================================================================== */
.woocommerce ul.products::before,
.woocommerce ul.products::after {
    content: none !important;
}

.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 30px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.woocommerce ul.products li.product,
.products-grid .product-card {
    background: var(--bg-white);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

.woocommerce ul.products li.product:hover,
.products-grid .product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

/* Sale Badge */
.woocommerce ul.products li.product .onsale,
.woocommerce span.onsale {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: var(--bg-white);
    font-size: 12px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 9;
    min-height: auto;
    min-width: auto;
    line-height: 1;
    margin: 0;
    right: auto;
}

/* Product Image Wrapper */
.woocommerce ul.products li.product a img,
.product-image img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    margin-bottom: 20px;
    transition: transform 0.5s ease;
}

.woocommerce ul.products li.product:hover a img,
.product-card:hover .product-image img {
    transform: scale(1.05);
}

/* Product Title */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.product-title {
    font-size: 15px;
    font-family: var(--font-main);
    color: var(--text-color);
    margin-bottom: 12px;
    line-height: 1.4;
    font-weight: 600;
    text-decoration: none;
    flex-grow: 1;
}

.woocommerce ul.products li.product a {
    text-decoration: none !important;
}

/* РЎРєСЂС‹С‚РёРµ С‚РµРєСЃС‚Р° РґРѕСЃС‚СѓРїРЅРѕСЃС‚Рё (Screen Readers) - РћСЂРёРіРёРЅР°Р»СЊРЅР°СЏ С†РµРЅР°, РўРµРєСѓС‰Р°СЏ С†РµРЅР° */
.woocommerce ul.products li.product .price del .screen-reader-text,
.woocommerce ul.products li.product .price ins .screen-reader-text,
.product-price .screen-reader-text,
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* Product Price */
.woocommerce ul.products li.product .price,
.product-price {
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 25px;
}

.woocommerce ul.products li.product .price del {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 13px;
    margin-right: 8px;
}

.woocommerce ul.products li.product .price ins {
    background: transparent;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
}

/* Add to Cart Button */
.woocommerce ul.products li.product .button,
.product-card .add_to_cart_button {
    display: inline-block;
    background-color: transparent;
    color: var(--text-color);
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 50px;
    font-family: var(--font-main);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    cursor: pointer;
    width: 100%;
    margin-top: auto;
    box-sizing: border-box;
    text-align: center;
}

.woocommerce ul.products li.product .button:hover,
.product-card .add_to_cart_button:hover {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
}

.woocommerce ul.products li.product .button.added::after {
    font-family: "WooCommerce";
    content: "\e017";
    margin-left: 8px;
}

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

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

    .woocommerce ul.products li.product,
    .products-grid .product-card {
        padding: 15px 12px;
        border-radius: 12px;
    }

    .woocommerce ul.products li.product a img,
    .product-image img {
        height: 220px;
        margin-bottom: 12px;
    }

    .woocommerce ul.products li.product .woocommerce-loop-product__title,
    .product-title {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .woocommerce ul.products li.product .price,
    .product-price {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .woocommerce ul.products li.product .button,
    .product-card .add_to_cart_button {
        padding: 10px 10px;
        font-size: 11px;
        letter-spacing: 0.5px;
    }
}

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

    .woocommerce ul.products li.product,
    .products-grid .product-card {
        padding: 12px 8px;
    }

    .woocommerce ul.products li.product a img,
    .product-image img {
        height: 200px;
    }

    .woocommerce ul.products li.product .button,
    .product-card .add_to_cart_button {
        padding: 8px 5px;
        font-size: 10px;
    }
}

/* ==========================================================================
   SHOP ARCHIVE PAGE LAYOUT (CATALOG & CATEGORIES)
   ========================================================================== */

/* Page Header (Breadcrumbs + Title) */
.shop-page-header {
    background-color: var(--bg-light);
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 50px;
}

.woocommerce-breadcrumb {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 15px;
    font-family: var(--font-main);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.woocommerce-breadcrumb a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.shop-page-header .page-title {
    font-size: 42px;
    color: var(--text-color);
    margin: 0;
    font-weight: 400;
}

/* 2-Column Layout */
.shop-layout-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 50px;
    align-items: start;
    margin-bottom: 80px;
}

/* Sidebar & Widgets */
.shop-sidebar {
    position: sticky;
    top: 30px;
}

.sidebar-title {
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--text-color);
    font-family: var(--font-main);
}

.sidebar-widget h4,
.widget-title {
    font-size: 15px;
    margin-bottom: 15px;
    font-family: var(--font-main);
    text-transform: uppercase;
    color: var(--text-color);
    letter-spacing: 0.5px;
}

.custom-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-category-list li {
    margin-bottom: 12px;
}

.custom-category-list a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
}

.custom-category-list a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

/* Products Area & Toolbar */
.shop-products {
    width: 100%;
}

.shop-products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.shop-results-count {
    font-size: 14px;
    color: var(--text-muted);
}

.shop-ordering form {
    margin: 0;
}

.shop-ordering select {
    padding: 10px 40px 10px 15px;
    border: 1px solid var(--border-color);
    background-color: transparent;
    border-radius: 4px;
    font-size: 14px;
    font-family: var(--font-main);
    color: var(--text-color);
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 15px;
    cursor: pointer;
}

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

/* Mobile Adaptation for Shop Archive */
@media (max-width: 991px) {
    .shop-layout-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* РњРѕР±РёР»СЊРЅС‹Р№ СЃР°Р№РґР±Р°СЂ (СЃРєСЂС‹С‚ РїРѕ СѓРјРѕР»С‡Р°РЅРёСЋ) */
    .shop-sidebar {
        display: none;
        background: var(--bg-white);
        padding: 20px;
        border: 1px solid var(--border-color);
        border-radius: 8px;
        margin-bottom: 20px;
    }

    /* РљР»Р°СЃСЃ РґР»СЏ РѕС‚РєСЂС‹С‚РѕРіРѕ СЃР°Р№РґР±Р°СЂР° (РїРµСЂРµРєР»СЋС‡Р°РµС‚СЃСЏ С‡РµСЂРµР· JS) */
    .shop-sidebar.active {
        display: block;
        animation: fadeIn 0.3s ease;
    }

    /* РљРЅРѕРїРєР° РѕС‚РєСЂС‹С‚РёСЏ С„РёР»СЊС‚СЂРѕРІ РЅР° РјРѕР±РёР»СЊРЅС‹С… */
    .mobile-filter-toggle {
        display: block;
        width: 100%;
        padding: 12px;
        background-color: var(--text-color);
        color: var(--bg-white);
        text-align: center;
        font-family: var(--font-main);
        text-transform: uppercase;
        letter-spacing: 1px;
        font-size: 14px;
        font-weight: 600;
        border: none;
        border-radius: 4px;
        margin-bottom: 20px;
        cursor: pointer;
    }

    .shop-page-header {
        padding: 40px 0;
        margin-bottom: 30px;
    }

    .shop-page-header .page-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .shop-products-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

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

/* РЎРєСЂС‹РІР°РµРј РєРЅРѕРїРєСѓ РЅР° РґРµСЃРєС‚РѕРїРµ */
@media (min-width: 992px) {
    .mobile-filter-toggle {
        display: none !important;
    }
}

/* ==========================================================================
   PREMIUM SIDEBAR WIDGETS (FILTERS)
   ========================================================================== */

.premium-filter-widget {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.premium-filter-widget:last-child {
    border-bottom: none;
}

/* Category Widget */
.widget_product_categories ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget_product_categories ul li {
    margin-bottom: 10px;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.widget_product_categories ul li::after {
    content: none;
}

.widget_product_categories ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
    position: relative;
    padding: 2px 0;
    flex: 1;
    /* РџРѕР·РІРѕР»СЏРµС‚ СЃСЃС‹Р»РєРµ Р·Р°РЅРёРјР°С‚СЊ РІСЃРµ РґРѕСЃС‚СѓРїРЅРѕРµ РјРµСЃС‚Рѕ */
    max-width: calc(100% - 40px);
}

.widget_product_categories ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.widget_product_categories ul li .count {
    font-size: 12px;
    color: var(--text-muted);
    background: var(--bg-light);
    border-radius: 20px;
    padding: 2px 8px;
    margin-left: 10px;
}

/* РРµСЂР°СЂС…РёСЏ (РІР»РѕР¶РµРЅРЅС‹Рµ РєР°С‚РµРіРѕСЂРёРё) */
.widget_product_categories ul.children {
    width: 100%;
    /* Р—Р°СЃС‚Р°РІР»СЏРµС‚ РґРѕС‡РµСЂРЅРёР№ СЃРїРёСЃРѕРє РїРµСЂРµРЅРѕСЃРёС‚СЊСЃСЏ РЅР° РЅРѕРІСѓСЋ СЃС‚СЂРѕРєСѓ */
    margin-top: 10px;
    margin-left: 10px;
    padding-left: 15px;
    border-left: 1px dashed var(--border-color);
}

.widget_product_categories ul.children li:last-child {
    margin-bottom: 0;
}

/* Price Filter Widget */
.widget_price_filter .price_slider_wrapper {
    margin-top: 20px;
}

.widget_price_filter .ui-slider {
    position: relative;
    text-align: left;
    background: var(--border-color);
    height: 4px;
    border-radius: 4px;
    margin-bottom: 25px;
}

.widget_price_filter .ui-slider .ui-slider-handle {
    position: absolute;
    z-index: 2;
    width: 16px;
    height: 16px;
    background-color: var(--bg-white);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    cursor: grab;
    outline: none;
    top: -6px;
    margin-left: -8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.widget_price_filter .ui-slider .ui-slider-handle:hover {
    transform: scale(1.2);
}

.widget_price_filter .ui-slider .ui-slider-range {
    position: absolute;
    z-index: 1;
    font-size: .7em;
    display: block;
    border: 0;
    border-radius: 4px;
    background-color: var(--primary-color);
    height: 100%;
}

.widget_price_filter .price_slider_amount {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.widget_price_filter .price_label {
    font-size: 14px;
    color: var(--text-color);
    font-weight: 500;
}

.widget_price_filter .button {
    background-color: var(--text-color);
    color: var(--bg-white);
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.widget_price_filter .button:hover {
    background-color: var(--primary-color);
}

/* Top Rated Products Widget */
.top-rated-sidebar-widget ul.product_list_widget {
    list-style: none;
    padding: 0;
    margin: 0;
}

.top-rated-sidebar-widget ul.product_list_widget li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed var(--border-color);
}

.top-rated-sidebar-widget ul.product_list_widget li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.top-rated-sidebar-widget ul.product_list_widget li img {
    width: 65px;
    height: 65px;
    object-fit: contain;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    padding: 4px;
}

.top-rated-sidebar-widget ul.product_list_widget li .product-title {
    font-size: 14px;
    color: var(--text-color);
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    line-height: 1.3;
}

.top-rated-sidebar-widget ul.product_list_widget li .woocommerce-Price-amount {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 600;
}

.top-rated-sidebar-widget ul.product_list_widget li del .woocommerce-Price-amount {
    color: var(--text-muted);
    font-size: 12px;
    margin-right: 5px;
}

/* ==========================================================================
   PAGINATION (РЎРєСЂС‹С‚Р° РґР»СЏ Р±РµСЃРєРѕРЅРµС‡РЅРѕР№ РїСЂРѕРєСЂСѓС‚РєРё)
   ========================================================================== */
.woocommerce-pagination {
    display: none !important;
}

.woocommerce-pagination ul {
    list-style: none !important;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.woocommerce-pagination ul li {
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce-pagination ul li .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-color);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    background: var(--bg-white);
    font-family: var(--font-main);
}

.woocommerce-pagination ul li .page-numbers:hover,
.woocommerce-pagination ul li .page-numbers:focus {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.woocommerce-pagination ul li span.current {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    cursor: default;
}

.woocommerce-pagination ul li a.next,
.woocommerce-pagination ul li a.prev {
    font-weight: 600;
}

/* ==========================================================================
   SINGLE PRODUCT GALLERY (Р“Р°Р»РµСЂРµСЏ С„РѕС‚Рѕ РЅР° СЃС‚СЂР°РЅРёС†Рµ С‚РѕРІР°СЂР°)
   ========================================================================== */
.woocommerce-product-gallery {
    position: relative;
}

/* РћР±РµСЂС‚РєР° РўРћР›Р¬РљРћ РІРёРґРёРјРѕР№ С‡Р°СЃС‚Рё РѕРєРЅР° СЃР»Р°Р№РґРµСЂР° (С‡С‚РѕР±С‹ СЂР°РјРєР° РЅРµ СѓРµР·Р¶Р°Р»Р°) */
.woocommerce-product-gallery .flex-viewport {
    background: var(--bg-white);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    overflow: hidden !important;
    margin-bottom: 20px;
    padding: 20px;
    box-sizing: border-box;
}

/* РЎР±СЂР°СЃС‹РІР°РµРј СЃС‚РёР»Рё СЃ РґРІРёР¶СѓС‰РµР№СЃСЏ Р»РµРЅС‚С‹ СЃР»Р°Р№РґРµСЂР° */
.woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
    margin: 0;
    padding: 0;
}

/* Р”Р»СЏ СЃР°РјРёС… СЃР»Р°Р№РґРѕРІ (РєР°СЂС‚РёРЅРѕРє) */
.woocommerce-product-gallery .woocommerce-product-gallery__image {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}

.woocommerce-product-gallery .woocommerce-product-gallery__image img {
    display: block;
    width: 100% !important;
    height: auto;
    object-fit: contain;
    max-height: 500px;
    margin: 0 auto;
}

/* РРєРѕРЅРєР° Р»СѓРїС‹ (Zoom) */
.woocommerce-product-gallery .woocommerce-product-gallery__trigger {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 100;
    text-decoration: none;
    background: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    color: var(--text-color);
    font-size: 0;
    /* РџСЂСЏС‡РµРј РґРµС„РѕР»С‚РЅС‹Р№ С‚РµРєСЃС‚ */
}

.woocommerce-product-gallery .woocommerce-product-gallery__trigger::before {
    content: "\1F50D";
    font-size: 16px;
}

/* РљРѕРЅС‚РµР№РЅРµСЂ РјРёРЅРёР°С‚СЋСЂ (Thumbnails) */
.woocommerce-product-gallery .flex-control-thumbs {
    list-style: none !important;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.woocommerce-product-gallery .flex-control-thumbs li {
    width: calc(25% - 11.25px);
    /* РњР°РєСЃРёРјСѓРј 4 РІ СЂСЏРґ */
    margin: 0 !important;
    cursor: pointer;
}

.woocommerce-product-gallery .flex-control-thumbs li img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: var(--bg-white);
    transition: all 0.3s ease;
    opacity: 0.6;
    color: transparent;
    /* Hide alt text if image is broken */
    font-size: 0;
    /* Prevent alt text from expanding the box */
}

.woocommerce-product-gallery .flex-control-thumbs li img:hover,
.woocommerce-product-gallery .flex-control-thumbs li img.flex-active {
    opacity: 1;
    border-color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* ==========================================================================
   STRIPE-STYLE Р”Р›РЇ Р’РЎР•РҐ РџРћР›Р•Р™ РћР¤РћР РњР›Р•РќРРЇ Р—РђРљРђР—Рђ (РћР‘РќРћР’Р›Р•РќРР•)
   ========================================================================== */

/* Р’РѕР·РІСЂР°С‰Р°РµРј РїСЂР°РІРёР»СЊРЅРѕРµ РґРµР»РµРЅРёРµ РЅР° РєРѕР»РѕРЅРєРё РґР»СЏ РРјРµРЅРё Рё Р¤Р°РјРёР»РёРё */
.woocommerce-checkout .woocommerce-billing-fields .form-row-first,
.woocommerce-checkout .woocommerce-shipping-fields .form-row-first {
    width: 48% !important;
    float: left !important;
    clear: both !important;
}

.woocommerce-checkout .woocommerce-billing-fields .form-row-last,
.woocommerce-checkout .woocommerce-shipping-fields .form-row-last {
    width: 48% !important;
    float: right !important;
    clear: none !important;
}

/* РћС‡РёСЃС‚РєР° float РґР»СЏ РєРѕРЅС‚РµР№РЅРµСЂРѕРІ */
.woocommerce form .form-row::after {
    content: "";
    display: table;
    clear: both;
}

/* РћР±РЅРѕРІР»РµРЅРЅС‹Р№ Stripe-РґРёР·Р°Р№РЅ Р»РµР№Р±Р»РѕРІ Рё РёРЅРїСѓС‚РѕРІ */
.woocommerce form .form-row {
    margin-bottom: 20px !important;
}

.woocommerce form .form-row label {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #30313d !important;
    margin-bottom: 6px !important;
    display: block !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container--default .select2-selection--single {
    width: 100% !important;
    padding: 12px 16px !important;
    border: 1px solid #e6e6e6 !important;
    background: #ffffff !important;
    font-size: 15px !important;
    font-family: var(--font-main) !important;
    border-radius: 6px !important;
    /* Stripe style */
    box-sizing: border-box !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
    height: auto !important;
    /* РћС‚РјРµРЅСЏРµРј Р¶РµСЃС‚РєСѓСЋ РІС‹СЃРѕС‚Сѓ */
    min-height: 45px !important;
    box-shadow: 0 1px 3px rgba(50, 50, 93, 0.05), 0 1px 0 rgba(0, 0, 0, 0.02) !important;
    color: #30313d !important;
    line-height: normal !important;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus,
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: #80bdff !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25) !important;
}

/* Р’С‹СЂР°РІРЅРёРІР°РµРј С‚РµРєСЃС‚ РІРЅСѓС‚СЂРё Select2 (РІС‹Р±РѕСЂ СЃС‚СЂР°РЅС‹) */
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 20px !important;
    padding-left: 0 !important;
    color: #30313d !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100% !important;
}

/* ==========================================================================
   ULTIMATE CHECKOUT WIDTH & CENTER FIX
   ========================================================================== */
body.woocommerce-checkout .site-main .container {
    width: 100% !important;
    max-width: 1200px !important;
    /* РЈРґРµСЂР¶РёРІР°РµРј РІ СЂР°Р·СѓРјРЅС‹С… РїСЂРµРґРµР»Р°С… 1200px РґР»СЏ РїСЂРµРјРёР°Р»СЊРЅРѕСЃС‚Рё */
    margin: 0 auto !important;
    /* РЎС‚СЂРѕРіР°СЏ С†РµРЅС‚СЂРѕРІРєР° РјР°РєРµС‚Р° */
}

body.woocommerce-checkout .entry-content,
body.woocommerce-checkout div.woocommerce,
body.woocommerce-checkout form.checkout.woocommerce-checkout {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    margin: 0 auto !important;
    float: none !important;
    clear: both !important;
    box-sizing: border-box !important;
}

body.woocommerce-checkout .noorbeauty-checkout-layout {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
    clear: both !important;
}

body.woocommerce-checkout .noorbeauty-checkout-left {
    display: block !important;
    width: 53% !important;
    max-width: 53% !important;
    box-sizing: border-box !important;
    float: none !important;
}

body.woocommerce-checkout .noorbeauty-checkout-right {
    display: block !important;
    width: 44% !important;
    max-width: 44% !important;
    box-sizing: border-box !important;
    float: none !important;
}

/* Р”Р»СЏ Select'РѕРІ РѕР±С‹С‡РЅС‹С… (РµСЃР»Рё select2 РѕС‚РєР»СЋС‡РµРЅ) */
.woocommerce form .form-row select {
    width: 100% !important;
    padding: 12px 16px !important;
    border: 1px solid #e6e6e6 !important;
    background: #ffffff !important;
    border-radius: 6px !important;
    height: auto !important;
    min-height: 45px !important;
}

/* --- WOOCOMMERCE CHECKOUT REDESIGN (AESTHETIC & BUG-FREE) --- */

/* 1. Two column layout on desktop (Strict Grid) */
@media (min-width: 992px) {
    .woocommerce-checkout form.checkout.woocommerce-checkout {
        display: grid !important;
        grid-template-columns: 1fr 480px !important;
        gap: 60px !important;
        align-items: start !important;
        margin-top: 40px !important;
    }

    .woocommerce-checkout #customer_details {
        grid-column: 1 / 2 !important;
        width: 100% !important;
        display: block !important;
        flex: none !important;
    }

    .woocommerce-checkout #order_review_heading {
        grid-column: 2 / 3 !important;
        grid-row: 1 / 2 !important;
        width: 100% !important;
        margin-top: 0 !important;
        font-family: inherit !important;
    }

    .woocommerce-checkout #order_review {
        grid-column: 2 / 3 !important;
        grid-row: 2 / 3 !important;
        width: 100% !important;
        position: sticky !important;
        top: 30px !important;
        flex: none !important;
    }
}

/* 2. Order Summary / Cart block layout (High Conversions Box) */
.woocommerce-checkout #order_review {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 16px !important;
    padding: 30px !important;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.06) !important;
}

.woocommerce-checkout table.shop_table {
    table-layout: fixed !important;
    width: 100% !important;
    border-collapse: separate !important;
    border-radius: 8px !important;
    border: none !important;
    margin-bottom: 24px !important;
}

.woocommerce-checkout table.shop_table th.product-name,
.woocommerce-checkout table.shop_table td.product-name {
    width: 70% !important;
    word-break: break-word !important;
    padding: 16px 0 !important;
    border-top: none !important;
    border-bottom: 1px solid #f1f5f9 !important;
    text-align: left !important;
}

.woocommerce-checkout table.shop_table th.product-total,
.woocommerce-checkout table.shop_table td.product-total {
    width: 30% !important;
    text-align: right !important;
    padding: 16px 0 !important;
    border-top: none !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.woocommerce-checkout table.shop_table tr.order-total th,
.woocommerce-checkout table.shop_table tr.order-total td {
    border-bottom: none !important;
    border-top: 2px solid #e2e8f0 !important;
    padding-top: 24px !important;
}

.woocommerce-checkout table.shop_table tr.order-total strong {
    font-size: 1.5rem !important;
    color: #0f172a !important;
}

/* 3. Modern Input Fields for Billing (Stripe-like Elegance) */
.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
    width: 100% !important;
    max-width: none !important;
    float: none !important;
}

.woocommerce-checkout .form-row {
    margin-bottom: 20px !important;
}

.woocommerce-checkout #customer_details .form-row-first {
    width: 48% !important;
    float: left !important;
    clear: both !important;
}

.woocommerce-checkout #customer_details .form-row-last {
    width: 48% !important;
    float: right !important;
    clear: right !important;
}

.woocommerce-checkout #customer_details .form-row-wide {
    width: 100% !important;
    clear: both !important;
}

.woocommerce-checkout input.input-text,
.woocommerce-checkout textarea,
.woocommerce-checkout select {
    width: 100% !important;
    padding: 15px 16px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    background-color: #f8fafc !important;
    color: #0f172a !important;
    font-size: 15px !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02) inset !important;
}

.woocommerce-checkout input.input-text:focus,
.woocommerce-checkout textarea:focus,
.woocommerce-checkout select:focus {
    border-color: #6366f1 !important;
    /* Stripe-like blue */
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15) !important;
    outline: none !important;
}

.woocommerce-checkout label {
    font-weight: 600 !important;
    color: #334155 !important;
    margin-bottom: 8px !important;
    display: block !important;
    font-size: 14px !important;
}

/* 4. Payment Box / Gateways */
#payment.woocommerce-checkout-payment {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 24px !important;
    margin-top: 20px !important;
}

#payment.woocommerce-checkout-payment ul.payment_methods {
    border-bottom: none !important;
    padding: 0 !important;
    margin-bottom: 24px !important;
}

#payment.woocommerce-checkout-payment ul.payment_methods li.wc_payment_method {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 12px !important;
    margin-bottom: 12px !important;
    padding: 16px !important;
    transition: box-shadow 0.2s, border-color 0.2s !important;
}

/* Specific styling for the Custom Credit Card Stripe form */
.wc-credit-card-form {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    padding: 20px !important;
    margin-bottom: 20px !important;
}

.wc-credit-card-form .form-row {
    margin-bottom: 15px !important;
}

.wc-credit-card-form .form-row-first {
    width: 55% !important;
    float: left !important;
    clear: left !important;
}

.wc-credit-card-form .form-row-last {
    width: 40% !important;
    float: right !important;
    clear: right !important;
}

.wc-credit-card-form .clear {
    clear: both !important;
}

.wc-credit-card-form input.input-text {
    letter-spacing: 1px !important;
    font-family: inherit !important;
    text-shadow: none !important;
}

.cc-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 8px;
}

.cc-icon svg {
    height: 24px;
    width: auto;
}

.cc-input-wrap {
    position: relative;
    width: 100%;
}

.cc-input-wrap input.input-text {
    padding-right: 80px !important;
}

/* 5. The Mighty Place Order Button (STRICT SCOPE) */
.woocommerce-checkout #payment #place_order {
    background-color: #10b981 !important;
    /* High converting emerald green */
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    padding: 22px 24px !important;
    border-radius: 10px !important;
    width: 100% !important;
    border: none !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin-top: 15px !important;
    box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.2), 0 2px 4px -1px rgba(16, 185, 129, 0.1) !important;
    display: block !important;
    cursor: pointer !important;
}

.woocommerce-checkout #payment #place_order:hover {
    background-color: #059669 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.3), 0 4px 6px -2px rgba(16, 185, 129, 0.15) !important;
}

/* Terms and conditions */
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
    margin-bottom: 24px !important;
    padding: 16px !important;
    background: #f8fafc !important;
    border-radius: 8px !important;
    font-size: 13.5px !important;
    color: #64748b !important;
}

/* Trust Badges - Text encoded strictly in CSS content */
.woocommerce-checkout #payment::after {
    content: "\1F512   Secure and Encrypted Payment" !important;
    display: block !important;
    text-align: center !important;
    font-size: 14px !important;
    color: #64748b !important;
    margin-top: 25px !important;
    font-weight: 500 !important;
}

/* Clear fixes */
.woocommerce-checkout form.checkout::after,
.woocommerce-checkout .col2-set::after {
    content: '';
    display: table;
    clear: both;
}

/* === DUBAI PAY AESTHETIC INTEGRATION === */

/* Dubai Pay uses deep blue #0f305c and premium styles */

html body .woocommerce-checkout #payment #place_order {
    background: linear-gradient(135deg, #0f305c 0%, #061d3e 100%) !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    padding: 20px 24px !important;
    border-radius: 8px !important;
    border: 1px solid #061d3e !important;
    box-shadow: 0 4px 14px 0 rgba(15, 48, 92, 0.39) !important;
}

html body .woocommerce-checkout #payment #place_order:hover {
    background: linear-gradient(135deg, #061d3e 0%, #000c20 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(15, 48, 92, 0.5) !important;
}

/* Premium active method style */
#payment.woocommerce-checkout-payment ul.payment_methods li.wc_payment_method {
    border: 2px solid transparent !important;
    background: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

#payment.woocommerce-checkout-payment ul.payment_methods li.wc_payment_method:has(input[type=radio]:checked) {
    border-color: #0f305c !important;
    background-color: #f4f6f9 !important;
}

/* Dubai Pay logo header */
.dubaipay-theme-form .dubaipay-header {
    background: #ffffff;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    margin: -20px -20px 20px -20px !important;
    padding: 20px !important;
    border-bottom: 1px solid #e5e7eb !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.wc-credit-card-form.dubaipay-theme-form {
    padding: 20px !important;
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
}

.woocommerce-checkout input.input-text:focus,
.woocommerce-checkout textarea:focus,
.woocommerce-checkout select:focus {
    border-color: #0f305c !important;
    box-shadow: 0 0 0 3px rgba(15, 48, 92, 0.15) !important;
}

html body .woocommerce-checkout #payment ul.payment_methods li.wc_payment_method>input[type=radio] {
    accent-color: #0f305c !important;
}

/* === DUBAI PAY REFERENCE AESTHETIC === */

.dubaipay-theme-form {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    max-width: 500px;
    margin: 0 auto;
}

.dubaipay-theme-form .form-row {
    margin-bottom: 20px !important;
    position: relative;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 8px 16px;
    transition: border-color 0.2s;
}

.dubaipay-theme-form .form-row:focus-within {
    border-color: #0b66c2;
}

.dubaipay-theme-form label {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #64748b !important;
    margin-bottom: 2px !important;
    display: block !important;
    text-transform: none !important;
}

.dubaipay-theme-form label .required {
    display: none;
    /* Hide red asterisk for cleaner look */
}

.dubaipay-theme-form input.input-text {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    font-size: 16px !important;
    color: #1e293b !important;
    box-shadow: none !important;
    height: 24px !important;
    font-family: inherit !important;
    letter-spacing: 0.5px !important;
}

.dubaipay-theme-form input.input-text:focus {
    box-shadow: none !important;
    outline: none !important;
}

/* Specific floating layout logic */
.dubaipay-theme-form .form-row-first {
    width: calc(50% - 10px) !important;
    float: left !important;
    clear: left !important;
}

.dubaipay-theme-form .form-row-last {
    width: calc(50% - 10px) !important;
    float: right !important;
    clear: right !important;
}

.dubaipay-theme-form .clear {
    clear: both !important;
}

/* Add icons as background or positioned elements */
.dubaipay-theme-form .cc-input-wrap {
    position: relative;
}

.dubaipay-theme-form .cc-icon {
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    padding: 2px 6px;
    border: 1px solid #f1f5f9;
    border-radius: 4px;
}

.dubaipay-theme-form .cc-icon svg {
    height: 16px;
    width: auto;
}

/* Security code info icon */
.dubaipay-theme-form .form-row-last::after {
    content: '\24D8';
    /* Info circle unicode */
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 16px;
    pointer-events: none;
}

.dubaipay-theme-form .form-row-last input.input-text {
    padding-right: 25px !important;
}

/* Button Styling (Bright Blue, extremely rounded) */
html body .woocommerce-checkout #payment #place_order {
    background: #0d6efd !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    padding: 18px 24px !important;
    border-radius: 30px !important;
    border: none !important;
    width: 100% !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    box-shadow: none !important;
    margin-top: 10px !important;
}

html body .woocommerce-checkout #payment #place_order:hover {
    background: #0b5ed7 !important;
}

/* Header Text */
.woocommerce-checkout #payment h3.payment-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
    margin-top: 5px;
}

/* === DUBAI PAY AESTHETIC REFINEMENT (REMOVE EXTRA BORDERS) === */

/* 1. Remove the outermost WooCommerce core border */
#payment.woocommerce-checkout-payment {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin-top: 10px !important;
}

/* 2. Remove the first inner border (from ul.payment_methods) */
#payment.woocommerce-checkout-payment ul.payment_methods li.wc_payment_method {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
}

/* 3. Keep ONLY the beautifully styled inner card */
.wc-credit-card-form {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 12px !important;
    padding: 24px !important;
    box-shadow: 0 4px 15px -5px rgba(0, 0, 0, 0.05) !important;
}

/* Move the logos perfectly to the top right of the form */
.credit-card-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}

.woocommerce-checkout h3.payment-title {
    margin: 0 !important;
    font-size: 18px !important;
    color: #1e293b !important;
    font-weight: 600 !important;
}

/* Ensure the inputs themselves don't have weird double borders */
.wc-credit-card-form .cc-input-wrap,
.wc-credit-card-form .form-row-first>div,
.wc-credit-card-form .form-row-last>div,
.wc-credit-card-form .form-row-wide>div {
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    transition: all 0.2s ease !important;
}

.wc-credit-card-form .cc-input-wrap:focus-within,
.wc-credit-card-form .form-row-first>div:focus-within,
.wc-credit-card-form .form-row-last>div:focus-within,
.wc-credit-card-form .form-row-wide>div:focus-within {
    border-color: #0d6efd !important;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1) !important;
}

/* Clean up label text color */
.wc-credit-card-form span[style*="text-transform: uppercase"] {
    color: #64748b !important;
    font-size: 10px !important;
    letter-spacing: 0.5px !important;
}


/* === MOBILE RESPONSIVENESS FOR CHECKOUT & DUBAI PAY UI === */

@media (max-width: 768px) {

    /* 1. Stack the main Checkout Columns */
    .noorbeauty-checkout-layout {
        display: block !important;
    }

    .noorbeauty-checkout-left,
    .noorbeauty-checkout-right {
        width: 100% !important;
        margin-right: 0 !important;
        padding: 0 !important;
    }

    /* 2. Unstick the Order Summary on Mobile */
    .noorbeauty-checkout-right {
        position: static !important;
        margin-top: 30px !important;
    }

    /* 3. Fix Credit Card Inputs Layout (Exp Date & CVC) */
    .dubaipay-theme-form .form-row-first,
    .dubaipay-theme-form .form-row-last {
        width: 100% !important;
        float: none !important;
        margin-bottom: 20px !important;
    }

    /* Revert the flex gap layout for expiration/cvv on mobile */
    .wc-credit-card-form>div[style*="display: flex; justify-content: space-between"] {
        display: block !important;
    }

    .wc-credit-card-form>div[style*="display: flex; justify-content: space-between"]>div {
        width: 100% !important;
        margin-bottom: 15px !important;
    }

    /* 4. Adjust the Apple Pay and Logo Header for small screens */
    .wc-credit-card-form>div[style*="margin-bottom: 20px;"] {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px !important;
    }

    /* 5. Make the form padding smaller for Mobile */
    .wc-credit-card-form {
        padding: 16px !important;
    }

    .checkout-express-pay button {
        font-size: 16px !important;
    }
}

/* FORCE MOBILE STACKING FOR ENTIRE CHECKOUT */
@media (max-width: 991px) {

    /* Main Layout wrappers */
    .noorbeauty-checkout-layout {
        display: block !important;
        flex-direction: column !important;
    }

    .noorbeauty-checkout-left,
    .noorbeauty-checkout-right,
    .woocommerce-checkout .col2-set {
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
        float: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .noorbeauty-checkout-right {
        position: relative !important;
        margin-top: 40px !important;
    }

    /* Ensure the order table inside right column doesn't squish */
    .woocommerce-checkout-review-order-table th,
    .woocommerce-checkout-review-order-table td {
        word-break: normal !important;
    }
}

/* FORCE MOBILE STACKING FOR ENTIRE CHECKOUT (HIGH SPECIFICITY OVERRIDE) */
@media (max-width: 991px) {
    body.woocommerce-checkout .noorbeauty-checkout-layout {
        display: block !important;
    }

    body.woocommerce-checkout .noorbeauty-checkout-left,
    body.woocommerce-checkout .noorbeauty-checkout-right {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
    }

    body.woocommerce-checkout .noorbeauty-checkout-right {
        margin-top: 40px !important;
    }
}

/* FORCE MOBILE STACKING ORDER: Order Summary first */
@media (max-width: 991px) {
    body.woocommerce-checkout .noorbeauty-checkout-layout {
        display: flex !important;
        flex-direction: column !important;
    }

    /* Move the right column (Your Order) to the top */
    body.woocommerce-checkout .noorbeauty-checkout-right {
        order: -1 !important;
        margin-top: 0 !important;
        margin-bottom: 20px !important;
    }

    body.woocommerce-checkout .noorbeauty-checkout-left {
        order: 1 !important;
    }
}

/* FINAL MOBILE TWEAKS */
@media (max-width: 991px) {

    /* Reduce side padding on mobile checkout wrapper to avoid squishing the order table internally */
    body.woocommerce-checkout .woocommerce {
        padding: 0 10px !important;
    }
}



/* === EXACT UI MATCH FOR CREDIT CARD FORM === */

/* Beautiful outer box around the credit card inputs & title */
.wc-credit-card-form {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 24px !important;
    box-shadow: 0 4px 15px -5px rgba(0, 0, 0, 0.05) !important;
    margin-top: 15px !important;
}

/* Remove internal row borders */
.wc-credit-card-form .form-row {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin-bottom: 12px !important;
    box-shadow: none !important;
}

/* The actual wrapper div that has the border for each input */
.wc-credit-card-form .cc-input-wrap,
.wc-credit-card-form .form-row-first>div,
.wc-credit-card-form .form-row-last>div,
.wc-credit-card-form .form-row-wide>div {
    background: #ffffff !important;
    border-radius: 8px !important;
    border: 1px solid #cbd5e1 !important;
    /* THIS IS THE CRITICAL FIX: Proper internal padding so text doesn't touch the edges */
    padding: 12px 16px 8px 16px !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.01) !important;
    transition: all 0.2s ease !important;
}

/* Focus state */
.wc-credit-card-form .cc-input-wrap:focus-within,
.wc-credit-card-form .form-row-first>div:focus-within,
.wc-credit-card-form .form-row-last>div:focus-within,
.wc-credit-card-form .form-row-wide>div:focus-within {
    border-color: #0b66c2 !important;
    box-shadow: 0 0 0 1px #0b66c2 !important;
}

/* Inner Labels */
.wc-credit-card-form label,
.wc-credit-card-form span[style*="text-transform: uppercase"] {
    display: block !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #64748b !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 4px !important;
}

/* Input text itself */
.wc-credit-card-form input.input-text {
    font-family: monospace, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-size: 16px !important;
    color: #475569 !important;
    padding: 0 !important;
    /* The padding is on the wrapper div, so input itself has 0 */
    margin: 0 !important;
}

.wc-credit-card-form input.input-text::placeholder {
    color: #94a3b8 !important;
    opacity: 1 !important;
}

/* Specific spacing for first/last layout rows */
.dubaipay-theme-form .form-row-first,
.dubaipay-theme-form .form-row-last {
    margin-bottom: 0 !important;
}

/* Flexbox gap for Expiration / CVC */
.wc-credit-card-form>div[style*="display: flex; justify-content: space-between"] {
    gap: 16px !important;
    margin-bottom: 16px !important;
}

/* Hide the weird info icon I injected previously */
.dubaipay-theme-form .form-row-last::after {
    display: none !important;
}

/* === CART PAGE: HIDE COUPON AND UPDATE CART === */
.woocommerce-cart .woocommerce table.shop_table td.actions .coupon {
    display: none !important;
}

.woocommerce-cart .woocommerce table.shop_table td.actions>.button,
.woocommerce-cart .woocommerce table.shop_table td.actions button[name="update_cart"],
.woocommerce-cart .woocommerce table.shop_table td.actions input[name="update_cart"] {
    display: none !important;
}

/* === CUSTOM QUANTITY INPUT WIDGET (PLUS/MINUS) === */
.quantity.buttons_added {
    display: inline-flex;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
    height: 40px;
}

.quantity.buttons_added .minus,
.quantity.buttons_added .plus {
    background: #f8fafc;
    border: none;
    color: #475569;
    font-size: 16px;
    cursor: pointer;
    width: 35px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    padding: 0;
}

.quantity.buttons_added .minus:hover,
.quantity.buttons_added .plus:hover {
    background: #e2e8f0;
    color: var(--primary-color);
}

.quantity.buttons_added .plus {
    border-left: 1px solid #e2e8f0;
}

.quantity.buttons_added .minus {
    border-right: 1px solid #e2e8f0;
}

.quantity.buttons_added input.qty {
    width: 45px;
    height: 100%;
    border: none;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    padding: 0;
    margin: 0;
    -moz-appearance: textfield;
    appearance: textfield;
    font-family: var(--font-main);
}

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

/* === FIX PHONE INPUT FLAG OVERLAP === */
.woocommerce-checkout #billing_phone {
    padding-left: 55px !important;
}