/*
Theme Name: Pastelier
Theme URI: https://pastelier.pl
Author: Pastelier
Description: Motyw Pastelier.
Version: 1.0.3
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
WC requires at least: 8.0
WC tested up to: 9.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pastelier
*/

/* ===== Variables ===== */
:root {
  --zinc-50: #fafafa;
  --zinc-100: #f4f4f5;
  --zinc-200: #e4e4e7;
  --zinc-400: #a1a1aa;
  --zinc-500: #71717a;
  --zinc-600: #52525b;
  --zinc-800: #27272a;
  --zinc-900: #18181b;
  --zinc-950: #09090b;
  --color-accent: #fbc0c0;
  --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Montserrat', sans-serif;
  --section-px: 1.5rem;
  --section-px-md: 3rem;
}

@media (min-width: 768px) {
  :root {
    --section-px: 3rem;
    --section-px-md: 3rem;
  }
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  color: var(--zinc-900);
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* Titles uppercase, paragraphs normal. Letter-spacing: 1px < 16px, 2px >= 16px */
h1, h2, h3, h4, h5, h6 {
  text-transform: uppercase;
}
h1, h2, h3 { letter-spacing: 2px; }
h4, h5, h6 { letter-spacing: 1px; }
p {
  text-transform: none;
}

/* Bez zaokrągleń */
*, *::before, *::after { border-radius: 0 !important; }

.font-heading { font-family: var(--font-heading) !important; }
.font-body { font-family: var(--font-body) !important; }

/* Hide scrollbar */
.hide-scrollbar::-webkit-scrollbar { display: none; }
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.3s ease-out, background 0.3s, color 0.3s;
}
.site-header .header-mobile-toggle { order: -1; }
.site-header .header-nav--left { order: 0; }
.site-header .header-logo { order: 1; }
.site-header .header-nav--right { order: 2; }
.site-header .header-mobile-cart { order: 3; }
@media (min-width: 768px) {
  .site-header { padding: 1.5rem 3rem; }
}

.site-header--transparent {
  background: transparent;
  color: #fff;
}
.site-header--transparent a,
.site-header--transparent .header-logo,
.site-header--transparent .header-logo svg,
.site-header--transparent .header-mobile-toggle,
.site-header--transparent .header-mobile-cart { color: #fff !important; }

.site-header--scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  color: #000;
  border-bottom: 1px solid rgba(228,228,231,0.5);
}
.site-header--scrolled a { color: inherit; }

.site-header--hidden {
  transform: translateY(-100%);
}

.header-nav--left,
.header-nav--right {
  display: none;
}
@media (min-width: 768px) {
  .header-nav--left,
  .header-nav--right {
    display: flex;
    gap: 2rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
  .header-nav--right { align-items: center; }
}
.header-nav a {
  transition: opacity 0.2s;
}
.header-nav a:hover { color: var(--color-accent); opacity: 1; }

.header-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
@media (min-width: 768px) {
  .header-logo { font-size: 1.5rem; }
}
.header-logo svg {
  height: 1.5rem;
  width: auto;
}
@media (min-width: 768px) {
  .header-logo svg { height: 1.75rem; }
}
.site-header--transparent .header-logo svg { color: #fff; }
.site-header--scrolled .header-logo svg { color: #000; }

.header-cart {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.header-cart-label { display: none; }
@media (min-width: 1024px) {
  .header-cart-label { display: inline; }
}
.header-cart-icon { position: relative; }
.header-cart-count {
  position: absolute;
  top: -4px;
  right: -6px;
  font-size: 10px;
  min-width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.site-header--transparent .header-cart-count {
  background: #fff;
  color: #000;
}
.site-header--scrolled .header-cart-count {
  background: #000;
  color: #fff;
}

.header-mobile-toggle,
.header-mobile-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}
.header-mobile-toggle:hover,
.header-mobile-cart:hover { opacity: 0.7; }
@media (min-width: 768px) {
  .header-mobile-toggle,
  .header-mobile-cart { display: none; }
}

/* Mobile menu – panel wysuwany (jak koszyk) */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.mobile-menu-overlay--visible {
  opacity: 1;
  visibility: visible;
}
.mobile-menu-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: min(320px, 85vw);
  height: 100%;
  background: #fff;
  z-index: 100;
  box-shadow: 4px 0 24px rgba(0,0,0,0.12);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}
.mobile-menu-panel--open {
  transform: translateX(0);
}
.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--zinc-200);
}
.mobile-menu-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.mobile-menu-close {
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}
.mobile-menu-close:hover { opacity: 0.7; }
.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  padding: 1rem 1.5rem;
  gap: 0.5rem;
}
.mobile-menu-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.75rem 0;
  color: var(--zinc-900);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.mobile-menu-nav a:hover { color: var(--color-accent); }
.mobile-menu-cart { display: flex; align-items: center; gap: 0.25rem; }
.mobile-menu-cart-count { font-size: 0.85em; color: var(--zinc-500); }
body.mobile-menu-open { overflow: hidden; }
@media (min-width: 768px) {
  .mobile-menu-overlay,
  .mobile-menu-panel { display: none !important; }
}

/* WooCommerce store notice */
.woocommerce-store-notice.demo_store,
p.demo_store {
  background: #f78da7 !important;
}
body:has(.woocommerce-store-notice.demo_store[style*="display: block"]) .site-header {
  top: 50px;
}
body:has(.woocommerce-store-notice.demo_store[style*="display: block"]) .site-content {
  padding-top: 120px; /* 50px notice + 70px header */
}
body:has(.woocommerce-store-notice.demo_store[style*="display: block"]) .hero {
  margin-top: -120px;
}
@media (min-width: 768px) {
  body:has(.woocommerce-store-notice.demo_store[style*="display: block"]) .site-content {
    padding-top: 140px; /* 50px notice + 90px header */
  }
  body:has(.woocommerce-store-notice.demo_store[style*="display: block"]) .hero {
    margin-top: -140px;
  }
}

