/* static/css/style.css - FINÁLNÍ RESPONZIVNÍ VERZE */

/* --- General Styling & Variables --- */
:root {
     /* Vivid Green/Blue Palette - Standardized */
     --primary-color: #00B894;       /* Lush green - confident and fresh */
     --secondary-color: #0097A7;     /* Deep teal - structured and calm */
     --accent-color: #1B98F5;        /* Electric blue - energetic highlights */
     --accent-purple: #6A89CC;       /* Violet bloom - luminous contrast */
     --background-color: #fdefe8;    /* Soft aqua mist - airy freshness */
     --text-color: #0A1F44;          /* Midnight navy - crisp readability */
     --light-gray: #B0BEC5;          /* Cool stone - subtle borders */
     --white: #FCFFFE;
     --text-secondary: #555555;      /* Secondary text - softer readability */
     --text-tertiary: #666666;       /* Tertiary text - even softer */
     --border-light: #CCCCCC;        /* Light borders */
     --success-color: #00B894;       /* Success uses primary green */
  
     --heading-font: 'Arial Black', 'Arial', sans-serif;
     --body-font: 'Poppins', sans-serif;
     --container-width: 1100px;
  
     /* Effects */
     --shadow-sm: 0 4px 12px rgba(0, 184, 148, 0.18);
     --shadow-md: 0 8px 30px rgba(0, 151, 167, 0.22);
     --shadow-lg: 0 15px 40px rgba(27, 152, 245, 0.25);
     --shadow: 0 4px 12px rgba(106, 137, 204, 0.18);
     --border-radius: 20px;
     --border-radius-sm: 12px;
     --border-radius-lg: 32px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding-top: 25px;
}

section {
    padding: 60px 0;
}

h1,
h2,
h3 {
    font-family: var(--heading-font);
    color: var(--text-color);
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 400;
}

h2 {
    font-size: 3rem;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #F9A21B);
    border-radius: 2px;
}

h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.section-intro {
     text-align: center;
     font-size: 1.2rem;
     color: var(--text-tertiary);
     max-width: 700px;
     margin: -10px auto 40px;
     line-height: 1.6;
}

/* Header & Navigation */
.header {
    background: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    border-bottom: 3px solid var(--accent-color);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
}

.logo {
    display: block;
    text-decoration: none;
    max-width: 180px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

nav a {
    margin: 0 15px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary-color);
}

/* Upload Progress Indicator */
.upload-progress-indicator {
    background: linear-gradient(135deg, var(--primary-color), #F9A21B);
    border-radius: var(--border-radius);
    padding: 12px 20px;
    margin-left: 30px;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--white);
    transition: all 0.3s ease;
}

.upload-progress-indicator:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.progress-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.progress-icon {
    font-size: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.progress-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 120px;
}

.progress-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-color);
    white-space: nowrap;
}

.progress-bar-container {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #F9A21B, var(--primary-color));
    border-radius: 10px;
    transition: width 0.4s ease;
    box-shadow: 0 0 10px rgba(78, 205, 196, 0.5);
}

.progress-count {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-color);
    white-space: nowrap;
    min-width: 60px;
    text-align: right;
}

/* Hamburger Menu Styles */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    width: 30px;
    height: 24px;
    position: relative;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 3px;
    transition: all 0.3s ease;
    position: absolute;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger span:nth-child(3) {
    bottom: 0;
}

.hamburger.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* Tlačítka */
.cta-button {
     display: inline-block;
     padding: 16px 40px;
     font-size: 1.2rem;
     font-weight: 700;
     color: var(--white);
     background: linear-gradient(135deg, var(--primary-color), #F9A21B, #F9A21B);
     border: none;
     border-radius: 50px;
     cursor: pointer;
     text-decoration: none;
     transition: all 0.3s ease;
     box-shadow: 0 6px 20px rgba(0, 184, 148, 0.4);
     position: relative;
     overflow: hidden;
 }

.cta-button::before {
     content: '';
     position: absolute;
     top: 0;
     left: -100%;
     width: 100%;
     height: 100%;
     background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
     transition: left 0.5s;
 }

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover:not(:disabled) {
     transform: translateY(-3px) scale(1.05);
     box-shadow: 0 10px 30px rgba(0, 184, 148, 0.5);
 }

.cta-button.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
     0%, 100% { transform: scale(1); }
     50% { transform: scale(1.05); }
 }

@keyframes pulse-glow {
     0%, 100% {
         box-shadow: var(--shadow-lg);
         filter: brightness(1);
     }
     50% {
         box-shadow: 0 15px 40px rgba(0, 184, 148, 0.45);
         filter: brightness(1.1);
     }
 }

.cta-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Hero Video Placeholder */
.hero-video-placeholder {
     width: 100%;
     max-width: 700px;
     margin: 30px auto;
     aspect-ratio: 16 / 9;
     background: linear-gradient(135deg, var(--primary-color), #F9A21B, #F9A21B);
     border-radius: var(--border-radius-lg);
     display: flex;
     justify-content: center;
     align-items: center;
     cursor: pointer;
     box-shadow: var(--shadow-lg);
     position: relative;
     overflow: hidden;
     border: 4px solid var(--white);
     animation: pulse-glow 3s ease-in-out infinite;
 }

.play-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-video-placeholder::before {
    content: '▶';
    font-size: 70px;
    color: var(--white);
    background-color: rgba(255, 255, 255, 0.25);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 120px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 3px solid var(--white);
}

.hero-video-placeholder:hover::before {
    transform: scale(1.15);
    background-color: rgba(255, 255, 255, 0.35);
}

.play-text {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Hero Section & Uploader */
#hero {
    text-align: center;
    padding-top: 60px;
    background: linear-gradient(180deg, var(--background-color) 0%, #F9A21B 45%, #F9A21B 80%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

#hero::before {
     content: '🌈';
     position: absolute;
     top: 50px;
     right: 10%;
     font-size: 80px;
     opacity: 0.15;
     transform: rotate(15deg);
     animation: float 4s ease-in-out infinite;
 }

 #hero::after {
     content: '🎭';
     position: absolute;
     bottom: 100px;
     left: 8%;
     font-size: 70px;
     opacity: 0.15;
     transform: rotate(-15deg);
     animation: float 5s ease-in-out infinite reverse;
 }

#hero h1 {
    font-size: 4rem;
    background: linear-gradient(135deg, var(--primary-color), #F9A21B, #F9A21B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 25px;
}

#hero p.subtitle {
     font-size: 1.4rem;
     max-width: 750px;
     margin: 0 auto 40px auto;
     color: var(--text-secondary);
     line-height: 1.8;
}

.hero-image {
    width: 50%;
    height: auto;
    margin: 30px auto;
    display: block;
    border-radius: 15px;
}

#drop-area {
     border: 3px dashed var(--border-light);
     border-radius: 20px;
     padding: 40px;
     text-align: center;
     background-color: var(--white);
     max-width: 800px;
     margin: 0 auto;
     cursor: pointer;
     transition: border-color 0.3s, background-color 0.3s;
     position: relative;
     overflow: hidden;
}

#drop-area::before {
    content: '📸';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 120px;
    opacity: 0.05;
}

#drop-area:hover {
     border-color: var(--primary-color);
     background: linear-gradient(135deg, rgba(0, 184, 148, 0.1), rgba(249, 162, 27, 0.1));
     transform: scale(1.02) rotate(1deg);
     box-shadow: 0 0 30px rgba(0, 151, 167, 0.35);
 }
 
 #drop-area.highlight {
     border-color: var(--primary-color);
     background: linear-gradient(135deg, rgba(0, 184, 148, 0.15), rgba(249, 162, 27, 0.15), rgba(249, 162, 27, 0.1));
     box-shadow: 0 0 30px rgba(0, 151, 167, 0.4);
     animation: wiggle 0.5s ease-in-out;
 }

