/* ===========================
   Temel / Reset
   =========================== */
:root {
    --color-bg: #ffffff;
    --color-text: #1a1a1a;
    --color-muted: #6b6b6b;
    --color-line: #ececec;
    --color-soft: #f7f7f7;
    --color-dark: #1a1a1a;
    --container: 1200px;
    --gap: 24px;
    --radius: 4px;
    --font: "Lexend Deca", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    overflow-x: clip;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

h1, h2, h3, h4 {
    margin: 0;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* ===========================
   Düzen yardımcıları
   =========================== */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 64px 0;
}

.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 32px;
}

.section-head h2 {
    font-size: 28px;
}

.link-more {
    font-size: 14px;
    color: var(--color-muted);
    border-bottom: 1px solid transparent;
    transition: border-color .2s;
}

.link-more:hover {
    border-color: var(--color-text);
    color: var(--color-text);
}

/* ===========================
   Butonlar
   =========================== */
.btn {
    display: inline-block;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 500;
    border-radius: var(--radius);
    border: 1px solid transparent;
    cursor: pointer;
    transition: opacity .2s, background .2s, color .2s;
}

.btn-dark {
    background: var(--color-dark);
    color: #fff;
}

.btn-dark:hover {
    opacity: .85;
}

.btn-outline {
    background: transparent;
    border-color: var(--color-text);
    color: var(--color-text);
}

.btn-outline:hover {
    background: var(--color-text);
    color: #fff;
}

/* ===========================
   Üst çubuk
   =========================== */
.topbar {
    background: var(--color-dark);
    color: #fff;
    font-size: 13px;
    text-align: center;
    padding: 8px 0;
    letter-spacing: .02em;
}

/* ===========================
   Header
   =========================== */
.site-header {
    border-bottom: 1px solid var(--color-line);
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: saturate(180%) blur(8px);
    z-index: 50;
}

.header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 72px;
    gap: 24px;
}

.logo {
    display: inline-flex;
    align-items: center;
    color: var(--color-text);
    justify-self: start;
}

.logo-svg {
    height: 40px;
    width: auto;
    display: block;
}

/* Customizer/panel'den yüklenen özel logo (custom_logo) */
.logo-img {
    height: 40px;
    width: auto;
    display: block;
    object-fit: contain;
}

.logo-footer .logo-svg {
    height: 40px;
}

.footer-logo .logo-img {
    height: 36px;
}

.main-nav {
    justify-self: center;
}

.main-nav > ul {
    display: flex;
    gap: 28px;
}

.main-nav a {
    font-size: 15px;
    color: var(--color-text);
    padding: 6px 0;
    border-bottom: 1px solid transparent;
    transition: border-color .2s;
}

.main-nav a:hover {
    border-color: var(--color-text);
}

.main-nav > ul > li {
    position: relative;
}

.main-nav .has-dropdown > a {
    align-items: center;
    gap: 4px;
}

.caret {
    transition: transform .2s;
}

/* ===========================
   Açılır menü (basit liste)
   =========================== */
.dropdown {
    position: absolute;
    left: 0;
    top: 100%;
    margin-top: 14px;
    min-width: 240px;
    display: block;
    gap: 0;
    background: #fff;
    border: none;
    border-radius: 2px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .12);
    padding: 15px 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .2s, transform .2s, visibility .2s;
    z-index: 40;
}

/* görünmez köprü: menü ile dropdown arası hover kopmasın */
.dropdown::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -14px;
    height: 14px;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.has-dropdown:hover .caret,
.has-dropdown:focus-within .caret {
    transform: rotate(180deg);
}

.dropdown li {
    list-style: none;
}

.dropdown a {
    display: block;
    padding: 8px 15px;
    font-size: 16px;
    color: var(--color-text);
    border: none;
    white-space: nowrap;
    transition: color .15s;
}

.dropdown a:hover {
    color: var(--color-muted);
}

.menu-toggle {
    display: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-self: end;
}

.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    color: var(--color-text);
    cursor: pointer;
    border-radius: 50%;
    position: relative;
    transition: background .2s;
}

.icon-btn:hover {
    background: var(--color-soft);
}

.cart-count {
    position: absolute;
    top: 4px;
    right: 2px;
    background: var(--color-dark);
    color: #fff;
    font-size: 11px;
    line-height: 1;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===========================
   Hero slider
   =========================== */
.hero {
    background: var(--color-soft);
}

.hero-swiper {
    position: relative;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 48px;
    min-height: 650px;
    padding: 40px 24px;
}

.hero-content {
    max-width: 520px;
}

.hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: .15em;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-muted);
    margin: 0 0 16px;
}

.hero h1 {
    font-size: 56px;
    line-height: 1.1;
    margin: 0 0 20px;
}

.hero h1 mark {
    background: none;
    color: inherit;
    box-shadow: inset 0 -10px 0 rgba(230, 168, 0, .35);
}

.hero-text {
    font-size: 17px;
    color: var(--color-muted);
    margin: 0 0 32px;
    max-width: 420px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Görsel + dairesel zemin */
.hero-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 560px;
}

.hero-blob {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 480px;
    height: 480px;
    max-width: 90%;
    aspect-ratio: 1;
    background: radial-gradient(circle at 50% 45%, #ffffff 0%, #f0f0f0 70%, #ececec 100%);
    border-radius: 50%;
    z-index: 0;
}

.hero-media img {
    position: relative;
    z-index: 1;
    width: 88%;
    max-width: 520px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .15));
}

/* Yüzen ürün kartı */
.hero-product-card {
    position: absolute;
    right: 4%;
    bottom: 8%;
    z-index: 2;
    background: #fff;
    padding: 14px 18px;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
    display: flex;
    flex-direction: column;
    gap: 2px;
    transition: transform .2s;
}

.hero-product-card:hover {
    transform: translateY(-2px);
}

.hero-product-name {
    font-size: 15px;
    font-weight: 600;
}

.hero-product-meta {
    font-size: 13px;
    color: var(--color-muted);
}

.hero-product-meta strong {
    color: var(--color-text);
    font-weight: 600;
}

/* Navigasyon okları */
.hero-nav {
    position: absolute;
    right: 24px;
    bottom: 32px;
    z-index: 10;
    display: flex;
    gap: 10px;
}

.hero-prev,
.hero-next {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--color-line);
    background: #fff;
    color: var(--color-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s;
}

.hero-prev:hover,
.hero-next:hover {
    background: var(--color-dark);
    border-color: var(--color-dark);
    color: #fff;
}

.hero-prev.swiper-button-disabled,
.hero-next.swiper-button-disabled {
    opacity: .4;
    cursor: default;
}

/* ===========================
   Kategoriler
   =========================== */
.collection-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--gap);
}

.collection-card {
    display: block;
}

.collection-img {
    position: relative;
    background: rgb(236, 235, 233);
    border-radius: var(--radius);
    aspect-ratio: 3 / 4;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 28px 56px;
    overflow: hidden;
}

.collection-img img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform .4s ease;
}

.collection-card:hover .collection-img img {
    transform: scale(1.05);
}

/* İsim kutunun içinde, altta ortalı */
.collection-name {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text);
}

/* Ok varsayılan gizli, hover'da belirir */
.collection-arrow {
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity .2s, transform .2s;
}

.collection-card:hover .collection-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ===========================
   Shop the Look (görseldeki ürünler)
   =========================== */
.shop-look-stage {
    position: relative;
    overflow: hidden;
    /* container'dan çıkıp tam viewport genişliğine yayıl */
    width: 100vw;
    margin-left: calc((100vw - 100%) / -2);
    margin-right: calc((100vw - 100%) / -2);
}

.shop-look-img {
    width: 100%;
    height: auto;
    display: block;
}

.hotspot {
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 2;
}

/* + butonu (pulse animasyonlu) */
.hotspot-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: var(--color-text);
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .2);
    transition: transform .2s;
}

.hotspot-dot::before,
.hotspot-dot::after {
    content: "";
    position: absolute;
    background: var(--color-text);
}

.hotspot-dot::before { width: 12px; height: 2px; }   /* yatay çizgi */
.hotspot-dot::after  { width: 2px; height: 12px; }   /* dikey çizgi */