/* Fixed header offset */
.site-content { padding-top: 70px; }
@media (min-width: 768px) {
  .site-content { padding-top: 90px; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  margin-top: -70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
@media (min-width: 768px) {
  .hero { margin-top: -90px; }
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.1), rgba(0,0,0,0.3));
}
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: #fff;
  padding: 0 1.5rem;
  margin-top: 4rem;
}
@media (min-width: 768px) {
  .hero-content { margin-top: 0; }
}
.hero-subtitle {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  opacity: 0.8;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 500;
  letter-spacing: 2px;
  line-height: 1;
  margin: 0 0 1.5rem;
  max-width: 56rem;
  text-transform: uppercase;
}
@media (min-width: 768px) {
  .hero-title { font-size: 4.5rem; }
}
@media (min-width: 1024px) {
  .hero-title { font-size: 5rem; }
}
.hero-desc {
  font-size: 0.875rem;
  max-width: 28rem;
  margin: 0 auto 2.5rem;
  color: rgba(255,255,255,0.9);
  font-weight: 300;
  line-height: 1.6;
}
@media (min-width: 768px) {
  .hero-desc { font-size: 1rem; }
}
.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: #fff;
  color: #000;
  transition: background 0.3s;
}
.hero-btn:hover { background: var(--color-accent); }
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
}
.hero-scroll svg {
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ===== Strona O marce (grid) ===== */
.about-page-wrap {
  width: 100%;
}
.page-about {
  padding: 0 !important;
}
.about-page-wrap .page-about .about-sections {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}
.page-about .about-sections .about-section {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 0;
  row-gap: 0;
  padding: 0;
  margin: 0;
}
@media (min-width: 768px) {
  .page-about .about-sections .about-section {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 0;
  }
  .about-section--image-left .about-section-text { order: 2; }
  .about-section--image-left .about-section-image { order: 1; }
}
.about-section + .about-section {
  margin-top: 0;
}
.about-section-text {
  padding: 2rem 1.5rem;
}
@media (min-width: 768px) {
  .about-section-text { padding: 3rem 4rem; }
}
.about-section-title {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 1rem;
}
@media (min-width: 768px) {
  .about-section-title { font-size: 1.5rem; }
}
.about-section-body {
  font-size: 14px;
  line-height: 1.7;
  color: var(--zinc-800);
}
.about-section-body p { margin: 0 0 1rem; }
.about-section-body p:last-child { margin-bottom: 0; }
.about-section-image {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.about-section-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-section-image-placeholder {
  width: 100%;
  height: 100%;
  background: var(--zinc-100);
}
.about-cta {
  text-align: center;
  padding: 4rem 1.5rem 2rem;
}
.about-cta .btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: #000;
  color: #fff;
  transition: background 0.3s, color 0.3s;
}
.about-cta .btn:hover { background: var(--color-accent); color: #000; }

/* ===== Strona bloga – grid wpisów ===== */
.blog-grid-section {
  background: #fff;
}
.blog-grid-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 768px) {
  .blog-grid-container { padding: 0 3rem; }
}
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}
.blog-card {
  margin: 0;
}
.blog-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.blog-card-link:hover .blog-card-title {
  text-decoration: underline;
}
.blog-card-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--zinc-100);
}
.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.blog-card-link:hover .blog-card-image img {
  transform: scale(1.03);
}
.blog-card-image-placeholder {
  width: 100%;
  height: 100%;
  background: var(--zinc-200);
}
.blog-card-content {
  padding: 1.25rem 0;
}
.blog-card-title {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}
.blog-card-excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: var(--zinc-600);
  margin-bottom: 0.75rem;
}
.blog-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.blog-card-tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--zinc-500);
}
.blog-pagination {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--zinc-200);
}
.blog-empty {
  text-align: center;
  padding: 4rem 0;
  color: var(--zinc-500);
}

/* ===== Pojedynczy wpis bloga ===== */
.single-post-wrap {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 768px) {
  .single-post-wrap {
    padding: 0 3rem;
  }
}

.single-post-featured-image {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--zinc-100);
  margin-bottom: 2rem;
}
.single-post-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.single-post-header {
  margin-bottom: 2rem;
  text-align: center;
}
/* Nadpisanie: .hentry h1 { display: none } – tytuł wpisu ma być widoczny */
.single-post-section .single-post-title {
  display: block !important;
}
.single-post-title {
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}
@media (min-width: 768px) {
  .single-post-title {
    font-size: 1.75rem;
  }
}
.single-post-date {
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--zinc-500);
}

.single-post-content {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--zinc-800);
}
.single-post-content p {
  margin: 0 0 1rem;
}
.single-post-content p:last-child {
  margin-bottom: 0;
}
.single-post-content h2,
.single-post-content h3 {
  margin: 2rem 0 0.75rem;
  font-size: 1.125rem;
}
.single-post-content img {
  max-width: 100%;
  height: auto;
}
.single-post-content ul,
.single-post-content ol {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
}

/* ===== Sections (pełna szerokość) ===== */
.section {
  width: 100%;
  padding: 5rem 0;
}
@media (min-width: 768px) {
  .section { padding: 8rem 0; }
}
.section-header {
  padding: 0 1.5rem 3rem;
  text-align: center;
}
@media (min-width: 768px) {
  .section-header { padding: 0 3rem 4rem; }
}
.section-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0;
}
@media (min-width: 768px) {
  .section-title { font-size: 1rem; letter-spacing: 2px; }
}

/* Horizontal scroll */
.scroll-row {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  display: flex;
  gap: 1rem;
  padding: 0 1.5rem 2rem;
}
@media (min-width: 768px) {
  .scroll-row { gap: 1.5rem; padding: 0 3rem 2rem; }
}
.scroll-row--no-gap {
  gap: 0;
}
.scroll-row--products {
  gap: 160px;
}
.scroll-row--edge {
  padding-left: 0;
  padding-right: 0;
}

/* Product cards (Polecane Modele) */
.product-card {
  scroll-snap-align: start;
  flex-shrink: 0;
  width: 80vw;
}
@media (min-width: 768px) {
  .product-card { width: 45vw; }
}
@media (min-width: 1024px) {
  .product-card { width: 30vw; }
}
@media (min-width: 1280px) {
  .product-card { width: 22vw; }
}
.product-card .card-image {
  position: relative;
  aspect-ratio: 1;
  background: var(--zinc-100);
  margin-bottom: 1.5rem;
  overflow: hidden;
}
.product-card-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem 1rem;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
}
.products-grid .card-image span,
.products-grid .card-image .product-card-badge {
  width: 120px;
  height: 24px;
  top: 10px;
  bottom: auto;
  left: 10px;
  right: auto;
  padding: 0 8px;
  font-size: 8px;
  line-height: 1em;
  display: flex;
  align-items: center;
  justify-content: center;
}
#page #content .shop-archive .container .products-grid .product-card .card-image span {
  line-height: 1em;
}
.product-card-badge--outofstock {
  background: #999999;
  color: #fff;
}
.product-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease-out;
}
.product-card:hover .card-image img {
  transform: scale(1.05);
}
.product-card .card-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.product-card .card-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  margin: 0;
  text-align: left;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.product-card .card-price {
  font-size: 14px;
  color: #000;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
  margin: 0;
}
.scroll-spacer {
  flex-shrink: 0;
  width: 0.25rem;
}
@media (min-width: 768px) {
  .scroll-spacer { width: 1.5rem; }
}
@media (min-width: 1024px) {
  .scroll-spacer { width: 2rem; }
}

/* Collection cards (Jesienna kolekcja) */
.collection-card {
  scroll-snap-align: start;
  flex-shrink: 0;
  width: 80vw;
}
@media (min-width: 768px) {
  .collection-card { width: 45vw; }
}
@media (min-width: 1024px) {
  .collection-card { width: 30vw; }
}
@media (min-width: 1280px) {
  .collection-card { width: 25vw; }
}
.collection-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2/3;
  background: var(--zinc-200);
}
.collection-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease-out;
}
.collection-card:hover img {
  transform: scale(1.05);
}
.collection-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.2);
  transition: background 0.5s;
}
.collection-card:hover .collection-card-overlay {
  background: rgba(0,0,0,0.3);
}
.collection-card-title {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  color: #fff;
  letter-spacing: 2px;
  text-transform: uppercase;
}
@media (min-width: 768px) {
  .collection-card-title { font-size: 1.5rem; }
}

/* Instagram cards */
.instagram-card {
  scroll-snap-align: start;
  flex-shrink: 0;
  width: 80vw;
}
@media (min-width: 768px) {
  .instagram-card { width: 45vw; }
}
@media (min-width: 1024px) {
  .instagram-card { width: 30vw; }
}
@media (min-width: 1280px) {
  .instagram-card { width: 25vw; }
}
.instagram-card {
  display: block;
  aspect-ratio: 2/3;
  overflow: hidden;
  background: var(--zinc-200);
}
.instagram-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease-out;
}
.instagram-card:hover img {
  transform: scale(1.05);
}