#drop-area p {
     font-size: 1.3rem;
     color: var(--text-tertiary);
     position: relative;
     z-index: 1;
}

.file-input-label {
    color: var(--secondary-color);
    font-weight: bold;
    text-decoration: underline;
}

#file-input {
    display: none;
}

/* Image Preview */
#preview {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.preview-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.remove-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: rgba(255, 255, 255, 0.8);
    color: var(--primary-color);
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    line-height: 25px;
    text-align: center;
}

/* Jak to funguje */
#how-it-works {
    background: var(--white);
    position: relative;
}

.steps-container {
    display: flex;
    justify-content: space-around;
    text-align: center;
    gap: 40px;
    margin-top: 50px;
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 80px;
    left: 20%;
    right: 20%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #F9A21B, #F9A21B);
    z-index: 0;
}

.step {
    flex: 1;
    padding: 30px 20px;
    background: var(--background-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 3px solid transparent;
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), #F9A21B, #F9A21B);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 151, 167, 0.4);
    border: 4px solid var(--white);
    text-align: center;
}

.step .icon {
    font-size: 4.5rem;
    margin: 20px 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.step h3 {
    margin-top: 15px;
    font-size: 1.6rem;
    color: var(--text-color);
}

.step p {
     color: var(--text-tertiary);
     line-height: 1.7;
}

/* Galerie */
#gallery {
    background: linear-gradient(180deg, var(--white) 0%, var(--background-color) 100%);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 35px;
    margin-top: 50px;
}

.gallery-item {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    text-align: center;
    padding-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 3px solid var(--accent-color);
}

.gallery-item:hover {
     transform: translateY(-8px) rotate(1deg) scale(1.03);
     box-shadow: var(--shadow-lg);
     filter: brightness(1.1);
 }

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item h3 {
    margin-top: 20px;
    margin-bottom: 5px;
    font-size: 1.4rem;
    color: var(--primary-color);
}

.gallery-caption {
    padding: 15px;
    text-align: center;
    font-weight: 600;
    color: var(--primary-color);
}

.gallery-controls {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.gallery-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.gallery-dot.active {
    background-color: var(--primary-color);
    transform: scale(1.3);
}

.gallery-dot:hover {
    background-color: var(--secondary-color);
}

.gallery-button {
     padding: 12px 24px;
     background: linear-gradient(135deg, var(--primary-color), #F9A21B, #F9A21B);
     color: var(--white);
     border: none;
     border-radius: 25px;
     font-size: 1rem;
     font-weight: 600;
     cursor: pointer;
     box-shadow: 0 4px 15px rgba(0, 151, 167, 0.35);
     transition: all 0.3s ease;
     position: relative;
     overflow: hidden;
 }
 
 .gallery-button:hover {
      transform: translateY(-2px) scale(1.05);
      box-shadow: 0 6px 20px rgba(0, 151, 167, 0.45);
 }
 
 .gallery-button::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
      transition: left 0.5s;
 }

.gallery-button:active {
     transform: scale(0.98);
 }

.gallery-button:hover::before {
     left: 100%;
 }

/* Co získáte */
#what-you-get {
    background: var(--white);
}

.product-display {
    display: flex;
    align-items: center;
    gap: 60px;
    background: var(--background-color);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.product-image,
.product-details {
    flex: 1;
}

.product-image img {
    max-width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
    transition: transform 0.3s ease;
}

.product-image img:hover {
    transform: scale(1.05) rotate(-2deg);
}

.product-intro {
     font-size: 1.1rem;
     color: var(--text-tertiary);
     margin-bottom: 30px;
     font-style: italic;
}

.product-details ul {
    list-style: none;
    padding-left: 0;
}

.product-details li {
     font-size: 1.1rem;
     margin-bottom: 25px;
     padding: 15px;
     background: var(--white);
     border-radius: var(--border-radius);
     box-shadow: var(--shadow-sm);
     transition: transform 0.2s ease;
     border-left: 4px solid var(--primary-color);
}

.product-details li:hover {
    transform: translateX(10px);
}

.product-details li strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 5px;
}

/* Recenze */
#testimonials {
    background: linear-gradient(180deg, var(--background-color) 0%, var(--white) 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    margin-top: 50px;
}

.testimonial-card {
    background: var(--white);
    padding: 35px;
    border-radius: var(--border-radius-lg);
    border: 3px solid var(--accent-color);
    box-shadow: var(--shadow-md);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 80px;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: Georgia, serif;
}

.testimonial-card:hover {
     transform: translateY(-5px) rotate(-1deg);
     box-shadow: var(--shadow-lg);
     background: linear-gradient(135deg, var(--white), rgba(249, 162, 27, 0.05));
 }

.testimonial-card p.quote {
     font-style: italic;
     font-size: 1.1rem;
     margin-bottom: 20px;
     color: var(--text-secondary);
     line-height: 1.7;
}

.testimonial-card .author {
    font-weight: bold;
    color: var(--secondary-color);
    font-size: 1rem;
}

.testimonial-card .stars {
    color: var(--accent-color);
    font-size: 1.4rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(255, 230, 109, 0.3);
}

/* Objednávkový formulář */
#order-form-section {
    background-color: #fff;
}

#order-form-section .container {
    max-width: 800px;
}

#order-form-section fieldset {
    border: 2px solid #eee;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
}

#order-form-section legend {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    color: var(--secondary-color);
    padding: 0 15px;
}

#order-form-section label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

#order-form-section input[type="text"],
#order-form-section input[type="email"],
#order-form-section input[type="number"] {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-family: var(--body-font);
    font-size: 1rem;
}

.form-row {
    margin-bottom: 20px;
}

.form-flex {
    display: flex;
    gap: 20px;
}

.form-flex .form-row {
    flex-grow: 1;
}

#packeta-widget-button {
    margin-top: 10px;
    padding: 8px 15px;
    border-radius: 8px;
    border: 1px solid var(--secondary-color);
    background-color: white;
    cursor: pointer;
    font-weight: 500;
}

#packeta-point-info {
     margin-top: 10px;
     font-size: 0.9em;
     color: var(--primary-color);
     font-weight: bold;
}

#quantity-price-details {
    text-align: right;
    font-size: 0.9em;
    color: #666;
    min-height: 1.2em;
    padding-top: 5px;
}

/* Finalizační sekce a platba */
#checkout-section {
    text-align: center;
}

#price-display {
    font-size: 1.8rem;
    font-weight: bold;
    margin: 20px 0;
    color: var(--primary-color);
}

#status {
    margin-top: 1em;
    font-weight: bold;
    min-height: 20px;
    color: var(--secondary-color);
}

/* FAQ */
#faq {
    background: var(--white);
}

.faq-container {
    max-width: 900px;
    margin: 50px auto 0 auto;
}

.faq-item {
    margin-bottom: 25px;
    padding: 25px;
    background: var(--background-color);
    border-radius: var(--border-radius);
    border-left: 5px solid var(--secondary-color);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.faq-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 0;
    font-size: 1.3rem;
    padding-right: 15px;
}