/* dışa yayılan halka */
.hotspot::after {
    content: "";
    position: absolute;
    top: 16px;
    left: 16px;
    width: 32px;
    height: 32px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: rgba(255, 255, 255, .5);
    animation: hotspot-pulse 2s ease-out infinite;
    z-index: -1;
}

@keyframes hotspot-pulse {
    0%   { transform: translate(-50%, -50%) scale(1); opacity: .7; }
    100% { transform: translate(-50%, -50%) scale(2.4); opacity: 0; }
}

.hotspot-dot:hover {
    transform: scale(1.1);
}

/* açılan ürün kartı */
.hotspot-card {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translate(-50%, 8px);
    width: 220px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .15);
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
}

.hotspot:hover .hotspot-card,
.hotspot:focus-within .hotspot-card,
.hotspot.is-active .hotspot-card {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

/* küçük üçgen ok */
.hotspot-card::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 7px solid transparent;
    border-top-color: #fff;
}

.hotspot-thumb {
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    flex-shrink: 0;
    background-color: #eceae6;
    background-size: cover;
    background-position: center;
}

.hotspot-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left;
}

.hotspot-name {
    font-size: 14px;
    font-weight: 500;
}

.hotspot-price {
    font-size: 14px;
    color: var(--color-muted);
}

/* kenarlara yakın kartların taşmaması için hizalama */
.hotspot:first-child .hotspot-card { left: 0; transform: translate(0, 8px); }
.hotspot:first-child:hover .hotspot-card,
.hotspot:first-child.is-active .hotspot-card { transform: translate(0, 0); }
.hotspot:first-child .hotspot-card::after { left: 24px; }

.hotspot:last-child .hotspot-card { left: auto; right: 0; transform: translate(0, 8px); }
.hotspot:last-child:hover .hotspot-card,
.hotspot:last-child.is-active .hotspot-card { transform: translate(0, 0); }
.hotspot:last-child .hotspot-card::after { left: auto; right: 24px; transform: none; }

/* ===========================
   Ürünler
   =========================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap);
}

.product-card {
    display: flex;
    flex-direction: column;
}

.product-thumb {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius);
    margin-bottom: 14px;
    background: var(--color-soft);
    overflow: hidden;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.product-thumb:hover img {
    transform: scale(1.04);
}

.badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1;
    background: #2980b9;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 4px;
}

.badge-sale {
    background: #c0392b;
    color: #fff;
}

.product-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.product-brand {
    font-size: 11px;
    letter-spacing: .08em;
    color: var(--color-muted);
    text-transform: uppercase;
}

.product-rating {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 13px;
    color: var(--color-text);
    white-space: nowrap;
}

.product-rating svg {
    color: #e6a800;
}

.product-title {
    font-size: 15px;
    font-weight: 500;
    margin: 2px 0 6px;
}

.product-price {
    font-size: 15px;
    color: var(--color-text);
    font-weight: 600;
    margin: 0 0 10px;
}

.price-sale {
    color: #c0392b;
}

.price-old {
    color: var(--color-muted);
    text-decoration: line-through;
    margin-left: 6px;
    font-size: 14px;
    font-weight: 400;
}

.product-colors {
    display: flex;
    gap: 6px;
}

.product-colors span {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, .1);
    cursor: pointer;
}

/* ===========================
   Yeni gelenler — slider
   =========================== */
.section-head-arrivals {
    align-items: flex-start;
}

.section-sub {
    color: var(--color-muted);
    font-size: 15px;
    margin: 8px 0 0;
    max-width: 480px;
}

.link-more-icon {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-bottom: none;
    white-space: nowrap;
}

.link-more-icon:hover {
    color: var(--color-text);
}

.arrivals-swiper {
    overflow: hidden;
    /* Her iki yandan da container'dan taşıp tam viewport genişliğine ulaşsın (full-bleed) */
    width: 100vw;
    margin-left: calc((100vw - 100%) / -2);
    margin-right: calc((100vw - 100%) / -2);
}

.arrivals-swiper .swiper-slide {
    width: 255px;
    height: auto;
}

.arrivals-swiper .product-card {
    height: 100%;
}

.arrivals-swiper .product-thumb {
    aspect-ratio: 255 / 288;
}

.arrivals-controls {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 32px;
    /* Kontroller container içinde kalsın, slider taşsa bile */
    padding-right: 0;
}

.arrivals-progress {
    flex: 1;
    height: 3px;
    background: var(--color-line);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.arrivals-thumb {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 30%;
    background: var(--color-dark);
    border-radius: 2px;
}

.arrivals-nav {
    display: flex;
    gap: 10px;
}

.arrivals-prev,
.arrivals-next {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--color-line);
    background: #fff;
    color: var(--color-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s;
}

.arrivals-prev:hover,
.arrivals-next:hover {
    background: var(--color-dark);
    border-color: var(--color-dark);
    color: #fff;
}

.arrivals-prev.swiper-button-disabled,
.arrivals-next.swiper-button-disabled {
    opacity: .4;
    cursor: default;
}

/* ===========================
   Tanıtım bandı
   =========================== */
.promo {
    background: var(--color-soft);
}

.promo-inner {
    padding: 80px 24px;
    text-align: center;
}

.promo-content {
    max-width: 560px;
    margin: 0 auto;
}

.promo h2 {
    font-size: 34px;
    margin-bottom: 16px;
}

.promo p {
    color: var(--color-muted);
    font-size: 18px;
    margin-bottom: 28px;
}

/* ===========================
   Avantajlar
   =========================== */
.features {
    padding: 56px 0;
    border-top: 1px solid var(--color-line);
    border-bottom: 1px solid var(--color-line);
    background: #fff;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}

.feature {
    padding: 0 28px;
    position: relative;
}

/* dikey ayraç çizgileri */
.feature:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 1px;
    height: 70%;
    background: var(--color-line);
}

.feature-icon {
    display: inline-flex;
    color: #c9a227;
    margin-bottom: 14px;
}

.feature h3 {
    font-size: 17px;
    margin-bottom: 8px;
}

.feature p {
    color: var(--color-muted);
    margin: 0;
    font-size: 14px;
}

.feature p strong {
    color: var(--color-text);
}

/* ===========================
   Bülten
   =========================== */
.newsletter {
    padding: 72px 0;
    border-top: 1px solid var(--color-line);
}

.newsletter-inner {
    text-align: center;
    max-width: 480px;
    margin: 0 auto;
}

.newsletter h2 {
    font-size: 28px;
    margin-bottom: 8px;
}

.newsletter p {
    color: var(--color-muted);
    margin-bottom: 24px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 16px;
    font-size: 15px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    font-family: inherit;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--color-text);
}

/* ===========================
   Footer
   =========================== */
.site-footer {
    background: var(--color-soft);
}

/* Footer bülten bandı */
.footer-newsletter {
    padding: 56px 0;
    text-align: center;
    background: #fff;
}

.footer-newsletter .newsletter-inner {
    max-width: 480px;
    margin: 0 auto;
}

.footer-newsletter h2 {
    font-size: 28px;
    margin-bottom: 8px;
}

.footer-newsletter p {
    color: var(--color-muted);
    margin-bottom: 24px;
}

.footer-newsletter .newsletter-form {
    display: flex;
    gap: 8px;
}

.footer-newsletter .newsletter-form input {
    flex: 1;
    padding: 14px 16px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 15px;
    background: #fff;
}

.footer-newsletter .newsletter-form input:focus {
    outline: none;
    border-color: var(--color-text);
}

.footer-newsletter .newsletter-message {
    margin: 14px 0 0;
    font-size: 14px;
}

.footer-newsletter .newsletter-message.is-success {
    color: #16a34a;
}

.footer-newsletter .newsletter-message.is-error {
    color: #b32d2e;
}

.footer-logo {
    text-align: center;
    padding: 48px 0 40px;
}

.footer-logo .logo-svg {
    height: 36px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1.3fr;
    gap: var(--gap);
    padding-bottom: 48px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: var(--color-muted);
    font-size: 14px;
    transition: color .2s;
}

