/* ========================================
   AJAX Add to Cart Styles
   ======================================== */
.single_add_to_cart_button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.single_add_to_cart_button.loading {
    padding-right: 40px;
    pointer-events: none;
}

.single_add_to_cart_button .loading-spinner {
    display: none;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
}

.single_add_to_cart_button.loading .loading-spinner {
    display: inline-block;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: translateY(-50%) rotate(0deg); }
    100% { transform: translateY(-50%) rotate(360deg); }
}

/* Notification styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 4px;
    color: white;
    z-index: 9999;
    transform: translateX(120%);
    transition: transform 0.3s ease-out;
    max-width: 300px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    background-color: #4CAF50;
}

.notification.error {
    background-color: #f44336;
}

/* ========================================
   CSS Variables & Reset
   ======================================== */

:root {
  --color-pink: #ffbec4;
  --color-brown: #53270b;
  --color-gray-light: #c5c5c5;
  --color-gray-bg: #f1f1f1;
  --color-gray-dark: #343434;
  --color-gray-mid: #aeaeae;
  --color-primary: #ffbec4;
  --color-primary-dark: #ff9aa3;
  --transition-base: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

body {
  font-family: "bahnschrift", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  color: var(--color-gray-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

ul {
  list-style: none;
}
h2 {
    font-size: 30px;
    font-weight: 300;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}
h3 {
    font-size: 26px;
    color: var(--color-gray-dark);
    letter-spacing: -0.5px;
    line-height: 1.2;
}
h4 {
    font-size: 16px;
    line-height: 1.3;
    letter-spacing: -0.4px;
    margin-bottom: 10px;
    font-weight: 500;
}
h5 {
    font-size: 18px;
    letter-spacing: -0.5px;
    line-height: 1.3;
    margin-bottom: 10px;
    font-weight: 600;
}
p {
    font-size: 15px;
    line-height: 1.4;
    letter-spacing: -0.4px;
    margin-bottom: 20px;
    font-weight: 300;
    color: var(--color-gray-dark);
}
button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition-base);
}

input {
  font-family: inherit;
  border: none;
  outline: none;
}

/* ========================================
   Container & Layout
   ======================================== */

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}
/* ========================================
   Top Bar - Mobile First
   ======================================== */

.top-bar {
    background-color: var(--color-pink);
    padding: 15px 0;
    font-size: 14px;
    text-align: center;
    min-height: 50px;
}

.top-bar-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.top-bar-content p {
    margin: 0;
    font-weight: 300;
}
.top-bar-links {
  display: flex;
  gap: 15px;
}

.top-bar-links a:hover {
  opacity: 0.7;
}

/* ========================================
   Header - Mobile First
   ======================================== */

.header {
    background-color: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.1s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.header.active {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}
.header.active .header-icons, .header.active .search-bar {
    margin-top: 0px;
}
.header.active .header-content {
        gap: 0px 30px;
}

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

.logo img {
    max-width: 220px;
    min-width: 100px;
    width: 100%;
}
.logo-desktop {
    display: none;
}
/* Main Navigation - Hidden on Mobile */
.main-nav {
    position: fixed;
    top: 0;
    right: -400px;
    max-width: 400px;
    height: 100vh;
    width: 100%;
    background-color: #fff;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    overflow-y: auto;
    padding-top: 60px;
    z-index: 99;
    padding-left: 20px;
}
header .container {
    padding: 0 10px;
}
.main-nav.active {
  right: 0;
}

.main-nav ul {
    display: flex;
    flex-direction: column;
    padding: 0;
    gap: 0;
    max-width: 320px;
}
.main-nav > ul {
    margin-right: 20px;
}
.main-nav .sub-menu {
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.25, 0.1, 0.25, 1), opacity 0.3s ease;
    overflow: hidden;
}

.main-nav .sub-menu.active {
    max-height: 500px;
    opacity: 1;
}

.main-nav ul li:last-child {
  border-bottom: none;
}

.main-nav ul li > a {
    display: inline-flex;
    padding: 10px 0;
    font-size: 17px;
    font-weight: 500;
    color: var(--color-gray-dark);
    text-transform: uppercase;
    position: relative;
    align-items: center;
}
.menu-row-1.menu-item-has-children a:after {
    height: 20px;
    display: inline-flex;
    background-image: url(../images/dropdown.svg);
    background-size: cover;
    aspect-ratio: 1 / 1;
    transition: var(--transition-base);
}
.menu-item-has-children > a::after {
content: '';
position: static;
transform: none;
font-size: inherit;
font-weight: inherit;
}
.sub-menu-1 li a {
    font-size: 15px !important;
    padding: 10px 0 !important;
}
.main-nav ul li > a:hover {
  color: var(--color-pink);
}

/* Sub-menu styles */
.sub-menu {
  display: none;
}

.sub-menu.active {
  display: block;
}
.sub-menu-1 {
    margin-left: 15px;
}
.sub-menu-2 {
    margin-left: 30px;
}
.sub-menu li:last-child {
  border-bottom: none;
}

.sub-menu a {
  padding: 12px 0;
  font-size: 14px;
  color: var(--color-gray-mid);
}

.sub-menu a:hover {
  color: var(--color-pink);
}

/* Sub-menu level 2 */
.sub-menu .sub-menu {
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.25, 0.1, 0.25, 1), opacity 0.3s ease;
    overflow: hidden;
}

.sub-menu .sub-menu.active {
    max-height: 500px;
    opacity: 1;
}

.sub-menu .sub-menu a {
  font-size: 13px;
  padding: 10px 0;
}

/* Menu item with children indicator */

.menu-row-1.active > a::after, .menu-row-2.active > a::after {
    transform: translateY(0%) rotate(180deg);
}

/* Mobile menu overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Search Bar - Mobile */
.search-bar {
  display: none;
}
/* Header Icons - Mobile */
.header-actions {
    display: inline-flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
    border-left: 1px solid #ede9e6;
    padding-left: 15px;
}
.header-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}
.icon-link {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.fav-icon {
    display: none;
}
.header-actions span, .header-actions p {
    font-size: 12px;
    color: var(--color-brown);
    margin: 0;
    font-weight: 400;
}
.icon-link img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(9%) sepia(71%) saturate(3907%) hue-rotate(32deg) brightness(98%) contrast(91%);
}

.icon-link:hover {
  opacity: 0.7;
}

.cart-icon {
  position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--color-pink);
    color: var(--color-brown);
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-left: 1px solid #ede9e6;
    padding-left: 15px;
    z-index: 999;
}
.header .mobile-menu-toggle.active {
    top: -40px !important;
    position: absolute;
    right: 20px;
}
.header.active .mobile-menu-toggle.active {
    position: relative !important;
    top: 0 !important;
    right: 0;
}
.mobile-menu-toggle.active {
    border-left: none !important;
}
.toggle-icon {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 26px;
    height: 34px;
    justify-content: center;
    align-items: center;
}
.mobile-menu-toggle .toggle-icon span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--color-brown);
    border-radius: 2px;
    transition: var(--transition-base);
}

.mobile-menu-toggle:hover span {
  background-color: var(--color-pink);
}

/* ========================================
   Hero Section - Mobile First
   ======================================== */

.hero-content p {
    color: #ffffff;
    font-size: 24px;
    margin-top: -20px;
}

.hero-section {
  position: relative;
  margin-bottom: 40px;
  min-height: 400px;
}