/* Section backgrounds */
.section--white { background: #fff; }
.section--zinc { background: var(--zinc-50); }

/* ===== Footer ===== */
.site-footer {
  background: var(--zinc-950);
  color: #fff;
  padding: 5rem 1.5rem 2.5rem;
}
@media (min-width: 768px) {
  .site-footer { padding: 5rem 3rem 2.5rem; }
}
.footer-inner {
  max-width: 80rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-logo-link {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 1.5rem;
}
.footer-desc {
  font-size: 0.875rem;
  color: var(--zinc-400);
  font-weight: 300;
  line-height: 1.6;
  margin: 0;
}
.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 1.5rem;
  color: var(--zinc-100);
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-col li {
  margin-bottom: 1rem;
}
.footer-col a {
  font-size: 0.875rem;
  color: var(--zinc-400);
  transition: color 0.2s, transform 0.2s;
  display: inline-block;
}
#site-footer ul a {
  text-transform: uppercase;
  font-size: 12px;
}
.footer-col a:hover {
  color: var(--color-accent);
  transform: translateX(4px);
}
.footer-socials h4 {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 1.5rem;
  color: var(--zinc-100);
}
.footer-socials-links {
  display: flex;
  gap: 0.75rem;
}
.footer-socials-links a {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--zinc-400);
  background: var(--zinc-900);
  transition: color 0.2s, background 0.2s;
}
.footer-socials-links a:hover {
  color: var(--color-accent);
  background: var(--zinc-800);
}
.footer-bottom {
  max-width: 80rem;
  margin: 0 auto;
  border-top: 1px solid rgba(39,39,42,0.5);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.footer-copyright {
  font-size: 0.75rem;
  color: var(--zinc-500);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0;
}

/* ===== Cart panel ===== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 55;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cart-overlay--visible {
  opacity: 1;
  pointer-events: auto;
}

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 400px;
  height: 100%;
  background: #fff;
  z-index: 60;
  transform: translateX(100%);
  transition: transform 0.3s ease-out;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--zinc-200);
  color: #000;
}
@media (min-width: 640px) {
  .cart-panel { width: 400px; }
}
.cart-panel--open {
  transform: translateX(0);
}

.cart-panel-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--zinc-100);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-panel-title {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0;
}
.cart-panel-close {
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-panel-close:hover { opacity: 0.6; }

.cart-panel-body {
  flex: 1;
  overflow: hidden;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}
.cart-panel-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}
.cart-panel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.cart-panel-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-panel-item-info {
  display: flex;
  flex-direction: column;
}
.cart-panel-item-name {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
}
.cart-panel-item-qty {
  font-size: 0.75rem;
  color: var(--zinc-500);
  margin-top: 0.25rem;
}
.cart-panel-item-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.cart-panel-item-price {
  font-size: 0.875rem;
  font-weight: 500;
}
.cart-panel-item-remove {
  color: var(--zinc-400);
  display: flex;
  padding: 0.25rem;
  background: none;
  border: none;
  cursor: pointer;
}
.cart-panel-item-remove:hover { color: #000; }

.cart-panel-footer {
  padding: 1.5rem;
  background: rgba(250,250,250,0.5);
  border-top: 1px solid var(--zinc-100);
  margin-top: auto;
}
.cart-panel-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
.cart-panel-total span:first-child {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.cart-panel-total span:last-child {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 500;
}
.cart-panel-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.875rem 2rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.3s, color 0.3s;
  margin-bottom: 0.75rem;
}
.cart-panel-btn:last-child { margin-bottom: 0; }
.cart-panel-btn--outline {
  background: transparent;
  border: 1px solid #000;
  color: #000;
}
.cart-panel-btn--outline:hover {
  background: var(--color-accent);
  color: #000;
  border-color: var(--color-accent);
}
.cart-panel-btn--primary {
  background: #000;
  color: #fff;
  border: 1px solid #000;
}
.cart-panel-btn--primary:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #000;
}
.cart-panel-empty {
  margin: 0;
  padding: 2rem 0;
  text-align: center;
  color: var(--zinc-500);
}

/* ===== Shop archive ===== */
.shop-archive {
  margin-top: -20px;
  background: #fff;
  padding: 6rem 0 4rem;
}
.shop-archive .container {
  width: 100%;
  max-width: 1920px;
}
.shop-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}
.shop-archive .shop-header .section-title {
  font-size: 12px;
}
.shop-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.shop-filter-btn,
.shop-sort-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  white-space: nowrap;
}
.shop-filter-btn:hover,
.shop-sort-btn:hover {
  opacity: 0.7;
}
.shop-filter-btn svg,
.shop-sort-btn svg {
  flex-shrink: 0;
}
#shop-filter-btn span,
#shop-sort-btn span {
  font-size: 12px;
}
.shop-clear-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 500;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.shop-clear-btn:hover {
  opacity: 0.7;
}
.shop-filter-wrapper {
  position: relative;
  margin-bottom: 2rem;
}
.shop-filter-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  padding: 0 var(--section-px);
  z-index: 40;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.shop-filter-panel[aria-hidden="true"] {
  pointer-events: none;
  padding-top: 0;
  padding-bottom: 0;
}
.shop-filter-panel[aria-hidden="false"] {
  max-height: 800px;
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.shop-archive .shop-header {
  position: relative;
}
.shop-filter-form,
#shop-filter-form {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 3rem;
  align-items: start;
  max-width: 80rem;
  margin: 0 auto;
}
#shop-filter-form {
  width: 100% !important;
  margin-left: 0;
  margin-right: 0;
}
@media (max-width: 767px) {
  #shop-filter-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .shop-filter-form {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  #shop-filter-form .shop-filter-section .shop-filter-options,
  .shop-filter-sort {
    flex-direction: row !important;
  }
  #shop-filter-panel {
    padding-left: 16px;
    padding-right: 16px;
  }
  #content .shop-archive .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .shop-archive .products-grid {
    padding-left: 8px;
    padding-right: 8px;
    gap: 24px !important;
  }
  .products-grid .card-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  .products-grid .card-info h3 {
    font-size: 12px;
  }
  .products-grid .card-info bdi {
    font-size: 12px;
  }
}
.shop-filter-section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.shop-filter-label {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 500;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}
.shop-filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}
#shop-filter-form .shop-filter-section .shop-filter-options {
  flex-direction: column;
}
.shop-filter-sort {
  flex-direction: column;
}
.shop-filter-sort-label {
  display: inline-flex;
  align-items: center;
  gap: 0.2em;
}
.shop-filter-sort-label svg {
  flex-shrink: 0;
}
.shop-filter-option {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 14px;
  color: #000;
  cursor: pointer;
}
.shop-filter-option input {
  margin: 0;
  accent-color: #000;
}
#shop-filter-form input[type="checkbox"],
#shop-filter-form input[type="radio"] {
  accent-color: #000;
}
.shop-filter-colors {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.shop-filter-color-option {
  cursor: pointer;
  display: block;
}
.shop-filter-color-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.shop-filter-color-swatch {
  display: inline-block;
  width: 28px;
  height: 28px;
  border: 1px solid var(--zinc-200);
  transition: transform 0.2s, box-shadow 0.2s;
}
.shop-filter-color-option input:checked + .shop-filter-color-swatch,
.shop-filter-color-swatch:hover {
  transform: scale(1.08);
  box-shadow: 0 0 0 2px #000;
}
.shop-filter-color-option--all .shop-filter-color-swatch {
  width: auto;
  min-width: 28px;
  padding: 0 0.5rem;
  font-size: 11px;
  line-height: 26px;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--zinc-100);
}
.shop-filter-apply,
#shop-filter-form .shop-filter-apply {
  align-self: end;
  max-width: 200px;
  padding: 1rem 2rem;
  background: #000;
  color: #fff;
  border: none;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.shop-filter-apply:hover {
  background: var(--color-accent);
  color: #000;
}
.shop-archive .products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 64px;
}
@media (max-width: 1023px) {
  .shop-archive .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 639px) {
  .shop-archive .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.shop-archive .product-card {
  width: 100%;
}
.shop-archive .product-card .card-image {
  aspect-ratio: 1;
  overflow: hidden;
  margin-bottom: 1.5rem;
  background: var(--zinc-100);
}
.shop-archive .product-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease-out;
}
.shop-archive .product-card:hover .card-image img {
  transform: scale(1.05);
}