.footer-col ul a:hover {
    color: var(--color-text);
}

.footer-reviews .trustpilot {
    display: block;
    margin-bottom: 4px;
}

.reviews-score {
    font-size: 13px;
    color: var(--color-muted);
    margin: 0 0 16px;
    line-height: 1.5;
}

.reviews-score strong {
    color: var(--color-text);
}

.footer-social {
    display: flex;
    gap: 14px;
}

.footer-social a {
    color: var(--color-text);
    transition: opacity .2s;
}

.footer-social a:hover {
    opacity: .6;
}

.footer-bottom {
    border-top: 1px solid var(--color-line);
    padding: 20px 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.footer-bottom p {
    margin: 0;
    font-size: 13px;
    color: var(--color-muted);
}

.payment-icons {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}

.back-to-top {
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    border: 1px solid var(--color-line);
    background: #fff;
    color: var(--color-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s, color .2s;
    flex-shrink: 0;
}

.back-to-top:hover {
    background: var(--color-dark);
    color: #fff;
    border-color: var(--color-dark);
}

/* ===========================
   Shop / Listeleme sayfası
   =========================== */
.shop {
    padding: 32px 0 64px;
}

.shop-head {
    margin-bottom: 24px;
}

.breadcrumb {
    display: flex;
    gap: 8px;
    font-size: 13px;
    color: var(--color-muted);
    margin-bottom: 8px;
}

.breadcrumb a:hover {
    color: var(--color-text);
}

.shop-title {
    font-size: 30px;
}

.shop-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    align-items: start;
}

/* ---- Kenar çubuğu / filtreler ---- */
.shop-sidebar {
    position: sticky;
    top: 96px;
}

.sidebar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.sidebar-head h2 {
    font-size: 18px;
}

.sidebar-close {
    display: none;
}

.filter-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid var(--color-line);
    font-size: 14px;
}

.filter-group {
    border-bottom: 1px solid var(--color-line);
}

/* Filtreyi sıfırla satırı */
.filter-reset-row {
    padding: 12px 0;
    border-bottom: 1px solid var(--color-line);
}

.filter-reset {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: var(--color-muted);
    text-decoration: none;
    transition: color .2s;
}

.filter-reset:hover {
    color: var(--color-text);
}

.filter-reset svg {
    flex-shrink: 0;
}
.filter-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
}

.filter-head h3 {
    font-size: 16px;
    font-weight: 600;
}

.filter-caret {
    color: var(--color-text);
    transition: transform .25s ease;
}

.filter-group:not(.is-open) .filter-caret {
    transform: rotate(-90deg);
}

/* accordion gövde — yükseklik geçişiyle aç/kapa */
.filter-body {
    display: grid;
    grid-template-rows: 1fr;
    transition: grid-template-rows .25s ease;
}

.filter-group:not(.is-open) .filter-body {
    grid-template-rows: 0fr;
}

.filter-body > * {
    overflow: hidden;
    min-height: 0;
}

/* fiyat grubunda slider kolları kırpılmasın (açıkken) */
.filter-group.is-open .filter-body.price-body,
.filter-group.is-open .filter-body.price-body > * {
    overflow: visible;
}

/* uzun listeler için grup içi scroll */
.filter-scroll {
    max-height: 180px;
    overflow-y: auto;
    padding-right: 6px;
    margin-bottom: 18px;
}

.filter-scroll::-webkit-scrollbar {
    width: 4px;
}

.filter-scroll::-webkit-scrollbar-thumb {
    background: #d8d8d8;
    border-radius: 4px;
}

.filter-scroll::-webkit-scrollbar-track {
    background: transparent;
}

/* ---- özel onay kutusu ---- */
.check {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 7px 0;
    font-size: 15px;
    font-weight: 300;
    color: #444;
    cursor: pointer;
}

.check input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.check .box {
    position: relative;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border: 1.5px solid #cfcfcf;
    border-radius: 3px;
    transition: background .15s, border-color .15s;
}

.check .box::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transition: transform .15s ease;
}

.check input:checked + .box {
    background: var(--color-dark);
    border-color: var(--color-dark);
}

.check input:checked + .box::after {
    transform: rotate(45deg) scale(1);
}

/* Link tabanlı filtre (attribute) seçili durumu */
.filter-link.is-checked .box {
    background: var(--color-dark);
    border-color: var(--color-dark);
}

.filter-link.is-checked .box::after {
    transform: rotate(45deg) scale(1);
}

.check input:focus-visible + .box {
    outline: 2px solid var(--color-muted);
    outline-offset: 2px;
}

.check-label {
    line-height: 1;
}

/* toggle switch */
.switch {
    position: relative;
    display: inline-block;
    width: 38px;
    height: 22px;
    flex-shrink: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-track {
    position: absolute;
    inset: 0;
    background: var(--color-line);
    border-radius: 999px;
    transition: background .2s;
    cursor: pointer;
}

.switch-track::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    transition: transform .2s;
}

.switch input:checked + .switch-track {
    background: var(--color-dark);
}

.switch input:checked + .switch-track::before {
    transform: translateX(16px);
}

/* yıldız puanı (filtre) */
.rating-check .stars {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #e6a800;
    line-height: 1;
}

.rating-check .stars svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    display: block;
}

/* ---- Fiyat (noUiSlider) ---- */
.price-slider {
    margin: 18px 9px 22px;
}

.price-slider.noUi-target {
    height: 4px;
    border: none;
    box-shadow: none;
    background: var(--color-line);
    border-radius: 4px;
}

.price-slider .noUi-connects {
    border-radius: 4px;
}

.price-slider .noUi-connect {
    background: var(--color-dark);
}

.price-slider .noUi-handle {
    width: 18px;
    height: 18px;
    top: -7px;
    right: -9px;
    border-radius: 50%;
    border: 1px solid var(--color-line);
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
    cursor: grab;
}

.price-slider .noUi-handle::before,
.price-slider .noUi-handle::after {
    display: none;
}

.price-slider .noUi-handle:active {
    cursor: grabbing;
}

.price-inputs {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.price-box {
    min-width: 64px;
    text-align: center;
    padding: 8px 12px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--color-text);
}

/* ---- Üst araç çubuğu ---- */
.shop-toolbar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.filter-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: #fff;
    font-family: inherit;
    font-size: 14px;
    cursor: pointer;
}

.active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    background: var(--color-soft);
    border-radius: 4px;
    font-size: 13px;
}

.chip button {
    border: none;
    background: none;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    color: var(--color-muted);
    padding: 0;
}

.chip button:hover {
    color: var(--color-text);
}

.clear-all {
    font-size: 13px;
    color: var(--color-muted);
    margin-left: 4px;
}

.clear-all:hover {
    color: var(--color-text);
    text-decoration: underline;
}

.sort-by {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.sort-by label {
    font-size: 14px;
    color: var(--color-muted);
}

.sort-by select {
    padding: 9px 32px 9px 12px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 14px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 12px center;
    cursor: pointer;
    appearance: none;
}

.sort-by select:focus {
    outline: none;
    border-color: var(--color-text);
}

/* ---- Ürün ızgarası ---- */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px var(--gap);
}

.badge-out {
    top: 40px;
    left: 12px;
    background: var(--color-dark);
    color: #fff;
}

/* ---- Sayfalama ---- */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}

.page-btn {
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: #fff;
    color: var(--color-text);
    font-family: inherit;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, color .2s, border-color .2s;
}

.page-btn:hover:not(:disabled):not(.is-active) {
    border-color: var(--color-text);
}

.page-btn.is-active {
    background: var(--color-dark);
    color: #fff;
    border-color: var(--color-dark);
}

.page-btn:disabled {
    opacity: .4;
    cursor: default;
}

/* ===========================
   Ürün Detay (PDP)
   =========================== */
.pdp {
    padding: 24px 0 64px;
}

.pdp .breadcrumb {
    display: flex;
    gap: 8px;
    font-size: 13px;
    color: var(--color-muted);
    margin-bottom: 28px;
}

.pdp .breadcrumb a:hover { color: var(--color-text); }

.pdp-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}