.faq-icon {
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    font-weight: 300;
    line-height: 1;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item p {
     color: var(--text-tertiary);
     line-height: 1.7;
     padding-top: 15px;
     margin: 0;
}

.faq-question {
     font-size: 0.8rem;
     font-weight: 600;
     color: var(--primary-color);
}

.faq-answer {
     color: var(--text-tertiary);
     font-size: 0.95rem;
     line-height: 1.6;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--primary-color), #F9A21B);
    color: var(--white);
    text-align: center;
    padding: 50px 20px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #F9A21B, #F9A21B);
}

footer .logo {
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

footer p {
    margin: 15px 0;
    opacity: 0.9;
}

footer a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #ccc;
}

.logo-mobile {
    max-width: 140px;
    height: auto;
}

footer .logo-mobile {
    filter: brightness(0) invert(1);
    margin-bottom: 20px;
}

/* === HOME PAGE STYLES === */

/* === RESPONSIVE DESIGN - MOBILE FIRST === */

.mobile-header {
    background: var(--white);
    padding: 15px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* === SECTIONS === */
.section-title {
    font-family: var(--heading-font);
    font-size: 2rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1rem;
    margin-bottom: 30px;
    padding: 0 10px;
}

/* === HERO SECTION === */
.hero {
    background: linear-gradient(180deg, var(--background-color) 0%, var(--white) 100%);
    text-align: center;
    padding-top: 30px;
}

.hero .container {
    max-width: 100%;
    margin: 0 auto;
}

.hero-title {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), #F9A21B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text {
     font-size: 1.1rem;
     color: var(--text-secondary);
     margin-bottom: 30px;
     line-height: 1.7;
}

.hero-image {
    width: 100%;
    max-width: 400px;
    margin: 30px auto;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* === CTA BUTTON === */
.cta-button {
    display: block;
    width: calc(100% - 40px);
    max-width: 400px;
    margin: 30px auto;
    padding: 18px;
    background: linear-gradient(135deg, var(--primary-color), #F9A21B, #F9A21B);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 151, 167, 0.35);
    transition: all 0.3s ease;
}

.cta-button:active {
    transform: scale(0.98);
}

/* === PRODUCT FEATURES === */
.product-features {
    background: var(--white);
}

.product-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.product-image {
    flex-shrink: 0;
}

.final-product-image {
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.feature-item {
    background: var(--background-color);
    padding: 20px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.feature-text strong {
    display: block;
    margin-bottom: 5px;
    color: var(--text-color);
}

.feature-text {
     font-size: 0.95rem;
     color: var(--text-tertiary);
}

/* === HOW IT WORKS === */
.how-it-works {
    background: var(--white);
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.step {
    background: var(--background-color);
    padding: 25px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    position: relative;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), #F9A21B);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(255, 107, 157, 0.3);
}

.step-icon {
    font-size: 3rem;
    text-align: center;
    margin: 10px 0 15px;
}

.step-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 10px;
}

.step-text {
     color: var(--text-tertiary);
     font-size: 0.95rem;
}

/* === GALLERY === */
.gallery {
    background: linear-gradient(180deg, var(--white) 0%, var(--background-color) 100%);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    position: relative;
    margin-bottom: 30px;
}

.gallery-item {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    animation: fadeIn 0.6s ease-in-out;
}

.gallery-item.fade-out {
    animation: fadeOut 0.4s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* === FOR WHOM === */
.for-whom {
    background: var(--white);
}

.for-whom-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.for-whom-card {
    background: var(--background-color);
    padding: 25px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
}

.for-whom-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.for-whom-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 10px;
}

.for-whom-text {
     color: var(--text-tertiary);
     font-size: 0.95rem;
}

/* Mobile adjustments for for-whom section */
@media (max-width: 767px) {
    .for-whom-card {
        padding: 20px 15px;
        width: 100%;
        box-sizing: border-box;
    }

    .for-whom-icon {
        font-size: 2.5rem;
    }
}

/* === TESTIMONIALS === */
.testimonials {
    background: linear-gradient(180deg, var(--background-color) 0%, var(--white) 100%);
}

.testimonial-card {
    background: var(--white);
    padding: 25px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 60px;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: Georgia, serif;
}

.stars {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(255, 230, 109, 0.3);
}

.quote {
     font-style: italic;
     color: var(--text-secondary);
     margin-bottom: 15px;
     line-height: 1.6;
}

.author {
    font-weight: 600;
    color: var(--secondary-color);
    font-style: normal;
}

/* Show More Button for Testimonials */
.show-more-btn {
    background: none;
    border: none;
    color: var(--text-tertiary);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    padding: 4px 0;
    margin-top: 6px;
    display: inline-block;
    transition: color 0.2s ease;
    text-decoration: none;
    opacity: 0.8;
}

.show-more-btn:hover {
    color: var(--secondary-color);
    opacity: 1;
}

.show-more-btn:focus {
    outline: none;
    color: var(--secondary-color);
}

/* === FAQ === */
.faq {
    background: var(--white);
}

/* === FINAL CTA SECTION === */
.final-cta {
     background: linear-gradient(135deg, var(--primary-color), #F9A21B, #F9A21B, #F9A21B);
     color: var(--white);
     text-align: center;
     padding: 50px 20px;
     position: relative;
     overflow: hidden;
 }

/* Container for package selection content on desktop */
.final-cta .step-content {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.final-cta::before {
     content: '✨';
     position: absolute;
     top: 20px;
     left: 10%;
     font-size: 60px;
     opacity: 0.3;
     animation: sparkle 3s ease-in-out infinite;
 }


.final-cta-title {
    font-family: var(--heading-font);
    font-size: 2rem;
    margin-bottom: 15px;
}

.final-cta-text {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-button-white {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* === ORDER PAGE STYLES === */

/* === STEP CONTAINER === */
.step-container {
    min-height: calc(100vh - 70px);
    display: none;
    flex-direction: column;
    padding: 20px;
    animation: fadeIn 0.4s ease-in;
}

/* Landscape layout narrower content for specific steps */
@media (orientation: landscape) {
    #step-1, #step-2, #step-3, #step-4, #step-5 {
        max-width: 800px;
        margin: 0 auto;
    }
}

.step-container.active {
    display: flex;
}

/* === STEP HEADER === */
.step-header {
    text-align: center;
    margin-bottom: 30px;
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), #F9A21B);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 50px;
    margin-bottom: 15px;
}

.step-title {
    font-family: var(--heading-font);
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.step-subtitle {
    font-size: 1rem;
    color: #666;
    padding: 0 10px;
}

/* === STEP CONTENT === */
.step-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* === PACKAGE CARDS === */
.package-card-mobile {
    background: var(--white);
    border-radius: 20px;
    padding: 25px;
    box-shadow: var(--shadow);
    border: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.package-card-mobile.selected {
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(255, 107, 157, 0.3);
    transform: scale(1.02);
}

.package-card-mobile.bestseller::before {
    content: '⭐ Nejoblíbenější';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color), #F9A21B);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    white-space: nowrap;
}

.package-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 10px;
    text-align: center;
}

.package-price {
     font-size: 2rem;
     font-weight: bold;
     color: var(--primary-color);
     text-align: center;
     margin: 15px 0;
}

.package-features {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.package-features li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    font-size: 0.95rem;
    color: var(--text-color);
    font-weight: bold;
}

.package-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Package selection buttons */
.btn-select-package {
    display: block;
    width: calc(100% - 40px);
    margin: 20px auto 0 auto;
    padding: 15px;
    background: var(--white);
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.btn-select-package:hover {
    background: rgba(69, 183, 209, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(69, 183, 209, 0.3);
}

.btn-select-package:active {
    transform: scale(0.98);
}

.btn-select-package.selected {
    background: linear-gradient(135deg, #F9A21B, #F9A21B);
    color: var(--white);
    border-color: var(--secondary-color);
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.4);
}

.btn-select-package.selected:hover {
    background: linear-gradient(135deg, #F9A21B, #F9A21B);
    box-shadow: 0 6px 20px rgba(78, 205, 196, 0.5);
}

/* === UPLOAD AREA === */
.upload-zone {
    border: 3px dashed var(--secondary-color);
    border-radius: 20px;
    padding: 40px 20px;
    text-align: center;
    background: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.upload-zone:active {
    transform: scale(0.98);
}

.upload-zone.highlight {
    border-color: var(--primary-color);
    background: rgba(255, 107, 157, 0.05);
}

.upload-zone.uploading {
    cursor: wait;
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(0, 184, 148, 0.05), rgba(249, 162, 27, 0.05));
}

.upload-icon {
    font-size: 4rem;
    margin-bottom: 15px;
}

.upload-text {
     font-size: 1.1rem;
     color: var(--text-tertiary);
     margin-bottom: 10px;
}

.upload-limit {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 600;
}

/* Upload progress indicator inside upload zone */
.upload-zone-progress {
    width: 100%;
    max-width: 300px;
}

.upload-zone-progress-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.upload-zone-progress-bar-container {
    width: 100%;
    height: 12px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.upload-zone-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), #F9A21B);
    border-radius: 10px;
    transition: width 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 107, 157, 0.4);
}

.upload-zone-progress-detail {
     font-size: 0.95rem;
     color: var(--text-tertiary);
     font-weight: 500;
}

.upload-zone-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 107, 157, 0.3);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* === IMAGE PREVIEW GRID === */
.preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 20px;
}

.preview-item-mobile {
    position: relative;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    background: #f0f0f0;
}

.preview-item-mobile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-remove {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.preview-item-mobile.selected-for-deletion {
    opacity: 0.5;
    border: 3px solid var(--primary-color);
}

.upload-progress {
    text-align: center;
    margin-top: 15px;
    font-weight: 600;
    color: var(--secondary-color);
}

/* === FORM INPUTS === */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
}

.form-input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: var(--body-font);
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--secondary-color);
}

/* === DELIVERY OPTIONS === */
.delivery-option {
    background: var(--white);
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.delivery-row {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: space-between;
}

.delivery-option.selected {
    border-color: var(--primary-color);
    background: rgba(255, 107, 157, 0.05);
}

.delivery-option input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.delivery-info {
    flex: 1;
}

.delivery-name {
    font-weight: 600;
    margin-bottom: 3px;
}

.delivery-price {
     font-size: 0.9rem;
     color: var(--text-tertiary);
}

/* === QUANTITY SELECTOR === */
.quantity-selector {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow);
    text-align: center;
}

/* Emotional message styling */
.emotional-message {
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(0, 184, 148, 0.1), rgba(249, 162, 27, 0.1));
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
}

.emotional-text {
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

.quantity-label {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--text-color);
}

.quantity-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.quantity-btn {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), #F9A21B);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.8rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
    transition: all 0.3s ease;
}

