/* ============================================
   MOBILE-FIRST DESIGN - Optimized for 99% Mobile Conversions
   ============================================ */

/* Base Mobile Styles (Default - Mobile First) */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    touch-action: manipulation;
    overflow-x: hidden;
}

/* Mobile Navbar */
.navbar {
    height: 70px;
    padding: 10px 15px;
    background-image: linear-gradient(180deg, #D2DCDF, #ffffff);
    position: relative;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.navbar img:hover {
    transform: scale(1.05);
}

/* Mobile Banner */
.striped-background {
    width: 100%;
    padding: 15px 10px;
    margin: 10px 0;
    border-radius: 10px;
    background: repeating-linear-gradient(
        90deg,
        #AA343C,
        #AA343C 8px,
        #C04D55 8px,
        #C04D55 16px
    );
    animation: fadeInUp 0.6s ease-out 0.2s both;
    transition: transform 0.3s ease;
}

.striped-background:hover {
    transform: translateY(-2px);
}

.striped-background p {
    font-size: 18px !important;
    color: #ffffff;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    animation: fadeIn 0.8s ease-out 0.4s both;
}

/* Mobile Images - Hero Image (Crisp Rendering - No Blur) */
.wrong_right {
    width: 100%;
    position: relative;
    overflow: hidden;
    display: block;
    /* Prevent any blur from parent transforms */
    transform: none;
    will-change: auto;
}

.wrong_right img,
.wrong_right picture,
.wrong_right picture img {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 10px;
    /* Remove all transforms that can cause blur */
    transform: none !important;
    /* No animation that might cause blur */
    animation: none !important;
    /* High-quality smooth rendering for photos */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: auto;
    -ms-interpolation-mode: bicubic;
    /* Prevent any browser optimizations that cause blur */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* No filters */
    filter: none !important;
    -webkit-filter: none !important;
    /* Prevent subpixel rendering issues */
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    /* Ensure proper display */
    display: block;
    /* Use contain to maintain aspect ratio without distortion */
    object-fit: contain;
    /* No transforms that can cause blur */
    -webkit-transform: none;
    transform: none;
    /* Force high-quality rendering */
    -webkit-image-rendering: auto;
    image-rendering: auto;
}

.wrong_right:hover img,
.wrong_right:hover picture {
    /* No transform on hover to prevent blur */
    transform: none !important;
}

/* Remove scale animation that might cause blur */
@keyframes fadeInScale {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Success Text - Mobile */
.text-container {
    background: linear-gradient(to right, #004d66, #0099cc);
    border-radius: 0;
    color: white;
    padding: 20px 15px;
    margin: 15px 0;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.text-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 77, 102, 0.3);
}

.text-container p {
    font-size: 16px;
    margin: 0;
    line-height: 1.5;
    padding: 0;
}

.text-container span {
    color: #ffcc00;
    font-weight: bold;
}

/* Urgency Banner - Beautiful Design with Timer */
.urgency-banner {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #fff;
    padding: 10px 12px;
    margin: 10px 0;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3), 0 0 20px rgba(255, 152, 31, 0.2);
    border-top: 3px solid #FF981F;
    border-bottom: 3px solid #FF981F;
    animation: slideInDown 0.5s ease-out 0.3s both;
    transition: all 0.3s ease;
}

@keyframes slideInDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.urgency-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.urgency-icon {
    font-size: 28px;
    animation: pulse-icon 2s infinite;
    flex-shrink: 0;
}

@keyframes pulse-icon {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.urgency-text-wrapper {
    flex: 1;
    text-align: center;
    min-width: 0;
    padding: 0;
}

.urgency-text-wrapper .mb-1 {
    margin-bottom: 4px !important;
}

.urgency-text {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
    color: #ffffff !important;
}

.urgency-text strong {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    font-weight: 700;
}

.discount-highlight {
    color: #ffffff !important;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    background: transparent;
    padding: 0;
    border-radius: 0;
    display: inline;
}

/* Countdown Timer Styles */
.countdown-timer {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.timer-label {
    font-size: 12px;
    color: #FFD700;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timer-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.timer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 8px 12px;
    min-width: 55px;
    border: 1px solid rgba(255, 152, 31, 0.3);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.timer-value {
    font-size: 20px;
    font-weight: 700;
    color: #FFEB3B;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    animation: timer-pulse 1s infinite;
}

@keyframes timer-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.timer-label-small {
    font-size: 10px;
    color: #fff;
    margin-top: 4px;
    font-weight: 500;
    text-transform: uppercase;
    opacity: 0.9;
}

.timer-separator {
    font-size: 20px;
    font-weight: 700;
    color: #FF981F;
    margin: 0 2px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Products View - Mobile */
#products_view {
    background-color: #EDF1F2;
    padding: 20px 10px;
}

.thumbnail-images {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.thumbnail {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.8;
    animation: fadeInScale 0.5s ease-out both;
}

.thumbnail:hover {
    transform: scale(1.08);
    opacity: 1;
    border-color: rgba(255, 152, 31, 0.5);
    box-shadow: 0 4px 12px rgba(255, 152, 31, 0.3);
}

.thumbnail.active {
    border: 3px solid #FF981F;
    transform: scale(1.15);
    opacity: 1;
    box-shadow: 0 4px 15px rgba(255, 152, 31, 0.5);
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 0.8;
        transform: scale(1);
    }
}

/* Mobile CTA Button - Large and Touch-Friendly */
.jholok_button {
    background-color: #FF981F;
    color: #ffffff;
    padding: 18px 30px;
    font-size: 18px;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 4px 15px rgba(255, 152, 31, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    overflow: hidden;
    animation: pulseButton 2s ease-in-out infinite;
}

.jholok_button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.jholok_button:active::before {
    width: 300px;
    height: 300px;
}

.jholok_button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 152, 31, 0.5);
    background-color: #ff8a00;
}

.jholok_button:active {
    transform: scale(0.97) translateY(0);
    box-shadow: 0 2px 8px rgba(255, 152, 31, 0.3);
}

@keyframes pulseButton {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(255, 152, 31, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(255, 152, 31, 0.6);
    }
}

/* Specifications - Mobile */
#card_one_area {
    background-image: linear-gradient(to right, #22535F, #706A47);
    padding: 20px 10px;
    margin: 20px 0;
}

.spec-box {
    background-color: #526150;
    border-radius: 12px;
    color: #f8f9fa;
    padding: 20px 15px;
    margin: 15px 0;
    box-shadow: 8px 8px 0px -2px rgba(0,0,0,0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInLeft 0.6s ease-out both;
}

.spec-box:nth-child(2) {
    animation-delay: 0.2s;
}

.spec-box:hover {
    transform: translateX(0) translateY(-5px);
    box-shadow: 10px 10px 0px -2px rgba(0,0,0,0.4);
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.spec-box h4 {
    font-size: 20px;
    margin-bottom: 15px;
}

.spec-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.spec-box ul li {
    font-size: 15px;
    margin: 10px 0;
    padding-left: 25px;
    position: relative;
}

.spec-box ul li .circle {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background-color: #EF9122;
    border-radius: 50%;
}

/* Features - Mobile */
.feature-box {
    background-color: #F4F6F7;
    border-radius: 12px;
    padding: 20px 15px;
    margin: 15px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    height: 100%;
}

.feature-box img {
    width: 35px;
    height: 35px;
    margin-bottom: 10px;
}

.feature-box h4 {
    font-size: 18px;
    margin: 10px 0;
}

.feature-box p {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* Customer Reviews Section */
.customer-reviews {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;
}

.review-item {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px 18px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border-left: 4px solid #FF981F;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out both;
}

.review-item:nth-child(1) { animation-delay: 0.1s; }
.review-item:nth-child(2) { animation-delay: 0.2s; }
.review-item:nth-child(3) { animation-delay: 0.3s; }
.review-item:nth-child(4) { animation-delay: 0.4s; }

.review-item:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
    transform: translateY(-3px);
    border-left-width: 6px;
}

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

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

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

.review-item:last-child {
    margin-bottom: 0;
}

.review-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.review-stars {
    font-size: 16px;
    color: #FFD700;
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.review-name {
    font-size: 16px;
    font-weight: 700;
    color: #1E5260;
    margin-bottom: 4px;
}

.review-location {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.review-text {
    font-size: 14px;
    color: #444;
    line-height: 1.7;
    text-align: left;
    margin: 0;
    font-style: italic;
}

/* Alternative Decorative Styles - Uncomment to use */

/* Style Option 2: Colored Bullet Points */
/*
.feature-icon {
    width: 8px;
    height: 8px;
    min-width: 8px;
    min-height: 8px;
    background: #FF981F;
    border-radius: 50%;
    margin-top: 8px;
    box-shadow: 0 0 0 3px rgba(255, 152, 31, 0.2);
}
*/

/* Style Option 3: Numbered Badges */
/*
.feature-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    background: #1E5260;
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}
.feature-item:nth-child(1) .feature-icon::before { content: '1'; }
.feature-item:nth-child(2) .feature-icon::before { content: '2'; }
.feature-item:nth-child(3) .feature-icon::before { content: '3'; }
.feature-item:nth-child(4) .feature-icon::before { content: '4'; }
.feature-item:nth-child(5) .feature-icon::before { content: '5'; }
*/

/* Style Option 4: Colored Left Border */
/*
.feature-item {
    padding-left: 15px;
    border-left: 4px solid #FF981F;
    border-bottom: none;
}
.feature-icon {
    display: none;
}
*/

/* Style Option 5: Gradient Underline */
/*
.feature-title {
    display: inline-block;
    padding-bottom: 3px;
    background-image: linear-gradient(to right, #FF981F, transparent);
    background-size: 0% 2px;
    background-repeat: no-repeat;
    background-position: bottom left;
    transition: background-size 0.3s ease;
}
.feature-item:hover .feature-title {
    background-size: 100% 2px;
}
*/

/* Social Proof - Mobile */
.social-proof {
    background-color: #f8f9fa;
    padding: 25px 15px;
    margin: 20px 0;
}

.proof-box {
    padding: 15px 10px;
    text-align: center;
}

.proof-box h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.proof-box p {
    font-size: 14px;
    color: #666;
    margin: 5px 0 0 0;
}

/* Call Section - Mobile */
.call_area {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 10px;
    gap: 10px;
}

.call_num {
    display: flex;
    align-items: center;
    gap: 10px;
}

.call_num img {
    width: 40px;
    height: 40px;
}

.call_num h1 {
    font-size: 20px;
    margin: 0;
    color: #1C4D5A;
    font-weight: 600;
}

.iconsshadow {
    width: 25px;
    height: 25px;
}

.delivery_text {
    padding: 15px 10px;
    text-align: center;
}

.delivery_text p {
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
}

/* Discount Buttons - Mobile */
.discount_button {
    background-color: #0A242C;
    padding: 20px 10px;
}

.discount_button .row {
    margin: 0;
}

.hhhh {
    background-color: #ffffff !important;
    border: 0;
    padding: 15px 10px;
    font-weight: 700;
    font-size: 14px;
    margin: 8px 0;
    border-radius: 8px;
    width: 100%;
}

/* Bonus Offer - Mobile */
.bonus-offer {
    background: linear-gradient(135deg, #fff3cd 0%, #ffe69c 100%);
    border: 3px solid #FF981F !important;
    padding: 15px 10px !important;
    margin: 15px 0;
    border-radius: 10px;
}

.bonus-offer h4 {
    font-size: 16px;
    margin: 8px 0;
    line-height: 1.4;
}

/* Order Form - Mobile */
.order_button {
    background-color: #FF981F;
    color: #fff;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 8px;
    margin: 15px 0;
    display: inline-block;
}

.card {
    background-color: #D8EDF3;
    border: 0;
    border-radius: 12px;
    padding: 25px 20px !important;
    margin: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out 0.5s both;
}

.card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.card-body {
    padding: 0 !important;
}

/* Form Groups */
.form-group {
    margin-bottom: 20px;
    width: 100%;
}

.form-group:last-child {
    margin-bottom: 0;
}

/* Form Labels */
.form-label {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
    color: #333;
    text-align: left;
}

.form-label.text-center {
    text-align: center;
}

/* Form Controls */
.form-control {
    font-size: 16px; /* Prevents zoom on iOS */
    padding: 14px 16px;
    border-radius: 8px;
    border: 2px solid #ddd;
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #fff;
    transform: translateY(0);
}

.form-control:focus {
    border-color: #FF981F;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 152, 31, 0.15), 0 2px 8px rgba(255, 152, 31, 0.1);
    background-color: #fff;
    transform: translateY(-1px);
}

.form-control:valid {
    border-color: #28a745;
}

.form-control:invalid:not(:placeholder-shown) {
    border-color: #dc3545;
    animation: shake 0.3s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.form-control::placeholder {
    color: #999;
    opacity: 1;
}

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

/* Quantity Selector */
.quantity-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
}

.quantity-input {
    max-width: 120px !important;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    margin: 0 !important;
    padding: 12px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #FF981F !important;
}

.quantity-input:focus {
    transform: scale(1.05);
    box-shadow: 0 0 0 3px rgba(255, 152, 31, 0.2);
}

/* Quantity Buttons - Mobile */
.kombesi {
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    background-color: #FF981F;
    color: #1E5260;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(255, 152, 31, 0.3);
    position: relative;
    overflow: hidden;
}

.kombesi::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.kombesi:active::before {
    width: 100px;
    height: 100px;
}

.kombesi:hover {
    background-color: #ff8c00;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 152, 31, 0.4);
}

.kombesi:active {
    transform: scale(0.9);
    box-shadow: 0 1px 4px rgba(255, 152, 31, 0.2);
}

/* Radio Buttons - Mobile */
.form-check {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    min-height: 44px;
    width: 100%;
}

.form-check-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Color Selection Wrapper - Mobile */
.color-selection-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0;
    margin: 0;
}

.color-option {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: 0;
    width: auto;
    min-height: 44px; /* Touch-friendly */
}

.color-option .form-check {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    width: 100%;
}

.color-option .form-check-input {
    margin-right: 12px;
    margin-left: 0;
    margin-top: 0;
    margin-bottom: 0;
    flex-shrink: 0;
    position: relative;
    top: 0;
    left: 0;
}

.color-option .form-check-label {
    margin: 0;
    padding: 0;
    white-space: nowrap;
    display: flex;
    align-items: center;
    line-height: 1.5;
}

.form-check-input {
    width: 22px;
    height: 22px;
    min-width: 22px;
    margin: 0;
    margin-right: 10px;
    cursor: pointer;
    border: 2px solid #ddd;
    flex-shrink: 0;
    vertical-align: middle;
}

.form-check-input:checked {
    background-color: #FF981F;
    border-color: #FF981F;
}

.form-check-label,
.check-label {
    font-size: 16px;
    margin: 0;
    cursor: pointer;
    color: #333;
    font-weight: 500;
    line-height: 1.5;
    display: flex;
    align-items: center;
    flex: 1;
}

/* Delivery Options */
.delivery-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.delivery-option {
    background-color: #fff;
    padding: 15px 18px;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    width: 100%;
}

.delivery-option:hover {
    border-color: #FF981F;
    background-color: #fff9f0;
}

.delivery-option:hover {
    cursor: pointer;
}

.delivery-option .form-check {
    width: 100%;
    margin: 0;
    padding: 0;
}

.delivery-option .form-check-input {
    margin-right: 12px;
}

.delivery-option .form-check-input:checked {
    border-color: #FF981F;
    background-color: #FF981F;
}

.delivery-option .form-check-input:checked ~ .form-check-label {
    color: #FF981F;
    font-weight: 600;
}

.delivery-option:has(.form-check-input:checked) {
    border-color: #FF981F;
    background-color: #fff9f0;
}

/* Fallback for browsers without :has() support */
.delivery-option.active {
    border-color: #FF981F;
    background-color: #fff9f0;
}

/* Total Price Box */
.total-price-box {
    background: linear-gradient(135deg, #fff3cd 0%, #ffe69c 100%);
    padding: 20px;
    border-radius: 12px;
    border: 2px solid #FF981F;
    margin: 20px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(255, 152, 31, 0.2);
}

.total-price-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 152, 31, 0.3);
}

.total-price-box h5 {
    color: #000;
    font-size: 22px;
    margin: 0;
    font-weight: 700;
    transition: all 0.3s ease;
}

.total-amount {
    color: #dc3545 !important;
    font-size: 28px;
    font-weight: 800;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    display: inline-block;
}

/* Submit Button - Mobile */
.orderr {
    background-color: #dc3545;
    color: #fff;
    padding: 18px 30px;
    font-size: 20px;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    width: 100%;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: all 0.3s;
    display: block;
    margin: 0 auto;
}

.orderr:hover {
    background-color: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.5);
}

.orderr:active {
    transform: scale(0.98) translateY(0);
}

.orderr:disabled {
    opacity: 0.7 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    transform: none !important;
    background-color: #6c757d !important;
}

/* Form Error Messages */
.alert {
    padding: 15px 20px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeaa7;
}

.alert ul {
    margin: 10px 0 0 0;
    padding-left: 20px;
}

.alert li {
    margin: 5px 0;
}

.btn-close {
    background: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
    float: right;
    opacity: 0.5;
    padding: 0;
    margin: -5px -10px 0 0;
}

.btn-close:hover {
    opacity: 1;
}

/* Form Validation States */
.form-control.is-invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 3.6 .4.4.4-.4m0 4.8-.4-.4-.4.4'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 5px;
    font-size: 13px;
    color: #dc3545;
}

/* Sticky Mobile CTA */
.mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #FF981F 0%, #ff8c00 100%);
    padding: 15px;
    z-index: 10000;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
    display: none;
}

.mobile-sticky-cta button {
    width: 100%;
    background: #fff;
    color: #FF981F;
    border: none;
    padding: 16px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    touch-action: manipulation;
}

.mobile-sticky-cta .price-info {
    text-align: center;
    color: #fff;
    font-size: 14px;
    margin-bottom: 8px;
}

/* Total Price Display */
#total {
    font-size: 24px;
    color: #dc3545;
    font-weight: 700;
}

/* Main Image */
.main-image {
    margin: 20px 0;
    position: relative;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    opacity: 0;
    transform: scale(0.95);
}

.main-image img.loaded {
    opacity: 1;
    transform: scale(1);
}

.main-image img.fade-in {
    animation: imageFadeIn 0.6s ease-out forwards;
}

@keyframes imageFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Text Colors */
.text-warningg {
    color: #F2A74E !important;
    font-weight: 600;
}

.tmycolor {
    color: #1E5260;
}

.tmycolor2 {
    color: #EF9122;
    font-weight: 700;
}

.textlightf {
    color: #83A0A7;
}

/* Container Padding - Mobile */
.container {
    padding-left: 15px;
    padding-right: 15px;
}

/* Section Spacing - Mobile */
section {
    margin: 20px 0;
}

/* Hide on Mobile */
.desktop-only {
    display: none !important;
}

/* Override legacy media.css styles for mobile */
@media (max-width: 575.99px) {
    /* Ensure mobile-first spacing */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Touch-friendly tap targets */
    button, a, input[type="submit"], input[type="button"] {
        min-height: 44px; /* iOS recommended minimum */
        min-width: 44px;
    }
    
    /* Prevent text selection on buttons (better UX) */
    button {
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
    
    /* Better form input on mobile */
    input, textarea, select {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        border-radius: 8px;
    }
    
    /* Color selection mobile fix */
    .color-selection-wrapper {
        width: 100%;
        max-width: 100%;
    }
    
    .color-option {
        width: 100%;
        max-width: 200px;
    }
    
    .color-option .form-check {
        width: 100%;
        justify-content: center;
    }
    
    /* Urgency banner mobile */
    .urgency-banner {
        padding: 8px 10px;
    }
    
    .urgency-text {
        font-size: 12px;
        line-height: 1.3;
    }
    
    .countdown-timer {
        margin-top: 6px;
        padding-top: 6px;
    }
    
    .urgency-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .urgency-icon {
        font-size: 24px;
    }
    
    .urgency-text {
        font-size: 13px;
    }
    
    .timer-display {
        gap: 6px;
    }
    
    .timer-item {
        min-width: 50px;
        padding: 6px 10px;
    }
    
    .timer-value {
        font-size: 18px;
    }
    
    .timer-label-small {
        font-size: 9px;
    }
    
    .timer-separator {
        font-size: 18px;
    }
}

/* Smooth scrolling for all devices */
html {
    scroll-behavior: smooth;
}

/* ============================================
   TABLET STYLES (576px and up)
   ============================================ */
@media (min-width: 576px) {
    .striped-background p {
        font-size: 22px !important;
    }
    
    .text-container p {
        font-size: 18px;
    }
    
    .urgency-content {
        gap: 15px;
    }
    
    .urgency-icon {
        font-size: 32px;
    }
    
    .urgency-text {
        font-size: 15px;
    }
    
    .timer-value {
        font-size: 22px;
    }
    
    .timer-item {
        min-width: 60px;
        padding: 10px 14px;
    }
    
    .thumbnail {
        width: 80px;
        height: 80px;
    }
    
    .jholok_button {
        font-size: 20px;
        padding: 20px 40px;
    }
    
    .call_num h1 {
        font-size: 24px;
    }
    
    .bonus-offer h4 {
        font-size: 18px;
    }
    
    .card {
        padding: 30px 25px !important;
    }
    
    .quantity-input {
        max-width: 150px !important;
    }
    
    .orderr {
        max-width: 500px;
    }
    
    .customer-reviews {
        max-width: 800px;
    }
    
    .review-item {
        padding: 22px 20px;
    }
    
    .review-name {
        font-size: 17px;
    }
    
    .review-text {
        font-size: 15px;
    }
}

/* ============================================
   DESKTOP STYLES (768px and up)
   ============================================ */
@media (min-width: 768px) {
    .navbar {
        height: 90px;
    }
    
    .navbar img {
        height: 65px;
    }
    
    .striped-background {
        padding: 2% 10%;
    }
    
    .striped-background p {
        font-size: 28px !important;
    }
    
    .text-container {
        padding: 25px 0;
    }
    
    .text-container p {
        font-size: 24px;
    }
    
    .thumbnail {
        width: 100px;
        height: 100px;
    }
    
    .jholok_button {
        font-size: 24px;
        padding: 14px 80px;
        max-width: none;
    }
    
    .spec-box {
        padding: 30px 20px;
    }
    
    .feature-box {
        padding: 30px 20px;
    }
    
    .call_num h1 {
        font-size: 28px;
    }
    
    .mobile-sticky-cta {
        display: none !important;
    }
    
    .desktop-only {
        display: block !important;
    }
    
    .container {
        max-width: 1140px;
    }
    
    .card {
        padding: 40px 35px !important;
    }
    
    .form-group {
        margin-bottom: 25px;
    }
    
    .quantity-selector {
        gap: 20px;
    }
    
    .quantity-input {
        max-width: 180px !important;
        font-size: 24px;
    }
    
    .kombesi {
        width: 60px;
        height: 60px;
        min-width: 60px;
        min-height: 60px;
        font-size: 28px;
    }
    
    .delivery-options {
        flex-direction: row;
        gap: 20px;
    }
    
    .delivery-option {
        flex: 1;
    }
    
    .orderr {
        max-width: 600px;
        font-size: 22px;
        padding: 20px 40px;
    }
    
    .customer-reviews {
        max-width: 1000px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .review-item {
        padding: 25px 22px;
        margin-bottom: 0;
    }
    
    .review-name {
        font-size: 18px;
    }
    
    .review-text {
        font-size: 15px;
    }
}

/* ============================================
   LARGE DESKTOP (992px and up)
   ============================================ */
@media (min-width: 992px) {
    .container {
        max-width: 1140px;
    }
}