/* ===== Paginacja (WooCommerce) ===== */
.pastelier-pagination {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}
.pastelier-pagination nav,
.pastelier-pagination .woocommerce-pagination,
.pastelier-pagination nav ul,
.pastelier-pagination .page-numbers {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1rem;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  box-shadow: none !important;
}
.pastelier-pagination nav ul li,
.pastelier-pagination .page-numbers li {
  display: flex;
  align-items: center;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  box-shadow: none !important;
}
.pastelier-pagination a,
.pastelier-pagination span.page-numbers {
  display: inline-flex !important;
  align-items: center;
  padding: 0.5rem !important;
  color: #000 !important;
  text-decoration: none !important;
  border: none !important;
  background: none !important;
  background-color: transparent !important;
  font-family: var(--font-body) !important;
  font-size: 14px !important;
  font-weight: 400;
  line-height: 1;
  box-shadow: none !important;
  outline: none !important;
}
.pastelier-pagination a:hover {
  opacity: 0.7;
}
.pastelier-pagination span.current {
  font-weight: 700 !important;
  border: none !important;
  background: none !important;
  background-color: transparent !important;
  color: #000 !important;
  line-height: 1;
  vertical-align: middle;
}

/* ===== Single Product ===== */
.single-product-section {
  background: #fff;
  padding: 6rem 0 4rem;
}
.single-product-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.single-product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.single-product-gallery {
  flex-shrink: 0;
}
.product-gallery-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background: var(--zinc-100);
  overflow: hidden;
}
.product-gallery-slide {
  display: none;
  width: 100%;
  height: 100%;
}
.product-gallery-slide:first-child { display: block; }
.product-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-gallery-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
  font-size: 14px;
}
.product-gallery-prev,
.product-gallery-next {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  background: #000;
  color: #fff;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-gallery-prev:hover,
.product-gallery-next:hover {
  background: var(--color-accent);
  color: #000;
}
.single-product-summary {
  flex: 1;
  min-width: 280px;
}
.single-product-title {
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 2px;
  margin: 0 0 1rem;
  color: #000;
  text-transform: uppercase;
}
.single-product-price {
  font-size: 18px;
  margin-bottom: 1.5rem;
  color: #000;
}
.single-product-add-to-cart .quantity {
  margin-bottom: 1rem;
}
/* Przycisk Dodaj do koszyka – taki sam styl jak Zastosuj filtry */
.single-product-add-to-cart .single_add_to_cart_button,
.single-product-add-to-cart .single-product-checkout,
.single-product-add-to-cart .cart .single_add_to_cart_button,
#single-product-kasa-btn {
  display: inline-block;
  padding: 12px 24px;
  margin-right: 12px;
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
#single-product-kasa-btn { margin-right: 0; }
.single-product-add-to-cart .single_add_to_cart_button,
.single-product-add-to-cart .cart .single_add_to_cart_button,
.single-product-add-to-cart form.cart .single_add_to_cart_button {
  background: #000 !important;
  color: #fff !important;
  border: 1px solid #000 !important;
}
.single-product-add-to-cart .single_add_to_cart_button:hover {
  background: var(--color-accent) !important;
  color: #000 !important;
}
/* Przycisk Kasa – transparent, czarna ramka, czarny tekst */
.single-product-add-to-cart .single-product-checkout,
.single-product-add-to-cart form.cart .single-product-checkout,
#single-product-kasa-btn {
  background: transparent !important;
  border: 1px solid #000 !important;
  color: #000 !important;
}
.single-product-add-to-cart .single-product-checkout:hover,
#single-product-kasa-btn:hover {
  background: var(--color-accent) !important;
  border-color: var(--color-accent) !important;
  color: #000 !important;
}
.single-product-outofstock {
  margin: 1rem 0;
  color: var(--zinc-500);
}
/* Kwadraciki wariantów kolorystycznych – upsells z polem koloru swatch */
.single-product-color-swatches {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.single-product-color-swatches-label {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--zinc-800);
}
.single-product-color-swatches-list {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.single-product-color-swatch {
  display: block;
  width: 28px;
  height: 28px;
  border: 1px solid var(--zinc-200);
  transition: transform 0.2s, box-shadow 0.2s;
}
.single-product-color-swatch:hover {
  transform: scale(1.08);
  box-shadow: 0 0 0 1px var(--zinc-400);
}
.single-product-color-swatch--current {
  box-shadow: 0 0 0 2px #000;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.single-product-accordions {
  margin-top: 2rem;
  border-top: 1px solid var(--zinc-200);
}
.single-product-accordion {
  border-bottom: 1px solid var(--zinc-200);
}
.single-product-accordion-trigger {
  width: 100%;
  padding: 1rem 0;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #000;
}
.single-product-accordion-trigger::after {
  content: '+';
  font-size: 1.25rem;
}
.single-product-accordion.is-open .single-product-accordion-trigger::after {
  content: '−';
}
.single-product-accordion-content {
  max-height: 0;
  overflow: hidden;
  padding-bottom: 0;
  font-size: 14px;
  line-height: 1.6;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding-bottom 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.single-product-accordion-content[aria-hidden="false"] {
  max-height: 600px;
  padding-bottom: 1rem;
}
.single-product-accordion-content p { margin: 0 0 0.75rem; }
.single-product-accordion-content p:last-child { margin-bottom: 0; }
.single-product-accordion-content ul,
.single-product-accordion-content ol { margin: 0 0 0.75rem; padding-left: 1.25rem; }
.single-product-accordion-content li { margin-bottom: 0.25rem; }
.single-product-accordion-content strong { font-weight: 600; }
.single-product-accordion-content em { font-style: italic; }
.single-product-accordion-content h2,
.single-product-accordion-content h3 { margin: 1rem 0 0.5rem; font-size: 1rem; font-weight: 600; }
.single-product-accordion-content h2:first-child,
.single-product-accordion-content h3:first-child { margin-top: 0; }
.single-product-accordion-content .woocommerce-product-attributes { margin: 0; }
.single-product-accordion-content .woocommerce-product-attributes th,
.single-product-accordion-content .woocommerce-product-attributes td {
  padding: 0.5rem 1rem 0.5rem 0;
  border: none;
  font-size: 14px;
}
.single-product-accordion-content .woocommerce-product-attributes th {
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.single-product-related {
  padding-top: 4rem;
}
.single-product-related .scroll-row {
  padding-bottom: 2rem;
}
@media (max-width: 767px) {
  .single-product-grid {
    flex-direction: column;
    gap: 1.5rem;
  }
  .single-product-gallery,
  .single-product-summary {
    width: 100% !important;
  }
}

/* ===== Container (tylko gdzie potrzebny) ===== */
.container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 768px) {
  .container { padding: 0 3rem; }
}

/* ===== Ścieżka zakupowa – koszyk, kasa, potwierdzenie ===== */
.checkout-steps {
  padding: 2rem 1.5rem 1.5rem;
  border-bottom: 1px solid var(--zinc-200);
}
@media (min-width: 768px) {
  .checkout-steps { padding: 2rem 3rem 1.5rem; }
}
.checkout-steps-inner {
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.checkout-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--zinc-400);
  text-decoration: none;
}
.checkout-step:last-child { color: var(--zinc-400); }
.checkout-step-num {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--zinc-200);
  color: inherit;
}
.checkout-step.is-active,
.checkout-step.is-active .checkout-step-num {
  color: #000;
  border-color: #000;
  background: transparent;
}
.checkout-step.is-active .checkout-step-num {
  background: #000;
  color: #fff;
  border-color: #000;
}
.checkout-step.is-done .checkout-step-num {
  background: #000;
  color: #fff;
  border-color: #000;
}
.checkout-step.is-done { color: #000; }
.checkout-step-line {
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: var(--zinc-200);
  margin: 0 0.5rem;
}
.checkout-step.is-done + .checkout-step-line,
.checkout-step.is-active + .checkout-step-line {
  background: var(--zinc-400);
}
.woocommerce-cart .checkout-steps,
.hentry .checkout-steps {
  border-bottom-color: var(--zinc-200);
}
.hentry .checkout-steps {
  margin-bottom: 32px;
}

/* ===== Strona koszyka – Pastelier ===== */
.hentry h1 {
  display: none;
}
@media (min-width: 768px) {
  #content article {
    padding-top: 24px;
  }
}