/* Fade effect for hero section */
.hero-section.fade {
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.hero-section.fade.loaded {
  opacity: 1;
}

.hero-carousel {
  min-height: 400px;
}

.hero-slide {
  position: relative;
  height: 400px;
  overflow: hidden;
  cursor: pointer;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 3 / 2;
}
.hero-content {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 90%;
    max-width: 100%;
}

.hero-slide h1, .hero-slide h2 {
    font-size: 48px;
    font-weight: 700;
    color: white;
    letter-spacing: -0.05em;
    line-height: 1.1;
    margin-bottom: 35px;
}

.hero-buttons {
    display: inline-flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

/* ========================================
   Buttons - Mobile First
   ======================================== */

.btn, pre a {
    display: inline-flex;
    padding: 15px 30px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    border-radius: 6px;
    text-align: center;
    transition: var(--transition-base);
    white-space: nowrap;
    align-items: center;
    font-family: "bahnschrift", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
.btn img {
    margin-right: 10px;
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(2%) hue-rotate(154deg) brightness(105%) contrast(101%);
    object-fit: contain;
    aspect-ratio: 1 / 1;
}
.btn-primary, pre a {
    background-color: var(--color-pink);
    color: var(--color-brown);
}

.btn-primary:hover, pre a:hover {
    background-color: #e6aab0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(83, 39, 11, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-secondary:hover {
  background-color: #fff;
  color: var(--color-brown);
}

.btn-white {
  background-color: #fff;
  color: var(--color-brown);
}

.btn-white:hover {
  background-color: var(--color-pink);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
pre a{
    margin-bottom: 30px;
}
/* ========================================
   Products Section - Mobile First
   ======================================== */
.products-section {
    padding: 30px 0;
    background-color: #fff;
}
.section-subtitle {
  text-align: center;
  color: var(--color-gray-mid);
  margin-bottom: 30px;
  padding: 0 20px;
  font-size: 14px;
}

.product-card {
    overflow: hidden;
    transition: var(--transition-base);
}
.product-image:hover img {
  scale: 1.1;
}
.product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 8 / 7;
    background-color: var(--color-gray-bg);
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-base);
    scale: 1.01;
}

.fav-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background-color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-base);
  z-index: 10;
}
.fav-btn img {
  object-fit: contain;  
  width: 20px;
  height: 20px;
  transition: filter 0.3s ease;
}

.fav-btn:hover {
  background-color: var(--color-pink);
  transform: scale(1.1);
}

.fav-btn.active {
  background-color: var(--color-pink);
}

.fav-btn.active img {
  filter: brightness(0) saturate(100%) invert(100%);
}

.fav-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Wishlist Popup */
.wishlist-popup {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--color-gray-dark);
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.wishlist-popup::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid var(--color-gray-dark);
}

.wishlist-popup.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.wishlist-popup.added {
  background: #4caf50;
}

.wishlist-popup.added::after {
  border-top-color: #4caf50;
}

.wishlist-popup.removed {
  background: #ff9800;
}

.wishlist-popup.removed::after {
  border-top-color: #ff9800;
}

.wishlist-popup.error {
  background: #f44336;
}

.wishlist-popup.error::after {
  border-top-color: #f44336;
}

.product-info {
    padding: 10px 0;
}

.product-name {
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.3;
    letter-spacing: -0.4px;
    font-weight: 500;
    display: block;
}
.product-name a {
    transition: var(--transition-base);
    display: block;
}
.product-name a:hover {
    color: var(--color-pink);
}
.product-subtitle {
    color: var(--color-pink);
    line-height: 1.2;
    margin-bottom: 7px;
    font-weight: 400;
}
.product-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    margin-bottom: 0;
    font-size: 24px;
    font-weight: 600;
}
.regular-price {
    font-size: 18px;
    font-weight: 300;
    color: var(--color-gray-mid);
}
.omnibus {
    font-size: 11px;
    color: var(--color-gray-light);
    letter-spacing: -0.4px;
    line-height: 1.3;
    display: inline-flex;
    gap: 4px;
}
.wc-price-history-shortcode .woocommerce-Price-amount:before {
    content: "Najniższa cena w ciągu ostatnich 30 dni:";
    margin-right: 3px;
}
.price-old {
  font-size: 14px;
  color: var(--color-gray-mid);
  text-decoration: line-through;
}

.price-current {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-dark-gray);
}

/* Products Grid - New Products Section */
.section-title {
    margin-left: 0;
    width: 100%;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 0;
    margin-left: 0;
    width: 100%;
}

.new-products .products-grid .product-card:nth-child(n+7) {
  display: none;
}

/* Products Scroll - Bestsellers Section */
.products-scroll {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.products-scroll .product-card {
    flex: 0 0 calc(50% - 8px);
    min-width: calc(50% - 8px);
}

/* Mobile styles */
@media (max-width: 991px) {
    .products-scroll {
        width: 100vw;
        position: relative;
        left: 50%;
        right: 50%;
        margin: 0 -50vw 25px -50vw;
        padding: 0 20px 20px 20px;
    }
    
    .products-scroll .product-card {
        margin: 0;
    }
}

/* Hide native scrollbar - merged with main definition above */

.products-scroll::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Custom scrollbar container */
.custom-scrollbar {
    position: relative;
    margin-top: 10px;
    height: 6px;
    background: #eeeeee;
    border-radius: 4px;
    margin-left: 0;
    margin-right: 0;
}

.custom-scrollbar-thumb {
    position: absolute;
    top: 0;
    left: 20px;
    height: 6px;
    background: #a8a8a8;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease;
}
.custom-scrollbar-thumb p {
    font-size: 0;
    opacity: 0;
}
.custom-scrollbar-thumb:hover {
    background: #909090;
}

/* ========================================
   Category Banners - Mobile First
   ======================================== */

.banners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-left: 0;
    width: 100%;
}

.banner-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 12;
    cursor: pointer;
}

.banner-large {
    aspect-ratio: 16 / 10;
    grid-column: 1 / 3;
}
.banner-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-base);
}

.banner-item:hover img {
  transform: scale(1.05);
}

.banner-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 20px 20px;
    color: #fff;
}
.banner-large .banner-content h3 {
    font-size: 28px;
}
.banner-content h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 0;
    color: white;
}

/* ========================================
   Features Section - Mobile First
   ======================================== */

.features-section {
    padding-bottom: 30px;
}

.features-layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Newsletter */
.newsletter-signup {
    background-color: #fff;
    padding: 40px 0;
    border-radius: 8px;
    text-align: center;
}

.newsletter-signup h3 {
  font-size: 30px;
  font-weight: 600;
  color: var(--color-gray-dark);
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.newsletter-signup p {
    font-size: 16px;
    color: var(--color-gray-dark);
    line-height: 1.5;
    font-weight: 300;
    letter-spacing: -0.4px;
    max-width: 500px;
    margin: 0 auto;
    padding-bottom: 15px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form input[type="email"] {
    padding: 10px 20px;
    border: none;
    border-bottom: 2px solid #a8a8a8;
    border-radius: 0;
    font-size: 16px;
    background-color: transparent;
    font-weight: 300;
    color: var(--color-gray-dark);
}

.newsletter-form input[type="email"]:focus {
  border-bottom-color: var(--color-pink);
  outline: none;
}

.newsletter-form input[type="email"]::placeholder {
  color: var(--color-gray-mid);
}

.checkbox-label {
    display: flex;
    gap: 10px;
    font-size: 14px;
    color: var(--color-gray-dark);
    text-align: left;
    line-height: 1.4;
    font-weight: 300;
    align-items: flex-start;
}

.checkbox-label input[type="checkbox"] {
    margin: 0;
    flex-shrink: 0;
    margin-top: 3px;
}

.newsletter-form button {
    width: fit-content;
    background-color: var(--color-gray-dark);
    color: #fff;
    padding: 20px 30px;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: -0.4px;
    margin: 0 auto;
}

.newsletter-form button:hover {
  background-color: var(--color-pink);
  color: var(--color-brown);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-left: 0;
    width: 100%;
}
.feature-item {
    background-color: var(--color-gray-bg);
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.feature-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background-color: var(--color-gray-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature-content h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-gray-dark);
  margin-bottom: 5px;
  letter-spacing: -0.3px;
}

.feature-content p {
    font-size: 16px;
    color: var(--color-gray-dark);
    margin: 0;
    font-weight: 300;
    line-height: 1.3;
}

/* ========================================
   SEO Section - Mobile First
   ======================================== */

.seo-section {
    padding: 50px 0;
}

.seo-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.seo-video {
    overflow: hidden;
    position: relative;
    margin-left: 0;
    width: 100%;
    margin-bottom: 20px;
    padding: 10px 0;
}

.seo-video video {
  width: 100%;
  height: auto;
  display: block;
}

.seo-text h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-gray-dark);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.seo-text p {
    color: var(--color-gray-dark);
    font-weight: 300;
}
.seo-bottom-content {
    margin-top: 50px;
}

/* SEO Content Toggle */
.seo-top-content,
.seo-bottom-content {
    position: relative;
    transition: max-height 1s ease-in-out;
    overflow: hidden;
}

.seo-top-content.collapsed,
.seo-bottom-content.collapsed {
    max-height: 150px;
}

.search_categoriesdescription_next p:last-child {
    margin: 0;
}
.search_description__wrapper p:last-child {
    margin-bottom: 0;
}
.seo-top-content.expanded,
.seo-bottom-content.expanded {
    max-height: 5000px;
}

.seo-top-content.expanded::after,
.seo-bottom-content.expanded::after {
    opacity: 0;
}

.read-more-toggle {
    display: inline-block;
    margin-top: 15px;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
    border: none;
    color: var(--color-brown);
    text-transform: uppercase;
}
.seo-top-content ~ .read-more-toggle {
    margin-bottom: 20px;
}
.read-more-toggle:hover {
    color: var(--color-pink);
}

.read-more-toggle:active {
    transform: translateY(0);
}

/* ========================================
   Payment Section - Mobile First
   ======================================== */

.payment-section {
  padding: 30px 0 50px;
  background-color: #fff;
}

.payment-header {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    align-items: center;
}

.payment-header h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--color-gray-dark);
    margin: 0;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.payment-header img {
    height: 20px;
    width: auto;
}