/* ---- Galeri ---- */
.pdp-main {
    background: var(--color-soft);
    border-radius: var(--radius);
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 16px;
}

.pdp-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.pdp-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.pdp-thumb {
    background: var(--color-soft);
    border: 1px solid transparent;
    border-radius: var(--radius);
    aspect-ratio: 1 / 1;
    padding: 12px;
    cursor: pointer;
    transition: border-color .2s;
}

.pdp-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.pdp-thumb.is-active {
    border-color: var(--color-dark);
}

/* ---- Bilgi ---- */
.pdp-info-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.pdp-badge {
    position: static;
}

.pdp-stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #2e7d32;
}

.pdp-title {
    font-size: 34px;
    margin-bottom: 6px;
}

.pdp-brand {
    color: var(--color-muted);
    font-size: 14px;
    margin: 0 0 18px;
}

.pdp-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.pdp-price {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 600;
}

.pdp-price .price-old {
    font-size: 17px;
    font-weight: 400;
}

.save-badge {
    background: #c0392b;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 4px;
}

.pdp-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 15px;
    white-space: nowrap;
}

.pdp-divider {
    height: 1px;
    background: var(--color-line);
    margin: 24px 0;
}

.pdp-label {
    font-size: 15px;
}

.pdp-colors .pdp-label {
    display: block;
    margin-bottom: 12px;
}

.color-swatches {
    display: flex;
    gap: 10px;
}

.swatch {
    width: 26px;
    height: 26px;
    border-radius: 4px;
    border: 1px solid rgba(0,0,0,.1);
    cursor: pointer;
    position: relative;
    transition: transform .15s;
}

.swatch.is-active {
    outline: 2px solid var(--color-dark);
    outline-offset: 2px;
}

.swatch:hover { transform: scale(1.08); }

/* ---- Aksiyonlar ---- */
.pdp-qty {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.pdp-qty .qty {
    transform: scale(1.05);
    transform-origin: left center;
}

.pdp-buttons {
    display: flex;
    gap: 12px;
}

.pdp-buttons .btn-dark {
    flex: 1;
}

.btn-wishlist {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* ---- PDP accordion ---- */
.pdp-accordion {
    margin-top: 28px;
    border-top: 1px solid var(--color-line);
}

.acc-item {
    border-bottom: 1px solid var(--color-line);
}

.acc-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    color: var(--color-text);
}

.acc-caret {
    color: var(--color-muted);
    transition: transform .25s ease;
    flex-shrink: 0;
}

.acc-item.is-open .acc-caret {
    transform: rotate(180deg);
}

.acc-body {
    display: none;
}

.acc-item.is-open .acc-body {
    display: block;
}

.acc-inner {
    padding: 4px 0 18px;
    color: var(--color-muted);
    font-size: 14px;
}

.acc-inner p { margin: 0 0 10px; }

.acc-link {
    color: var(--color-text);
    border-bottom: 1px solid var(--color-text);
    font-size: 14px;
}

/* ===========================
   PDP — Sekmeler
   =========================== */
.pdp-tabs {
    margin-top: 64px;
}

.tab-nav {
    display: flex;
    gap: 32px;
    border-bottom: 1px solid var(--color-line);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.tab-nav::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    background: none;
    border: none;
    padding: 14px 0;
    font-family: inherit;
    font-size: 15px;
    color: var(--color-muted);
    cursor: pointer;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: color .2s, border-color .2s;
}

.tab-btn.is-active {
    color: var(--color-text);
    border-bottom-color: var(--color-text);
    font-weight: 500;
}

.tab-panels {
    padding-top: 32px;
}

.tab-panel {
    display: none;
}

.tab-panel.is-active {
    display: block;
}

.tab-panel h3 {
    font-size: 22px;
    margin-bottom: 14px;
}

.tab-panel p {
    color: var(--color-muted);
    margin: 0 0 18px;
    max-width: 760px;
}

.feature-list {
    margin: 0 0 18px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 14px;
    color: var(--color-text);
}

.feature-list svg { color: var(--color-muted); flex-shrink: 0; }

.spec-table {
    border-collapse: collapse;
    width: 100%;
    max-width: 480px;
}

.spec-table th,
.spec-table td {
    text-align: left;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-line);
    font-size: 14px;
    font-weight: 400;
}

.spec-table th {
    color: var(--color-muted);
    width: 50%;
}

.download-list li { margin-bottom: 10px; }

.download-list a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--color-text);
}

.download-list a:hover { color: var(--color-muted); }

/* ===========================
   PDP — Değerlendirmeler
   =========================== */
.reviews {
    margin-top: 56px;
}

.reviews h2 {
    font-size: 28px;
    margin-bottom: 28px;
}

.reviews-summary {
    display: grid;
    grid-template-columns: 1.2fr 1fr auto;
    align-items: center;
    gap: 32px;
    background: var(--color-soft);
    border-radius: var(--radius);
    padding: 36px 40px;
}

.rating-bars {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--color-muted);
}

.rb-label {
    white-space: nowrap;
}

.rb-track {
    flex: 1;
    height: 6px;
    background: #ddd;
    border-radius: 3px;
    overflow: hidden;
}

.rb-fill {
    display: block;
    height: 100%;
    background: var(--color-dark);
    border-radius: 3px;
}

.rb-count {
    width: 24px;
    text-align: right;
}

.reviews-score {
    display: flex;
    align-items: center;
    gap: 14px;
}

.rs-number {
    font-size: 44px;
    font-weight: 700;
    line-height: 1;
}

.rs-stars {
    display: block;
    color: #e6a800;
    font-size: 16px;
    letter-spacing: 2px;
}

.rs-stars.small { font-size: 13px; }

.rs-based {
    font-size: 13px;
    color: var(--color-muted);
}

.reviews-write {
    white-space: nowrap;
}

.reviews-toolbar {
    display: flex;
    gap: 16px;
    margin: 28px 0;
}

.reviews-search {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    max-width: 320px;
    padding: 10px 14px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    color: var(--color-muted);
}

.reviews-search input {
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 14px;
    flex: 1;
    background: none;
}

.reviews-filter {
    padding: 10px 32px 10px 14px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 14px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 12px center;
    appearance: none;
    cursor: pointer;
}

.review-item {
    padding: 20px 0;
    border-bottom: 1px solid var(--color-line);
}

.review-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-dark);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}

.review-head strong {
    display: block;
    font-size: 15px;
}

.review-date {
    margin-left: auto;
    font-size: 13px;
    color: var(--color-muted);
}

.review-item p {
    color: var(--color-muted);
    font-size: 14px;
    margin: 0;
}

.review-text {
    color: var(--color-text);
    font-size: 14px;
    line-height: 1.7;
}

.review-text p {
    color: var(--color-text);
    margin: 0;
}

.reviews-empty {
    color: var(--color-muted);
    font-size: 15px;
    padding: 24px 0;
}

/* ---- Yorum listesi (commentlist) — prototip görünümü ---- */
.review-list,
ol.commentlist {
    list-style: none;
    margin: 0;
    padding: 0;
}

.review-list .review-item,
ol.commentlist li.review-item {
    list-style: none;
    margin: 0;
    padding: 20px 0;
    border-bottom: 1px solid var(--color-line);
    background: none;
    border-radius: 0;
}

.review-list .review-item .review-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.review-list .review-item .review-date {
    margin-left: auto;
    font-size: 13px;
    color: var(--color-muted);
}

/* ---- Yorum yazma formu ---- */
.review-form-wrapper {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--color-line);
    max-width: 600px;
}

.review-form-wrapper .comment-reply-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 18px;
    display: block;
}

.review-form-wrapper .comment-form-rating label,
.review-form-wrapper .comment-form-comment label,
.review-form-wrapper .comment-form-author label,
.review-form-wrapper .comment-form-email label {
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
}

.review-form-wrapper select,
.review-form-wrapper input[type="text"],
.review-form-wrapper input[type="email"],
.review-form-wrapper textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 14px;
    margin-bottom: 16px;
}

.review-form-wrapper select:focus,
.review-form-wrapper textarea:focus,
.review-form-wrapper input:focus {
    outline: none;
    border-color: var(--color-text);
}

