/* Regular */
@font-face {
    font-family: 'Roboto';
    src: url('/front/fonts/roboto/Roboto-Regular.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Global */
    --container: 1180px;
    --bg: #ffffff;
    --text: #0b1220;
    --muted: #6b7280;

    /* Brand */
    --blue: #0f2e57;
    --blue2: #143a6d;

    /* Shadows / radius */
    --shadow: 0 10px 30px rgba(2, 8, 23, .10);

    /* Mosaic */
    --m-brown: #5a2a12;
    --m-cream: #fdeecf;
    --m-shadow: 0 12px 30px rgba(2, 8, 23, .10);

    /* News cards (home) */
    --news-radius: 14px;
    --news-shadow: 0 14px 30px rgba(2, 8, 23, .16);

    /* Footer */
    --f-text: #0b1220;
    --f-max: 1180px;

    /* About/Auth shared */
    --a-text: #0b1220;
    --a-muted: #516579;
    --a-bg: #ffffff;
    --a-soft: #f4f7fb;
    --a-sand: #f4e6c8;
    --a-line: rgba(15, 46, 87, .14);
    --a-shadow: 0 18px 40px rgba(2, 8, 23, .12);
    --a-radius: 16px;

    /* Products */
    --p-blue: #0f2e57;
    --p-text: #0b1220;
    --p-muted: #6b7280;
    --p-line: rgba(15, 46, 87, .14);
    --p-shadow: 0 14px 34px rgba(2, 8, 23, .10);
    --p-radius: 16px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: var(--text);
}

/* =========================
   SHARED UTILITIES
========================= */
.container,
.wrap,
.mosaic-wrap,
.news-wrap,
.footer-wrap {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 18px;
}

.wrap {
    padding: 14px 18px;
}

.footer-wrap {
    max-width: var(--f-max);
    margin-top: 50px;
}

a {
    color: inherit;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

label {
    font-size: 13px;
    color: var(--blue);
}

.req {
    color: #e11d48;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid rgba(15, 46, 87, .22);
    border-radius: 12px;
    height: 42px;
    padding: 0 12px;
    outline: none;
    font-size: 14px;
    background: #fff;
}

textarea {
    height: 96px;
    resize: vertical;
    padding: 8px 12px 10px;
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(15, 46, 87, .55);
    box-shadow: 0 0 0 3px rgba(15, 46, 87, .10);
}

/* Buttons - unify */
.btn {
    border: 1px solid rgba(15, 46, 87, .25);
    background: #fff;
    color: var(--blue);
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 16px;
    border-radius: 999px;
    font-size: 14px;
}

.btn:hover {
    filter: brightness(1.03);
}

.btn.primary {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}

.btn.success {
    background: #28a745;
    color: #fff;
    border-color: #28a745;
}

.btn.ghost:hover {
    background: rgba(15, 46, 87, .06);
}

.wfull {
    width: 100%;
}

/* =========================
   HEADER
========================= */
.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--bg);
    box-shadow: 0 6px 18px rgba(2, 8, 23, .06);
}

.header {
    display: flex;
    align-items: center;
    gap: 18px;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 180px;
}

.brand .logo {
    font-weight: 800;
    font-size: 34px;
    letter-spacing: .2px;
    color: var(--blue);
    line-height: 1;
    width: 200px;
}

.brand .tag {
    font-size: 11px;
    color: var(--muted);
    margin-top: 6px;
    letter-spacing: .4px;
    text-transform: uppercase;
}

nav {
    flex: 1;
    display: flex;
    padding-left: 30px;
    gap: 22px;
    flex-wrap: wrap;
}

nav a {
    text-decoration: none;
    color: var(--blue);
    font-weight: 500;
    font-size: 19px;
    letter-spacing: .3px;
    border-radius: 10px;
    font-family: "Roboto", sans-serif;
}

.actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.search {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid rgba(15, 46, 87, .15);
    border-radius: 999px;
    overflow: hidden;
    height: 40px;
    min-width: 260px;
}

.search input {
    border: 0;
    outline: 0;
    padding: 0 14px;
    width: 100%;
    font-size: 14px;
    height: 40px;
}

.search button {
    height: 40px;
    width: 44px;
    border: 0;
    cursor: pointer;
    background: var(--blue);
    color: #fff;
    display: grid;
    place-items: center;
}

.social {
    display: flex;
    gap: 8px;
}

.social .iconbtn {
    height: 36px;
    width: 36px;
    border-radius: 999px;
    border: 1px solid rgba(15, 46, 87, .18);
    background: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
    text-decoration: none;
    color: #000;
}

.social .iconbtn:hover {
    background: rgba(15, 46, 87, .06);
}


/* =========================
   NEWS
========================= */
.news {
    background: #1e3155;
    padding: 46px 0 54px;
}

.news-head {
    margin-bottom: 18px;
}

.news-head h2 {
    margin: 0 0 10px;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: .2px;
    color: #fff;
}

.news-line {
    height: 1px;
    background: rgba(255, 255, 255, .55);
    width: 100%;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 22px;
}

.news-card {
    background: #fff;
    border-radius: var(--news-radius);
    overflow: hidden;
    box-shadow: var(--news-shadow);
    transform: translateY(0);
    transition: transform .2s ease, box-shadow .2s ease;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(2, 8, 23, .22);
}

.news-cover {
    display: block;
    background: #e5e7eb;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.news-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
}

.news-body {
    padding: 18px 18px 22px;
}

.news-title {
    margin: 0 0 14px;
    font-size: 24px;
    line-height: 1.15;
    font-weight: 500;
    color: var(--blue);
    letter-spacing: .1px;
}

.news-title a {
    color: inherit;
    text-decoration: none;
}

.news-meta {
    font-size: 14px;
    color: #374151;
    font-weight: 600;
}

.news-cta {
    display: flex;
    justify-content: center;
    margin-top: 34px;
}

.news-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    background: #fff;
    color: var(--blue);
    border-radius: 0;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, .55);
    box-shadow: 0 10px 24px rgba(2, 8, 23, .14);
}

.news-btn:hover {
    filter: brightness(1.02);
}


/* =========================
   FOOTER
========================= */
.site-footer {
    background: #fff;
}

.footer-cta {
    background: var(--blue);
    color: #fff;
    padding: 10px 0;
}

.footer-cta-wrap {
    max-width: var(--f-max);
    margin: 0 auto;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.footer-cta-text {
    font-size: 22px;
    letter-spacing: .2px;
}

.footer-cta-btn {
    text-decoration: none;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .9);
    padding: 12px 22px;
    background: transparent;
    letter-spacing: .6px;
}

.footer-cta-btn:hover {
    background: rgba(255, 255, 255, .10);
}

.footer-main {
    padding: 5px 0 1px;
}

.copyright-text {
    padding-top: 10px;
    border-top: 1px #0f2e57 solid;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr 1.2fr;
    gap: 34px;
    align-items: start;
}

.footer-logo {
    font-size: 44px;
    font-weight: 700;
    font-style: italic;
    color: var(--blue);
    letter-spacing: .2px;
    line-height: 1;
}

.footer-logo img {
    width: 200px;
}

.footer-tag {
    margin-top: 20px;
    color: #000;
    font-size: 15px;
    letter-spacing: .3px;
}

.footer-title {
    font-weight: 700;
    color: var(--blue);
    letter-spacing: .3px;
    text-transform: uppercase;
    font-size: 14px;
}

.footer-underline {
    width: 34px;
    height: 2px;
    background: var(--blue);
    margin: 10px 0 16px;
}

.footer-social {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 20px;
    margin-top: 25px;
}