.quantity-btn:active {
    transform: scale(0.95);
}

.quantity-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.quantity-input {
    width: 80px;
    height: 60px;
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-family: var(--body-font);
}

.quantity-input:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.discount-info {
    background: linear-gradient(135deg, var(--primary-color), #F9A21B);
    padding: 15px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-top: 20px;
}

.price-preview {
    margin-top: 25px;
    padding: 20px;
    background: var(--background-color);
    border-radius: 12px;
    border: 2px solid var(--secondary-color);
}

.price-preview-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 8px;
}

.price-preview-original {
     font-size: 1.2rem;
     color: #dc3545;
     text-decoration: line-through;
     margin-bottom: 5px;
     opacity: 0.8;
     display: none;
}

.price-preview-amount {
     font-size: 2rem;
     font-weight: bold;
     color: var(--primary-color);
}

.price-preview-detail {
     font-size: 0.9rem;
     color: var(--text-tertiary);
     margin-top: 5px;
}

/* === BUTTONS === */
.btn-primary {
     width: 100%;
     padding: 18px;
     background: linear-gradient(135deg, var(--primary-color), #F9A21B);
     color: var(--white);
     border: none;
     border-radius: 50px;
     font-size: 1.2rem;
     font-weight: bold;
     cursor: pointer;
     box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
     transition: all 0.3s ease;
     font-family: var(--body-font);
     position: relative;
     overflow: hidden;
 }

.btn-primary:active {
     transform: scale(0.98);
 }

.btn-primary::before {
     content: '';
     position: absolute;
     top: 0;
     left: -100%;
     width: 100%;
     height: 100%;
     background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
     transition: left 0.5s;
 }

.btn-primary:hover::before {
     left: 100%;
 }

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-secondary {
    width: 100%;
    padding: 15px;
    background: var(--white);
    color: var(--text-color);
    border: 2px solid var(--secondary-color);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--body-font);
}

.btn-secondary:active {
    transform: scale(0.98);
}

/* === SUMMARY === */
.order-summary {
    background: var(--white);
    border-radius: 20px;
    padding: 25px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.summary-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 25px;
    text-align: center;
}

.summary-section {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f5f5f5;
}

.summary-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.summary-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.summary-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.edit-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    padding: 5px 10px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 0.95rem;
}

.summary-label {
     color: var(--text-tertiary);
}

.summary-value {
    font-weight: 600;
    text-align: right;
}

.summary-total-section {
    margin-top: 20px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(0, 184, 148, 0.05), rgba(249, 162, 27, 0.05));
    border-radius: 12px;
    border: 2px solid var(--primary-color);
}

.summary-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.summary-total-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
}

.summary-total {
     font-size: 2rem;
     color: var(--primary-color);
     font-weight: bold;
}

/* Compact package selector for summary */
.package-selector-compact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.package-option-compact {
    background: var(--background-color);
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.package-option-compact.selected {
    border-color: var(--primary-color);
    background: rgba(255, 107, 157, 0.05);
}

.package-option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.package-option-name {
    font-weight: 600;
    color: var(--text-color);
    font-size: 1rem;
}

.package-option-price {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.package-option-features {
     font-size: 0.85rem;
     color: var(--text-tertiary);
     line-height: 1.5;
}

/* Compact quantity selector for summary */
.quantity-selector-compact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: var(--background-color);
    border-radius: 12px;
}

.quantity-controls-compact {
    display: flex;
    align-items: center;
    gap: 15px;
}

.quantity-btn-compact {
     width: 40px;
     height: 40px;
     background: linear-gradient(135deg, var(--primary-color), #F9A21B, #F9A21B);
     color: var(--white);
     border: none;
     border-radius: 50%;
     font-size: 1.5rem;
     font-weight: bold;
     cursor: pointer;
     display: flex;
     align-items: center;
     justify-content: center;
     box-shadow: 0 2px 8px rgba(0, 151, 167, 0.35);
     transition: all 0.3s ease;
     position: relative;
     overflow: hidden;
 }

.quantity-display-compact {
    font-size: 1.5rem;
    font-weight: bold;
    min-width: 40px;
    text-align: center;
}

/* Photo deletion modal overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease-in;
}

.photo-deletion-modal {
    background: var(--white);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
     from { transform: translateY(50px); opacity: 0; }
     to { transform: translateY(0); opacity: 1; }
 }

@keyframes wiggle {
     0%, 100% { transform: rotate(0deg); }
     25% { transform: rotate(-2deg); }
     75% { transform: rotate(2deg); }
 }

.photo-deletion-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
}

.photo-deletion-text {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.6;
}

.photo-selection-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.photo-selection-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.photo-selection-item.marked {
    border-color: var(--primary-color);
    opacity: 0.6;
}

.photo-selection-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-selection-item::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: var(--white);
    background: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    line-height: 50px;
}

.photo-selection-item.marked::after {
    display: flex;
}

.modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.btn-cancel {
    width: 100%;
    padding: 15px;
    background: var(--white);
    color: var(--text-color);
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--body-font);
}

.btn-confirm {
     width: 100%;
     padding: 15px;
     background: linear-gradient(135deg, var(--primary-color), #F9A21B);
     color: var(--white);
     border: none;
     border-radius: 50px;
     font-size: 1rem;
     font-weight: bold;
     cursor: pointer;
     box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
     transition: all 0.3s ease;
     font-family: var(--body-font);
     position: relative;
     overflow: hidden;
 }

.btn-confirm:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* === PROGRESS INDICATOR === */
.progress-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.progress-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e0e0e0;
    transition: all 0.3s ease;
}

.progress-dot.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 5px;
}

