/* 
* igulagroup - Główny arkusz stylów 
* Autor: igula.pl
* Wersja: 1.0
*/

/* ===== Resetowanie stylów i zmienne ===== */
:root {
  --primary-color: #3f51b5;
  --primary-dark: #303f9f;
  --primary-light: #c5cae9;
  --accent-color: #ff9800;
  --accent-dark: #f57c00;
  --text-primary: #212121;
  --text-secondary: #757575;
  --text-white: #ffffff;
  --background-light: #f5f5f5;
  --background-white: #ffffff;
  --border-color: #e0e0e0;
  --error-color: #f44336;
  --success-color: #4caf50;
  --warning-color: #ff9800;
  --info-color: #2196f3;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
  --transition-fast: 200ms ease;
  --transition-normal: 300ms ease;
  --transition-slow: 500ms ease;
  --container-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--background-light);
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: color var(--transition-fast);
}

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

ul {
  list-style: none;
}

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

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

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

/* ===== Typografia ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.5em;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1rem;
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 1rem;
  color: var(--primary-color);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--accent-color);
}

/* ===== Przyciski ===== */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  outline: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--text-white);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: var(--text-white);
}

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

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--text-white);
}

.btn-accent {
  background-color: var(--accent-color);
  color: var(--text-white);
}

.btn-accent:hover {
  background-color: var(--accent-dark);
}

/* ===== Header i Nawigacja ===== */
.site-header {
  background-color: var(--background-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  position: relative;
}

.logo a {
  display: flex;
  align-items: center;
}

.logo h1 {
  font-size: 1.5rem;
  margin: 0;
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

.main-nav ul {
  display: flex;
}

.main-nav li {
  position: relative;
  margin-right: 1.5rem;
}

.main-nav a {
  color: var(--text-primary);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width var(--transition-normal);
}

.main-nav a:hover::after, 
.main-nav a.active::after {
  width: 100%;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--background-white);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-normal);
  z-index: 10;
}

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

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--text-primary);
}

.dropdown-menu a:hover {
  background-color: var(--primary-light);
}

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

.language-selector {
  position: relative;
  margin-right: 1.5rem;
}

.current-language {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast);
}

.current-language:hover {
  background-color: var(--background-light);
}

.flag-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-right: 5px;
  object-fit: cover;
}

.language-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: var(--background-white);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
  width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-normal);
  z-index: 10;
}

.language-selector:hover .language-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-dropdown li {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.language-dropdown li:hover {
  background-color: var(--primary-light);
}

.language-dropdown img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-right: 10px;
  object-fit: cover;
}

.user-actions {
  display: flex;
}

.btn-account, .btn-cart {
  display: flex;
  align-items: center;
  color: var(--text-primary);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  margin-left: 1rem;
  transition: background-color var(--transition-fast);
}

.btn-account:hover, .btn-cart:hover {
  background-color: var(--background-light);
  color: var(--primary-color);
}

.btn-account i, .btn-cart i {
  margin-right: 0.5rem;
}

.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent-color);
  color: var(--text-white);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 0.75rem;
  margin-left: 0.5rem;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.mobile-menu-toggle span {
  width: 100%;
  height: 3px;
  background-color: var(--text-primary);
  transition: all var(--transition-fast);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100vh;
  background-color: var(--background-white);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transition: right var(--transition-normal);
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.close-mobile-menu {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--text-primary);
  cursor: pointer;
}

.mobile-nav ul {
  margin: 1rem 0;
}

.mobile-nav a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
}

.mobile-nav a:hover, .mobile-nav a.active {
  background-color: var(--primary-light);
}

.mobile-submenu {
  padding-left: 1rem;
  display: none;
}

.mobile-nav li.active .mobile-submenu {
  display: block;
}

.mobile-language-selector {
  padding: 1rem;
  border-top: 1px solid var(--border-color);
}

.mobile-language-selector h4 {
  margin-bottom: 0.5rem;
}

.mobile-language-selector li {
  display: flex;
  align-items: center;
  padding: 0.5rem 0;
  cursor: pointer;
}

.mobile-language-selector img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-right: 10px;
  object-fit: cover;
}