.woocommerce-cart .woocommerce {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 768px) {
  .woocommerce-cart .woocommerce { padding: 0 3rem; }
}
/* Usuń wszystkie ramki */
.woocommerce-cart .woocommerce-cart-form,
.woocommerce-cart .shop_table.cart,
.woocommerce-cart .shop_table.cart th,
.woocommerce-cart .shop_table.cart td,
.woocommerce-cart .cart_totals,
.woocommerce-cart .cart_totals h2,
.woocommerce-cart .cart_totals table th,
.woocommerce-cart .cart_totals table td,
.woocommerce-cart .coupon,
.woocommerce-cart .coupon .form-row,
.woocommerce-cart input[type="text"],
.woocommerce-cart .button {
  border: none !important;
  box-shadow: none !important;
  background: none !important;
}
/* Nagłówki tabeli: Produkt, Cena, Ilość, Kwota – 10px regular uppercase */
.woocommerce-cart .shop_table.cart thead th {
  font-size: 10px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 1rem 0.5rem;
}
/* Produkty – linia oddzielająca */
.woocommerce-cart .shop_table.cart tbody tr {
  border-top: 1px solid var(--zinc-200);
}
.woocommerce-cart .shop_table.cart tbody tr:first-child {
  border-top: none;
}
/* Zdjęcie produktu 100x100px */
.woocommerce-cart .product-thumbnail img {
  width: 100px !important;
  height: 100px !important;
  object-fit: cover;
}
.woocommerce-cart .product-thumbnail {
  width: 100px;
}
/* Nazwa produktu – uppercase 12px */
.woocommerce-cart .product-name,
.woocommerce-cart .product-name a {
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
}
/* Cena i kwota produktu – 12px */
.woocommerce-cart .product-price bdi,
.woocommerce-cart .product-subtotal bdi {
  font-size: 12px;
}
/* Kwota, Paczka, Łącznie – heading podsumowania */
.woocommerce-cart .cart_totals h2,
.woocommerce-cart .cart-collaterals .cart_totals h2 {
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.woocommerce-cart .cart-collaterals .cart_totals .shop_table {
  margin-bottom: 0 !important;
}
.woocommerce-cart .cart-collaterals .cart_totals .wc-proceed-to-checkout {
  padding-top: 0;
}
.woocommerce-cart .cart_totals table th,
.woocommerce-cart .cart_totals .cart-subtotal th,
.woocommerce-cart .cart_totals .woocommerce-shipping-totals th,
.woocommerce-cart .cart_totals .order-total th {
  font-size: 10px;
  font-weight: 400 !important;
  text-transform: uppercase;
}
.woocommerce-cart .cart-subtotal td bdi {
  font-size: 12px;
}
.woocommerce-cart #shipping_method li label {
  font-size: 12px;
}
.woocommerce-cart .woocommerce-shipping-totals td p {
  font-size: 12px;
}
.woocommerce-cart .woocommerce-shipping-totals td strong {
  font-weight: 500;
}
.woocommerce-cart .order-total td bdi {
  font-size: 14px;
  font-weight: 400;
}
/* Kupon – wyrównanie input i button */
.woocommerce-cart .coupon {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.woocommerce-cart .coupon .form-row-first,
.woocommerce-cart .coupon .form-row-last {
  margin: 0;
  flex: 0 0 auto;
}
.woocommerce-cart .coupon input {
  padding: 0.5rem 0.75rem;
  min-height: 40px;
}
.woocommerce-cart #coupon_code {
  border: 1px solid #d4d4d4 !important;
  border-style: solid !important;
  background: #fff !important;
  text-transform: uppercase;
  font-size: 10px;
  padding: 12px !important;
  width: 100px !important;
  text-align: center;
  font-family: var(--font-heading);
}
.woocommerce-cart .coupon .button {
  font-weight: 400;
  font-size: 12px;
  text-transform: uppercase;
  text-decoration: underline;
}
/* Zaktualizuj koszyk i przyciski w tabeli – text link */
.woocommerce-cart .cart tr .button,
.woocommerce-cart .button[name="update_cart"] {
  padding: 0;
  font-size: 12px !important;
  font-weight: 400;
  text-transform: uppercase;
  text-decoration: underline;
  background: none !important;
  border: none !important;
  color: inherit;
}
.woocommerce-cart .cart tr .button:hover,
.woocommerce-cart .button[name="update_cart"]:hover {
  text-decoration: underline;
  opacity: 0.8;
}
/* Przejdź do płatności – czarny, uppercase, regular */
.woocommerce-cart .wc-proceed-to-checkout .checkout-button,
.woocommerce-cart .wc-proceed-to-checkout a,
.woocommerce-cart a.checkout-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: #000 !important;
  color: #fff !important;
  border: none !important;
  font-size: 14px !important;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover,
.woocommerce-cart a.checkout-button:hover {
  background: var(--color-accent) !important;
  color: #000 !important;
}

/* ===== Strona kasy (checkout) – Pastelier ===== */
.woocommerce-checkout .woocommerce {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 768px) {
  .woocommerce-checkout .woocommerce { padding: 0 3rem; }
}

/* Layout: Dane rozliczeniowe po lewej, Wysłać pod inny adres + Twoje zamówienie po prawej */
/* Proporcje 7:5 jak na starej stronie Pastelier (col-md-7 / col-md-5) */
.woocommerce-checkout .pastelier-checkout-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .woocommerce-checkout .pastelier-checkout-columns {
    grid-template-columns: 7fr 5fr;
    align-items: start;
    gap: 2rem 3rem;
  }
}