.payment-logos .item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.payment-logos img {
  height: 30px;
  width: auto;
  object-fit: contain;
}
.payment-logos {
    margin: 0 auto;
}
.payment-section .owl-item {
    text-align: center;
}
/* ========================================
   Footer - Mobile First
   ======================================== */
.footer {
    background-color: var(--color-gray-dark);
    color: #fff;
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}

.footer-column h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 15px;
  color: #fff;
}

.footer-column ul li {
  margin-bottom: 5px;
}

.footer-column ul li a {
    font-size: 15px;
    color: var(--color-gray-light);
    font-weight: 600;
    letter-spacing: -0.3px;
}

.footer-column ul li a:hover {
  color: var(--color-pink);
}

.footer-social {
  order: -1;
}

.footer-social .social-icons {
    display: flex;
    gap: 5px;
    justify-content: flex-start;
}
.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    transition: var(--transition-base);
}
.footer-column.footer-social {
    background: #4d4d4d;
    padding: 15px 10px;
    grid-column: 1 / -1;
    margin-left: -20px;
    width: calc(100% + 40px);
    overflow: hidden;
}

.footer-column:not(.footer-social):not(.footer-category) {
    grid-column: 1;
}

.footer-column.footer-category {
    grid-column: 2;
    grid-row: 2 / span 3;
}
.social-icon i {
  transition: var(--transition-base);
}

.social-icon:hover {
  background-color: var(--color-pink);
  color: var(--color-brown);
  transform: translateY(-3px);
}
.footer-info {
    font-size: 13px;
    font-weight: 300;
    color: var(--color-gray-light);
    padding-bottom: 30px;
}
.footer-info p {
    color: var(--color-gray-light);
}
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    background: #fff;
    padding-bottom: 30px;
    text-align: left;
}

.footer-bottom p {
    font-size: 14px;
    color: var(--color-gray-light);
    font-weight: 300;
    margin-bottom: 0;
}

/* ========================================
   Owl Carousel Custom Styles
   ======================================== */

.owl-carousel .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    color: var(--color-gray-dark) !important;
    transition: var(--transition-base);
    background: white !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.owl-carousel .owl-nav button:hover {
  background-color: var(--color-pink) !important;
  color: var(--color-brown) !important;
}

.owl-carousel .owl-nav button.owl-prev {
  left: 10px;
}

.owl-carousel .owl-nav button.owl-next {
  right: 10px;
}

.owl-carousel .owl-dots {
  text-align: center;
  margin-top: 20px;
}
.owl-carousel .owl-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background-color: var(--color-gray-light);
    border-radius: 50%;
    transition: var(--transition-base);
}

.owl-carousel .owl-dot.active,
.owl-carousel .owl-dot:hover {
  background-color: var(--color-pink);
}

/* Hero Carousel Specific */
.hero-carousel .owl-nav button {
  display: none;
}

.hero-carousel .owl-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
}

.hero-carousel .owl-dot {
    background-color: #ffffff52 !important;
}
.hero-carousel .owl-dot.active, .hero-carousel .owl-dot:hover {
    background-color: #fff !important;
}

@media (min-width: 480px) {
.hero-buttons {
    display: inline-flex;
    flex-direction: row;
}
}

/* ========================================
   WooCommerce Single Product Page Styles - Mobile First
   ======================================== */

/* Mobile First - Base Styles */
.product-info-wrapper .product_title {
    font-weight: 300;
    line-height: 1.1;
}
.product-info-wrapper .sale-price {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: baseline;
    margin-bottom: 5px;
    font-size: 24px;
    font-weight: 600;
}
.product-info-wrapper .price {
    display: flex;
    gap: 10px;
    align-items: baseline;
}
.breadcrumb {
    background-color: var(--color-gray-bg);
    font-size: 13px;
    padding: 10px 0;
    font-weight: 300;
    color: var(--color-brown);
}
.breadcrumb a {
    border-bottom: 1px solid;
}
.breadcrumb a:hover {
    opacity: 0.5;
}
.single-product-content {
    margin: 20px 0;
}
.woocommerce-notices-wrapper {
    margin-top: 10px;
    font-weight: 300;
    outline: none;
}
.woocommerce-message {
    outline: none;
}
.product-main-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}
.full_product_desc {
    background-color: var(--color-gray-bg);
    padding: 30px 20px;
    margin-bottom: 30px;
}
.full_product_desc ul {
    list-style: inside;
}
.full_product_desc p {
    display: inline-block;
}
.full_product_desc ul li::marker {
    color: var(--color-pink);
    font-size: 10px;
}
.full_product_desc h1, .full_product_desc h2, .full_product_desc h3, .full_product_desc h4 {
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.2;
}
.full_product_desc p, .full_product_desc ul, .full_product_desc ol {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 15px;
}
.fancybox__toolbar {
    display: none !important;
}
/* Universal Fade Animations */
.fade {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade.loaded {
    opacity: 1;
}

.fade-in {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in.loaded {
    opacity: 1;
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-up.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Product Gallery */
.product-gallery-wrapper {
    width: 100%;
    order: 1;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.product-gallery-wrapper.loaded {
    min-height: auto;
}

/* Skeleton loader przed załadowaniem */
.product-gallery-wrapper:not(.loaded)::before {
    content: '';
    width: 100%;
    height: 300px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 8px;
    margin-bottom: 10px;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.product-gallery-main {
    margin-bottom: 10px;
}
.product-gallery-carousel .gallery-item {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.gallery-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.gallery-image {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-base);
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background-color: var(--color-gray-bg);
}

/* Thumbnails */
.product-thumbnails-carousel .thumb-item {
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.thumb-item.active,
.thumb-item:hover {
    opacity: 1;
}

.thumb-image {
    width: 100%;
    object-fit: cover;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
    aspect-ratio: 1 / 1;
}

.thumb-item.active .thumb-image,
.thumb-item:hover .thumb-image {
    border-color: var(--color-pink);
}

/* Product Benefits */
.shop-benefits {
    margin-top: 30px;
}

.benefit-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
    width: 100%;
}
.benefit-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
    font-weight: 200;
}
.benefit-item a {
    text-decoration: underline;
}
.benefit-link:hover {
    opacity: 0.8;
    text-decoration: none;
    color: inherit;
}

.benefit-item img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

.benefit-item span {
    font-size: 14px;
    color: var(--color-gray-dark);
    font-weight: 200;
}

/* Product Info */
.product-info-wrapper {
    width: 100%;
    order: 2;
}

.product-summary h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--color-gray-dark);
}

.product-summary .price {
    font-size: 28px;
    font-weight: 600;
    color: var(--color-brown);
    margin-bottom: 20px;
}
.product_price del, .old-price {
    font-size: 16px;
    font-weight: 300;
    color: var(--color-gray-light);
}
.product_price {
    display: flex;
    gap: 10px;
    margin-bottom: 0;
    font-size: 24px;
    font-weight: 600;
    flex-direction: row-reverse;
    align-items: baseline;
    justify-content: flex-end;
    width: 100%;
}
/* Usuwa podkreślenie z ceny promocyjnej */
.product_price ins {
    text-decoration: none !important;
}
.product-summary .woocommerce-product-details__short-description {
    margin-bottom: 20px;
    color: var(--color-pink);
    line-height: 1.2;
}
.wc-price-history {
    color: var(--color-gray-light);
    font-weight: 300;
    font-size: 11px;
    letter-spacing: -0.4px;
    line-height: 1.3;
}
/* Variations */
.variations {
    margin-bottom: 20px;
}
table.variations tbody {
    display: flex;
    flex-direction: column;
}
.variations select {
    height: 54px;
    background: var(--color-gray-bg);
}
.variations td {
    padding: 10px 0;
    border: none;
}
.reset_variations {
    font-size: 12px;
    color: var(--color-brown);
    margin: 0;
    display: none;
}
.variations tr {
    display: inline-flex;
    align-items: baseline;
    flex-direction: column;
}
.variations label {
    font-weight: 600;
    display: block;
}

.variations select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Add to Cart */
.cart {
    margin-bottom: 20px;
    margin-top: 20px;
}

/* Hide number input spinners */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.cart .quantity {
    display: inline-flex;
    height: 54px;
    margin-right: 5px;
    border-radius: 4px;
    margin-bottom: 10px;
    width: 80px;
}

.cart .quantity input {
    background-color: var(--color-gray-bg);
    border: none;
    width: 30px !important;
    text-align: center;
    color: var(--color-gray-dark);
}

.cart .single_add_to_cart_button {
    background-color: var(--color-pink);
    color: var(--color-brown);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
    height: 54px;
    display: inline-flex;
}

.cart .single_add_to_cart_button:hover {
    background-color: #e6aab0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(83, 39, 11, 0.3);
}

/* Personalization Text Field */
.personalization-text-wrapper {
    padding: 15px;
    background-color: var(--color-gray-bg);
    border-radius: 4px;
    margin-bottom: 15px;
}

.personalization-text-wrapper label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-gray-dark);
    margin-bottom: 8px;
}