.social-btn {
    height: 44px;
    width: 44px;
    border-radius: 12px;
    border: 1px solid rgba(15, 46, 87, .18);
    display: grid;
    place-items: center;
    text-decoration: none;
    color: var(--blue);
    font-weight: 700;
    background: #fff;
}

.social-btn:hover {
    background: rgba(15, 46, 87, .06);
}

.footer-resource {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: var(--blue);
    color: #fff;
    font-weight: 700;
    padding: 14px 18px;
    min-width: 230px;
}

.footer-company {
    font-weight: 700;
    color: var(--blue);
    margin: 6px 0 10px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 10px 0 12px;
}

.contact-row {
    text-decoration: none;
    color: var(--f-text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-ico {
    width: 20px;
    display: inline-grid;
    place-items: center;
    color: var(--blue);
}

.footer-address {
    color: #1f2937;
    line-height: 1.55;
    margin-bottom: 14px;
}

.footer-privacy {
    color: var(--blue);
    text-decoration: none;
    margin-right: 20px;
}

@media (max-width: 768px) {
    .actions, .desc {
        display: none !important;
    }
}


/* =========================
   PAGE HEADER / BREADCRUMB
========================= */
.page-header {
    background: #fafafa;
    padding: 15px 0;
}

.page-header-wrap {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.page-title {
    margin: 0;
    color: #000;
    font-size: 36px;
    font-weight: 500;
    letter-spacing: .4px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #000;
    flex-direction: row;
    justify-content: end;
}

.breadcrumb a {
    color: #000;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    font-family: unset;
}

.hidden {
    display: none;
}

.breadcrumb .sep {
    opacity: .7;
}

.breadcrumb .current {
    font-weight: 500;
    opacity: .9;
    font-size: 13px;
}

/* Tablet */
@media (max-width: 992px) {
    .breadcrumb {
        font-size: 13px;
    }
}

/* Mobil */
@media (max-width: 768px) {
    .breadcrumb {
        display: none;
    }
}

/* =========================
   STORY
========================= */
.story {
    position: relative;
    padding: 60px 0 80px;
    background: #fff;
    overflow: hidden;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: start;
}

.story-col {
    color: #1f2937;
}

.story-line {
    width: 170px;
    height: 2px;
    background: #0f2e57;
    margin-bottom: 18px;
}

.story h2 {
    margin: 0 0 18px;
    color: #0f2e57;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: .2px;
}

.story p {
    margin: 0 0 14px;
    font-size: 16px;
    line-height: 1.9;
    color: #6b7280;
}

.story-decor {
    position: absolute;
    bottom: -40px;
    width: 360px;
    height: 220px;
    object-fit: cover;
    opacity: .9;
    pointer-events: none;
    filter: saturate(1.05);
}

.story-decor-left {
    left: -30px;
    border-top-right-radius: 26px;
}

.story-decor-right {
    right: -30px;
    border-top-left-radius: 26px;
}

/* =========================
   AUTH TOPBAR
========================= */
.topbar-auth {
    background: #0f2e57;
    color: #fff;
    font-size: 13px;
}

.topbar-auth-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.topbar-link {
    color: rgba(255, 255, 255, .92);
    text-decoration: none;
    font-weight: 700;
}

.topbar-sep {
    opacity: .55;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.topbar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid var(--p-blue);
    color: var(--p-blue);
    text-decoration: none;
    font-weight: 500;
    letter-spacing: .2px;
    background: transparent;
}

.topbar-btn:hover {
    background: rgba(255, 255, 255, .10);
}

.topbar-btn.primary {
    background: #fff;
    color: #0f2e57;
    border-color: #fff;
}


.topbar-btn.danger {
    border-color: rgba(255, 255, 255, .55);
    background: rgba(239, 68, 68, .20);
}

.topbar-btn.danger:hover {
    background: rgba(239, 68, 68, .28);
}

.seo-description h1 {
    font-size: 16px;
}

.seo-description h2 {
    font-size: 16px;
}

.seo-description h3 {
    font-size: 16px;
}

.seo-description h4 {
    font-size: 16px;
}

.seo-description {
    margin-top: 70px;
}

.seo-description p {
    font-size: 13px;
}

/* =========================
   RESPONSIVE (tek yerde)
========================= */
@media (max-width: 1100px) {
    .products-layout {
        grid-template-columns: 300px 1fr;
    }
}

@media (max-width: 980px) {
    nav {
        display: none;
    }

    .search {
        min-width: 210px;
    }

    .slide {
        grid-template-columns: 1fr;
    }

    .media-right {
        display: none;
    }

    .title {
        font-size: 38px;
    }




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

    .news-title {
        font-size: 22px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-resource {
        min-width: 0;
        width: fit-content;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-top {
        grid-template-columns: 1fr;
    }

    .about-text p {
        max-width: 100%;
    }

    .about-cards {
        grid-template-columns: 1fr;
    }

    .about-image img {
        height: 260px;
    }

    .cat3-title {
        font-size: 30px;
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .story-decor {
        display: none;
    }

    .story {
        padding: 42px 0 54px;
    }

    .news-layout {
        grid-template-columns: 1fr;
    }

    .news-side {
        position: static;
    }

    .news-hero img {
        height: 340px;
    }

    .auth-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .gdpr-head h1 {
        font-size: 28px;
    }
}

@media (max-width: 720px) {
    .topbar-left {
        display: none;
    }

    .topbar-auth-wrap {
        justify-content: flex-end;
    }
}

@media (max-width: 640px) {
    .page-header {
        padding: 20px 0;
    }

    .page-title {
        font-size: 28px;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .auth-head h1 {
        font-size: 24px;
    }
}

@media (max-width: 620px) {
    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-title {
        font-size: 20px;
    }

    .cat3-title {
        font-size: 28px;
    }

    .news-h1 {
        font-size: 28px;
    }

    .news-gallery {
        grid-template-columns: 1fr;
    }

    .news-hero img {
        height: 260px;
    }
}

@media (max-width: 560px) {
    .tile {
        height: 200px!important;
    }

    .footer-cta-wrap {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-cta-text {
        font-size: 18px;
    }

    .products-layout {
        grid-template-columns: 1fr;
    }

    .filters {
        display: none!important;
    }
}

@media (max-width: 520px) {
    .brand .logo {
        font-size: 28px;
        width: 140px;
    }

    .search {
        min-width: 160px;
    }

    .title {
        font-size: 32px;
    }

    .subtitle {
        font-size: 18px;
    }

    .slider {
        min-height: 380px;
    }

    .slide {
        min-height: 380px;
    }
}

.tag {
    font-size: 12px;
    font-weight: 700;
    color: var(--d-blue);
    background: rgba(15, 46, 87, .08);
    border: 1px solid rgba(15, 46, 87, .12);
    padding: 7px 12px;
    border-radius: 999px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(15, 46, 87, .25);
    background: #fff;
    color: var(--d-blue);
    font-weight: 700;
    text-decoration: none;
}



.btn.ghost:hover {
    background: rgba(15, 46, 87, .06);
}

.btn.primary:hover {
    filter: brightness(1.03);
}


.muted {
    color: var(--d-muted);
    font-size: 12px;
    margin-top: 10px;
}

/* Hamburger button */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    height: 3px;
    width: 24px;
    background: #0f2e57;
    border-radius: 2px;
    transition: all .3s ease;
}

/* Mobilde nav gizle */
@media (max-width: 980px) {

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 10px;
        display: none;
        box-shadow: 0 14px 30px rgba(0, 0, 0, .08);
    }

    nav a {
        width: 100%;
        padding: 12px 0;
    }

    .nav-item {
        width: 100%;
        padding: 12px 0;
    }

    nav.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }
}

.menu-toggle.open span:nth-child(1){
    transform: rotate(45deg) translate(5px,5px);
}

.menu-toggle.open span:nth-child(2){
    opacity:0;
}

.menu-toggle.open span:nth-child(3){
    transform: rotate(-45deg) translate(6px,-6px);
}

/* Dropdown container */
.nav-item{
    position:relative;
}

/* Alt menu */
.dropdown-menu{
    position:absolute;
    top:100%;
    left:0;
    min-width:250px;
    background:#fff;
    border-radius:12px;
    box-shadow:0 14px 30px rgba(0,0,0,.08);
    padding:10px 0;
    display:none;
    flex-direction:column;
    z-index:100;
}

.dropdown-menu a{
    padding:10px 16px;
    text-decoration:none;
    color:#0f2e57;
    font-weight:500;
    font-size:17px;
    display:block;
}



/* Desktop hover */
@media (min-width: 981px){
    .dropdown:hover .dropdown-menu{
        display:flex;
    }
}

@media (max-width: 980px){

    .dropdown-menu{
        position:static;
        box-shadow:none;
        border-radius:0;
        padding-left:15px;
    }

    .dropdown.open .dropdown-menu{
        display:flex;
    }
}

.footer-col h4 {
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: #000000;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s ease;
}

.footer-col ul li a:hover {
    color: #0f2e57; /* Aromitalia brand blue */
    padding-left: 4px;
}

.payment-logo {
    margin-top: 80px;
    width: 70%;
}

/* Checkbox reset + düzgün görünüm */
input[type="checkbox"]{
    width: 18px !important;
    height: 18px !important;
    padding: 0 !important;
    border-radius: 4px;
    border: 1px solid rgba(15, 46, 87, .35);
    background: #fff;
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
    accent-color: var(--blue); /* modern tarayıcılar */
}

/* Checkbox yanında yazı için hizalama (opsiyonel ama önerilir) */
.check{
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

/* Required + disabled gibi durumlar (opsiyonel) */
input[type="checkbox"]:disabled{
    opacity: .6;
    cursor: not-allowed;
}

/* =========================
   RADIO FIX
========================= */

input[type="radio"]{
    width: 18px !important;
    height: 18px !important;
    padding: 0 !important;
    margin: 0;
    display: inline-block;
    vertical-align: middle;
    accent-color: var(--blue);
    cursor: pointer;
}

/* Label içindeki hizalama */
.co-addr input,
.co-ship input,
.co-paytab input{
    flex-shrink: 0;
}

/* Radio + text hizalama */
.co-addr,
.co-ship,
.co-paytab{
    align-items: flex-start;
}

.co-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

.co-modal[aria-hidden="false"] {
    display: block;
}

.co-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 8, 23, .65);
}

.text-danger {
    color: #dc3545!important;
}

/* 768px ve altı cihazlarda gizle */
@media (max-width: 768px) {
    .mobile-hide {
        display: none !important;
    }
}

.header-button {
    font-size: 25px;
    text-decoration: unset;
    color: var(--blue);
}

.alert-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 420px;
    width: calc(100% - 48px);
    pointer-events: none;
}

.alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.06);
    border-left: 4px solid;
    pointer-events: auto;
    animation: alertSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #1a1a1a;
    position: relative;
    overflow: hidden;
}

.alert::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: currentColor;
    opacity: 0.2;
    animation: alertProgress 5s linear forwards;
    transform-origin: left;
}

