
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #fff5f6; /* Rose Gold / Pink Blush Hue */
    color: #2d2526;
    line-height: 1.5;
}

.app-container {
    max-width: 440px;
    margin: 0 auto;
    background-color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 25px rgba(224, 180, 185, 0.3);
}

.hidden {
    display: none !important;
}

.main-header {
    padding: 16px;
    text-align: center;
    background-color: #ffffff;
    border-bottom: 2px solid #fff0f2;
}

.logo-cinzel {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: 0.25em;
    color: #d15b74;
}

.back-nav-arrow {
    background: none;
    border: none;
    color: #d15b74;
    font-size: 20px;
    cursor: pointer;
}

/* ==========================================
   2. SLIDER COMPONENT SYSTEM
   ========================================== */
.slider-container {
    position: relative;
    width: 100%;
    height: 350px;
    background-color: #fff8f9;
    overflow: hidden;
}

.slider-wrapper {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.4s ease-in-out;
}

.slide {
    width: 33.333%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.95);
    color: #d15b74;
    font-weight: bold;
    border: 1px solid #ffe3e6;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(209, 91, 116, 0.15);
}

.slider-btn.left { left: 12px; }
.slider-btn.right { right: 12px; }

/* ==========================================
   3. QUANTITY SELECTOR LAYOUT
   ========================================== */
.qty-control-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fffbfb;
    border: 1px solid #ffd0d6;
    padding: 10px 16px;
    border-radius: 10px;
    margin-bottom: 16px;
}

.qty-label {
    font-size: 14px;
    font-weight: 600;
    color: #5c4d50;
}

.qty-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 1px solid #ffd0d6;
    background-color: #ffffff;
    color: #d15b74;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.qty-btn:active {
    background-color: #fff0f2;
}

.qty-number {
    font-size: 16px;
    font-weight: 700;
    color: #2d2526;
    min-width: 15px;
    text-align: center;
}

/* ==========================================
   4. PURCHASE & ACTION CTA BUTTONS
   ========================================== */
.purchase-section {
    padding: 20px;
    border-top: 1px solid #fff0f2;
    background-color: #ffffff;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.product-title { font-size: 18px; font-weight: 700; }
.product-price { font-size: 22px; font-weight: 800; color: #d15b74; }

.primary-btn {
    width: 100%;
    background: linear-gradient(135deg, #e06c85 0%, #d15b74 100%);
    color: #ffffff;
    border: none;
    font-weight: 700;
    padding: 15px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 16px;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 12px rgba(209, 91, 116, 0.25);
}

.primary-btn:active { transform: scale(0.97); }

/* ==========================================
   5. SCROLLABLE INFO & REVIEWS LAYOUT
   ========================================== */
.details-section {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.badge-natural {
    background-color: #fff0f2;
    color: #d15b74;
    padding: 8px 14px;
    border-radius: 8px;
    width: max-content;
    font-size: 13px;
    font-weight: 600;
}

.content-block h3 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #a89496;
    margin-bottom: 6px;
}

.content-block p, .content-block ul { color: #5c4d50; font-size: 14px; line-height: 1.6; }
.content-block ul { list-style-position: inside; }

.reviews-container { display: flex; flex-direction: column; gap: 10px; }
.review-card { padding: 12px; background-color: #fffbfb; border: 1px solid #fff0f2; border-radius: 10px; }
.review-header { display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 4px; }
.review-stars { color: #f59e0b; }
.review-card p { font-size: 12px; }

/* ==========================================
   6. SINGLE GRID & PRODUCT CARD COMPONENT
   ========================================== */
.grid-section {
    margin-top: 10px;
    padding-top: 18px;
    border-top: 1px solid #fff0f2;
}

.grid-section-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #a89496;
    margin-bottom: 12px;
}

.single-product-grid {
    display: flex;
    justify-content: center;
}

.product-card {
    width: 100%;
    border: 1px solid #ffd0d6;
    border-radius: 12px;
    overflow: hidden;
    background-color: #fffbfb;
    box-shadow: 0 4px 12px rgba(209, 91, 116, 0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease;
}

.product-card:active {
    transform: scale(0.98);
}

.card-img-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background-color: #fff8f9;
}

.product-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.card-title {
    font-size: 16px;
    font-weight: 700;
    color: #2d2526;
}

.product-desc {
    font-size: 13px;
    color: #5c4d50;
}

.price {
    font-size: 16px;
    font-weight: 800;
    color: #d15b74;
    margin-top: 2px;
}

.add-to-cart {
    display: block;
    text-align: center;
    background: linear-gradient(135deg, #e06c85 0%, #d15b74 100%);
    color: #ffffff;
    padding: 10px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    margin-top: 8px;
}

/* ==========================================
   7. CHECKOUT FORM ELEMENTS LAYOUT
   ========================================== */
.checkout-form-container {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group { display: flex; flex-direction: column; gap: 10px; }
.form-group h3 { font-size: 16px; font-weight: 700; color: #4a3538; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

input, select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ffd0d6;
    border-radius: 10px;
    font-size: 14px;
    background-color: #fffbfb;
    outline: none;
    color: #2d2526;
}

input:focus, select:focus { border-color: #d15b74; }

.payment-methods-box { border: 1px solid #ffd0d6; border-radius: 12px; overflow: hidden; }
.radio-row { display: flex; align-items: center; padding: 14px 16px; border-bottom: 1px solid #fff0f2; cursor: pointer; background-color: #fffbfb; gap: 12px; }
.radio-row:last-child { border-bottom: none; }
.radio-row input[type="radio"] { width: auto; accent-color: #d15b74; }

.summary-box {
    background-color: #fffbfb;
    border: 1px solid #ffd0d6;
    border-radius: 12px;
    padding: 16px;
}

.summary-item-line { display: flex; justify-content: space-between; font-size: 14px; color: #5c4d50; margin-bottom: 10px; }
.summary-item-line.total-line { border-top: 1px solid #ffd0d6; padding-top: 12px; font-weight: 700; font-size: 16px; margin-bottom: 0; }