.personalization-text-wrapper input[type="text"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    font-family: inherit;
    color: var(--color-gray-dark);
    background-color: #fff;
    transition: border-color 0.3s ease;
}

.personalization-text-wrapper input[type="text"]:focus {
    outline: none;
    border-color: var(--color-pink);
}

.personalization-text-wrapper .char-counter {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: var(--color-gray-mid);
    text-align: right;
}
.prints-service {
    width: 100%;
    display: inline-block;
}
/* Product Meta */
.product_meta {
    border-top: 1px solid #dfdfdf;
    margin-top: 20px;
    font-size: 13px;
    padding: 10px 0 0;
    font-weight: 300;
    color: var(--color-brown);
}
.product_meta a {
    border-bottom: 1px solid;
    font-weight: 300;
    color: var(--color-brown);
}
.product_meta a:hover {
    opacity: 0.5;
}
.product_meta span {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
}
.product_meta .sku_wrapper {
    display: inline-flex;
    gap: 5px;
}
.brand-info {
    display: grid;
    grid-template-columns: 40% 60%;
    margin-top: 20px;
    gap: 10px;
}
.brand-info a {
    font-weight: 300;
    color: var(--color-brown);
    margin-left: 10px;
    display: inline-flex;
}
.brand-info a:hover {
    opacity: 0.5;
}
.brand-info p, .brand-info a {
    font-size: 14px;
}
.brand-more-info {
    display: none;
}
.brand-tooltip {
    position: absolute;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-width: 300px;
    font-size: 13px;
    line-height: 1.6;
    display: none;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
.brand-tooltip.show {
    display: block;
    pointer-events: auto;
}
.brand-tooltip strong {
    display: block;
    margin-top: 10px;
    margin-bottom: 5px;
    color: var(--color-brown);
    font-weight: 600;
}
.brand-info a svg {
    rotate: 90deg;
    width: auto;
    height: 16px;
    margin-top: 2px;
    margin-left: 2px;
}
.brand-tooltip strong:first-child {
    margin-top: 0;
}
.brand-tooltip p {
    margin-bottom: 0;
}
/* Additional Information */
.product-additional-info {
    margin: 40px 0;
}
.product-additional-info h2 {
    font-size: 24px;
}

.woocommerce-tabs {
    padding-top: 30px;
}
.woocommerce-tabs p {
    margin: 0;
}

/* Style dla tabeli atrybutów produktu */
.woocommerce-product-attributes {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
}

.woocommerce-product-attributes th {
    text-align: left;
    padding: 12px 15px;
    background-color: #f8f8f8;
    border: 1px solid #e0e0e0;
    font-weight: 600;
    color: #333;
    width: 30%;
}

.woocommerce-product-attributes td {
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    vertical-align: top;
    color: #555;
}

.woocommerce-product-attributes tr:nth-child(even) {
    background-color: #f9f9f9;
}

.woocommerce-product-attributes tr:hover {
    background-color: #f5f5f5;
}

.woocommerce-product-attributes p {
    margin: 0;
    line-height: 1.5;
}

.woocommerce-product-attributes .woocommerce-product-attributes-item--attribute_pa_kolor p,
.woocommerce-product-attributes .woocommerce-product-attributes-item--attribute_pa_rozmiar p {
    display: inline-block;
    margin-right: 5px;
    margin-bottom: 5px;
}

/* Style dla sekcji recenzji */
#reviews {
    margin-top: 30px;
    padding: 20px 0;
}

#reviews h2 {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 300;
}

#reviews ol.commentlist {
    list-style: none;
    padding: 0;
    margin: 0;
}

#reviews .comment_container {
    margin-bottom: 20px;
    padding: 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

#reviews .comment-text {
    margin-left: 70px;
}

#reviews .meta {
    color: #666;
    font-size: 13px;
    margin-bottom: 10px;
}

#reviews .description {
    color: #444;
    line-height: 1.6;
}

#reviews .star-rating {
    float: right;
    color: #ffb100;
    font-size: 16px;
    margin-bottom: 10px;
}

#reviews .comment-form-rating {
    margin: 20px 0;
}

#reviews .comment-form-rating label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
}

#reviews .stars {
    margin: 10px 0;
}

#reviews .stars a {
    color: #ffb100;
    text-decoration: none;
    font-size: 18px;
    margin-right: 5px;
}

#reviews .comment-form-comment label {
    display: block;
    margin: 15px 0 5px;
    font-weight: 600;
}

#reviews .comment-form-comment textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    min-height: 100px;
}

#reviews .form-submit {
    margin-top: 15px;
}

#reviews .submit {
    background-color: #333;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#reviews .submit:hover {
    background-color: #555;
}

#reviews .comment-notes {
    color: #666;
    font-size: 13px;
    margin-bottom: 20px;
}

#reviews .required {
    color: #e2401c;
}

/* Responsywność */
@media (max-width: 768px) {
    #reviews .comment-text {
        margin-left: 0;
        margin-top: 15px;
    }
    
    #reviews .star-rating {
        float: none;
        display: block;
        margin-bottom: 15px;
    }
}
.woocommerce-tabs .tabs {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid #eee;
}

.woocommerce-tabs .tabs li {
    margin-right: 20px;
    margin-bottom: 10px;
}