.progress-dot.completed {
    background: var(--secondary-color);
}

/* === PROGRESS BAR (text + fill) === */
.progress {
    margin: 10px 0 20px;
}

.progress-label {
    text-align: center;
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: #e0e0e0;
    border-radius: 999px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.progress-bar-fill {
    height: 100%;
    width: 0; /* individual steps set inline width (20%, 40%, 60%, 80%, 100%) */
    background: linear-gradient(90deg, #F9A21B, var(--primary-color));
    transition: width 0.4s ease;
    border-radius: inherit;
}

@media (min-width: 768px) {
    .progress-bar { height: 12px; }
    .progress-label { font-size: 1rem; }
}
/* === NAVIGATION BUTTONS === */
.step-navigation {
    display: flex;
    gap: 10px;
    margin-top: auto;
    padding-top: 20px;
}

.btn-back {
    flex: 1;
    padding: 15px;
    background: var(--white);
    color: var(--text-color);
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-next {
     flex: 2;
     padding: 15px;
     background: linear-gradient(135deg, #F9A21B, #F9A21B);
     color: var(--white);
     border: none;
     border-radius: 50px;
     font-size: 1rem;
     font-weight: bold;
     cursor: pointer;
     box-shadow: 0 4px 15px rgba(78, 205, 196, 0.4);
     transition: all 0.3s ease;
     position: relative;
     overflow: hidden;
 }

.btn-next:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* === STEP FAQ (Order) === */
.step-faq {
    margin-top: 16px; /* space above "Časté dotazy" under buttons */
}

.step-faq .faq-title {
    font-family: var(--heading-font);
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin: 12px 0 8px; /* compact heading spacing */
    text-align: left;
}

.step-faq .faq-item {
    /* override global .faq-item to be more compact */
    margin-bottom: 10px;
    padding: 12px 14px;
    background: var(--white);
    border-radius: 12px;
    border-left: 4px solid var(--secondary-color);
    box-shadow: var(--shadow-sm);
}

.step-faq .faq-item summary {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.2;
    cursor: pointer;
}

.step-faq .faq-item[open] summary {
    margin-bottom: 6px; /* small gap when expanded */
}

.step-faq .faq-item > div {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4; /* tighter line-height */
    margin-top: 6px;
}

/* optional: reduce default marker spacing for summary (WebKit) */
.step-faq .faq-item summary::-webkit-details-marker {
    display: none;
}
/* === LOADING SPINNER === */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
     to { transform: rotate(360deg); }
 }

@keyframes float {
     0%, 100% { transform: translateY(0) rotate(15deg); }
     50% { transform: translateY(-10px) rotate(15deg); }
 }

/* === STATUS MESSAGE === */
.status-message {
    text-align: center;
    padding: 15px;
    border-radius: 12px;
    margin: 15px 0;
    font-weight: 600;
}

.status-message.error {
    background: #ffebee;
    color: #c62828;
}

.status-message.success {
     background: #00B894;
     color: #ffffff;
     font-weight: 600;
}

.status-message.info {
    background: #e3f2fd;
    color: #1565c0;
}

.status-message.warning {
    background: #fff3e0;
    color: #e65100;
}

/* === HIDDEN === */
.hidden {
    display: none !important;
}

/* === DESKTOP RESPONSIVE === */
@media (min-width: 768px) {
    .mobile-header {
        padding: 20px 40px;
    }

    .logo-mobile {
        max-width: 360px;
    }

    .logo {
        max-width: 360px;
    }

    section {
        padding: 60px 40px;
    }

    /* Container max-width for centered desktop layout */
    .hero .container {
        max-width: 900px;
        margin: 0 auto;
        padding: 0 40px;
    }

    .hero-title {
        font-size: 4rem;
    }

    .hero-text {
        font-size: 1.4rem;
        max-width: 750px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image {
        max-width: 600px;
    }

    .section-title {
        font-size: 3rem;
    }

    .section-subtitle {
        font-size: 1.2rem;
    }

    .product-content {
        flex-direction: row;
        gap: 40px;
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
        align-items: flex-start;
    }

    .final-product-image {
        max-width: 500px;
    }

    .features-list {
        flex: 1;
        max-width: 500px;
    }

    .steps {
        flex-direction: row;
        gap: 30px;
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
    }

    .step {
        flex: 1;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
    }

    .gallery-controls {
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
    }

    .for-whom-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        max-width: 900px;
        margin-left: auto;
        margin-right: auto;
    }

    .cta-button {
        display: inline-block;
        width: auto;
        padding: 18px 50px;
    }

    .testimonial-card {
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 30px;
    }

    .faq-item {
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px;
    }

    .step-container {
        padding: 40px;
        max-width: 1200px;
        margin: 0 auto;
    }

    .step-title {
        font-size: 3rem;
    }

    .step-subtitle {
        font-size: 1.2rem;
    }

    .step-content {
        gap: 30px;
    }

    .preview-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }

    .photo-selection-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) {
    .for-whom-grid {
        grid-template-columns: repeat(4, 1fr);
        max-width: 1100px;
    }

    .hero .container {
        max-width: 1000px;
    }

    .preview-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

/* === INDEX PAGE STYLES === */

.index-body {
    font-family: var(--body-font);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #FFF7F0;
}

.index-container {
    text-align: center;
}

.index-container img {
    max-width: 100%;
    height: auto;
}

.index-container h1 {
    font-family: var(--heading-font);
    color: #E43D30;
    font-size: 4rem;
    line-height: 1.2;
    margin-top: 20px;
    font-weight: 400;
}

/* Trust Signals */
.trust-signals {
    display: flex;
    justify-content: space-around;
    text-align: left;
    gap: 25px;
    margin-top: 50px;
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
}

.signal {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    padding: 20px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid var(--accent-color);
}

.signal:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.signal .icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

@media (max-width: 768px) {
    .trust-signals {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Redesigned Checkout Section */
.checkout-redesigned {
    background: linear-gradient(135deg, var(--white), var(--background-color));
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 550px;
    margin: 50px auto;
    text-align: center;
    border: 4px solid var(--accent-color);
}

.checkout-redesigned h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.order-summary {
    text-align: left;
    margin-bottom: 25px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    font-size: 1.15rem;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--light-gray);
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item span:first-child {
    color: #666;
    font-weight: 500;
}

.summary-item span:last-child {
    font-weight: bold;
    color: var(--text-color);
}

.total-price-container {
    border-top: 3px solid var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    padding: 25px 0;
    margin: 25px 0;
    background: var(--white);
    border-radius: var(--border-radius);
}

.total-price-container p {
    font-size: 1.3rem;
    color: #666;
    margin: 0 0 10px 0;
    font-weight: 500;
}

#create-order-btn {
    width: 100%;
    padding: 18px;
    font-size: 1.4rem;
    margin-top: 10px;
}

/* For Whom Section - New Grid Layout */
.for-whom-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.for-whom-card:nth-child(4) {
    grid-column: 2;
}

.for-whom-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.for-whom-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), #F9A21B);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.for-whom-card:hover::before {
    transform: scaleX(1);
}

.for-whom-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.card-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.for-whom-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.for-whom-card p {
     color: var(--text-tertiary);
     line-height: 1.7;
     font-size: 1.05rem;
}

/* Package Note */
.package-note {
    margin-top: 40px;
    padding: 25px;
    background: linear-gradient(135deg, var(--primary-color), #F9A21B);
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 3px solid var(--white);
}

.package-note p {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.6;
}

.package-note strong {
    color: var(--primary-color);
}

#packages {
    padding-bottom: 30px;
}

/* Upload Section Styling */
#upload-section {
    background: linear-gradient(180deg, var(--background-color) 0%, var(--white) 100%);
    padding-top: 30px;
}

.upload-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    max-width: 650px;
    margin: 10px auto 30px;
}