/* ===== Hero Banner ===== */
.hero-banner {
  background: linear-gradient(rgba(63, 81, 181, 0.8), rgba(63, 81, 181, 0.8)), url('../images/hero/hero-banner.jpg');
  background-size: cover;
  background-position: center;
  color: var(--text-white);
  padding: 5rem 0;
  text-align: center;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-buttons .btn {
  min-width: 150px;
}

/* ===== Featured Categories ===== */
.featured-categories {
  padding: 4rem 0;
  background-color: var(--background-white);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.category-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.category-image {
  height: 200px;
  overflow: hidden;
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.category-title {
  padding: 1rem 1rem 0.5rem;
  color: var(--text-primary);
}

.category-description {
  padding: 0 1rem 1rem;
  color: var(--text-secondary);
}

/* ===== Featured Products ===== */
.featured-products {
  padding: 4rem 0;
  background-color: var(--background-light);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

.product-card {
  background-color: var(--background-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
}

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

.product-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 1;
}

.badge-new {
  background-color: var(--info-color);
  color: var(--text-white);
}

.badge-sale {
  background-color: var(--error-color);
  color: var(--text-white);
}

.product-info {
  padding: 1rem;
}

.product-category {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}

.product-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.product-price {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.current-price {
  font-weight: 700;
  color: var(--primary-color);
}

.old-price {
  text-decoration: line-through;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.product-actions {
  display: flex;
  justify-content: space-between;
}

.add-to-cart {
  flex: 1;
  background-color: var(--primary-color);
  color: var(--text-white);
  border: none;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.add-to-cart:hover {
  background-color: var(--primary-dark);
}

.wishlist-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--background-light);
  border: none;
  border-radius: var(--radius-sm);
  margin-left: 0.5rem;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.wishlist-btn:hover {
  background-color: var(--primary-light);
}

.loading-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  grid-column: 1 / -1;
  padding: 2rem;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(63, 81, 181, 0.2);
  border-radius: 50%;
  border-top-color: var(--primary-color);
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

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

/* ===== Special Offer ===== */
.special-offer {
  background: linear-gradient(rgba(255, 152, 0, 0.9), rgba(255, 152, 0, 0.9)), url('../images/offers/special-offer-bg.jpg');
  background-size: cover;
  background-position: center;
  color: var(--text-white);
  padding: 4rem 0;
  text-align: center;
}

.offer-content {
  max-width: 700px;
  margin: 0 auto;
}

.special-offer h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.special-offer h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.special-offer p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.special-offer .btn {
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
}

/* ===== Features ===== */
.features {
  padding: 4rem 0;
  background-color: var(--background-white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  text-align: center;
  padding: 2rem;
  border-radius: var(--radius-lg);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--text-secondary);
}

/* ===== About Section ===== */
.about-section {
  padding: 4rem 0;
  background-color: var(--background-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-content h2 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.about-content p {
  margin-bottom: 1rem;
}

.about-content .btn {
  margin-top: 1rem;
}

/* ===== Newsletter ===== */
.newsletter {
  padding: 4rem 0;
  background-color: var(--primary-color);
  color: var(--text-white);
}

.newsletter-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.newsletter h2 {
  margin-bottom: 0.5rem;
}

.newsletter p {
  margin-bottom: 2rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.form-group {
  display: flex;
  width: 100%;
  max-width: 500px;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  outline: none;
}

.newsletter-form button {
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 0.75rem 1.5rem;
}

.form-message {
  margin-top: 1rem;
  font-size: 0.875rem;
}

.form-message.success {
  color: var(--success-color);
}

.form-message.error {
  color: var(--error-color);
}

/* ===== Footer ===== */
.site-footer {
  background-color: #212121;
  color: #b0b0b0;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-title {
  color: var(--text-white);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

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

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  transition: background-color var(--transition-fast);
}

.social-icons a:hover {
  background-color: var(--primary-color);
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #b0b0b0;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--text-white);
}

address p {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

address i, .business-hours i {
  margin-right: 0.75rem;
  min-width: 16px;
}

.business-hours {
  margin-top: 1.5rem;
}

.indent {
  margin-left: 24px;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.payment-methods {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.payment-methods img {
  height: 24px;
  width: auto;
}

.copyright {
  font-size: 0.875rem;
  margin-bottom: 0;
}

/* ===== Back to Top Button ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  border: none;
  box-shadow: var(--shadow-md);
  z-index: 99;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--primary-dark);
}

/* ===== Cookie Consent ===== */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--background-white);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  z-index: 999;
  display: none;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: var(--container-width);
  margin: 0 auto;
}

.cookie-content p {
  margin-bottom: 0;
  flex: 1;
  min-width: 300px;
}

.cookie-buttons {
  display: flex;
  gap: 0.5rem;
}

/* ===== 3D Effects ===== */
.product-card {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.product-card:hover::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  box-shadow: 0 0 30px rgba(63, 81, 181, 0.3);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0;
  animation: glow 1.5s ease-in-out infinite alternate;
}

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

/* ===== Animacje ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.5s ease-out forwards;
}

/* ===== Formularze ===== */
.form-container {
  max-width: 500px;
  margin: 0 auto;
  padding: 2rem;
  background-color: var(--background-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.form-title {
  text-align: center;
  margin-bottom: 1.5rem;
}

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

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--primary-color);
}

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

.form-error {
  color: var(--error-color);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.form-success {
  color: var(--success-color);
  text-align: center;
  padding: 1rem;
  border-radius: var(--radius-md);
  background-color: rgba(76, 175, 80, 0.1);
  margin-bottom: 1rem;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
}

.form-checkbox input {
  margin-right: 0.5rem;
  margin-top: 0.25rem;
}

/* === Sekcja Logowania i Rejestracji === */
.auth-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
  background-color: var(--background-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin: 4rem auto;
  max-width: 1000px;
}

.auth-form {
  padding: 3rem;
}

.auth-hero {
  background: linear-gradient(rgba(63, 81, 181, 0.8), rgba(63, 81, 181, 0.8)), url('../images/auth/auth-bg.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--text-white);
  padding: 2rem;
  text-align: center;
}

.auth-hero h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.auth-hero p {
  max-width: 300px;
  margin-bottom: 2rem;
}

.auth-form h2 {
  margin-bottom: 2rem;
  text-align: center;
  color: var(--primary-color);
}

.auth-links {
  text-align: center;
  margin-top: 2rem;
}

.auth-links a {
  margin: 0 0.5rem;
}

.auth-separator {
  display: flex;
  align-items: center;
  margin: 1.5rem 0;
}

.auth-separator::before, .auth-separator::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: var(--border-color);
}

.auth-separator span {
  padding: 0 1rem;
  color: var(--text-secondary);
}

.social-login {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.social-login button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background-color: var(--background-white);
  color: var(--text-primary);
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.social-login button:hover {
  background-color: var(--background-light);
}

.social-login button i {
  font-size: 1.5rem;
}

/* === Checkout === */
.checkout-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin: 4rem auto;
  max-width: var(--container-width);
}

.checkout-form {
  background-color: var(--background-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.checkout-summary {
  background-color: var(--background-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  align-self: flex-start;
}

.checkout-steps {
  display: flex;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
}

.checkout-step {
  flex: 1;
  text-align: center;
  padding: 1rem;
  position: relative;
}

.checkout-step.active {
  color: var(--primary-color);
  font-weight: 600;
}

.checkout-step.completed {
  color: var(--success-color);
}

.checkout-step::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: transparent;
}

.checkout-step.active::after {
  background-color: var(--primary-color);
}

.checkout-step.completed::after {
  background-color: var(--success-color);
}

.checkout-section {
  margin-bottom: 2rem;
}

.checkout-section h3 {
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
}

.checkout-summary-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.checkout-total {
  font-weight: 700;
  color: var(--primary-color);
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.payment-methods-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.payment-method {
  display: flex;
  align-items: center;
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color var(--transition-fast);
}

.payment-method:hover, .payment-method.active {
  border-color: var(--primary-color);
}

.payment-method input {
  margin-right: 1rem;
}

.payment-method-info {
  flex: 1;
}

.payment-method-logo {
  width: 40px;
  height: auto;
}

/* === Potwierdzenie zamówienia === */
.order-confirmation {
  max-width: 800px;
  margin: 4rem auto;
  background-color: var(--background-white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.order-confirmation i {
  font-size: 5rem;
  color: var(--success-color);
  margin-bottom: 2rem;
}

.order-confirmation h2 {
  margin-bottom: 1rem;
}

.order-confirmation p {
  margin-bottom: 2rem;
}

.order-details {
  text-align: left;
  margin: 2rem 0;
  padding: 1.5rem;
  background-color: var(--background-light);
  border-radius: var(--radius-md);
}

.order-details-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.order-details-item:last-child {
  margin-bottom: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  font-weight: 700;
}