.review-form-wrapper .required {
    color: #c0392b;
}

.reviews-pagination {
    margin-top: 24px;
}

.reviews-pagination ul {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
}

.reviews-pagination a,
.reviews-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    font-size: 14px;
}

.reviews-pagination .current {
    background: var(--color-dark);
    color: #fff;
    border-color: var(--color-dark);
}

/* ===========================
   Legal (Şartlar/Gizlilik) sayfası
   =========================== */
.legal-hero {
    background: var(--color-soft);
    padding: 64px 0;
    text-align: center;
}

.legal-hero h1 {
    font-size: 40px;
    margin-bottom: 16px;
}

.legal-hero p {
    max-width: 640px;
    margin: 0 auto;
    color: var(--color-muted);
    font-size: 16px;
    line-height: 1.7;
}

.legal-body {
    max-width: 760px;
    padding-top: 56px;
    padding-bottom: 64px;
}

.legal-section {
    padding-bottom: 32px;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--color-line);
}

.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.legal-section h2 {
    font-size: 22px;
    margin-bottom: 16px;
}

.legal-section p {
    color: var(--color-muted);
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 12px;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-section a {
    color: var(--color-text);
    border-bottom: 1px solid var(--color-text);
}

.legal-updated {
    font-size: 13px !important;
    font-style: italic;
    margin-top: 16px !important;
}

/* ===========================
   Teşekkürler / Sipariş onay
   =========================== */
.thankyou-header {
    position: static;
    border-bottom: 1px solid var(--color-line);
}

.header-inner-center {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 72px;
}

.thankyou {
    min-height: calc(100vh - 73px - 33px);
    background: var(--color-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px 24px;
}

.thankyou-inner {
    max-width: 560px;
    width: 100%;
    text-align: center;
}

.thankyou-icon {
    margin-bottom: 8px;
}

.thankyou-icon svg {
    width: 150px;
    height: auto;
}

.thankyou-title {
    font-size: 48px;
    line-height: 1.05;
    margin-bottom: 18px;
}

.thankyou-text {
    color: var(--color-muted);
    font-size: 16px;
    line-height: 1.7;
    margin: 0 auto 28px;
    max-width: 460px;
}

.thankyou-text strong {
    color: var(--color-text);
    font-weight: 600;
}

.thankyou-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.thankyou-summary {
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    padding: 8px 20px;
    text-align: left;
    margin-bottom: 18px;
}

.ts-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--color-line);
}

.ts-row:last-child {
    border-bottom: none;
}

.ts-row span {
    color: var(--color-muted);
}

.thankyou-note {
    font-size: 13px;
    color: var(--color-muted);
    margin: 0;
}

/* ===========================
   Sipariş takibi
   =========================== */
.track-body {
    max-width: 720px;
    padding-top: 48px;
    padding-bottom: 64px;
}

.track-form {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 16px;
    align-items: end;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--color-line);
}

.track-field label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.track-field input {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 15px;
}

.track-field input:focus {
    outline: none;
    border-color: var(--color-text);
}

.track-submit {
    white-space: nowrap;
}

/* ---- Sonuç ---- */
.track-result {
    padding-top: 40px;
}

.track-summary-card {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background: var(--color-soft);
    border-radius: var(--radius);
    padding: 24px 28px;
    margin-bottom: 40px;
}

.tsc-main {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tsc-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--color-muted);
}

.tsc-value {
    font-size: 16px;
}

.status-pill {
    align-self: flex-start;
    background: #e8f0fe;
    color: #1a5fb4;
    font-size: 13px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 999px;
}

/* ---- Timeline ---- */
.track-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 44px;
}

.tl-step {
    display: flex;
    gap: 16px;
    position: relative;
    padding-bottom: 28px;
}

/* dikey bağlantı çizgisi */
.tl-step:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 17px;
    top: 36px;
    bottom: 0;
    width: 2px;
    background: var(--color-line);
}

.tl-step.is-done:not(:last-child)::before {
    background: #16a34a;
}

.tl-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--color-line);
    color: var(--color-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 1;
}

.tl-step.is-done .tl-dot {
    background: #16a34a;
    border-color: #16a34a;
    color: #fff;
}

.tl-step.is-current .tl-dot {
    background: var(--color-dark);
    border-color: var(--color-dark);
    color: #fff;
}

.tl-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding-top: 6px;
}

.tl-info strong {
    font-size: 15px;
}

.tl-info span {
    font-size: 13px;
    color: var(--color-muted);
}

.tl-step:not(.is-done):not(.is-current) .tl-info strong {
    color: var(--color-muted);
    font-weight: 500;
}

/* ---- Ürünler ---- */
.track-items h3 {
    font-size: 18px;
    margin-bottom: 16px;
}

.track-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--color-line);
}

.track-item-thumb {
    width: 60px;
    height: 60px;
    border-radius: var(--radius);
    background: var(--color-soft);
    overflow: hidden;
    flex-shrink: 0;
}

.track-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.track-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.track-item-info strong {
    font-size: 15px;
}

.track-item-info span {
    font-size: 13px;
    color: var(--color-muted);
}

.track-item-price {
    font-size: 15px;
    font-weight: 600;
}

.track-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    font-size: 16px;
}

.track-total strong {
    font-size: 18px;
}

.track-help {
    font-size: 14px;
    color: var(--color-muted);
    margin: 8px 0 0;
}

.track-help a {
    color: var(--color-text);
    border-bottom: 1px solid var(--color-text);
}

/* ===========================
   404 — Sayfa bulunamadı
   =========================== */
.error404 {
    padding: 80px 0 96px;
}

.error-inner {
    max-width: 600px;
    text-align: center;
    margin: 0 auto;
}

.error-code {
    display: block;
    font-size: 120px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--color-dark);
}

.error-title {
    font-size: 30px;
    margin: 8px 0 14px;
}

.error-text {
    color: var(--color-muted);
    font-size: 16px;
    line-height: 1.7;
    margin: 0 auto 28px;
    max-width: 440px;
}

.error-search {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 440px;
    margin: 0 auto 24px;
    padding: 6px 6px 6px 16px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    color: var(--color-muted);
}

.error-search input {
    flex: 1;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 15px;
    background: none;
    color: var(--color-text);
}

.error-search .btn {
    padding: 10px 20px;
    flex-shrink: 0;
}

.error-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.error-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 16px;
    font-size: 14px;
    color: var(--color-muted);
}

.error-links a {
    color: var(--color-text);
    border-bottom: 1px solid transparent;
    transition: border-color .2s;
}

.error-links a:hover {
    border-color: var(--color-text);
}

/* ===========================
   Off-canvas sarmalayıcı
   Viewport'u kaplar, taşmayı kırpar.
   =========================== */
.panels {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 60;
}

.panels > * {
    pointer-events: auto;
}

/* ===========================
   Overlay + scroll kilidi
   =========================== */
.no-scroll {
    overflow: hidden;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .4);
    opacity: 0;
    transition: opacity .3s ease;
}

.overlay.is-visible {
    opacity: 1;
}

/* ===========================
   Çekmece (drawer) — ortak
   =========================== */
.drawer {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 400px;
    max-width: 90vw;
    background: #fff;
    display: flex;
    flex-direction: column;
    transition: transform .4s var(--ease-drawer);
}

/* Sepet: sağdan */
.cart-drawer {
    right: 0;
    transform: translateX(100%);
}

.cart-drawer.is-open {
    transform: translateX(0);
}

/* Mobil menü: soldan */
.mobile-menu {
    left: 0;
    width: 320px;
    transform: translateX(-100%);
}

.mobile-menu.is-open {
    transform: translateX(0);
}

.drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--color-line);
    flex-shrink: 0;
}

.drawer-head h2 {
    font-size: 18px;
}

.drawer-count {
    color: var(--color-muted);
    font-weight: 400;
}

.drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 8px 24px;
}

.drawer-foot {
    border-top: 1px solid var(--color-line);
    padding: 20px 24px;
    flex-shrink: 0;
}