/* Order Form Section Enhanced */
#order-form-section {
    background: var(--background-color);
}

#order-form-section fieldset {
    border: 3px solid var(--accent-color);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    margin-bottom: 35px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

#order-form-section legend {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    color: var(--primary-color);
    padding: 0 20px;
    background: var(--white);
}

#order-form-section input[type="text"],
#order-form-section input[type="email"],
#order-form-section input[type="number"] {
    width: 100%;
    padding: 14px;
    border-radius: var(--border-radius-sm);
    border: 2px solid var(--light-gray);
    font-family: var(--body-font);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#order-form-section input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.1);
}

/* Delivery Options Enhanced */
.delivery-option {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: var(--background-color);
    border-radius: var(--border-radius);
    transition: all 0.2s ease;
    cursor: pointer;
}

.delivery-option:hover {
    background: var(--light-gray);
    transform: translateX(5px);
}

.delivery-option input[type="radio"] {
    margin-right: 12px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.delivery-option label {
    cursor: pointer;
    font-size: 1.05rem;
}

/* Checkout Section Enhanced */
.checkout-redesigned {
    background: linear-gradient(135deg, var(--white), var(--background-color));
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 550px;
    margin: 50px auto;
    text-align: center;
    border: 4px solid var(--accent-color);
}

.checkout-redesigned h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

#status {
    margin-top: 20px;
    font-weight: bold;
    min-height: 25px;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

.modal-content, #caption {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
     from {transform:scale(0)}
     to {transform:scale(1)}
 }

@keyframes sparkle {
     0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.3; }
     50% { transform: scale(1.2) rotate(180deg); opacity: 0.6; }
 }

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Responsive adjustments for new elements */
@media (max-width: 768px) {
    body {
        padding-left: 0;
        padding-right: 0;
    }

    .for-whom-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Ensure the 4th card does not force a second column on mobile */
    .for-whom-card:nth-child(4) {
        grid-column: auto !important;
    }
    .package-note {
        padding: 20px;
    }

    #drop-area {
        padding: 30px 20px;
    }

    .checkout-redesigned {
        padding: 25px;
    }

    .modal-content {
        width: 100%;
    }

    #caption {
        width: 100%;
    }
}

/* Global Quantity Selector */
.quantity-selector-wrapper {
    text-align: center;
    margin-bottom: 40px;
    background-color: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.quantity-selector-wrapper label {
    font-size: 1.2rem;
    font-weight: 500;
    display: block;
    margin-bottom: 15px;
}

#global-quantity-input {
    width: 80px;
    height: 50px;
    text-align: center;
    font-size: 1.8rem;
    font-weight: bold;
    border: 2px solid #ddd;
    border-radius: 10px;
    margin: 0 15px;
    -moz-appearance: textfield;
}

#global-quantity-input::-webkit-outer-spin-button,
#global-quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* === Package selection (Package Model) === */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-top: 10px;
}

.package-card {
    background: #fff;
    border: 2px solid #eee;
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.05s;
    user-select: none;
}

.package-card:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.package-card.selected {
    border-color: var(--primary-color);
    box-shadow: 0 6px 18px rgba(233, 117, 119, 0.25);
}

.package-card h4 {
    margin: 0 0 6px 0;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.package-card p {
    margin: 4px 0;
    color: #555;
}

/* Discount info line */
#quantity-discount-info {
     text-align: right;
     font-size: 0.95em;
     color: var(--primary-color);
     min-height: 1.2em;
}

/* Responsive tweaks for packages */
@media (max-width: 768px) {
    .packages-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* === Pricing comparison (packages-compare) === */
#packages-compare {
    background: #fff;
}

.pricing-compare {
    margin-top: 20px;
    overflow-x: auto;
}

.pricing-compare table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    border-radius: 12px;
}

.pricing-compare thead th {
     background: #fff7db;
     color: #333;
     font-weight: 700;
     padding: 14px;
     text-align: center;
     border-bottom: 2px solid #f0e2a8;
}

.pricing-compare tbody td {
     padding: 12px 14px;
     text-align: center;
     border-bottom: 1px solid #eee;
}

.pricing-compare thead th:first-child,
.pricing-compare tbody td:first-child {
     text-align: left;
     color: var(--text-secondary);
     font-weight: 600;
     width: 38%;
}

.pricing-compare .price {
     color: var(--primary-color);
     font-weight: 800;
}

.pricing-compare .badge {
    display: inline-block;
    font-size: 0.8rem;
    background: var(--primary-color);
    color: #fff;
    border-radius: 6px;
    padding: 3px 8px;
    margin-left: 6px;
}

/* Selection row and buttons styled to match the "Nejoblíbenější" badge */
.pricing-compare .select-row td {
    padding-top: 12px;
    padding-bottom: 12px;
}

.pricing-compare .select-btn {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 8px 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(233, 117, 119, 0.25);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pricing-compare .select-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(233, 117, 119, 0.35);
}

.pricing-compare .select-btn:focus {
    outline: 2px solid rgba(233, 117, 119, 0.5);
    outline-offset: 2px;
}

