/* =========================================================
   Traditional Turk Customs Notice – Frontend
   ========================================================= */

.tt-cart-customs-notice {
    display: flex;
    align-items: center;
    gap: 17px;
    width: 100%;
    margin: 0 0 24px;
    padding: 19px 21px;
    color: #33363c;
    text-decoration: none !important;
    background: #fff;
    border: 1px solid #e4e5e8;
    border-left: 4px solid #a51d32;
    border-radius: 0 12px 12px 0;
    box-shadow: 0 4px 15px rgba(28, 31, 36, 0.045);
    transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.tt-cart-customs-notice:hover {
    color: #33363c;
    border-color: rgba(165, 29, 50, 0.27);
    border-left-color: #a51d32;
    box-shadow: 0 11px 28px rgba(28, 31, 36, 0.085);
    transform: translateY(-2px);
}

.tt-cart-customs-notice__icon {
    display: flex;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #fff;
    font-size: 19px;
    font-weight: 800;
    line-height: 1;
    background: #a51d32;
    border-radius: 50%;
}

.tt-cart-customs-notice__content {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

.tt-cart-customs-notice__content strong {
    margin-bottom: 4px;
    color: #26292e;
    font-size: 14px;
    font-weight: 750;
}

.tt-cart-customs-notice__content > span {
    color: #696c73;
    font-size: 12px;
    line-height: 1.55;
}

.tt-cart-customs-notice__link {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    color: #a51d32;
    font-size: 11px;
    font-weight: 750;
    white-space: nowrap;
}

.tt-cart-customs-notice:hover .tt-cart-customs-notice__link {
    color: #851427;
}

.tt-cart-customs-notice__link span {
    font-size: 16px;
    transition: transform .22s ease;
}

.tt-cart-customs-notice:hover .tt-cart-customs-notice__link span {
    transform: translateX(4px);
}

/* Policy page */
.tt-policy-page {
    --tt-policy-primary: #a51d32;
    --tt-policy-primary-dark: #851427;
    --tt-policy-text: #30333a;
    --tt-policy-muted: #666970;
    --tt-policy-border: #e5e6e9;
    color: var(--tt-policy-text);
    background: #fff;
}

.tt-policy-container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.tt-policy-hero {
    position: relative;
    overflow: hidden;
    padding: 68px 0 64px;
    background: #f7f8fa;
    border-bottom: 1px solid #e8e9ec;
}

.tt-policy-hero::before {
    position: absolute;
    top: -180px;
    left: 50%;
    width: 560px;
    height: 560px;
    content: "";
    background: radial-gradient(circle, rgba(165, 29, 50, .075) 0, rgba(165, 29, 50, 0) 68%);
    transform: translateX(-50%);
    pointer-events: none;
}

.tt-policy-hero__inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.tt-policy-eyebrow {
    margin: 0 0 14px;
    color: var(--tt-policy-primary);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .13em;
}

.tt-policy-hero h1 {
    max-width: 820px;
    margin: 0 auto 18px;
    color: #22252a;
    font-size: clamp(34px, 5vw, 58px);
    font-weight: 750;
    line-height: 1.08;
    letter-spacing: -.045em;
}

.tt-policy-intro {
    max-width: 780px;
    margin: 0 auto;
    color: #62666d;
    font-size: 17px;
    line-height: 1.75;
}

.tt-policy-content {
    padding: 55px 0 60px;
}

.tt-policy-warning {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 32px;
    padding: 27px 30px;
    background: #fff8f2;
    border: 1px solid #f0dfd1;
    border-radius: 15px;
}

.tt-policy-warning__icon {
    display: flex;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: #fff;
    font-size: 21px;
    font-weight: 800;
    background: var(--tt-policy-primary);
    border-radius: 50%;
    box-shadow: 0 7px 18px rgba(165, 29, 50, .18);
}

.tt-policy-warning h2,
.tt-policy-refund-box h2,
.tt-policy-checklist h2,
.tt-policy-contact-card h2,
.tt-policy-acknowledgement h2 {
    color: #25282d;
    font-weight: 750;
    letter-spacing: -.03em;
}

.tt-policy-warning h2 {
    margin: 0 0 8px;
    font-size: 20px;
}

.tt-policy-warning p {
    margin: 0;
    color: var(--tt-policy-muted);
    font-size: 14px;
    line-height: 1.75;
}

.tt-policy-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 38px;
}

.tt-policy-card {
    position: relative;
    min-height: 245px;
    padding: 27px 27px 24px;
    background: #fff;
    border: 1px solid #e6e7ea;
    border-radius: 15px;
    box-shadow: 0 4px 16px rgba(29, 32, 37, .045);
    transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.tt-policy-card:hover {
    border-color: rgba(165, 29, 50, .22);
    box-shadow: 0 13px 32px rgba(29, 32, 37, .085);
    transform: translateY(-4px);
}

.tt-policy-card__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 39px;
    height: 28px;
    margin-bottom: 21px;
    color: var(--tt-policy-primary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .07em;
    background: #fff2f4;
    border-radius: 7px;
}

.tt-policy-card h3 {
    margin: 0 0 11px;
    color: #26292f;
    font-size: 19px;
    font-weight: 750;
    letter-spacing: -.025em;
}

.tt-policy-card p,
.tt-policy-refund-box p,
.tt-policy-contact-card p,
.tt-policy-acknowledgement p {
    color: var(--tt-policy-muted);
    font-size: 14px;
    line-height: 1.8;
}

.tt-policy-card p {
    margin: 0;
}

.tt-policy-refund-box {
    margin-bottom: 38px;
    padding: 32px 34px;
    background: #f8f8f9;
    border: 1px solid #e2e3e6;
    border-left: 4px solid var(--tt-policy-primary);
    border-radius: 0 15px 15px 0;
}

.tt-policy-refund-box__heading {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.tt-policy-info-icon {
    display: inline-flex;
    flex: 0 0 39px;
    align-items: center;
    justify-content: center;
    width: 39px;
    height: 39px;
    color: var(--tt-policy-primary);
    font-family: Georgia, serif;
    font-size: 21px;
    font-weight: 700;
    background: #fff;
    border: 1px solid #dedfe3;
    border-radius: 50%;
}

.tt-policy-small-title {
    display: block;
    margin-bottom: 5px;
    color: var(--tt-policy-primary);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .12em;
}

.tt-policy-refund-box h2 {
    margin: 0;
    font-size: 25px;
}

.tt-policy-refund-box p {
    margin: 0 0 15px;
}

.tt-policy-refund-box p:last-child {
    margin-bottom: 0;
}

.tt-policy-bottom-grid {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 20px;
    margin-bottom: 42px;
}

.tt-policy-checklist,
.tt-policy-contact-card {
    height: 100%;
    padding: 31px 32px;
    border: 1px solid var(--tt-policy-border);
    border-radius: 15px;
}

.tt-policy-checklist {
    background: #fff;
}

.tt-policy-contact-card {
    background: #fafafb;
}

.tt-policy-checklist h2,
.tt-policy-contact-card h2,
.tt-policy-acknowledgement h2 {
    margin: 0 0 19px;
    font-size: 25px;
}

.tt-policy-checklist ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tt-policy-checklist li {
    position: relative;
    margin-bottom: 12px;
    padding-left: 29px;
    color: #565a61;
    font-size: 14px;
    line-height: 1.65;
}

.tt-policy-checklist li:last-child {
    margin-bottom: 0;
}

.tt-policy-checklist li::before {
    position: absolute;
    top: 2px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 19px;
    height: 19px;
    content: "✓";
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    background: var(--tt-policy-primary);
    border-radius: 50%;
}

.tt-policy-contact-card p {
    margin: 0 0 22px;
}

.tt-policy-contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    color: #fff !important;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .03em;
    text-decoration: none !important;
    background: var(--tt-policy-primary);
    border-radius: 8px;
    transition: background-color .22s ease, transform .22s ease;
}

.tt-policy-contact-button:hover {
    color: #fff;
    background: var(--tt-policy-primary-dark);
    transform: translateY(-2px);
}

.tt-policy-acknowledgement {
    padding: 35px 30px;
    text-align: center;
    background: #fff;
    border-top: 1px solid #e4e5e8;
}

.tt-policy-acknowledgement p {
    max-width: 810px;
    margin: 0 auto;
}

.tt-policy-acknowledgement .tt-policy-update {
    margin-top: 15px;
    color: #8a8d93;
    font-size: 12px;
}

@media (max-width: 849px) {
    .tt-cart-customs-notice {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .tt-cart-customs-notice__content {
        width: calc(100% - 57px);
        flex-basis: calc(100% - 57px);
    }

    .tt-cart-customs-notice__link {
        margin-left: 57px;
    }

    .tt-policy-grid,
    .tt-policy-bottom-grid {
        grid-template-columns: 1fr;
    }

    .tt-policy-card {
        min-height: 0;
    }
}

@media (max-width: 549px) {
    .tt-cart-customs-notice {
        gap: 13px;
        padding: 17px 16px;
    }

    .tt-cart-customs-notice__icon {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
        font-size: 16px;
    }

    .tt-cart-customs-notice__content {
        width: calc(100% - 47px);
        flex-basis: calc(100% - 47px);
    }

    .tt-cart-customs-notice__link {
        width: 100%;
        margin-left: 47px;
    }

    .tt-policy-container {
        width: min(100% - 28px, 1120px);
    }

    .tt-policy-hero {
        padding: 44px 0 42px;
    }

    .tt-policy-hero h1 {
        font-size: 34px;
    }

    .tt-policy-intro {
        font-size: 15px;
    }

    .tt-policy-content {
        padding: 30px 0 42px;
    }

    .tt-policy-warning {
        display: block;
        padding: 23px 21px;
    }

    .tt-policy-warning__icon {
        margin-bottom: 17px;
    }

    .tt-policy-card,
    .tt-policy-refund-box,
    .tt-policy-checklist,
    .tt-policy-contact-card {
        padding: 24px 21px;
    }

    .tt-policy-refund-box__heading {
        align-items: flex-start;
    }

    .tt-policy-refund-box h2,
    .tt-policy-checklist h2,
    .tt-policy-contact-card h2,
    .tt-policy-acknowledgement h2 {
        font-size: 21px;
    }
}