.alert svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 1px;
}

.alert span,
.alert div {
    flex: 1;
}

.alert ul {
    margin: 6px 0 0;
    padding-left: 18px;
}

.alert-close {
    background: none;
    border: none;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    color: #999;
    padding: 0;
    margin-left: 8px;
    transition: color 0.2s;
}

.alert-close:hover {
    color: #333;
}

.alert-success {
    border-left-color: #10b981;
    color: #065f46;
}

.alert-error {
    border-left-color: #ef4444;
    color: #991b1b;
}

.alert-warning {
    border-left-color: #f59e0b;
    color: #92400e;
}

.alert-info {
    border-left-color: #3b82f6;
    color: #1e40af;
}

.alert.fade-out {
    animation: alertSlideOut 0.3s cubic-bezier(0.4, 0, 1, 1) forwards;
}

@keyframes alertSlideIn {
    from {
        transform: translateX(120%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes alertSlideOut {
    to {
        transform: translateX(120%);
        opacity: 0;
    }
}

@keyframes alertProgress {
    from { transform: scaleX(1); }
    to { transform: scaleX(0); }
}

@media (max-width: 640px) {
    .alert-container {
        top: 12px;
        right: 12px;
        left: 12px;
        max-width: none;
        width: auto;
    }
}

/* =========================
   HEADER CART HOVER DROPDOWN
========================= */
.cart-hover {
    position: relative;
    display: inline-block;
}

.cart-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 330px;
    background: #fff;
    border: 1px solid rgba(15, 46, 87, .14);
    border-radius: 14px;
    box-shadow: 0 18px 44px rgba(2, 8, 23, .18);
    padding: 12px;
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
    z-index: 1000;
}

/* hover köprüsü — buton ile menü arasındaki boşlukta menü kapanmasın */
.cart-dropdown::before {
    content: "";
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}

.cart-hover:hover .cart-dropdown,
.cart-hover:focus-within .cart-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cart-dropdown-head {
    font-weight: 950;
    color: var(--blue, #0f2e57);
    font-size: 14px;
    padding: 2px 4px 10px;
    border-bottom: 1px solid rgba(15, 46, 87, .10);
    margin-bottom: 8px;
}

.cart-dropdown-items {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 320px;
    overflow-y: auto;
}

.cart-dd-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: background .15s ease;
}

.cart-dd-item:hover {
    background: rgba(15, 46, 87, .05);
}

.cart-dd-img {
    width: 46px;
    height: 46px;
    border-radius: 8px;
    overflow: hidden;
    background: #f1f5f9;
    border: 1px solid rgba(15, 46, 87, .10);
    flex-shrink: 0;
}

.cart-dd-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cart-dd-info {
    flex: 1;
    min-width: 0;
}

.cart-dd-name {
    font-weight: 800;
    color: var(--blue, #0f2e57);
    font-size: 13px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-dd-meta {
    color: #64748b;
    font-weight: 700;
    font-size: 12px;
    margin-top: 2px;
}

.cart-dd-price {
    font-weight: 950;
    color: #0b1220;
    font-size: 13px;
    white-space: nowrap;
}

.cart-dd-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 4px;
    margin-top: 8px;
    border-top: 1px solid rgba(15, 46, 87, .10);
    color: #475569;
    font-weight: 800;
}

.cart-dd-total strong {
    color: var(--blue, #0f2e57);
    font-size: 16px;
}

.cart-dd-btn {
    display: block;
    text-align: center;
    text-decoration: none;
    background: var(--blue, #0f2e57);
    color: #fff;
    font-weight: 950;
    padding: 12px;
    border-radius: 12px;
    margin-top: 4px;
    transition: opacity .15s ease, transform .08s ease;
}

.cart-dd-btn:hover {
    opacity: .92;
}

.cart-dd-btn:active {
    transform: translateY(1px);
}

.cart-dd-empty {
    text-align: center;
    padding: 18px 8px 8px;
    color: #64748b;
}

.cart-dd-empty i {
    font-size: 28px;
    color: rgba(15, 46, 87, .25);
}

.cart-dd-empty p {
    margin: 8px 0 12px;
    font-weight: 800;
}

/* Mobilde hover menüsü kapalı (mobilde ikon doğrudan sepete gider) */
@media (max-width: 980px) {
    .cart-dropdown {
        display: none;
    }
}