/* Sepet içeriği WooCommerce tarafından .widget_shopping_cart_content
   sarmalayıcısı içinde basılır. Çekmecenin flex zincirini sürdürmek için
   bu sarmalayıcının da dikey flex olması gerekir; aksi halde drawer-foot
   (ara toplam) alta sabitlenmez. */
.cart-drawer .widget_shopping_cart_content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.btn-text {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding: 10px;
    background: none;
    border: none;
    font-size: 14px;
    color: var(--color-muted);
    cursor: pointer;
    font-family: inherit;
}

.btn-text:hover {
    color: var(--color-text);
}

/* ===========================
   Sepet içeriği
   =========================== */
.cart-item {
    display: flex;
    gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid var(--color-line);
}

.cart-item-thumb {
    width: 72px;
    height: 96px;
    aspect-ratio: 3 / 4;
    border-radius: var(--radius);
    flex-shrink: 0;
    background-color: #f4f4f4;
    overflow: hidden;
}

.cart-item-thumb a,
.cart-item-thumb img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: var(--radius);
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-info h3 {
    font-size: 15px;
    font-weight: 500;
    margin: 0 0 2px;
}

.cart-item-meta {
    font-size: 13px;
    color: var(--color-muted);
    margin: 0 0 12px;
}

.cart-item-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
}

.qty button {
    width: 28px;
    height: 28px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: var(--color-text);
    line-height: 1;
}

.qty span {
    min-width: 24px;
    text-align: center;
    font-size: 14px;
}

.cart-item-price {
    font-size: 15px;
    font-weight: 500;
}

.cart-item-remove,
.woocommerce .pdp-add .cart-item-remove,
.widget_shopping_cart_content a.remove.cart-item-remove,
a.remove.cart-item-remove {
    background: none !important;
    border: none !important;
    color: var(--color-muted) !important;
    cursor: pointer;
    align-self: flex-start;
    padding: 2px !important;
    margin: 0 !important;
    width: auto !important;
    height: auto !important;
    font-size: 0 !important;
    line-height: 1 !important;
    border-radius: 0 !important;
    transition: color .2s;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

.cart-item-remove svg {
    width: 16px;
    height: 16px;
}

.cart-item-remove:hover,
.widget_shopping_cart_content a.remove.cart-item-remove:hover,
a.remove.cart-item-remove:hover {
    color: var(--color-text) !important;
    background: none !important;
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 16px;
    margin-bottom: 4px;
}

.cart-subtotal strong {
    font-size: 18px;
}

.cart-note {
    font-size: 13px;
    color: var(--color-muted);
    margin: 0 0 16px;
}

/* ===========================
   Arama paneli (üstten)
   =========================== */
.search-panel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    transform: translateY(-100%);
    transition: transform .4s var(--ease-drawer);
    border-bottom: 1px solid var(--color-line);
}

.search-panel.is-open {
    transform: translateY(0);
}

.search-inner {
    padding-top: 28px;
    padding-bottom: 32px;
}

.search-form {
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: 2px solid var(--color-text);
    padding-bottom: 14px;
}

.search-icon {
    color: var(--color-muted);
    flex-shrink: 0;
}

.search-form input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 22px;
    font-family: inherit;
    color: var(--color-text);
    background: none;
}

.search-form input::placeholder {
    color: #bbb;
}

.search-suggest {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.search-suggest-label {
    font-size: 13px;
    color: var(--color-muted);
    margin-right: 4px;
}

.search-suggest a {
    font-size: 14px;
    padding: 6px 14px;
    background: var(--color-soft);
    border-radius: 20px;
    transition: background .2s;
}

.search-suggest a:hover {
    background: var(--color-line);
}

/* ===========================
   Mobil menü içeriği
   =========================== */
.mobile-nav ul li {
    border-bottom: 1px solid var(--color-line);
}

.mobile-nav > ul > li > a,
.m-sub-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 0;
    font-size: 16px;
    color: var(--color-text);
    background: none;
    border: none;
    font-family: inherit;
    cursor: pointer;
    text-align: left;
}

.m-sub {
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
}

.m-has-sub.is-open .m-sub {
    max-height: 240px;
}

.m-has-sub.is-open .caret {
    transform: rotate(180deg);
}

.m-sub li {
    border: none !important;
}

.m-sub li a {
    display: block;
    padding: 10px 0 10px 16px;
    font-size: 15px;
    color: var(--color-muted);
}

.m-sub li a:hover {
    color: var(--color-text);
}

.mobile-account {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}


/* ===========================================================
   WooCommerce uyum katmanı
   WC'nin kendi bastığı HTML'i tema tasarımına bağlar.
   =========================================================== */

/* Genel WooCommerce butonları — tema koyusu (varsayılan accent/mor yerine) */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
    background: var(--color-dark);
    color: #fff;
    border-radius: var(--radius);
    border: none;
    font-weight: 500;
    text-transform: none;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
    background: var(--color-dark);
    opacity: .85;
    color: #fff;
}

/* Ürün ızgarası: WC ul.products yerine .shop-grid filtresi kullanıyoruz,
   yine de güvenlik için ul.products'ı da grid yap */
ul.products {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px var(--gap);
}

ul.products li.product {
    margin: 0;
}

/* WC fiyatı (del/ins) — tema fiyat stiliyle uyum */
.product-price del,
.pdp-price del,
.price del {
    color: var(--color-muted);
    text-decoration: line-through;
    font-weight: 400;
    font-size: .9em;
    margin-right: 6px;
}

.product-price ins,
.pdp-price ins,
.price ins {
    text-decoration: none;
    color: #c0392b;
}

/* Sepete ekle formu (single) */
.pdp-add {
    margin-bottom: 8px;
}

/* .pdp-add içinde: form.cart + favori butonu yan yana */
.pdp-add {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 12px;
}

.pdp-add form.cart {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
    flex: 1;
    min-width: 280px;
}

/* ± butonlu adet kutusu (prototip görünümü) */
.pdp-add .magaza-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    overflow: hidden;
    height: 52px;
}

.pdp-add .magaza-qty button {
    width: 44px;
    height: 100%;
    border: none;
    background: none;
    font-size: 18px;
    color: var(--color-text);
    cursor: pointer;
    line-height: 1;
    transition: background .15s;
}

.pdp-add .magaza-qty button:hover {
    background: var(--color-soft);
}

.pdp-add .magaza-qty input.qty {
    width: 48px;
    height: 100%;
    text-align: center;
    border: none;
    border-left: 1px solid var(--color-line);
    border-right: 1px solid var(--color-line);
    font-family: inherit;
    font-size: 15px;
    -moz-appearance: textfield;
    appearance: textfield;
}

.pdp-add .magaza-qty input.qty::-webkit-outer-spin-button,
.pdp-add .magaza-qty input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Sepete Ekle butonu — koyu, esnek genişlik
   (WooCommerce'in .button.alt accent rengini ezmek için güçlü seçici) */
.pdp-add .single_add_to_cart_button,
.woocommerce .pdp-add button.button.alt,
.woocommerce .pdp-add .single_add_to_cart_button.button.alt,
.pdp-add button.button {
    flex: 1;
    min-width: 160px;
    background: var(--color-dark) !important;
    color: #fff !important;
    border: none !important;
    padding: 0 28px !important;
    height: 52px !important;
    line-height: 52px !important;
    font-size: 15px;
    font-weight: 500;
    border-radius: var(--radius) !important;
    cursor: pointer;
    font-family: inherit;
    transition: opacity .2s;
    text-transform: none;
}

.pdp-add .single_add_to_cart_button:hover,
.woocommerce .pdp-add button.button.alt:hover {
    background: var(--color-dark) !important;
    opacity: .85;
}

/* Sepete ekle — yükleniyor durumu.
   WooCommerce'in HER ZAMAN eklediği .loading class'ını da doğrudan hedefler;
   böylece özel class gelmese bile text gizlenir, WC'nin font-ikon spinner'ı bastırılır. */
.woocommerce .pdp-add .single_add_to_cart_button.loading,
.woocommerce .pdp-add .single_add_to_cart_button.magaza-btn-loading,
.pdp-add .single_add_to_cart_button.loading,
.pdp-add .single_add_to_cart_button.magaza-btn-loading {
    color: transparent !important;
    text-shadow: none !important;
    -webkit-text-fill-color: transparent !important;
    pointer-events: none !important;
    position: relative !important;
    opacity: .75 !important;
    background: var(--color-dark) !important;
    background-image: none !important;
}

/* WooCommerce'in kendi ::before / ::after tik-ok-spinner font ikonunu yok et */
.woocommerce .pdp-add .single_add_to_cart_button.loading::before,
.pdp-add .single_add_to_cart_button.loading::before,
.pdp-add .single_add_to_cart_button.magaza-btn-loading::before {
    display: none !important;
    content: "" !important;
}

/* Tam ortalanmış kendi spinner'ımız */
.woocommerce .pdp-add .single_add_to_cart_button.loading::after,
.woocommerce .pdp-add .single_add_to_cart_button.magaza-btn-loading::after,
.pdp-add .single_add_to_cart_button.loading::after,
.pdp-add .single_add_to_cart_button.magaza-btn-loading::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translate(-50%, -50%) !important;
    box-sizing: border-box !important;
    border: 2px solid rgba(255, 255, 255, .4) !important;
    border-top-color: #fff !important;
    border-radius: 50% !important;
    background: none !important;
    font-family: inherit !important;
    font-size: 0 !important;
    line-height: 0 !important;
    text-indent: 0 !important;
    opacity: 1 !important;
    -webkit-text-fill-color: transparent !important;
    animation: magaza-spin .6s linear infinite !important;
}