.pricing-compare td.yes { color: var(--primary-color); font-weight: 700; }
.pricing-compare td.no  { color: #c62828; font-weight: 700; }

/* Highlight the "most popular" whole column (3rd column) */
.pricing-compare thead th:nth-child(3),
.pricing-compare tbody td:nth-child(3) {
    background: rgba(248, 211, 109, 0.18);
}

/* Subtle row hover */
.pricing-compare tbody tr:hover td {
    background: #fffdf2;
}

/* Responsive text sizing */
@media (max-width: 768px) {
    .pricing-compare table { font-size: 0.95rem; }
    .pricing-compare thead th, .pricing-compare tbody td { padding: 10px; }
}

/* --- NEW STYLES FOR INTERACTIVE PRICING --- */

/* Shared Quantity Selector */
.shared-quantity-selector {
    text-align: center;
    margin-bottom: 50px;
    background: linear-gradient(135deg, var(--white), var(--background-color));
    padding: 35px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    border: 3px solid var(--accent-color);
}

.shared-quantity-selector label {
    font-size: 1.5rem;
    font-weight: 600;
    display: block;
    margin-bottom: 25px;
    color: var(--text-color);
}

.quantity-btn {
     background: linear-gradient(135deg, var(--primary-color), #F9A21B);
     color: var(--white);
     border: none;
     width: 50px;
     height: 50px;
     font-size: 2rem;
     font-weight: bold;
     cursor: pointer;
     border-radius: 50%;
     line-height: 50px;
     text-align: center;
     transition: all 0.3s ease;
     box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
     position: relative;
     overflow: hidden;
 }

.quantity-btn:hover {
     transform: scale(1.1) rotate(5deg);
     box-shadow: 0 6px 20px rgba(255, 107, 107, 0.5);
 }

.quantity-btn::before {
     content: '';
     position: absolute;
     top: 0;
     left: -100%;
     width: 100%;
     height: 100%;
     background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
     transition: left 0.4s;
 }

.quantity-btn:hover::before {
     left: 100%;
 }

#quantity-input {
    width: 100px;
    height: 60px;
    text-align: center;
    font-size: 2.2rem;
    font-weight: bold;
    border: 2px solid #ddd;
    border-radius: 10px;
    margin: 0 15px;
    -moz-appearance: textfield;
}

#quantity-input::-webkit-outer-spin-button,
#quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.discount-info {
     font-size: 1.1rem;
     color: var(--primary-color);
     margin-top: 20px;
     min-height: 1.2em;
     font-weight: 600;
     padding: 12px 20px;
     background: rgba(0, 184, 148, 0.1);
     border-radius: var(--border-radius);
     display: inline-block;
}

/* Package Cards Container */
.package-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    margin-top: 50px;
}

/* Individual Package Card */
.package-card {
    background: var(--white);
    border: 3px solid var(--light-gray);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
}

.package-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.package-card h3 {
    text-align: center;
    font-size: 1.8rem;
}

.bestseller-tag {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color), #F9A21B);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.4);
    border: 2px solid var(--white);
}

.package-card.bestseller {
    border-color: var(--primary-color);
    border-width: 4px;
    transform: scale(1.05);
    background: linear-gradient(180deg, var(--white), var(--background-color));
}

.price-display {
    text-align: center;
    margin: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

.total-price {
     font-size: 2.5rem;
     font-weight: bold;
     color: var(--primary-color);
     margin: 0;
     transition: color 0.3s ease, transform 0.3s ease;
}

.price-updating .total-price {
    transform: scale(1.05);
}

.price-per-item {
     font-size: 1rem;
     color: var(--text-tertiary);
     margin: 0;
     transition: color 0.3s ease;
}

.package-card ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    flex-grow: 1;
}

.package-card ul li {
     margin-bottom: 10px;
     color: var(--text-color);
}