/* Nagłówki sekcji – 14px uppercase, spójnie z koszykiem */
.woocommerce-checkout #customer_details h3,
.woocommerce-checkout #order_review_heading {
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 1rem;
}
.woocommerce-checkout .col-2 h3 {
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
}
/* Tabela zamówienia – bez ramek, linie między produktami */
.woocommerce-checkout .woocommerce-checkout-review-order-table,
.woocommerce-checkout .woocommerce-checkout-review-order-table th,
.woocommerce-checkout .woocommerce-checkout-review-order-table td {
  border: none !important;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table thead th {
  font-size: 10px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 1rem 0.5rem;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table tbody tr {
  border-top: 1px solid var(--zinc-200);
}
.woocommerce-checkout .woocommerce-checkout-review-order-table .product-name {
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table bdi {
  font-size: 12px;
}
.woocommerce-checkout .order-total bdi {
  font-size: 14px;
  font-weight: 400;
}
/* Pola formularza checkout – tylko dolna linia (underline) */
.woocommerce-checkout .form-row label {
  font-size: 12px;
  font-weight: 400;
}
.woocommerce-checkout .form-row input[type="text"],
.woocommerce-checkout .form-row input[type="email"],
.woocommerce-checkout .form-row input[type="tel"],
.woocommerce-checkout .form-row input[type="number"],
.woocommerce-checkout .form-row input[type="password"],
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
  font-size: 12px;
  background: transparent;
  border: none;
  border-bottom: 1px solid #d4d4d4;
  border-radius: 0;
  padding: 0.5rem 0 0.75rem;
}
.woocommerce-checkout .form-row input[type="text"]:focus,
.woocommerce-checkout .form-row input[type="email"]:focus,
.woocommerce-checkout .form-row input[type="tel"]:focus,
.woocommerce-checkout .form-row input[type="number"]:focus,
.woocommerce-checkout .form-row input[type="password"]:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .form-row textarea:focus {
  border-bottom-color: #000;
  outline: none;
}
/* Lewa kolumna: col-1 i col-2 jeden pod drugim (nie obok) */
.woocommerce-checkout .pastelier-checkout-left .col2-set {
  display: block;
}
.woocommerce-checkout .pastelier-checkout-left .col-1,
.woocommerce-checkout .pastelier-checkout-left .col-2 {
  float: none;
  width: 100%;
}
/* Odstęp między "Dane rozliczeniowe" a "Wysłać pod inny adres" */
.woocommerce-checkout .pastelier-checkout-left .col-2 {
  margin-top: 2rem;
}
/* Checkbox "Wysłać pod inny adres" */
.woocommerce-checkout .shipping_address {
  margin-top: 1rem;
}
.woocommerce-checkout #ship-to-different-address {
  accent-color: #000;
}
.woocommerce-checkout #ship-to-different-address-checkbox + label {
  font-size: 12px;
  text-transform: uppercase;
}
/* Płatności, zamówienie */
.woocommerce-checkout .payment_methods {
  border: none !important;
  padding: 0;
}
.woocommerce-checkout .payment_methods li {
  border-top: 1px solid var(--zinc-200);
  padding: 1rem 0;
}
.woocommerce-checkout .payment_methods li:first-child {
  border-top: none;
}
.woocommerce-checkout .payment_methods li label {
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 400;
}
/* Przycisk Złóż zamówienie – czarny, uppercase, jak w koszyku */
.woocommerce-checkout #place_order {
  display: inline-block;
  padding: 1rem 2rem;
  background: #000 !important;
  color: #fff !important;
  border: none !important;
  font-size: 14px !important;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.woocommerce-checkout #place_order:hover {
  background: var(--color-accent) !important;
  color: #000 !important;
}

/* Checkout – doprecyzowania stylów */
.woocommerce-checkout .col-1 .pastelier-checkout-section h3,
.woocommerce-checkout .col-2 .pastelier-checkout-section h3 {
  font-weight: 600 !important;
}
.woocommerce-checkout #order_review_heading {
  font-weight: 600 !important;
}
.woocommerce-checkout #billing_country_field .woocommerce-input-wrapper span span span span {
  border-top-color: transparent;
  font-size: 12px;
  padding-left: 0;
}
.woocommerce-checkout #billing_country_field .woocommerce-input-wrapper span span span {
  border-top-style: none;
  border-right-style: none;
  border-left-style: none;
}
.woocommerce-checkout #order_review {
  background-color: #f9f9f9;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table thead .product-total {
  text-align: right;
  font-weight: 600 !important;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table tbody .product-total {
  text-align: right;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table .cart-subtotal td {
  font-weight: 500 !important;
  text-align: right;
}
.woocommerce-checkout #shipping_method li {
  text-align: right;
  font-size: 10px;
  text-transform: uppercase;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total td {
  text-align: right;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table .cart-subtotal th,
.woocommerce-checkout .woocommerce-checkout-review-order-table .woocommerce-shipping-totals th,
.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total th {
  font-size: 12px;
  font-weight: 600 !important;
  text-transform: uppercase;
}
.woocommerce-checkout #shipping_method li label {
  font-weight: 400;
}
.woocommerce-checkout .cart-subtotal td bdi {
  font-weight: 400;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table thead .product-name {
  font-weight: 600 !important;
}
.woocommerce-checkout #payment {
  background-color: transparent !important;
}
.woocommerce-checkout .wc_payment_methods .payment_box .checkbox {
  text-transform: none;
}
.woocommerce-checkout .hentry .wc_payment_methods .wc_payment_method .payment_box .p24-payment-container .woocommerce-input-wrapper .checkbox {
  line-height: 1.2em !important;
}
.woocommerce-checkout .wc_payment_methods label img {
  display: none;
}
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .woocommerce-privacy-policy-text p {
  font-size: 12px;
}
.woocommerce-checkout #place_order {
  width: 100% !important;
}
.woocommerce-checkout .order-total td bdi {
  font-weight: 600 !important;
}
.woocommerce-checkout #order_comments {
  border-left: none;
  border-right: none;
  border-top: none;
  border-bottom: 1px solid #dbdbdb;
  padding-top: 16px;
}

/* Płatności – Przelewy24 raty wyłączone, PayPal, payment box */
.woocommerce-checkout #payment .wc_payment_methods .wc_payment_method:nth-child(1) {
  display: none;
}
.woocommerce-checkout .wc_payment_methods label .about_paypal {
  display: none;
}
.woocommerce-checkout .wc_payment_methods .payment_box p {
  font-size: 12px;
}
.woocommerce-checkout .wc_payment_methods .wc_payment_method .payment_box p {
  line-height: 1.2em !important;
}
.woocommerce-checkout .wc_payment_methods .payment_box .p24-payment-container .woocommerce-input-wrapper .checkbox {
  line-height: 1.2em !important;
}
.woocommerce-checkout .wc_payment_methods fieldset label {
  text-transform: none !important;
  line-height: 1.2em !important;
}

/* ===== Strona podsumowania zamówienia (order-received) – Pastelier ===== */
.woocommerce-order-received .woocommerce,
.woocommerce-order-received .woocommerce-order {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 768px) {
  .woocommerce-order-received .woocommerce,
  .woocommerce-order-received .woocommerce-order {
    padding: 0 3rem;
  }
}
.woocommerce-order-received .hentry h1 {
  display: none;
}
.pastelier-order-summary .pastelier-order-summary-wrap {
  max-width: 80rem;
  margin: 0 auto;
  padding: 2rem 1.5rem 5rem;
}
@media (min-width: 768px) {
  .pastelier-order-summary .pastelier-order-summary-wrap {
    padding: 3rem 3rem 6rem;
  }
}

.pastelier-order-summary .pastelier-order-confirm-message {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--zinc-200);
}
.pastelier-order-summary .pastelier-order-confirm-message h1 {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 2px;
  margin: 0 0 0.5rem;
}
@media (min-width: 768px) {
  .pastelier-order-summary .pastelier-order-confirm-message h1 {
    font-size: 1.5rem;
  }
}
.pastelier-order-summary .pastelier-order-confirm-message p {
  font-size: 14px;
  color: var(--zinc-600);
  margin: 0;
}
.pastelier-order-summary .pastelier-order-number {
  font-weight: 500;
  color: #000;
}

.pastelier-order-summary-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem 3rem;
}
@media (min-width: 768px) {
  .pastelier-order-summary-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.pastelier-order-summary-section {
  background: var(--zinc-50);
  padding: 1.5rem;
}
@media (min-width: 768px) {
  .pastelier-order-summary-section {
    padding: 2rem;
  }
}
.pastelier-order-summary-section h3 {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--zinc-200);
}

.pastelier-order-details-full {
  grid-column: 1 / -1;
}