.woocommerce-tabs .tabs li a {
    padding: 10px 0;
    text-decoration: none;
    color: var(--color-gray-dark);
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.woocommerce-tabs .tabs li.active a,
.woocommerce-tabs .tabs li a:hover {
    border-bottom-color: var(--color-pink);
}

/* Related Products */
.related-products {
    margin-top: 60px;
    position: relative;
}

.related-products .section-title {
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
}
.related-products-section .product-info {
    padding-bottom: 0;
}
/* Related Products Carousel */

.related-products-carousel .owl-nav {
    position: absolute;
    top: -35px;
    right: 0;
}
.related-products-carousel .owl-nav button {
    right: 0;
    position: relative !important;
    display: inline-flex;
    left: 0 !important;
    width: 36px;
    height: 36px;
    margin-left: 10px;
    background: var(--color-gray-bg) !important;
}

.related-products-carousel .owl-nav button:hover {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}
.related-products-carousel .product-card {
    transition: var(--transition-base);
}
.related-products-section .section-title h3 {
    font-size: 24px;
    font-weight: 100;
    margin-bottom: 20px;
}
.related-products-section {
    border-top: 1px solid #eee;
    margin-top: 20px;
}
.related-products-section .products-section {
    padding-bottom: 0;
}
/* Fallback grid dla no-JS */
.no-js .related-products-carousel {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}


/* ========================================
   Subpages
   ======================================== */
.subpage .subpage-header {
    padding: 40px 0;
    border-top: 1px solid #ede9e6;
}
.page-template-woocommerce .header, .page-template-page-cart .header, .page-template-page-kasa .header, .page-template-page-koszyk .header {
    border-bottom: 1px solid #ede9e6;
}
.subpage .section-title h1 {
    font-size: 36px;
    font-weight: 300;
    letter-spacing: -0.5px;
    margin-bottom: 0;
}
.subpage h4 {
    font-size: 24px;
}
.entry-header h1 {
    font-size: 36px;
    font-weight: 300;
    letter-spacing: -0.5px;
    margin-bottom: 0;
    padding: 40px 0;
    line-height: 1.2;
}
/* ========================================
   Two Columns Block - Mobile First
   ======================================== */
.two-columns-block {
    width: 100%;
}

.has-margin-top {
    margin-top: 30px;
}

.has-margin-bottom {
    margin-bottom: 30px;
}
.is-narrow {
    width: 100%;
}

/* Text-Image Block */
.text-image-block .text-image-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.text-image-block .text-image-column {
    width: 100%;
}
.text-image-column h3 {
    margin-bottom: 20px;
}
.text-image-column ul, .text-image-column ol, .text-image-column p {
    margin-bottom: 20px;
}
.text-image-block .image-column img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
.text-image-block a {
    color: var(--color-pink);
}
.text-image-block a:hover {
    color: #e6aab0;
}
/* List Icon Text Block */
.list-icon-text-block {
    width: 100%;
}

.list-content {
    margin-bottom: 20px;
}

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

.icon-list-item {
    margin-bottom: 5px;
}

.icon-item-wrapper {
    display: inline-flex;
    align-items: flex-start;
    gap: 12px;
}

.icon-item-image {
    flex-shrink: 0;
}
.icon-item-image img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-right: 10px;
}

.icon-item-description {
    font-size: 16px;
    line-height: 1.4;
    color: var(--color-gray-dark);
}
/* Step Block */
.step-block ul li::marker {
    color: var(--color-gray-dark);
    font-size: 14px;
}
.step-block ul li {
    margin-bottom: 0;
    list-style: inside;
}



.steps-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 40px;
    position: relative;
    background-color: var(--color-gray-bg);
    padding: 20px;
}

.step-item {
    position: relative;
}

.step-number {
    width: 32px;
    height: 32px;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 400;
    background-color: var(--color-gray-dark);
    text-align: center;
    padding-bottom: 1px;
}

.step-icon {
    margin-bottom: 20px;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.step-title-wrapper {
    display: inline-flex;
    gap: 10px;
    margin: 0 auto;
    width: 100%;
    justify-content: center;
}
.step-icon img {
    filter: brightness(0) saturate(100%) invert(17%) sepia(0%) saturate(2341%) hue-rotate(139deg) brightness(93%) contrast(87%);
    aspect-ratio: 1 / 1;
    max-width: 90px;
    height: auto;
    max-height: 90px;
    object-fit: contain;
}
.step-title {
    font-size: 20px;
    line-height: 1.4;
    letter-spacing: -0.4px;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--color-gray-dark);
    text-align: center;
}
.step-description {
    color: var(--color-gray-dark);
    font-size: 15px;
    line-height: 1.4;
    letter-spacing: -0.4px;
    font-weight: 300;
    text-align: center;
    width: 90%;
    margin: 10px auto;
}
.step-description p {
    margin-bottom: 0;
}
.step-arrow {
    position: absolute;
    top: 0;
    right: -40px;
    width: 40px;
    height: 100%;
    z-index: 1;
    bottom: 0;
    display: flex;
    align-items: center;
    opacity: 0.1;
}
.step-item:nth-child(3n) .step-arrow {
    display: none;
}
.step-intro-text,
.step-outro-text {
    margin-bottom: 40px;
}
.step-outro-text {
    margin-top: 40px;
    margin-bottom: 0;
}
.step-arrow {
    display: none !important;
}
/* Fade Effects */
[data-fade],
[data-fade-in] {
    opacity: 0;
}

[data-fade].loaded {
    animation: fadeEffect 0.3s ease-out forwards;
}

[data-fade-in].loaded {
    animation: fadeInEffect 0.3s ease-out forwards;
}

@keyframes fadeEffect {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

.two-columns-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.column {
    width: 100%;
}

.column-heading {
    font-size: 22px;
    font-weight: 600;
    color: var(--color-gray-dark);
    margin-bottom: 15px;
    line-height: 1.3;
}

.column-text {
    color: var(--color-gray-dark);
    line-height: 1.8;
}

.column-text p {
    margin-bottom: 15px;
}

.column-text p:last-child {
    margin-bottom: 0;
}

.column-text ul,
.column-text ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.column-text li {
    margin-bottom: 8px;
}

.column-text a {
    color: var(--color-primary);
    text-decoration: underline;
}

.column-text a:hover {
    text-decoration: none;
}

/* ========================================
   Favorites Page (Obserwowane)
   ======================================== */
.no-products {
    text-align: center;
    padding: 60px 20px;
    font-size: 18px;
    color: var(--color-gray-dark);
}

/* YITH Wishlist Custom Styles */
.page-template-favorites .subpage {
    margin-bottom: 60px;
}
.yith-wcwl-add-to-wishlist-button.yith-wcwl-add-to-wishlist-button--anchor {
    gap: 0 !important;
}
.favorites-content .wishlist_table {
    border: none !important;
}

.favorites-content .wishlist_table thead {
    display: none;
}
span.yith-wcwl-add-to-wishlist-button__label {
    display: none;
}
.favorites-content .wishlist_table tbody {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.favorites-content .wishlist_table tr {
    display: flex;
    flex-direction: column;
    border: none !important;
    background: white;
    border-radius: 0;
    overflow: hidden;
    transition: var(--transition-base);
}

.favorites-content .wishlist_table td {
    border: none !important;
    padding: 0 !important;
}

.favorites-content .wishlist_table .product-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
}
.favorites-content .wishlist_table .product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.favorites-content .wishlist_table tr td.product-thumbnail a {
    max-width: 100%;
    height: 100% !important;
}
.favorites-content .wishlist_table .product-name {
    padding-top: 10px !important;
}
table.wishlist_table.shop_table .product-remove {
    width: 30px;
    height: 30px;
}
.favorites-content .wishlist_table .product-name a {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-gray-dark);
    text-decoration: none;
}
.favorites-content .wishlist_table .product-name a:hover {
    color: var(--color-pink);
}
.favorites-content .wishlist_table .product-price {
    padding: 0 10px;
    font-size: 18px;
    font-weight: 600;
    color: var(--color-gray-dark);
}
.favorites-content .product-stock-status {
    margin-bottom: 10px;
}
.favorites-content .wishlist_table .product-remove {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
}

.favorites-content .wishlist_table .product-remove a {
    display: flex;
    width: 30px;
    height: 30px;
    background: var(--color-pink);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition-base);
    color: var(--color-brown) !important;
    font-size: 20px;
    justify-content: center;
    align-items: center;
    padding-bottom: 4px;
    transition: var(--transition-base);
}

.favorites-content .wishlist_table .product-remove a:hover {
    transform: scale(1.1);
}