/* "Eklendi" durumunda buton normal kalsın — bildirim çekmecede gösteriliyor.
   WooCommerce'in eklediği tik/ok ikonlarını tamamen gizle (çift ✓ sorunu). */
.pdp-add .single_add_to_cart_button.added::before,
.pdp-add .single_add_to_cart_button.added::after,
.woocommerce .pdp-add .single_add_to_cart_button.added::before,
.woocommerce .pdp-add .single_add_to_cart_button.added::after {
    display: none !important;
    content: "" !important;
}

/* "Sepeti Görüntüle" otomatik linkini (added_to_cart) gizle */
.pdp-add a.added_to_cart {
    display: none !important;
}

@keyframes magaza-spin {
    to { transform: rotate(360deg); }
}

/* Sepete eklendi bildirimi (çekmece üstü) */
.cart-added-notice[hidden] {
    display: none !important;
}

.cart-added-notice {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 8px;
    margin: 0 24px 18px;
    padding: 12px 14px;
    background: #ecfdf5;
    color: #065f46;
    border-radius: var(--radius);
    font-size: 14px;
    animation: magaza-wa-pop .25s ease;
}

.cart-added-notice svg {
    flex-shrink: 0;
}

/* Mini-cart: adet × fiyat satırı */
.cart-item-qty {
    font-size: 14px;
    color: var(--color-muted);
    margin-right: 4px;
}

/* Mini-cart adet güncellenirken (AJAX) — geçici kilit */
.cart-updating .drawer-body {
    opacity: .55;
    pointer-events: none;
    transition: opacity .15s;
}

/* Boş sepet (çekmece) */
.cart-empty-drawer {
    text-align: center;
    padding: 48px 24px;
}

.cart-empty-drawer svg {
    color: var(--color-muted);
    margin-bottom: 12px;
}

.cart-empty-drawer p {
    color: var(--color-muted);
    margin: 0 0 18px;
}

/* Favorilere Ekle — borderlı, form ile aynı yükseklik */
.pdp-add .btn-wishlist {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 52px;
    padding: 0 22px;
    white-space: nowrap;
    transition: border-color .2s, color .2s, background .2s;
}

/* Favoriye eklendi durumu */
.pdp-add .btn-wishlist.is-active {
    border-color: #c0392b;
    color: #c0392b;
}

.pdp-add .btn-wishlist.is-active .wishlist-icon {
    color: #c0392b;
}

/* Tıklama geri bildirimi (pop) */
.btn-wishlist.wishlist-pop .wishlist-icon {
    animation: magaza-heart-pop .35s ease;
}

@keyframes magaza-heart-pop {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.35); }
    100% { transform: scale(1); }
}

/* Varyasyon tablosu */
.pdp-add table.variations {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
}

.pdp-add table.variations th,
.pdp-add table.variations td {
    text-align: left;
    padding: 8px 0;
    vertical-align: middle;
}

.pdp-add table.variations select {
    padding: 10px 14px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    font-family: inherit;
    min-width: 180px;
}

/* WC sekmeleri (woocommerce-tabs) — tema sekme stiline yaklaştır */
.woocommerce-tabs {
    margin-top: 56px;
}

.woocommerce-tabs ul.tabs {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0 0 32px;
    padding: 0;
    border-bottom: 1px solid var(--color-line);
    overflow-x: auto;
    scrollbar-width: none;
}

.woocommerce-tabs ul.tabs::-webkit-scrollbar {
    display: none;
}

.woocommerce-tabs ul.tabs li {
    margin: 0;
}

.woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 14px 0;
    font-size: 15px;
    color: var(--color-muted);
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    white-space: nowrap;
}

.woocommerce-tabs ul.tabs li.active a {
    color: var(--color-text);
    border-bottom-color: var(--color-text);
    font-weight: 500;
}

.woocommerce-tabs .panel {
    color: var(--color-muted);
    font-size: 15px;
    line-height: 1.7;
    max-width: 800px;
}

.woocommerce-tabs .panel h2 {
    color: var(--color-text);
    font-size: 22px;
    margin-bottom: 14px;
}

/* İlgili / upsell ürünler başlığı */
.related.products > h2,
.up-sells > h2 {
    font-size: 24px;
    margin: 56px 0 24px;
}

/* WooCommerce bildirimleri (notices) */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    list-style: none;
    border-radius: var(--radius);
    font-size: 14px;
    margin: 0 0 20px;
    border: 1px solid var(--color-line);
    background: var(--color-soft);
}

.woocommerce-message {
    border-left: 3px solid #16a34a;
}

.woocommerce-error {
    border-left: 3px solid #c0392b;
}

.woocommerce-info {
    border-left: 3px solid #2980b9;
}

.woocommerce-message a,
.woocommerce-info a {
    color: var(--color-text);
    border-bottom: 1px solid var(--color-text);
    margin-left: 8px;
}

/* Sonuç sayısı + sıralama (toolbar içinde) */
.woocommerce-result-count {
    margin: 0;
    font-size: 14px;
    color: var(--color-muted);
}

.woocommerce-ordering select {
    padding: 9px 32px 9px 12px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 14px;
    background: #fff;
    cursor: pointer;
}

/* Mini-cart (sepet çekmecesi içeriği) */
.cart-drawer .cart_list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cart-drawer .cart_list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px 0;
    margin: 0;
    border-bottom: 1px solid var(--color-line);
    position: relative;
}

.cart-drawer .cart_list li:last-child {
    border-bottom: none;
}

.cart-drawer .cart_list li img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: var(--radius);
    display: block;
}

.cart-item-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: var(--radius);
}

.cart-drawer .cart_list a.remove {
    color: var(--color-muted);
    font-size: 18px;
    line-height: 1;
    text-decoration: none;
}

.cart-drawer .woocommerce-mini-cart__total {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    font-size: 16px;
    border-top: 1px solid var(--color-line);
    margin-top: 8px;
}

.cart-drawer .woocommerce-mini-cart__buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-drawer .woocommerce-mini-cart__buttons .button {
    display: block;
    text-align: center;
    padding: 14px;
    border-radius: var(--radius);
    font-size: 15px;
    text-decoration: none;
}

.cart-drawer .woocommerce-mini-cart__buttons .button:not(.checkout) {
    border: 1px solid var(--color-line);
    color: var(--color-text);
}

.cart-drawer .woocommerce-mini-cart__buttons .checkout {
    background: var(--color-dark);
    color: #fff;
}

/* Screen-reader yardımcı + skip link */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
}

.skip-link {
    position: absolute;
    left: -9999px;
    z-index: 999;
    padding: 10px 16px;
    background: var(--color-dark);
    color: #fff;
    border-radius: var(--radius);
}