.pastelier-order-summary .pastelier-order-details-table,
.pastelier-order-summary .pastelier-order-details-table th,
.pastelier-order-summary .pastelier-order-details-table td {
  border: none !important;
}
.pastelier-order-summary .pastelier-order-details-table thead th {
  font-size: 10px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 1rem 0.5rem;
  text-align: left;
}
.pastelier-order-summary .pastelier-order-details-table thead .product-total {
  text-align: right;
  font-weight: 500;
}
.pastelier-order-summary .pastelier-order-details-table tbody tr {
  border-top: 1px solid var(--zinc-200) !important;
}
.pastelier-order-summary .pastelier-order-details-table tbody td {
  padding: 1rem 0.5rem;
  font-size: 12px;
  text-transform: uppercase;
  vertical-align: top;
}
.pastelier-order-summary .pastelier-order-details-table .product-name {
  font-weight: 400;
}
.pastelier-order-summary .pastelier-product-info {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.pastelier-order-summary .pastelier-product-thumbnail {
  width: 60px;
  height: 60px;
  overflow: hidden;
  background: var(--zinc-200);
  flex-shrink: 0;
}
.pastelier-order-summary .pastelier-product-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pastelier-order-summary .pastelier-product-qty {
  font-size: 10px;
  color: var(--zinc-500);
  font-weight: 400;
  margin-top: 0.25rem;
}
.pastelier-order-summary .pastelier-product-info .wc-item-meta,
.pastelier-order-summary .pastelier-product-info .variation {
  font-size: 10px;
  color: var(--zinc-500);
  margin-top: 0.25rem;
  text-transform: none;
}
.pastelier-order-summary .pastelier-order-details-table .product-total {
  text-align: right;
  font-weight: 400;
}
.pastelier-order-summary .pastelier-order-details-table tfoot th,
.pastelier-order-summary .pastelier-order-details-table tfoot td {
  font-size: 12px;
  text-transform: uppercase;
  padding: 0.5rem 0.5rem;
  border: none !important;
}
.pastelier-order-summary .pastelier-order-details-table .pastelier-total-row th,
.pastelier-order-summary .pastelier-order-details-table .pastelier-total-row td {
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--zinc-200) !important;
  font-size: 14px;
  font-weight: 500;
}
.pastelier-order-summary .pastelier-order-details-table .pastelier-total-row td bdi {
  font-weight: 600 !important;
}
.pastelier-order-summary .pastelier-address-block {
  font-size: 12px;
  line-height: 1.6;
  color: var(--zinc-800);
}
.pastelier-order-summary .pastelier-address-block p,
.pastelier-order-summary .pastelier-address-block address {
  margin: 0 0 0.25rem;
}
.pastelier-order-summary .pastelier-address-block strong {
  font-weight: 500;
  color: #000;
}
.pastelier-order-summary .pastelier-order-summary-actions {
  margin-top: 2rem;
  text-align: center;
}
.pastelier-order-summary .pastelier-order-summary-actions .pastelier-btn-shop {
  display: inline-block;
  padding: 1rem 2rem;
  background: #000 !important;
  color: #fff !important;
  border: none !important;
  font-size: 14px !important;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background 0.3s, color 0.3s;
}
.pastelier-order-summary .pastelier-order-summary-actions .pastelier-btn-shop:hover {
  background: var(--color-accent) !important;
  color: #000 !important;
}

/* ===== Strona Moje konto (woocommerce-account) – Pastelier ===== */
.woocommerce-account .woocommerce,
.woocommerce-account .pastelier-myaccount-wrap {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 768px) {
  .woocommerce-account .woocommerce,
  .woocommerce-account .pastelier-myaccount-wrap {
    padding: 0 3rem;
  }
}
.woocommerce-account .hentry h1 {
  display: none;
}

.pastelier-myaccount-wrap {
  padding: 2rem 0 5rem;
}
@media (min-width: 768px) {
  .pastelier-myaccount-wrap {
    padding: 3rem 0 6rem;
  }
}

.pastelier-myaccount-title {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 2px;
  margin: 0 0 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--zinc-200);
}
@media (min-width: 768px) {
  .pastelier-myaccount-title {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
  }
}

.hentry .pastelier-myaccount-wrap .pastelier-myaccount-columns,
.pastelier-myaccount-columns {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
@media (min-width: 768px) {
  .hentry .pastelier-myaccount-wrap .pastelier-myaccount-columns,
  .pastelier-myaccount-columns {
    flex-direction: row;
    gap: 3rem;
    align-items: flex-start;
  }
  .hentry .pastelier-myaccount-wrap .pastelier-myaccount-nav,
  .pastelier-myaccount-nav {
    flex: 0 0 220px;
  }
  .hentry .pastelier-myaccount-wrap .woocommerce-MyAccount-content,
  .pastelier-myaccount-content {
    flex: 1;
  }
}

/* Nawigacja My Account */
.pastelier-myaccount-nav {
  background: var(--zinc-50);
  padding: 1.5rem;
}
@media (min-width: 768px) {
  .pastelier-myaccount-nav {
    position: sticky;
    top: 110px;
  }
}
.pastelier-myaccount-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
@media (min-width: 768px) {
  .pastelier-myaccount-nav-list {
    flex-direction: column;
    gap: 0;
  }
}
.pastelier-myaccount-nav-item a {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--zinc-600);
  transition: color 0.2s, background 0.2s;
}
@media (min-width: 768px) {
  .pastelier-myaccount-nav-item a {
    padding: 1rem;
  }
}
.pastelier-myaccount-nav-item a:hover {
  color: #000;
  background: var(--zinc-100);
}
.pastelier-myaccount-nav-item.is-active a,
.woocommerce-MyAccount-navigation .is-active a {
  color: #000;
  background: #fff;
  border: 1px solid var(--zinc-200);
  border-left: 2px solid #000;
  font-weight: 500;
}
@media (min-width: 768px) {
  .pastelier-myaccount-nav-item.is-active a,
  .woocommerce-MyAccount-navigation .is-active a {
    border-left-width: 3px;
  }
}

/* Sekcje */
.pastelier-section-title {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--zinc-200);
}

.pastelier-dashboard-welcome {
  margin-bottom: 2rem;
}
.pastelier-dashboard-welcome p {
  font-size: 14px;
  color: var(--zinc-800);
  margin: 0 0 0.5rem;
}
.pastelier-dashboard-welcome a {
  text-decoration: underline;
}
.pastelier-dashboard-welcome a:hover {
  color: var(--color-accent);
}