.package-card .select-btn {
     display: block;
     width: 100%;
     padding: 15px;
     font-size: 1.2rem;
     font-weight: 700;
     color: var(--white);
     background: linear-gradient(135deg, #F9A21B, #F9A21B);
     border: none;
     border-radius: var(--border-radius);
     cursor: pointer;
     text-align: center;
     text-decoration: none;
     margin-top: auto;
     transition: all 0.3s ease;
     box-shadow: 0 4px 15px rgba(78, 205, 196, 0.4);
     position: relative;
     overflow: hidden;
 }

.package-card .select-btn:hover {
     transform: translateY(-2px) scale(1.02);
     box-shadow: 0 6px 20px rgba(78, 205, 196, 0.5);
 }

.package-card .select-btn::before {
     content: '';
     position: absolute;
     top: 0;
     left: -100%;
     width: 100%;
     height: 100%;
     background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
     transition: left 0.5s;
 }

.package-card .select-btn:hover::before {
     left: 100%;
 }

.package-card.bestseller .select-btn {
     background: linear-gradient(135deg, var(--primary-color), #F9A21B);
     box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
 }

.package-card.bestseller .select-btn:hover {
     box-shadow: 0 6px 20px rgba(255, 107, 107, 0.5);
 }

/* --- REMOVING OLD STYLES --- */
.pricing-compare, .quantity-selector-wrapper {
    display: none;
}

.center-text {
    text-align: center;
}

/* Mobile portrait safe-side padding (exclude header/footer and hero sections) */
/* Mobile portrait safe-side padding */

/* Mobile portrait horizontal padding for content sections */
@media (max-width: 767px) and (orientation: portrait) {
    /* Add horizontal padding to all sections except header and footer */
    section:not(.mobile-header) {
        padding-left: 20px;
        padding-right: 20px;
    }

    /* Ensure containers have proper padding */
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    /* Add padding to hero container */
    .hero .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    /* Reduce font size of the heading */
    .hero-title {
        font-size: 2rem;
    }

    /* Reduce left and right indentation for the heading and subheading */
    .hero-title,
    .hero-text {
        margin-left: -10px;
        margin-right: -10px;
        padding-left: 10px;
        padding-right: 10px;
    }

    /* Recolor the narrow horizontal strip under the CTA button to match button background */
    .final-cta {
        background: linear-gradient(135deg, var(--primary-color), #F9A21B);
    }

    /* Make section headings "Jak to funguje?", etc. bold in mobile */
    .section-title {
        font-weight: bold;
        margin-top: 30px;
    }

    /* Reduce font size of total price in order overview for mobile */
    .summary-total {
        font-size: 1.5rem;
    }

    /* Reduce font size of terms agreement text to fit on one line in mobile */
    .terms-agreement label {
        font-size: 0.9rem;
    }
}


@media (max-width: 767px) and (orientation: portrait) {
    body > :not(header):not(footer) {
        padding-top: 15px;
    }

    
    /* Remove extra vertical spacing on the original hero (portrait only) */
    body > section.hero:first-of-type {
        padding-top: 0;
        padding-bottom: 0;
        margin-top: 0;
        margin-bottom: 0;
    }
}

/* === OUR STORY === */
.our-story {
    background: var(--white);
}

.our-story .container {
    max-width: 1000px;
    margin: 0 auto;
}

.our-story-content {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.our-story-text {
     flex: 1 1 420px;
     font-size: 1.05rem;
     color: var(--text-secondary);
     line-height: 1.8;
}

.our-story-text p {
    margin-bottom: 14px;
}

.our-story-text p:last-child {
    margin-bottom: 0;
}

.our-story-photo {
    flex: 0 1 360px;
    text-align: center;
}

.our-story-photo img {
    max-width: 360px;
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .our-story-content {
        gap: 20px;
    }
    .our-story-photo img {
        max-width: 320px;
    }
}

/* Unfinished Order Banner */
.unfinished-order-banner {
    background: linear-gradient(135deg, var(--primary-color), #F9A21B);
    border-bottom: 3px solid #ffc107;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.4s ease-out;
}

.unfinished-order-banner.hidden {
    display: none;
}

.banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.banner-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.banner-text {
    flex: 1;
    min-width: 250px;
}

.banner-text strong {
     display: block;
     font-size: 18px;
     color: white;
     margin-bottom: 4px;
 }

 .banner-text p {
     margin: 0;
     color: white;
     font-size: 14px;
 }

.banner-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.btn-banner-primary,
.btn-banner-secondary {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.btn-banner-primary {
    background: var(--accent-color);
    color: white;
}

.btn-banner-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-banner-secondary {
    background: white;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.btn-banner-secondary:hover {
    background: var(--accent-color);
    color: white;
}

.btn-banner-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #856404;
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.btn-banner-close:hover {
    transform: scale(1.2);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .banner-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .banner-actions {
        width: 100%;
        justify-content: space-between;
    }

    .btn-banner-primary,
    .btn-banner-secondary {
        flex: 1;
    }
}

/* Terms Agreement Checkbox */
.terms-agreement {
    margin-bottom: 20px;
    padding: 15px;
    background: var(--background-color);
    border-radius: var(--border-radius);
    border: 2px solid var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.terms-agreement input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.terms-agreement label {
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    flex: 1;
}

.terms-agreement a {
    color: var(--primary-color);
    text-decoration: underline;
}

.terms-agreement a:hover {
    color: var(--accent-color);
}

/* === CHRISTMAS PROMO STYLES === */

/* Main Christmas Banner - Home Page */
.christmas-promo-banner {
    background: linear-gradient(135deg, #c41e3a 0%, #2d5a27 50%, #c41e3a 100%);
    padding: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(196, 30, 58, 0.3);
    animation: christmasGlow 3s ease-in-out infinite;
}

.christmas-promo-banner::before {
    content: '❄️';
    position: absolute;
    top: 10px;
    left: 5%;
    font-size: 30px;
    opacity: 0.6;
    animation: snowfall 4s ease-in-out infinite;
}

.christmas-promo-banner::after {
    content: '❄️';
    position: absolute;
    top: 15px;
    right: 8%;
    font-size: 25px;
    opacity: 0.5;
    animation: snowfall 3s ease-in-out infinite reverse;
}

@keyframes christmasGlow {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(196, 30, 58, 0.3);
    }
    50% {
        box-shadow: 0 4px 30px rgba(196, 30, 58, 0.5), 0 0 60px rgba(45, 90, 39, 0.3);
    }
}

@keyframes snowfall {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(5px) rotate(180deg);
        opacity: 0.3;
    }
}

/* Compact Christmas Banner - Order Page */
.christmas-promo-banner-compact {
    background: linear-gradient(135deg, #c41e3a, #2d5a27);
    padding: 12px 20px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.25);
}

/* Promo Banner Content Layout */
.promo-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.promo-banner-icon {
    font-size: 2.5rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.promo-banner-text {
    color: var(--white);
    text-align: center;
}

.promo-banner-text h3 {
    margin: 0 0 5px 0;
    font-size: 1.5rem;
    color: #ffd700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.promo-banner-text p {
    margin: 0;
    font-size: 1rem;
    opacity: 0.95;
}

.promo-banner-cta {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #ffd700, #ffb700);
    color: #1a1a1a;
    font-weight: bold;
    font-size: 1.1rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.promo-banner-cta:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.5);
    background: linear-gradient(135deg, #ffe44d, #ffc700);
}

/* Countdown Timer Styles */
.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 15px 0;
}

.countdown-timer-small {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 8px 0;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    padding: 10px 15px;
    border-radius: 10px;
    min-width: 60px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.countdown-timer-small .countdown-item {
    padding: 6px 10px;
    min-width: 45px;
    border-radius: 8px;
}

.countdown-number {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ffd700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1;
}

.countdown-timer-small .countdown-number {
    font-size: 1.2rem;
}

.countdown-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 3px;
}

.countdown-timer-small .countdown-label {
    font-size: 0.65rem;
}

/* Promo Info Box - Package Selection Section */
.promo-info-box {
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.1), rgba(45, 90, 39, 0.1));
    border: 2px solid #c41e3a;
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.promo-info-box::before {
    content: '🎄';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 40px;
    opacity: 0.3;
}

.promo-info-box::after {
    content: '🎁';
    position: absolute;
    bottom: -10px;
    right: 20px;
    font-size: 35px;
    opacity: 0.3;
}

.promo-info-box h4 {
    margin: 0 0 10px 0;
    color: #c41e3a;
    font-size: 1.3rem;
}

.promo-info-box p {
    margin: 0;
    color: var(--text-color);
    font-size: 1rem;
}

/* Promo Badge */
.promo-badge {
    display: inline-block;
    background: linear-gradient(135deg, #c41e3a, #a01830);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-left: 10px;
    animation: pulse 2s ease-in-out infinite;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Bestseller Badge */
.bestseller-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), #F9A21B);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-left: 10px;
}

/* Package Price Styling with Promo */
.package-price-original {
    font-size: 1.3rem;
    color: #999;
    text-decoration: line-through;
    margin-right: 10px;
    opacity: 0.7;
}

.package-price.promo-price {
    color: #c41e3a;
    font-size: 2.2rem;
    position: relative;
}

.package-price.promo-price::after {
    content: '🎄';
    font-size: 0.8rem;
    position: absolute;
    top: -5px;
    right: -20px;
}

/* Package Savings Badge */
.package-savings {
    display: inline-block;
    background: linear-gradient(135deg, #2d5a27, #3d7a37);
    color: var(--white);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-top: 10px;
    box-shadow: 0 2px 10px rgba(45, 90, 39, 0.3);
}

/* Package Option Price Container (compact selector) */
.package-option-price-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.package-option-price-original {
    font-size: 0.9rem;
    color: #999;
    text-decoration: line-through;
}

/* Promo Savings Badge in Order Flow */
.promo-savings-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, #c41e3a, #a01830);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-top: 15px;
    box-shadow: 0 3px 15px rgba(196, 30, 58, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

.promo-savings-badge::before {
    content: '🎁';
    font-size: 1rem;
}

/* Promo Summary Section in Step 4 */
.promo-summary-section {
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.08), rgba(45, 90, 39, 0.08));
    border: 2px dashed #c41e3a;
    border-radius: var(--border-radius);
    padding: 15px;
    margin-bottom: 15px;
}

.promo-summary-section .summary-row {
    color: #c41e3a;
    font-weight: 600;
}

.promo-savings-value {
    color: #2d5a27;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Summary Original Total (strikethrough) */
.summary-original-total {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    color: #999;
    font-size: 0.95rem;
}

.summary-original-total .summary-value {
    text-decoration: line-through;
    opacity: 0.7;
}

/* Updated Total Section with Promo */
.summary-total-section.has-promo {
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.1), rgba(45, 90, 39, 0.1));
    border-color: #c41e3a;
}

.summary-total-section.has-promo .summary-total {
    color: #c41e3a;
}

/* Responsive adjustments for Christmas promo */
@media (max-width: 768px) {
    .christmas-promo-banner {
        padding: 15px 10px;
    }

    .promo-banner-content {
        flex-direction: column;
        gap: 12px;
    }

    .promo-banner-icon {
        font-size: 2rem;
    }

    .promo-banner-text h3 {
        font-size: 1.2rem;
    }

    .promo-banner-text p {
        font-size: 0.9rem;
    }

    .promo-banner-cta {
        padding: 10px 25px;
        font-size: 1rem;
    }

    .countdown-timer {
        gap: 8px;
    }

    .countdown-item {
        padding: 8px 10px;
        min-width: 50px;
    }

    .countdown-number {
        font-size: 1.4rem;
    }

    .countdown-label {
        font-size: 0.65rem;
    }

    .christmas-promo-banner::before,
    .christmas-promo-banner::after {
        display: none;
    }

    .promo-info-box {
        padding: 15px;
    }

    .promo-info-box::before,
    .promo-info-box::after {
        font-size: 25px;
    }

    .package-price-original {
        font-size: 1.1rem;
    }

    .package-price.promo-price {
        font-size: 1.8rem;
    }
}

/* Animation for promo elements appearing */
@keyframes promoSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.christmas-promo-banner,
.christmas-promo-banner-compact,
.promo-info-box {
    animation: promoSlideIn 0.5s ease-out;
}

/* Hidden state for promo elements */
.christmas-promo-banner.hidden,
.christmas-promo-banner-compact.hidden,
.promo-info-box.hidden {
    display: none;
}