.skip-link:focus {
    left: 16px;
    top: 16px;
}

/* ===========================================================
   Hesabım (My Account)
   =========================================================== */

/* İki kolonlu düzen — kendi sarmalayıcımız .magaza-account (my-account.php) */
.wc-page-body {
    padding-top: 48px;
    padding-bottom: 64px;
}

.magaza-account {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    align-items: start;
}

/* WooCommerce'in float/width müdahalelerini etkisizleştir */
.magaza-account .woocommerce-MyAccount-navigation,
.magaza-account .woocommerce-MyAccount-content {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    min-width: 0;
}

/* Giriş/kayıt (logged-out): grid yok, içerik ortalı tek kolon */
.woocommerce-account:not(.logged-in) .wc-page-body .woocommerce {
    max-width: 760px;
    margin: 0 auto;
}

/* ---- Sol navigasyon ---- */
.account-nav {
    position: sticky;
    top: 96px;
}

.account-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    overflow: hidden;
}

.account-nav li {
    border-bottom: 1px solid var(--color-line);
}

.account-nav li:last-child {
    border-bottom: none;
}

.account-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    font-size: 15px;
    color: var(--color-text);
    transition: background .15s, color .15s;
}

.account-nav a:hover {
    background: var(--color-soft);
}

.account-nav li.is-active a,
.account-nav li.woocommerce-MyAccount-navigation-link--dashboard.is-active a {
    background: var(--color-dark);
    color: #fff;
}

.account-nav .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Çıkış maddesi ayrı renk */
.account-nav .woocommerce-MyAccount-navigation-link--customer-logout a {
    color: var(--color-muted);
}

/* ---- İçerik ---- */
.woocommerce-MyAccount-content {
    min-width: 0;
}

/* ---- Pano ---- */
.account-welcome {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: var(--color-soft);
    border-radius: var(--radius);
    margin-bottom: 24px;
}

.account-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--color-dark);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 600;
    flex-shrink: 0;
}

.account-welcome h2 {
    font-size: 20px;
    margin: 0;
}

.account-email {
    color: var(--color-muted);
    font-size: 14px;
    margin: 2px 0 0;
}

.account-logout-btn {
    margin-left: auto;
    padding: 10px 20px;
    font-size: 14px;
}

/* Hızlı erişim kartları */
.account-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.account-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 20px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    transition: border-color .2s, transform .2s;
}

.account-card:hover {
    border-color: var(--color-text);
    transform: translateY(-2px);
}

.account-card .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
    margin-bottom: 8px;
    color: var(--color-text);
}

.account-card strong {
    font-size: 15px;
}

.account-card span:last-child {
    font-size: 13px;
    color: var(--color-muted);
}

/* Son siparişler */
.account-recent-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 16px;
}

.account-recent-head h3 {
    font-size: 18px;
}

.account-order-list {
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    overflow: hidden;
}

.account-order-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--color-line);
    font-size: 14px;
}

.account-order-row:last-child {
    border-bottom: none;
}

.aor-id {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.aor-id span {
    font-size: 12px;
    color: var(--color-muted);
}

.aor-status {
    justify-self: start;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--color-soft);
    color: var(--color-text);
}

.aor-status.status-completed { background: #ecfdf5; color: #065f46; }
.aor-status.status-processing { background: #eff6ff; color: #1e40af; }
.aor-status.status-cancelled,
.aor-status.status-failed { background: #fef2f2; color: #991b1b; }

.aor-total {
    font-weight: 600;
}

.aor-view {
    color: var(--color-text);
    border-bottom: 1px solid var(--color-text);
    font-size: 13px;
}

/* Boş durum */
.account-empty {
    text-align: center;
    padding: 48px 24px;
    border: 1px dashed var(--color-line);
    border-radius: var(--radius);
}

.account-empty .dashicons {
    font-size: 40px;
    width: 40px;
    height: 40px;
    color: var(--color-muted);
    margin-bottom: 12px;
}

.account-empty p {
    color: var(--color-muted);
    margin: 0 0 18px;
}

/* WooCommerce form/tablo uyumu (hesap içeriği) */
.woocommerce-MyAccount-content table.account-orders-table,
.woocommerce-MyAccount-content table.shop_table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.woocommerce-MyAccount-content table th,
.woocommerce-MyAccount-content table td {
    padding: 12px 10px;
    border-bottom: 1px solid var(--color-line);
    text-align: left;
}

.woocommerce-MyAccount-content form .woocommerce-form-row label {
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
}

.woocommerce-MyAccount-content input[type="text"],
.woocommerce-MyAccount-content input[type="email"],
.woocommerce-MyAccount-content input[type="password"],
.woocommerce-MyAccount-content input[type="tel"],
.woocommerce-MyAccount-content select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 14px;
}

.woocommerce-MyAccount-content .button,
.woocommerce-MyAccount-content button[type="submit"] {
    background: var(--color-dark);
    color: #fff;
    border: none;
    padding: 13px 28px;
    border-radius: var(--radius);
    font-size: 15px;
    cursor: pointer;
    font-family: inherit;
}

/* ---- Giriş / Kayıt ---- */
.account-auth {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 420px;
    margin: 0 auto;
}

.account-auth.has-register {
    grid-template-columns: 1fr 1fr;
    max-width: 760px;
    gap: 48px;
}

.account-auth-col h2 {
    font-size: 22px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--color-line);
}

.account-auth .woocommerce-form-row {
    margin-bottom: 16px;
}

.account-auth label {
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
}

.account-auth input[type="text"],
.account-auth input[type="email"],
.account-auth input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 14px;
}

.account-auth input:focus {
    outline: none;
    border-color: var(--color-text);
}

.account-auth-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 14px;
}

.account-remember {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 !important;
    color: var(--color-muted);
}

.account-remember input {
    width: auto;
}

.account-lost {
    color: var(--color-muted);
}

.account-lost:hover {
    color: var(--color-text);
    text-decoration: underline;
}

/* ---- Adresler ---- */
.account-section-intro {
    color: var(--color-muted);
    font-size: 14px;
    margin: 0 0 24px;
}

.address-grid {
    display: grid;
    gap: 20px;
}

.address-grid.cols-2 {
    grid-template-columns: 1fr 1fr;
}

.address-card {
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    padding: 22px 24px;
}

.address-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--color-line);
}

.address-card-head h3 {
    font-size: 17px;
}

.address-card address {
    font-style: normal;
    line-height: 1.7;
    font-size: 14px;
    color: var(--color-text);
}

.address-empty {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-muted);
    font-size: 14px;
    margin: 0;
}

.address-empty .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* Küçük buton varyantı */
.btn-sm {
    padding: 8px 18px;
    font-size: 13px;
}

/* ---- Adres düzenleme formu ---- */
.address-form-title {
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--color-line);
}

.address-form-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

/* Tam genişlik alanlar */
.address-form-fields .form-row-wide,
.address-form-fields .form-row {
    grid-column: 1 / -1;
}

.address-form-fields .form-row-first,
.address-form-fields .form-row-last {
    grid-column: auto;
}

.address-form-fields label {
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
}

.address-form-fields .woocommerce-input-wrapper {
    display: block;
    width: 100%;
}

.address-form-fields input.input-text,
.address-form-fields select,
.address-form-fields .select2-container {
    width: 100% !important;
    padding: 12px 14px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 14px;
}

.address-form-fields input.input-text:focus,
.address-form-fields select:focus {
    outline: none;
    border-color: var(--color-text);
}

.address-form-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

/* ===========================================================
   WhatsApp float butonu
   =========================================================== */
.magaza-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 9999;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, .45);
    transition: transform .2s, box-shadow .2s;
    animation: magaza-wa-pop .3s ease;
}

.magaza-whatsapp:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 26px rgba(37, 211, 102, .55);
    color: #fff;
}

@keyframes magaza-wa-pop {
    from { transform: scale(0); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

@media (max-width: 600px) {
    .magaza-whatsapp {
        right: 16px;
        bottom: 16px;
        width: 50px;
        height: 50px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .magaza-whatsapp { animation: none; }
}