.favorites-content .wishlist_table .product-add-to-cart {
    padding: 10px;
}
.favorites-content .wishlist_table .add_to_cart {
    display: inline-block !important;
    background: var(--color-primary);
    text-decoration: none;
    transition: var(--transition-base);
    padding: 15px 30px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    border-radius: 6px;
    color: var(--color-brown) !important;
}
.favorites-content .wishlist_table .add_to_cart:hover {
    background-color: #e6aab0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(83, 39, 11, 0.3);
}
.favorites-content .product-price {
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}
.favorites-content .woocommerce-Price-amount.amount {
    display: inline-flex;
    margin-bottom: 0;
    font-size: 24px;
    font-weight: 600;
    color: var(--color-gray-dark);
    align-items: baseline;
    text-decoration: none;
    letter-spacing: -0.5px;
    margin-right: 10px;
}
.product-price ins {
    text-decoration: none;
}
.product-price del > span {
    font-size: 16px !important;
    font-weight: 300 !important;
    color: var(--color-gray-light) !important;
    margin-left: 0;
}
/* ========================================
   Map Block - OpenStreetMap
   ======================================== */
.map-block {
    width: 100%;
}

.contact-map {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-map.leaflet-container {
    font-family: inherit;
}

/* Leaflet popup styling */
.leaflet-popup-content-wrapper {
    border-radius: 8px;
    padding: 10px;
}

.leaflet-popup-content {
    margin: 10px;
    line-height: 1.6;
}

.leaflet-popup-content strong {
    color: var(--color-primary);
    font-size: 16px;
    display: block;
    margin-bottom: 8px;
}

/* Marker shadow fix */
.leaflet-marker-shadow {
    opacity: 0.4;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-map {
        height: 300px;
    }
}
/* ========================================
   WooCommerce Shop Archive Page Styles - Mobile First
   ======================================== */

/* Shop Header */
.shop-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.shop-header .page-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--color-gray-dark);
}

.shop-header .woocommerce-archive-description {
    color: var(--color-gray-mid);
    line-height: 1.6;
}

/* Shop Controls */
.shop-controls {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.shop-controls-left .woocommerce-result-count {
    font-size: 14px;
    color: var(--color-gray-mid);
    margin: 0;
}

.shop-controls-right .woocommerce-ordering {
    margin: 0;
}

.shop-controls-right .woocommerce-ordering select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    font-size: 14px;
}

/* WooCommerce Result Bar */
.woo-result-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #dfdfdf;
    gap: 20px;
    flex-wrap: wrap;
}

.woo-result-bar .woocommerce-result-count {
    font-size: 14px;
    color: var(--color-gray-mid);
    margin: 0;
}

.woo-result-bar .woocommerce-ordering {
    margin: 0;
}

.woo-result-bar .woocommerce-ordering select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    font-size: 14px;
    min-width: 200px;
}

/* Responsywność dla woo-result-bar */
@media (max-width: 576px) {
    .woo-result-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .woo-result-bar .woocommerce-ordering select {
        width: 100%;
    }
}

/* Tablet Styles */
@media (min-width: 768px) {
    .product-main-content {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .product-gallery-wrapper {
        width: 50%;
        order: 1;
        position: sticky;
        top: 120px; /* Wysokość headera + 20px odstępu */
        align-self: flex-start; /* Zapobiega rozciąganiu na całą wysokość */
    }
    
    .product-gallery-wrapper .product-gallery-main {
        overflow: hidden; /* Zapobiega pokazywaniu urywków */
    }
    
    .product-info-wrapper {
        width: 50%;
        order: 2;
        overflow: hidden; /* Zapobiega wychodzeniu poza kontener */
    }
    
    .product-info-wrapper .related-products-section {
        width: 100%;
        padding: 0; /* Usuń padding */
    }
    
    .product-info-wrapper .related-products-carousel {
        margin: 0;
    }
    
    .product-info-wrapper .related-products-carousel .owl-stage-outer {
        overflow: visible; /* Pozwól na widoczność produktów */
    }
    
    .product-summary h1 {
        font-size: 32px;
    }
    
    .thumb-image {
        height: 80px;
    }
    
    .no-js .related-products-carousel {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Desktop Styles */
@media (min-width: 992px) {
    .no-js .related-products-carousel {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) {
    .single-product-content {
        margin: 40px 0;
    }
    
    .product-main-content {
        gap: 0px;
    }
    .product-summary, .related-products-section {
    margin-left: 30px;
}
    
    .product-summary h1 {
        font-size: 36px;
        margin-bottom: 20px;
    }
    
    .product-summary .price {
        font-size: 32px;
        margin-bottom: 25px;
    }
    
    .thumb-image {
        height: 100px;
    }
    
    .woocommerce-tabs .tabs {
        margin-bottom: 30px;
    }
    
    .woocommerce-tabs .tabs li {
        margin-right: 40px;
    }
    
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Shop Products Grid */
.shop-products {
    margin-bottom: 40px;
}

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

/* Sale Badge */
.sale-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--color-pink);
    color: var(--color-brown);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 400;
    z-index: 2;
}

/* Pagination */
.shop-pagination {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.shop-pagination .woocommerce-pagination {
    margin: 0;
}

.shop-pagination .woocommerce-pagination ul {
    display: inline-flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 10px;
}

.shop-pagination .woocommerce-pagination li {
    margin: 0;
}

.shop-pagination .woocommerce-pagination a,
.shop-pagination .woocommerce-pagination span {
    display: block;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: var(--color-gray-dark);
    transition: all 0.3s ease;
}

.shop-pagination .woocommerce-pagination a:hover,
.shop-pagination .woocommerce-pagination .current {
    background-color: var(--color-pink);
    color: white;
    border-color: var(--color-pink);
}


/* No Products Found */
.no-products-found {
    text-align: center;
    padding: 60px 20px;
    color: var(--color-gray-mid);
}

/* Tablet Styles */
@media (min-width: 768px) {
    .shop-header .page-title {
        font-size: 36px;
    }
    
    .shop-controls {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .shop-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}
/* ========================================
   BLOG STYLES
   ======================================== */
.blog-post .container {
    max-width: 900px;
}
.blog-post-featured-image {
    margin-top: 60px;
    margin-bottom: 10px;
}
.blog-post-featured-image img {
    aspect-ratio: 4 / 2;
    object-fit: cover;
    width: 100%;
}
.blog-post-featured-image .container {
    max-width: 1024px;
}
.blog-post-header h1 {
    font-size: 30px;
    line-height: 1.1;
    margin-top: 20px;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}
.post-meta {
    display: inline-flex;
    gap: 10px;
    font-weight: 300;
    color: var(--color-brown);
    font-size: 14px;
}
.post-meta span, .blog-card-meta span {
    color: #ede9e6;
}
.blog-post {
    margin-bottom: 60px;
}
.blog-post h2, .blog-post h3, .blog-post h4 {
    margin-bottom: 20px;
    font-weight: 300;
}
.blog-post-content ul, .blog-post-content p {
    margin-bottom: 20px;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin: 0 0 40px;
    padding: 0;
    list-style: none;
}
.blog-card-meta {
    display: inline-flex;
    gap: 6px;
    font-weight: 300;
    color: var(--color-brown);
    font-size: 12px;
    margin-bottom: 10px;
}
.blog-card-title {
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: -0.4px;
    font-weight: 500;
}
.blog-card-title a{
    transition: var(--transition-base);
    color: var(--color-gray-dark);
}
.blog-card-title a:hover {
    color: var(--color-pink);
}
.read-more-btn {
    transition: var(--transition-base);
    color: var(--color-gray-dark);
}
.read-more-btn:hover {
    color: var(--color-pink);
}
.blog-header {
    background-color: var(--color-gray-bg);
    color: var(--color-brown);
    height: 140px;
    display: inline-flex;
    align-items: center;
    width: 100%;
    margin-bottom: 60px;
}
.blog-header h1 {
    font-size: 30px;
    line-height: 1.1;
    font-weight: 100;
    text-align: center;
    padding-bottom: 5px;
}
.blog-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 8 / 7;
    background-color: var(--color-gray-bg);
}
.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-base);
    scale: 1.01;
}
.blog-card-image:hover img {
    scale: 1.1;
}

/* ========================================
   404 Page
   ======================================== */
.page-not-found {
    text-align: center;
    margin: 50px 0;
}
.page-not-found h1 {
    margin-bottom: 20px;
    max-width: 900px;
    line-height: 1.2;
}
.page-not-found .container {
    max-width: 900px;
}
.page-not-found p {
    margin-bottom: 20px;
}
.page-not-found .section_header img {
    max-width: 300px;
    margin: 0 auto;
    padding-bottom: 30px;
    height: 330px;
}


/* ========================================
   DESKTOP STYLES - min-width: 992px
   ======================================== */

@media (min-width: 992px) {
    .cart .quantity input {
        width: 50px !important;
    }
    .cart .quantity {
        width: 100px;
    }
    .step-title-wrapper {
        justify-content: center;
        flex-direction: unset;
    }
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
        padding: 30px;
    }
    h2 {
        font-size: 36px;
    }
    h3 {
        font-size: 30px;
    }
    .tab-button {
        font-size: 36px !important;
    }
    .shop-header {
        margin-bottom: 40px;
    }
    
    .shop-header .page-title {
        font-size: 42px;
        margin-bottom: 20px;
    }
    
    .shop-controls {
        margin-bottom: 40px;
    }
    
    .shop-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 40px;
    }
    
    .shop-pagination {
        margin-top: 60px;
        padding-top: 40px;
    }

    /* YITH Wishlist Desktop */
    .favorites-content .wishlist_table tbody {
        grid-template-columns: repeat(5, 1fr);
        gap: 40px;
    }

  /* Top Bar */
  .top-bar {
    font-size: 13px;
  }
  /* Header */
  .header {
    padding: 20px 0;
  }
  .fav-icon {
    display: flex;
  }
    .header-content {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        gap: 10px 10px;
        align-items: center;
    }

  .logo {
      grid-column: 1;
      grid-row: 1 / span 2;
  }
img.logo-desktop {
    display: flex;
}
.logo img {
    max-width: 150px;
    min-width: 80px;
    width: 100%;
}
  .header-actions {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    border-left: none;
    padding-left: 0;
  }

  /* Hide mobile menu toggle on desktop */
  .mobile-menu-toggle {
    display: none;
  }

  /* Main Navigation - Show on Desktop */
    .main-nav {
        display: block;
        grid-column: 2;
        grid-row: 2;
        justify-self: end;
        position: static;
        width: 100%;
        height: auto;
        background: none;
        box-shadow: none;
        z-index: auto;
        transition: none;
        overflow: visible;
        padding-top: 0;
        margin-top: 0;
        max-width: 100%;
        padding-left: 0;
    }
.main-nav .sub-menu a {
    text-transform: unset;
    font-size: 15px;
    letter-spacing: -0.3px;
    justify-content: space-between;
}
    .main-nav ul {
        display: flex;
        justify-content: flex-start;
        gap: 0px 15px;
        flex-wrap: wrap;
        flex-direction: row;
        padding: 0;
        width: auto;
        max-width: 100%;
    }

  .main-nav ul li {
    border-bottom: none;
    position: relative;
  }
    .main-nav ul li > a {
        font-size: 15px;
        font-weight: 600;
        text-transform: uppercase;
        display: flex;
        align-items: center;
        padding: 10px 0;
        color: var(--color-brown);
        letter-spacing: -0.5px;
    }

  .main-nav ul li > a img {
    width: 10px;
    height: 6px;
  }

  .main-nav ul li > a:hover {
    color: var(--color-pink);
  }

  /* Desktop dropdown styles */

.logo-mobile {
    display: none;
}
  .menu-item-has-children {
    position: relative;
  }

    .menu-item-has-children .sub-menu {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 200px;
        background-color: #fff;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        border-radius: 6px;
        padding: 10px;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: var(--transition-base);
        display: block;
        height: auto;
    }

  .menu-item-has-children:hover .sub-menu-1 {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
  }
    .main-nav .sub-menu {
        overflow: visible;
        max-height: none;
    }
  .sub-menu li {
    border-bottom: none;
  }

  .sub-menu a {
    display: block;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-gray-dark);
    text-transform: none;
    transition: all 0.2s ease;
  }

  .sub-menu a:hover {
    color: var(--color-pink);
  }

  /* Sub-menu level 2 desktop */
  .sub-menu .menu-item-has-children {
    position: relative;
  }

