/**
 * Shipping & Delivery Page Styles
 * S1: Hero  S2: Delivery By Service  S3: Estimated Delivery Timelines
 * S4: Shipping Options  S5: Payment Options  S6: Contact Form (reuses contact.css)
 */

/* ==========================================
   SECTION 1 — HERO
   ========================================== */

.sd-hero {
    padding: 96px 150px 48px;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.sd-hero-title {
    font-family: Georgia, 'Canela Text', serif;
    font-size: 64px;
    font-weight: 400;
    color: #2D1F1F;
    margin: 0;
    line-height: 1.1;
    text-transform: capitalize;
}

.sd-hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Mobile-only hero cards — hidden on desktop */
.sd-hero-cards {
    display: none;
}

.sd-hero-card {
    background: #fff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sd-hero-card-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.sd-hero-card-title {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #2D1F1F;
    margin: 0;
    line-height: 1.3;
}

.sd-hero-card-desc {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #2D1F1F;
    margin: 0;
    line-height: 1.5;
}

/* ==========================================
   SECTION 2 — DELIVERY BY SERVICE
   ========================================== */

.sd-services {
    padding: 96px 150px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.sd-services-title {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: #2D1F1F;
    margin: 0;
    text-align: center;
    line-height: 1.2;
}

.sd-services-rows {
    display: flex;
    flex-direction: column;
}

.sd-service-row {
    display: flex;
    align-items: center;
    padding: 32px 0;
    border-bottom: 1px solid #E0DCD3;
}

.sd-service-row:last-child {
    border-bottom: none;
}

.sd-service-row-title {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #2D1F1F;
    flex: 0 0 50%;
    line-height: 1.4;
    text-transform: uppercase;
}

.sd-service-row-desc {
    flex: 0 0 50%;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #2D1F1F;
    margin: 0;
    line-height: 1.6;
}

/* ==========================================
   SECTION 3 — ESTIMATED DELIVERY TIMELINES
   ========================================== */

.sd-timelines {
    padding: 96px 150px;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}

.sd-timelines-title {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: #2D1F1F;
    margin: 0;
    text-align: center;
    line-height: 28px;
    text-transform: capitalize;
}

.sd-timelines-grid {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    background: #E0DCD3;
    /* border: 1px solid #E0DCD3; */
    border-radius: 24px;
    gap: 1px;
    padding: 1px;
    width: 100%;
    box-sizing: border-box;
}

.sd-timeline-card {
    background: #fff;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.sd-timeline-card:first-child {
    border-radius: 23px 0 0 23px;
}

.sd-timeline-card:last-child {
    border-radius: 0 23px 23px 0;
}

.sd-timeline-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 15428.6px;
    border: 1px solid rgba(26, 26, 26, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-sizing: border-box;
    flex-shrink: 0;
    position: relative;
}

.sd-timeline-card-icon svg {
    width: 24px;
    height: 24px;
}

.sd-timeline-card-icon .flag-svg {
    position: absolute;
    width: auto;
    height: 100%;
    top: 0;
}

.sd-timeline-card-header {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.sd-timeline-card-title {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #2D1F1F;
    margin: 0;
    line-height: 29px;
    letter-spacing: -0.02em;
}

.sd-timeline-card-rows {
    display: flex;
    flex-direction: column;
}

.sd-timeline-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 16px 0;
    gap: 10px;
}

.sd-timeline-row:first-child {
    border-bottom: 1px solid #E0DCD3;
}

.sd-timeline-row:last-child {
    padding-bottom: 0;
}

.sd-timeline-label {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #2D1F1F;
    line-height: 150%;
    flex: 1;
}

.sd-timeline-value {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #2D1F1F;
    line-height: 24px;
    text-align: right;
}

/* ==========================================
   SECTION 4 — SHIPPING OPTIONS + DELIVERY INFO
   ========================================== */

.sd-options {
    padding: 128px 150px;
    background: #fff;
    display: flex;
    gap: 48px;
    align-items: flex-start;
}

.sd-options-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sd-options-title {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: #2D1F1F;
    margin: 0;
    line-height: 1.2;
}

.sd-options-desc {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.sd-options-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 36px;
    background: #2D1F1F;
    color: #fff;
    border-radius: 900px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    transition: opacity 0.2s;
    align-self: flex-start;
    box-sizing: border-box;
}

.sd-options-btn:hover {
    opacity: 0.85;
}

.sd-options-right {
    flex: 1;
    border: 1px solid #E0DCD3;
    border-radius: 24px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sd-options-card-title {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #2D1F1F;
    margin: 0;
    line-height: 1.3;
}

.sd-options-card-list {
    margin: 0;
    padding: 0 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sd-options-card-list li {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #666;
    line-height: 1.6;
}

/* ==========================================
   SECTION 5 — PAYMENT OPTIONS
   ========================================== */

.sd-payment {
    padding: 96px 150px 144px;
    background: #fff;
    display: flex;
    gap: 48px;
    align-items: flex-start;
}

.sd-payment-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sd-payment-title {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: #2D1F1F;
    margin: 0;
    line-height: 1.2;
}

.sd-payment-desc {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.sd-payment-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    background: #E0DCD3;
    /* border: 1px solid #E0DCD3; */
    border-radius: 24px;
    gap: 1px;
    padding: 1px;
    overflow: hidden;
}

.sd-payment-item {
    background: #fff;
    padding: 32px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.sd-payment-item:first-child {
    border-radius: 23px 0 0 0;
}

.sd-payment-item:nth-child(2) {
    border-radius: 0 23px 0 0;
}

.sd-payment-item:nth-child(3) {
    border-radius: 0 0 0 23px;
}

.sd-payment-item:last-child {
    border-radius: 0 0 23px 0;
}

.sd-payment-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.sd-payment-item-title {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #2D1F1F;
    line-height: 1.3;
}

/* ==========================================
   RESPONSIVE — MOBILE (max-width: 767px)
   ========================================== */

@media (max-width: 767px) {

    /* S1 — Hero */
    .sd-hero {
        padding: 48px 24px;
        gap: 32px;
    }

    .sd-hero-title {
        font-size: 32px;
    }

    .sd-hero-subtitle {
        font-size: 14px;
        line-height: 24px;
    }

    .sd-hero-cards {
        display: flex;
        flex-direction: column;
        border: 1px solid #E0DCD3;
        border-radius: 16px;
        overflow: hidden;
        width: 100%;
    }

    .sd-hero-card {
        border-bottom: 1px solid #E0DCD3;
    }

    .sd-hero-card:last-child {
        border-bottom: none;
    }

    /* S2 — Delivery By Service */
    .sd-services {
        padding: 64px 20px;
        gap: 32px;
    }

    .sd-services-title {
        font-size: 24px;
    }

    .sd-service-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 24px 0;
    }

    .sd-service-row-title {
        flex: none;
        font-size: 18px;
    }

    .sd-service-row-desc {
        flex: none;
        font-size: 14px;
    }

    /* S3 — Timelines */
    .sd-timelines {
        padding: 64px 24px;
        gap: 32px;
    }

    .sd-timelines-title {
        font-size: 24px;
        line-height: 28px;
    }

    .sd-timelines-grid {
        flex-direction: column;
        align-items: stretch;
        border-radius: 16px;
    }

    .sd-timeline-card {
        padding: 20px;
        gap: 12px;
    }

    .sd-timeline-card:first-child {
        border-radius: 15px 15px 0 0;
    }

    .sd-timeline-card:last-child {
        border-radius: 0 0 15px 15px;
    }

    .sd-timeline-card:nth-child(2) {
        border-radius: 0;
    }

    /* Icon + title side-by-side on mobile */
    .sd-timeline-card-header {
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }

    .sd-timeline-card-icon {
        width: 36px;
        height: 36px;
        border-width: 0.75px;
    }

    .sd-timeline-card-title {
        font-size: 20px;
        line-height: 28px;
    }

    .sd-timeline-row {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 0;
        gap: 4px;
    }

    .sd-timeline-row:last-child {
        padding-top: 16px;
    }

    .sd-timeline-label {
        font-size: 14px;
        line-height: 24px;
    }

    .sd-timeline-value {
        font-size: 14px;
        line-height: 17px;
        text-align: left;
    }

    /* S4 — Shipping Options */
    .sd-options {
        padding: 64px 24px;
        flex-direction: column;
        gap: 32px;
    }

    .sd-options-btn {
        width: 100%;
        justify-content: center;
        align-self: stretch;
    }

    .sd-options-right {
        padding: 24px;
    }

    .sd-options-card-list li {
        font-size: 14px;
    }

    /* S5 — Payment Options */
    .sd-payment {
        padding: 64px 24px;
        flex-direction: column;
        gap: 32px;
    }

    .sd-payment-title {
        font-size: 24px;
    }

    .sd-payment-grid {
        grid-template-columns: 1fr;
        border-radius: 16px;
    }

    .sd-payment-item {
        padding: 24px;
    }

    .sd-payment-item:first-child {
        border-radius: 15px 15px 0 0;
    }

    .sd-payment-item:nth-child(2),
    .sd-payment-item:nth-child(3) {
        border-radius: 0;
    }

    .sd-payment-item:last-child {
        border-radius: 0 0 15px 15px;
    }

    .sd-payment-item-title {
        font-size: 14px;
    }
}

/* ==========================================
   RESPONSIVE — TABLET (768px - 1023px)
   ========================================== */

@media (min-width: 768px) and (max-width: 1023px) {

    /* S1 — Hero */
    .sd-hero {
        padding: 80px 40px 48px;
    }

    .sd-hero-title {
        font-size: 48px;
    }

    /* S2 — Delivery By Service */
    .sd-services {
        padding: 80px 40px;
    }

    .sd-service-row-title {
        min-width: 220px;
        font-size: 20px;
    }

    /* S3 — Timelines */
    .sd-timelines {
        padding: 80px 40px;
    }

    .sd-timeline-card {
        padding: 24px;
    }

    .sd-timeline-card-title {
        font-size: 20px;
    }

    .sd-timeline-label {
        font-size: 14px;
    }

    .sd-timeline-value {
        font-size: 14px;
    }

    /* S4 — Shipping Options */
    .sd-options {
        padding: 80px 40px;
        gap: 32px;
    }

    /* S5 — Payment Options */
    .sd-payment {
        padding: 80px 40px;
        gap: 32px;
    }

    .sd-payment-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