/* Tabela zamówień */
.pastelier-orders-table,
.woocommerce-account .woocommerce-MyAccount-orders {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.pastelier-orders-table thead th,
.woocommerce-account .woocommerce-MyAccount-orders thead th {
  font-size: 10px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 1rem 0.5rem;
  text-align: left;
  border: none !important;
  border-bottom: 1px solid var(--zinc-200) !important;
}
.pastelier-orders-table tbody tr,
.woocommerce-account .woocommerce-MyAccount-orders tbody tr {
  border-bottom: 1px solid var(--zinc-200);
}
.pastelier-orders-table tbody td,
.pastelier-orders-table tbody th,
.woocommerce-account .woocommerce-MyAccount-orders tbody td,
.woocommerce-account .woocommerce-MyAccount-orders tbody th {
  padding: 1rem 0.5rem;
  text-transform: uppercase;
  border: none !important;
}
.pastelier-orders-table tbody tr:hover,
.woocommerce-account .woocommerce-MyAccount-orders tbody tr:hover {
  background: var(--zinc-50);
}
.pastelier-orders-table .order-number a,
.woocommerce-account .woocommerce-MyAccount-orders .order-number a {
  font-weight: 500;
}
.pastelier-orders-table .order-number a:hover,
.woocommerce-account .woocommerce-MyAccount-orders .order-number a:hover {
  color: var(--color-accent);
}
.woocommerce-account .woocommerce-MyAccount-orders .order-status {
  font-size: 10px;
}
.pastelier-orders-empty {
  padding: 2rem 0;
  font-size: 14px;
  color: var(--zinc-500);
  text-transform: none;
}
.pastelier-orders-empty .pastelier-btn-shop {
  text-decoration: underline;
}
.pastelier-orders-empty .pastelier-btn-shop:hover {
  color: var(--color-accent);
}
.pastelier-btn-link {
  font-size: 12px;
  text-decoration: underline;
  background: none !important;
  border: none !important;
  padding: 0;
}
.pastelier-btn-link:hover {
  color: var(--color-accent);
}
.pastelier-pagination {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
}
.pastelier-pagination .button {
  padding: 0.75rem 1.5rem;
  background: #000 !important;
  color: #fff !important;
  border: none !important;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}
.pastelier-pagination .button:hover {
  background: var(--color-accent) !important;
  color: #000 !important;
}

/* Adresy – karty */
.pastelier-addresses-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .pastelier-addresses-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.pastelier-address-card {
  background: var(--zinc-50);
  padding: 1.5rem;
}
.pastelier-address-card h3 {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--zinc-200);
}
.pastelier-address-block {
  font-size: 12px;
  line-height: 1.6;
  color: var(--zinc-800);
}
.pastelier-address-block p,
.pastelier-address-block address {
  margin: 0 0 0.25rem;
}
.pastelier-address-block strong {
  font-weight: 500;
  color: #000;
}
.pastelier-btn-edit {
  display: inline-block;
  margin-top: 1rem;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  text-decoration: underline;
}
.pastelier-btn-edit:hover {
  color: var(--color-accent);
}

/* Formularze edit-account, edit-address */
.woocommerce-account .woocommerce-address-fields__field-wrapper {
  display: block;
}
.woocommerce-account .woocommerce-address-fields .form-row-first,
.woocommerce-account .woocommerce-address-fields .form-row-last {
  width: 100%;
  float: none;
}
@media (min-width: 768px) {
  .woocommerce-account .woocommerce-address-fields .form-row-first {
    float: left;
    width: 48%;
    margin-right: 4%;
  }
  .woocommerce-account .woocommerce-address-fields .form-row-last {
    float: right;
    width: 48%;
    margin-right: 0;
  }
  .woocommerce-account .woocommerce-address-fields__field-wrapper::after {
    content: "";
    display: table;
    clear: both;
  }
}
.pastelier-edit-account-form .pastelier-form-row,
.pastelier-edit-address-form .pastelier-form-row,
.woocommerce-account .woocommerce-address-fields .form-row {
  margin-bottom: 1.5rem;
}
.pastelier-edit-account-form label,
.pastelier-edit-address-form label,
.woocommerce-account .woocommerce-address-fields label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.pastelier-edit-account-form input[type="text"],
.pastelier-edit-account-form input[type="email"],
.pastelier-edit-account-form input[type="password"],
.pastelier-edit-address-form input,
.woocommerce-account .woocommerce-address-fields input,
.woocommerce-account .woocommerce-address-fields select {
  width: 100%;
  max-width: 400px;
  padding: 0.75rem 0;
  font-size: 14px;
  border: none;
  border-bottom: 1px solid #d4d4d4;
  background: transparent;
  border-radius: 0;
}
.pastelier-edit-account-form input:focus,
.pastelier-edit-address-form input:focus,
.woocommerce-account .woocommerce-address-fields input:focus,
.woocommerce-account .woocommerce-address-fields select:focus {
  outline: none;
  border-bottom-color: #000;
}
.pastelier-edit-account-form .pastelier-fieldset {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--zinc-200);
}
.pastelier-edit-account-form .pastelier-fieldset legend {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.pastelier-form-actions {
  margin-top: 1.5rem;
}
.pastelier-btn-submit {
  display: inline-block;
  padding: 1rem 2rem;
  background: #000 !important;
  color: #fff !important;
  border: none !important;
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}
.pastelier-btn-submit:hover {
  background: var(--color-accent) !important;
  color: #000 !important;
}

/* Dashboard – recent orders (WooCommerce default) */
.woocommerce-account .woocommerce-MyAccount-content > h2 {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 2rem 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--zinc-200);
}

/* Pastelier myaccount – padding & layout breakpoints */
@media (max-width: 639px) {
  .hentry .woocommerce {
    padding-left: 0;
    padding-right: 0;
  }
  .hentry .pastelier-myaccount-wrap {
    padding-left: 0;
    padding-right: 0;
  }
  .pastelier-myaccount-wrap .pastelier-myaccount-columns nav {
    flex-direction: column;
  }
  .pastelier-myaccount-columns .woocommerce-MyAccount-navigation ul {
    flex-direction: column;
  }
}

@media (min-width: 768px) {
  #content .hentry .container {
    padding-left: 0;
    padding-right: 0;
  }
  .hentry .woocommerce {
    padding-left: 0;
    padding-right: 0;
  }
  .hentry .pastelier-myaccount-wrap {
    padding-left: 0;
    padding-right: 0;
  }
}

/* ===== Strona kontakt ===== */
.page-contact {
  padding: 3rem 0 5rem;
}
@media (min-width: 768px) {
  .page-contact {
    padding: 4rem 0 6rem;
  }
}
.page-contact .contact-wrap {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 768px) {
  .page-contact .contact-wrap {
    padding: 0 3rem;
  }
}

.contact-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 768px) {
  .contact-columns {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
  }
}

.contact-section-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}
.contact-section-desc {
  font-size: 14px;
  color: var(--zinc-600);
  margin: 0 0 2rem;
}

/* Formularz kontaktowy – CF7 + fallback */
.page-contact .wpcf7-form label,
.contact-fallback-form label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.page-contact .wpcf7-form input[type="text"],
.page-contact .wpcf7-form input[type="email"],
.page-contact .wpcf7-form textarea,
.contact-fallback-form input[type="text"],
.contact-fallback-form input[type="email"],
.contact-fallback-form textarea {
  width: 100%;
  padding: 0.75rem 0;
  font-size: 14px;
  font-family: var(--font-body);
  border: none;
  border-bottom: 1px solid #d4d4d4;
  background: transparent;
  margin-bottom: 1.5rem;
}
.page-contact .wpcf7-form input:focus,
.page-contact .wpcf7-form textarea:focus,
.contact-fallback-form input:focus,
.contact-fallback-form textarea:focus {
  outline: none;
  border-bottom-color: #000;
}
.page-contact .wpcf7-form textarea,
.contact-fallback-form textarea {
  resize: vertical;
  min-height: 120px;
}
.contact-form-row {
  margin-bottom: 1.5rem;
}
.contact-form-consent,
.contact-form-consent label {
  font-size: 12px;
  line-height: 1.2rem;
  color: var(--zinc-600);
  text-transform: none;
  font-weight: 400;
  letter-spacing: 0;
}
.contact-form-consent input[type="checkbox"] {
  accent-color: #000;
  margin-right: 0.5rem;
  vertical-align: top;
  margin-top: 0.15rem;
}
.contact-form-actions {
  margin-top: 1.5rem;
}
.contact-btn-submit,
.page-contact .wpcf7-form input[type="submit"],
.page-contact .wpcf7-form .wpcf7-submit {
  display: inline-block;
  padding: 1rem 2rem;
  background: #000 !important;
  color: #fff !important;
  border: none !important;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}
.contact-btn-submit:hover,
.page-contact .wpcf7-form input[type="submit"]:hover,
.page-contact .wpcf7-form .wpcf7-submit:hover {
  background: var(--color-accent) !important;
  color: #000 !important;
}

/* FAQ akordeony – reuse ze strony produktu */
.contact-faq-accordions {
  border-top: 1px solid var(--zinc-200);
}