.sub-menu .sub-menu {
    position: absolute;
    top: 0;
    left: calc(100% + 10px);
    margin: 0;
}
.menu-row-1.menu-item-has-children .sub-menu-1 a:after {
    rotate: -90deg;
}
.menu-row-1 .menu-row-2.menu-item-has-children:hover a:after {
    margin-right: -5px;
}
.sub-menu-1 {
    margin-left: 0;
}
  .sub-menu .menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  /* Hide mobile menu overlay on desktop */
  .mobile-menu-overlay {
    display: none;
  }

  /* Search Bar - Show on Desktop */
  .header-actions {
      display: flex;
      align-items: center;
      gap: 20px;
      width: 100%;
      justify-content: space-between;
  }
    .search-bar {
        display: flex;
        align-items: center;
        width: 70%;
        margin-top: 10px;
        transition: all 0.1s cubic-bezier(0.25, 0.1, 0.25, 1);
        position: relative;
    }
    .search-bar:hover, .search-bar:focus {
        background: #00000017;
    }
    .search-bar input {
        flex: 1;
        background: transparent;
        font-size: 16px;
        padding: 0;
        font-weight: 300;
        background-color: var(--color-gray-bg);
        width: 100%;
        padding: 8px 20px;
        height: 50px;
    }

  .search-bar input::placeholder {
    color: var(--color-gray-mid);
  }
form.woocommerce-product-search {
    width: 100%;
    position: relative;
}

/* Hide clear (X) button in search inputs */
.search-bar input[type="search"]::-webkit-search-cancel-button,
.search-bar input[type="search"]::-webkit-search-decoration,
.search-bar input[type="search"]::-webkit-search-results-button,
.search-bar input[type="search"]::-webkit-search-results-decoration {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

/* For better cross-browser compatibility */
.search-bar input[type="search"] {
    appearance: textfield;
    -moz-appearance: textfield; /* Firefox */
    -webkit-appearance: textfield; /* Safari and Chrome */
}

.search-bar input[type="search"]::-moz-search-clear {
    display: none;
}

  .search-bar button img {
    width: 100%;
    height: 100%;
  }
button.search-submit {
    position: absolute;
    right: 15px;
    top: 13px;
}
  .header-icons {
      gap: 20px;
      margin-top: 10px;
  }

.header-icons a {
    border-left: 1px solid #ede9e6;
    padding-left: 15px;
    display: inline-flex;
    height: auto;
}
.header-icons a:first-child {
    border-left: none;
}
.icon-link img {
    width: 30px;
}
  /* Mobile Menu Toggle - Hide on Desktop */
  .mobile-menu-toggle {
    display: none;
  }

  /* Hero Section */
  .hero-section {
    min-height: 600px;
  }
  
  .hero-carousel {
    min-height: 600px;
  }
  
  .hero-slide {
    height: 600px;
  }
    .hero-carousel:before {
        content: "";
        width: calc((100% - 1220px) / 2);
        height: 100%;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        z-index: 99;
        backdrop-filter: blur(20px);
    }
    .hero-carousel:after {
        content: "";
        width: calc((100% - 1220px) / 2);
        height: 100%;
        position: absolute;
        top: 0;
        bottom: 0;
        right: 0;
        z-index: 99;
        backdrop-filter: blur(20px);
    }
.hero-slide .hero-content {
    opacity: 0;
    transition: var(--transition-base);
}
.center .hero-slide .hero-content {
    opacity: 1;
}
  .hero-content h1 {
    font-size: 48px;
  }

  .hero-buttons {
    flex-direction: row;
    gap: 20px;
  }
.hero-slide h1, .hero-slide h2 {
    font-size: 60px;
}
  /* Products Section */
    .products-section {
        padding: 30px 0;
    }

  /* Products Grid - Desktop */
    .products-grid {
        grid-template-columns: repeat(5, 1fr);
        width: 100%;
        margin-left: 0;
    }

  .new-products .products-grid .product-card:nth-child(n+6) {
    display: none;
  }

  /* Products Scroll - Desktop (show all 5 products without scroll) */
    .products-scroll {
        display: grid !important;
        grid-template-columns: repeat(5, 1fr);
        margin: 0 !important;
        margin-left: 0 !important;
        width: 100% !important;
        overflow: visible !important;
        overflow-x: visible !important;
        overflow-y: visible !important;
        gap: 15px;
        padding-bottom: 0 !important;
        min-height: auto !important;
    }

  .products-scroll .product-card {
    flex: none;
    min-width: auto;
    width: 100%;
  }

  /* Hide 6th product on desktop (show only 5) */
  .products-scroll .product-card:nth-child(6) {
    display: none;
  }

  /* Hide custom scrollbar on desktop */
  .custom-scrollbar {
    display: none;
  }

  .section-title {
      font-size: 32px;
      width: 100%;
      margin-left: 0;
  }

  .section-subtitle {
    font-size: 16px;
    margin-bottom: 50px;
  }

.product-name {
        font-size: 18px;
        line-height: 1.2;
    }

  .price-old {
    font-size: 15px;
  }

  .price-current {
    font-size: 20px;
  }

  /* Category Banners */
  .category-banners {
    padding: 60px 0;
  }

  .banners-grid {
      grid-template-columns: repeat(4, 1fr);
      grid-template-rows: repeat(2, 1fr);
      gap: 15px;
      width: 100%;
      margin-left: 0;
  }

  .banner-large {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
  }

.banner-item {
        aspect-ratio: 4 / 3;
        width: 100%;
        height: 100%;
    }

  .banner-content h3 {
    font-size: 22px;
  }

  /* Features Section */
    .features-section {
        padding: 0;
    }

.features-layout {
    flex-direction: row;
    gap: 40px;
    align-items: center;
    margin: 40px 0;
}

    .newsletter-signup {
        flex: 0 0 45%;
        padding: 0 40px;
    }

    .newsletter-signup h3 {
        color: var(--color-gray-dark);
        margin-bottom: 10px;
        text-transform: uppercase;
    }
    .newsletter-form {
        max-width: 360px;
    }

  .features-grid {
      flex: 1;
      grid-template-columns: repeat(2, 1fr);
      margin-left: 0;
      width: 100%;
  }

    .feature-item {
        padding: 35px 25px;
    }

  .feature-icon {
    width: 60px;
    height: 60px;
  }

  .feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .feature-content h4 {
    font-size: 18px;
  }

    .feature-content p {
        font-size: 18px;
    }


  /* seo Section */
  .seo-content {
    flex-direction: row;
    align-items: center;
    gap: 60px;
  }

    .seo-text {
        flex: 1;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto auto;
        column-gap: 50px;
    }

  .seo-text .seo-title {
      grid-column: 1 / -1;
      grid-row: 2;
      margin-bottom: 0px;
      width: 50%;
  }
    h5 {
        font-size: 20px;
        line-height: 1.2;
    }
  .seo-text .text-group.one {
    grid-column: 1;
    grid-row: 3;
    width: 100%;
  }

  .seo-text .seo-video {
    grid-column: 1 / -1;
    grid-row: 1;
    margin: 0 0 30px 0;
    width: 100%;
  }

  .seo-text .text-group.two {
    grid-column: 2;
    grid-row: 3;
    width: 100%;
  }

  .seo-text h2 {
    font-size: 28px;
    margin-bottom: 25px;
  }

  .seo-text p {
    font-size: 15px;
  }

  /* Payment Section */
  .payment-section {
      padding: 60px 0 90px;
  }
.payment-header {
    margin-bottom: 40px;
}
  .payment-header h3 {
    font-size: 18px;
  }

  .payment-logos img {
    height: 40px;
  }

  /* Footer */
.footer-column:not(.footer-social) {
    padding-top: 60px;
}
    .footer-content {
        grid-template-columns: 0.55fr 0.55fr 0.55fr 1fr 1fr;
        gap: 20px;
        column-gap: 20px;
        margin-bottom: 40px;
        width: calc(100% - 95px);
    }

    .footer-column.footer-social {
        order: 5;
        grid-column: 5;
        grid-row: auto;
        margin-left: 0;
        width: unset;
        padding: 0;
        display: inline-flex;
        justify-content: flex-end;
        position: absolute;
        right: 30px;
        bottom: 0;
        top: 0;
        align-items: center;
    }

    .footer-column.footer-social .social-icons {
        flex-direction: column;
        width: 95px;
        background: #4d4d4d;
        align-items: center;
    }

  .footer-column:not(.footer-social):not(.footer-category) {
    grid-column: auto;
  }

    .footer-column.footer-category {
        grid-column: span 2;
        grid-row: auto;
        padding-left: 80px;
        padding-right: 80px;
    }

  .footer-column.footer-category ul {
      column-count: 2;
      column-gap: 40px;
  }

  .footer-column h4 {
    font-size: 15px;
    margin-bottom: 20px;
  }
  .footer-bottom p {
    font-size: 13px;
  }

  /* Desktop hero carousel center mode */

  .hero-carousel .owl-item.center {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
  }
    .has-margin-top {
        margin-top: 60px!important;
    }

    .has-margin-bottom {
        margin-bottom: 60px!important;
    }

    /* Text-Image Block Desktop */
    .text-image-block .text-image-wrapper {
        flex-direction: row;
        gap: 40px;
    }

    .text-image-block .text-image-column {
        width: 50%;
    }

    .text-image-block.image-left .text-image-wrapper {
        flex-direction: row-reverse;
    }

    .two-columns-wrapper {
        flex-direction: row;
        gap: 40px;
    }

    .column {
        width: 50%;
    }

    .column-heading {
        font-size: 28px;
        margin-bottom: 20px;
    }
    .is-narrow {
        width: 900px;
        margin: auto;
    }
    .full_product_desc {
        padding: 50px;
    }
    .full_product_desc .text-image-block .text-image-wrapper {
        align-items: center;
    }
    .blog-post-header h1 {
        font-size: 36px;
    }
    header .container {
    padding: 0 20px;
}

}

/* ========================================
   Additional Responsive Adjustments
   ======================================== */

@media (min-width: 768px) and (max-width: 991px) {
  /* Products Grid - Tablet */
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }

  /* Products Scroll - Tablet */


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

  .banner-large {
    grid-column: 1 / 3;
  }

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

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


@media (min-width: 1280px) {
    .main-nav ul {
        gap: 0px 20px;
    }
        .logo img {
        max-width: 220px;
    }
    .main-nav ul li > a {
        font-size: 17px;
    }
        .header-content {
        gap: 10px 30px;
    }
}

/* ========================================
   Products Section Tabs
   ======================================== */

.section-tabs {
    margin-bottom: 30px;
}

.section-tab-nav {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-button {
    background: none;
    border: none;
    font-size: 30px;
    font-weight: 100;
    color: var(--color-gray-mid);
    cursor: pointer;
    transition: var(--transition-base);
    position: relative;
}
.tab-button:hover:after {
    color: var(--color-gray-dark);
}
.tab-button:hover {
    color: var(--color-primary);
}

.tab-button.active {
    color: var(--color-gray-dark);
}
button.tab-button:after {
    content: '•';
    padding: 0 10px;
    color: var(--color-gray-dark);
}
button.tab-button:last-child:after {
    display: none;
}
.section-content {
    position: relative;
}

.tab-content {
    display: none !important;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tab-content.active {
    display: block !important;
    opacity: 1;
}

/*Popup banner*/
.popup-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.popup-banner.active {
    display: block;
    opacity: 1;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    cursor: pointer;
    z-index: 1;
}

.popup-content {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 900px;
    width: fit-content;
}

.popup-banner.active .popup-content {
    animation: popupSlideIn 0.4s ease-out;
}

@keyframes popupSlideIn {
    from {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

.popup-content img {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.popup-image-link {
    display: block;
}

.popup-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background-color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: all 0.2s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.popup-close:hover {
    background-color: var(--color-pink);
    transform: scale(1.1);
}

.popup-close:hover svg {
    color: white;
}

.popup-close svg {
    color: #333;
    transition: color 0.2s ease;
}

@media (max-width: 992px) {
    .popup-content {
        max-width: 90%;
    }
    .popup-close {
        top: -10px;
        right: -10px;
        width: 35px;
        height: 35px;
    }
    
    .popup-close svg {
        width: 20px;
        height: 20px;
    }
}