/* =========================================================================
   YG724 — Trendyol-style e-commerce theme (v2.0)
   Temiz, modern, turuncu aksan, sıkı grid, ürün-odaklı
   ========================================================================= */

:root {
    /* Brand */
    --ty-orange: #F27A1A;
    --ty-orange-600: #E8590C;
    --ty-orange-700: #C2410C;
    --ty-orange-50: #FFF4EC;
    --ty-yellow: #FFC73D;
    --ty-dark: #191F2B;
    --ty-dark-soft: #2A2F3A;

    /* Neutrals */
    --ty-white: #FFFFFF;
    --ty-bg: #F3F3F3;
    --ty-bg-2: #F8F8F8;
    --ty-border: #E5E7EB;
    --ty-border-2: #D1D5DB;
    --ty-text: #242424;
    --ty-text-soft: #56585B;
    --ty-muted: #9CA3AF;

    /* Status */
    --ty-success: #16A34A;
    --ty-success-bg: #DCFCE7;
    --ty-danger: #DC2626;
    --ty-danger-bg: #FEE2E2;
    --ty-info: #2563EB;
    --ty-info-bg: #DBEAFE;

    /* Shape */
    --r-xs: 2px;
    --r-sm: 4px;
    --r-md: 6px;
    --r-lg: 10px;

    /* Shadow */
    --sh-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --sh-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --sh-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --sh-lg: 0 8px 24px rgba(0, 0, 0, 0.10);

    /* Transition */
    --t-fast: 0.15s ease;
    --t-base: 0.22s ease;

    /* Alias (eski değişkenlerle uyum) */
    --c-primary: var(--ty-orange);
    --c-primary-dark: var(--ty-orange-700);
    --c-bg: var(--ty-bg);
    --c-bg-2: var(--ty-bg-2);
    --c-border: var(--ty-border);
    --c-text: var(--ty-text);
    --c-text-soft: var(--ty-text-soft);
    --c-muted: var(--ty-muted);
    --c-success: var(--ty-success);
    --c-danger: var(--ty-danger);
    --c-info: var(--ty-info);
    --radius-sm: var(--r-sm);
    --radius-md: var(--r-md);
    --radius-lg: var(--r-lg);
    --ty-orange-dark: var(--ty-orange-700);
}

/* ------- Base ------- */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    background: var(--ty-bg) !important;
    color: var(--ty-text) !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--ty-text);
    text-decoration: none;
    transition: color var(--t-fast);
}

a:hover,
a:focus {
    color: var(--ty-orange);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

hr {
    border-color: var(--ty-border);
    margin: 14px 0;
}

/* Container – geniş, Trendyol gibi */
.container {
    max-width: 1320px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    margin: 0 auto;
}

.container.hnenx,
.hnenx {
    max-width: 1320px;
}

#wrapper {
    background: var(--ty-bg);
    min-height: 100vh;
}

/* ------- Global helpers ------- */
.text-center {
    text-align: center;
}

.spacer {
    height: 20px;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* =========================================================================
   HEADER - 3 katmanlı
   ========================================================================= */

/* Tier 1: Topbar (ince, koyu) */
.ty-topbar {
    background: var(--ty-dark);
    color: #E5E7EB;
    font-size: 12px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.ty-topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.ty-topbar a {
    color: #E5E7EB;
    padding: 3px 10px;
    transition: color var(--t-fast);
    font-weight: 500;
}

.ty-topbar a:hover {
    color: var(--ty-orange);
}

.ty-topbar .tb-group {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.ty-topbar .tb-sep {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.15);
    margin: 0 4px;
}

.ty-topbar i {
    margin-right: 6px;
    color: var(--ty-orange);
}

/* Tier 2: Main header */
.ty-header {
    background: var(--ty-white);
    padding: 14px 0;
    border-bottom: 1px solid var(--ty-border);
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.ty-header .container {
    display: flex;
    align-items: center;
    gap: 24px;
}

.ty-header .ty-logo {
    flex: 0 0 auto;
}

.ty-header .ty-logo img {
    height: 42px;
    width: auto;
}

.ty-header .ty-search {
    flex: 1;
    max-width: 680px;
    position: relative;
}

.ty-header .ty-search input {
    width: 100%;
    height: 44px;
    border: 1px solid var(--ty-border-2);
    border-radius: var(--r-md);
    padding: 0 50px 0 16px;
    font-size: 14px;
    background: var(--ty-bg-2);
    transition: all var(--t-fast);
    color: var(--ty-text);
}

.ty-header .ty-search input::placeholder {
    color: var(--ty-muted);
}

.ty-header .ty-search input:focus {
    outline: none;
    border-color: var(--ty-orange);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(242, 122, 26, 0.15);
}

.ty-header .ty-search .ty-search-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: var(--r-sm);
    background: var(--ty-orange);
    color: #fff;
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--t-fast);
}

.ty-header .ty-search .ty-search-btn:hover {
    background: var(--ty-orange-600);
}

.ty-header .ty-search .ty-search-results {
    position: absolute;
    top: 48px;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid var(--ty-border);
    border-radius: var(--r-md);
    box-shadow: var(--sh-lg);
    max-height: 420px;
    overflow-y: auto;
    z-index: 100;
    padding: 8px;
}

.ty-header .ty-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
}

.ty-header .ty-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: var(--r-md);
    background: transparent;
    color: var(--ty-text);
    border: 0;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: background var(--t-fast);
    min-height: 44px;
    position: relative;
}

.ty-header .ty-action:hover {
    background: var(--ty-bg);
    color: var(--ty-orange);
}

.ty-header .ty-action i {
    font-size: 18px;
}

.ty-header .ty-action .ty-action-label {
    line-height: 1.2;
}

.ty-header .ty-action .ty-action-label small {
    display: block;
    font-size: 10px;
    color: var(--ty-muted);
    font-weight: 500;
}

.ty-header .ty-cart-btn {
    background: var(--ty-orange-50);
    color: var(--ty-orange-700);
    border: 1px solid var(--ty-orange);
    padding: 8px 16px;
}

.ty-header .ty-cart-btn:hover {
    background: var(--ty-orange);
    color: #fff;
}

.ty-header .ty-cart-btn .ty-cart-count {
    background: var(--ty-orange);
    color: #fff;
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 700;
    margin-left: 6px;
}

.ty-header .ty-cart-btn:hover .ty-cart-count {
    background: #fff;
    color: var(--ty-orange);
}

/* Tier 3: Category nav (beyaz, horizontal, Trendyol gibi) */
.ty-catnav {
    background: #fff;
    border-bottom: 1px solid var(--ty-border);
    padding: 0;
    position: relative;
    z-index: 40;
    overflow: visible;
}

.ty-catnav .container {
    display: flex;
    align-items: center;
    gap: 0;
    overflow: visible;
}

.ty-catmenu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
    width: 100%;
}

.ty-catmenu>li {
    position: relative;
    flex: 0 0 auto;
}

.ty-catmenu>li>a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 16px;
    font-size: 13px;
    font-weight: 700;
    color: var(--ty-text);
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: all var(--t-fast);
    text-transform: none;
    cursor: pointer;
}

.ty-catmenu>li>a:hover,
.ty-catmenu>li.active>a,
.ty-catmenu>li:hover>a,
.ty-catmenu>li.open>a {
    color: var(--ty-orange);
    border-bottom-color: var(--ty-orange);
    background: var(--ty-bg-2);
}

.ty-catmenu>li>a i.fa-caret-down {
    font-size: 11px;
    opacity: 0.7;
}

/* Mega menu */
.ty-catmenu .ty-mega {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    background: #fff;
    border: 1px solid var(--ty-border);
    border-radius: 0 0 var(--r-md) var(--r-md);
    box-shadow: var(--sh-lg);
    padding: 20px;
    min-width: 680px;
    max-width: 90vw;
    z-index: 100;
    animation: fadeDown 0.18s ease;
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ty-catmenu>li:hover .ty-mega,
.ty-catmenu>li.open .ty-mega {
    display: block;
}

.ty-catmenu .ty-mega-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px 24px;
}

.ty-catmenu .ty-mega-col {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ty-catmenu .ty-mega-col>li>a {
    display: block;
    padding: 7px 10px;
    font-size: 13px;
    color: var(--ty-text);
    border-radius: var(--r-sm);
    font-weight: 500;
    border: 0;
}

.ty-catmenu .ty-mega-col>li>a:hover {
    background: var(--ty-orange-50);
    color: var(--ty-orange);
}

.ty-catmenu .ty-simple-dropdown {
    min-width: 220px;
    padding: 8px;
}

.ty-catmenu .ty-simple-dropdown .ty-mega-col>li>a {
    padding: 8px 12px;
}

/* Mobile menu toggle */
.ty-menu-toggle {
    display: none;
    background: transparent;
    border: 0;
    color: var(--ty-text);
    font-size: 22px;
    cursor: pointer;
    padding: 8px;
}

/* =========================================================================
   UTILITY BAR / BREADCRUMB
   ========================================================================= */
.utility-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    gap: 12px;
    flex-wrap: wrap;
}

.utility-bar .small-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.utility-bar .small-menu a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--r-sm);
    background: #fff;
    border: 1px solid var(--ty-border);
    font-size: 12px;
    font-weight: 600;
    color: var(--ty-text);
}

.utility-bar .small-menu a:hover {
    border-color: var(--ty-orange);
    color: var(--ty-orange);
}

.utility-bar .utility-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--ty-orange);
    font-weight: 600;
}

.utility-bar .utility-link:hover {
    text-decoration: underline;
}

.breadcrumb,
#title-bg .breadcrumb,
.breadcrumb-wrap {
    background: transparent !important;
    padding: 8px 0 !important;
    margin: 0 0 10px !important;
    font-size: 12px !important;
    border-radius: 0 !important;
    list-style: none !important;
    display: flex;
    flex-wrap: wrap;
    gap: 2px 4px;
    color: var(--ty-muted) !important;
}

.breadcrumb>li,
.breadcrumb li {
    color: var(--ty-muted) !important;
    font-size: 12px;
}

.breadcrumb>li+li::before {
    content: "/" !important;
    padding: 0 6px !important;
    color: var(--ty-muted) !important;
}

.breadcrumb a {
    color: var(--ty-text-soft);
    font-weight: 500;
}

.breadcrumb a:hover {
    color: var(--ty-orange);
}

.breadcrumb .active,
.breadcrumb>.active {
    color: var(--ty-text) !important;
    font-weight: 600;
}

/* =========================================================================
   TITLES
   ========================================================================= */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: inherit !important;
    color: var(--ty-text) !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em;
    margin-top: 0;
}

h1 {
    font-size: 22px;
}

h2 {
    font-size: 18px;
}

h3 {
    font-size: 16px;
}

/* Eski #title-bg – normalize */
#title-bg,
#title-widget-bg {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 0 14px !important;
    height: auto !important;
    max-width: 100% !important;
    position: static !important;
    display: block;
}

#title-bg .title,
#title-widget-bg .title-widget {
    background: transparent !important;
    color: var(--ty-text) !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    padding: 0 0 10px !important;
    border: 0 !important;
    border-bottom: 2px solid var(--ty-orange) !important;
    display: inline-block !important;
    text-align: left !important;
    letter-spacing: -0.01em;
    height: auto !important;
    line-height: 1.3 !important;
}

.section-title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin: 20px 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--ty-border);
}

.section-title h2 {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: var(--ty-text) !important;
    margin: 0 !important;
    padding-bottom: 10px !important;
    margin-bottom: -11px !important;
    border-bottom: 2px solid var(--ty-orange) !important;
    display: inline-block;
}

.section-title .section-meta {
    font-size: 13px;
    color: var(--ty-text-soft);
    font-weight: 500;
}

.section-title .view-all {
    font-size: 13px;
    color: var(--ty-orange);
    font-weight: 700;
}

.page-title-wrap {
    background: transparent !important;
    color: var(--ty-text) !important;
    padding: 0 !important;
    border-radius: 0 !important;
    margin: 6px 0 14px !important;
}

.page-title-inner {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
}

.bigtitle,
.page-title-wrap h1 {
    color: var(--ty-text) !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    margin: 2px 0 6px !important;
    line-height: 1.25 !important;
}

.bread {
    font-size: 12px;
    color: var(--ty-muted);
    margin-bottom: 4px;
}

.bread a {
    color: var(--ty-text-soft);
    font-weight: 500;
}

.bread a:hover {
    color: var(--ty-orange);
}

/* =========================================================================
   BUTTONS
   ========================================================================= */
.btn,
button.btn,
input.btn,
a.btn,
.btn-default {
    border-radius: var(--r-sm) !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    padding: 10px 16px !important;
    border: 0 !important;
    transition: all var(--t-fast) !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    line-height: 1.3 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    text-decoration: none !important;
    background: var(--ty-bg) !important;
    color: var(--ty-text) !important;
}

.btn:hover,
.btn-default:hover {
    background: #E5E7EB !important;
    color: var(--ty-text) !important;
}

.btn-lg {
    padding: 12px 22px !important;
    font-size: 14px !important;
}

.btn-sm {
    padding: 7px 12px !important;
    font-size: 12px !important;
}

.btn-xs {
    padding: 4px 8px !important;
    font-size: 11px !important;
}

/* Primary / Orange */
.btn-red,
.btn-primary,
.btn-orange {
    background: var(--ty-orange) !important;
    color: #fff !important;
}

.btn-red:hover,
.btn-primary:hover,
.btn-orange:hover {
    background: var(--ty-orange-600) !important;
    color: #fff !important;
}

/* Success */
.btn-success,
.btn-green {
    background: var(--ty-success) !important;
    color: #fff !important;
}

.btn-success:hover,
.btn-green:hover {
    background: #15803d !important;
    color: #fff !important;
}

/* Info */
.btn-info {
    background: var(--ty-info) !important;
    color: #fff !important;
}

.btn-info:hover {
    background: #1d4ed8 !important;
    color: #fff !important;
}

/* Danger */
.btn-danger {
    background: var(--ty-danger) !important;
    color: #fff !important;
}

.btn-danger:hover {
    background: #b91c1c !important;
    color: #fff !important;
}

/* Yellow / accent */
.btn-yellow,
.btn-warning {
    background: var(--ty-yellow) !important;
    color: var(--ty-dark) !important;
}

.btn-yellow:hover,
.btn-warning:hover {
    background: #EAB308 !important;
    color: var(--ty-dark) !important;
}

/* Dark */
.btn-dark {
    background: var(--ty-dark) !important;
    color: #fff !important;
}

.btn-dark:hover {
    background: var(--ty-dark-soft) !important;
    color: #fff !important;
}

/* Outline */
.btn-outline {
    background: transparent !important;
    border: 1px solid var(--ty-orange) !important;
    color: var(--ty-orange) !important;
}

.btn-outline:hover {
    background: var(--ty-orange) !important;
    color: #fff !important;
}

.btn-disabled,
.btn[disabled] {
    background: var(--ty-border) !important;
    color: var(--ty-muted) !important;
    cursor: not-allowed !important;
}

.btn-block {
    display: flex !important;
    width: 100% !important;
}

/* =========================================================================
   FORMS
   ========================================================================= */
.form-control,
input.form-control,
select.form-control,
textarea.form-control {
    height: 42px !important;
    padding: 9px 14px !important;
    font-size: 14px !important;
    color: var(--ty-text) !important;
    background: #fff !important;
    border: 1px solid var(--ty-border-2) !important;
    border-radius: var(--r-md) !important;
    box-shadow: none !important;
    transition: all var(--t-fast);
    width: 100%;
}

.form-control:focus {
    border-color: var(--ty-orange) !important;
    outline: 0 !important;
    box-shadow: 0 0 0 3px rgba(242, 122, 26, 0.15) !important;
}

textarea.form-control {
    height: auto !important;
    min-height: 100px !important;
    resize: vertical;
}

select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='%23242424' d='M5 7l5 5 5-5z'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 16px !important;
    padding-right: 36px !important;
    background-color: #fff !important;
}

.form-control::placeholder {
    color: var(--ty-muted);
}

.form-group {
    margin-bottom: 14px;
}

.form-group label,
.type-text {
    display: block !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: var(--ty-text-soft) !important;
    margin-bottom: 6px !important;
    text-transform: none;
}

.req,
.type-text .req {
    color: var(--ty-danger);
    margin-left: 2px;
}

input[type="checkbox"],
input[type="radio"] {
    width: 16px;
    height: 16px;
    accent-color: var(--ty-orange);
    cursor: pointer;
}

/* =========================================================================
   CARDS
   ========================================================================= */
.content-card,
.form-card {
    background: #fff;
    border: 1px solid var(--ty-border);
    border-radius: var(--r-md);
    padding: 20px;
    box-shadow: var(--sh-xs);
    margin-bottom: 14px;
}

.content-card.compact,
.form-card.compact {
    padding: 14px;
}

.content-card+.content-card {
    margin-top: 10px;
}

.form-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--ty-border);
}

.form-card-header .icon {
    width: 38px;
    height: 38px;
    border-radius: var(--r-md);
    background: var(--ty-orange);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex: 0 0 38px;
}

.form-card-header .icon.accent-blue {
    background: var(--ty-info);
}

.form-card-header .icon.accent-amber {
    background: var(--ty-yellow);
    color: var(--ty-dark);
}

.form-card-header h3 {
    font-size: 15px !important;
    font-weight: 700 !important;
    margin: 0 !important;
    color: var(--ty-text) !important;
}

.form-card-header small {
    font-size: 12px;
    color: var(--ty-muted);
    display: block;
    margin-top: 2px;
    font-weight: 500;
}

.signup-submit {
    text-align: center;
    padding: 18px 0 10px;
}

.signup-alt {
    margin-top: 10px;
    font-size: 13px;
    color: var(--ty-text-soft);
}

.signup-alt a {
    color: var(--ty-orange);
    font-weight: 700;
    margin-left: 4px;
}

.info-note {
    display: flex;
    gap: 10px;
    padding: 12px;
    background: var(--ty-info-bg);
    border-radius: var(--r-sm);
    color: #1e40af;
    font-size: 13px;
    margin-top: 10px;
}

.info-note i {
    font-size: 16px;
    margin-top: 1px;
    flex: 0 0 auto;
}

.check-row {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--ty-bg);
    border-radius: var(--r-sm);
    margin-bottom: 14px;
    cursor: pointer;
    font-weight: 500 !important;
    font-size: 13px !important;
    color: var(--ty-text) !important;
}

.check-row:hover {
    background: var(--ty-orange-50);
}

#faturabilgileri {
    transition: all var(--t-base);
}

#faturabilgileri.hidden {
    display: none;
}

/* =========================================================================
   PRODUCT CARD - Trendyol style
   ========================================================================= */
.prdct {
    margin-left: -6px;
    margin-right: -6px;
}

.prdct>[class*="col-"] {
    padding-left: 6px;
    padding-right: 6px;
    margin-bottom: 12px;
}

.productwrap,
.product-card {
    position: relative;
    background: #fff;
    border: 1px solid transparent;
    border-radius: var(--r-md);
    overflow: hidden;
    transition: all var(--t-fast);
    height: 100%;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.productwrap:hover,
.product-card:hover {
    border-color: var(--ty-border-2);
    box-shadow: var(--sh-md);
    transform: translateY(-1px);
}

.productwrap .pr-img,
.product-card .pr-img {
    position: relative;
    padding: 0;
    background: #fff;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.productwrap .pr-img a,
.product-card .pr-img a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 12px;
}

.productwrap .pr-img img,
.product-card .pr-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform var(--t-base);
}

.productwrap:hover .pr-img img,
.product-card:hover .pr-img img {
    transform: scale(1.03);
}

/* Fav heart */
.pr-fav {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--ty-border);
    color: var(--ty-text-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    z-index: 3;
    transition: all var(--t-fast);
}

.pr-fav:hover,
.pr-fav.active {
    color: var(--ty-orange);
    border-color: var(--ty-orange);
    background: #fff;
}

/* Badges (stok, indirim, yeni) */
.pr-badges {
    position: absolute;
    top: 6px;
    left: 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 2;
}

.pr-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: var(--r-xs);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    background: var(--ty-orange);
    color: #fff;
}

.pr-badge.discount {
    background: var(--ty-orange);
}

.pr-badge.new {
    background: var(--ty-success);
}

.pr-badge.stock {
    background: var(--ty-danger);
}

.pr-badge.sold-out {
    background: #6B7280;
}

.pr-badge.bestseller {
    background: var(--ty-dark);
}

/* Body */
.productwrap .product-body,
.product-card .product-body {
    padding: 8px 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-height: 82px;
}

.productwrap .pr-brand,
.product-card .pr-brand {
    font-size: 12px;
    font-weight: 700;
    color: var(--ty-text);
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.productwrap .pr-title,
.product-card .pr-title,
.productwrap .smalltitle,
.product-card .smalltitle {
    font-size: 12px !important;
    font-weight: 400 !important;
    color: var(--ty-text-soft) !important;
    line-height: 1.35 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    width: auto !important;
    min-height: 34px;
    text-align: left !important;
}

.productwrap .pr-title a,
.product-card .pr-title a,
.productwrap .smalltitle a,
.product-card .smalltitle a {
    color: inherit;
}

.productwrap .pr-title a:hover,
.product-card .pr-title a:hover,
.productwrap .smalltitle a:hover,
.product-card .smalltitle a:hover {
    color: var(--ty-orange);
}

.productwrap .smalldesc,
.product-card .smalldesc {
    font-size: 10px !important;
    color: var(--ty-muted) !important;
    font-weight: 500;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Rating */
.pr-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--ty-muted);
}

.pr-rating .stars {
    color: var(--ty-yellow);
    font-size: 11px;
    letter-spacing: 1px;
}

.pr-rating .count {
    font-weight: 600;
}

/* Price */
.productwrap .pr-price,
.product-card .pr-price {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: auto;
    padding-top: 4px;
}

.pr-price .price-old {
    font-size: 11px;
    color: var(--ty-muted);
    text-decoration: line-through;
    font-weight: 500;
    line-height: 1.2;
}

.pr-price .price-now {
    font-size: 16px;
    font-weight: 800;
    color: var(--ty-orange);
    line-height: 1.15;
}

.pr-price .price-ask {
    font-size: 13px;
    font-weight: 700;
    color: var(--ty-text-soft);
}

/* Old pricetag class compatibility */
.productwrap .pricetag {
    position: static !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
}

.productwrap .pricetag .inner {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: var(--ty-orange) !important;
    line-height: 1.15 !important;
}

/* Add to cart - slide in on hover */
.pr-actions {
    padding: 0 10px 10px;
    display: flex;
    gap: 6px;
}

.pr-actions .btn {
    flex: 1;
    padding: 8px 10px !important;
    font-size: 12px !important;
}

/* =========================================================================
   HERO SECTION - 3 column (sidebar + slider + promo cards)
   ========================================================================= */
.ty-hero {
    display: grid;
    grid-template-columns: 260px 1fr 300px;
    gap: 12px;
    margin: 14px 0 16px;
    align-items: stretch;
}

/* ---- SIDEBAR (Tüm Kategoriler) ---- */
.ty-sidebar-nav {
    background: #fff;
    border: 1px solid var(--ty-border);
    border-radius: var(--r-md);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.ty-sidebar-nav .ty-sn-head {
    background: var(--ty-orange);
    color: #fff;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.01em;
}

.ty-sidebar-nav .ty-sn-head i {
    font-size: 16px;
}

.ty-sidebar-nav ul {
    list-style: none;
    padding: 4px 0;
    margin: 0;
    flex: 1;
    max-height: 440px;
    overflow-y: auto;
}

.ty-sidebar-nav ul::-webkit-scrollbar {
    width: 4px;
}

.ty-sidebar-nav ul::-webkit-scrollbar-thumb {
    background: var(--ty-border-2);
    border-radius: 2px;
}

.ty-sidebar-nav>ul>li {
    position: relative;
}

.ty-sidebar-nav>ul>li>a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    color: var(--ty-text);
    font-size: 13px;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: all var(--t-fast);
    position: relative;
}

.ty-sidebar-nav>ul>li>a>.cat-ico {
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    border-radius: var(--r-sm);
    background: var(--ty-bg);
    color: var(--ty-text-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all var(--t-fast);
}

.ty-sidebar-nav>ul>li>a>.cat-name {
    flex: 1;
    line-height: 1.25;
}

.ty-sidebar-nav>ul>li>a>.cat-arrow {
    font-size: 11px;
    color: var(--ty-muted);
    transition: transform var(--t-fast);
}

.ty-sidebar-nav>ul>li:hover>a,
.ty-sidebar-nav>ul>li.active>a {
    background: var(--ty-orange-50);
    color: var(--ty-orange);
    border-left-color: var(--ty-orange);
}

.ty-sidebar-nav>ul>li:hover>a>.cat-ico,
.ty-sidebar-nav>ul>li.active>a>.cat-ico {
    background: var(--ty-orange);
    color: #fff;
}

.ty-sidebar-nav>ul>li:hover>a>.cat-arrow {
    color: var(--ty-orange);
    transform: translateX(3px);
}

/* Hover flyout submenu */
.ty-sidebar-nav .cat-flyout {
    position: absolute;
    top: 0;
    left: 100%;
    width: 520px;
    background: #fff;
    border: 1px solid var(--ty-border);
    border-left: 0;
    border-radius: 0 var(--r-md) var(--r-md) 0;
    box-shadow: var(--sh-lg);
    padding: 18px 20px;
    display: none;
    z-index: 40;
    min-height: 100%;
}

.ty-sidebar-nav>ul>li:hover .cat-flyout {
    display: block;
}

.ty-sidebar-nav .cat-flyout h4 {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: var(--ty-text) !important;
    margin: 0 0 10px !important;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--ty-border);
}

.ty-sidebar-nav .cat-flyout ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 12px;
    max-height: none;
    overflow: visible;
}

.ty-sidebar-nav .cat-flyout ul li a {
    display: block;
    padding: 6px 8px;
    font-size: 12.5px;
    color: var(--ty-text-soft);
    border-radius: var(--r-sm);
    font-weight: 500;
}

.ty-sidebar-nav .cat-flyout ul li a:hover {
    background: var(--ty-orange-50);
    color: var(--ty-orange);
}

.ty-sidebar-nav .ty-sn-footer {
    padding: 10px 14px;
    border-top: 1px solid var(--ty-border);
    background: var(--ty-bg-2);
    font-size: 12px;
    color: var(--ty-text-soft);
    text-align: center;
}

.ty-sidebar-nav .ty-sn-footer a {
    color: var(--ty-orange);
    font-weight: 700;
}

/* ---- MAIN SLIDER (owl carousel v1) ---- */
.ty-hero-slider {
    position: relative;
    border-radius: var(--r-md);
    overflow: hidden;
    background: linear-gradient(135deg, var(--ty-dark) 0%, var(--ty-dark-soft) 100%);
    min-height: 440px;
}

.ty-hero-slider .owl-carousel {
    position: relative;
    width: 100%;
}

.ty-hero-slider .owl-carousel .owl-wrapper-outer {
    overflow: hidden;
    width: 100%;
}

.ty-hero-slider .owl-carousel .owl-wrapper {
    position: relative;
    -webkit-transform: translate3d(0, 0, 0);
}

.ty-hero-slider .owl-carousel .owl-item {
    float: left;
    width: 100%;
}

/* Pre-JS: only show the first item (prevents vertical stacking flash) */
.ty-hero-slider #sync1:not(.owl-carousel) .item {
    display: none;
}

.ty-hero-slider #sync1:not(.owl-carousel) .item:first-child {
    display: flex;
}

.ty-hero-slider #sync1 .item,
.ty-hero-slider .item {
    position: relative !important;
    width: 100% !important;
    min-height: 440px !important;
    height: 440px !important;
    display: flex !important;
    align-items: center !important;
    padding: 36px 44px !important;
    color: #fff !important;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    overflow: hidden !important;
    margin: 0 !important;
}

/* Override legacy style.css rules inside the new hero */
.ty-hero-slider .slide-desc {
    position: relative !important;
    right: auto !important;
    left: auto !important;
    top: auto !important;
    z-index: 2;
    max-width: 56%;
    flex: 1;
}

.ty-hero-slider .slide-desc .inner {
    float: none !important;
    max-width: 100% !important;
    padding: 0 !important;
}

.ty-hero-slider .item::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(242, 122, 26, 0.18), transparent 45%),
        radial-gradient(circle at 85% 75%, rgba(255, 199, 61, 0.12), transparent 50%),
        linear-gradient(90deg, rgba(10, 13, 20, 0.85) 0%, rgba(10, 13, 20, 0.55) 45%, rgba(10, 13, 20, 0.15) 100%);
    z-index: 1;
}

.ty-hero-slider .slide-desc {
    position: relative;
    z-index: 2;
    max-width: 56%;
}

.ty-hero-slider .slide-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(242, 122, 26, 0.9);
    color: #fff;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.ty-hero-slider .slide-desc h1 {
    color: #fff !important;
    font-size: 34px !important;
    font-weight: 800 !important;
    margin: 0 0 14px !important;
    letter-spacing: -0.02em;
    line-height: 1.15 !important;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
    padding: 0 !important;
}

.ty-hero-slider .slide-desc p {
    color: #E5E7EB !important;
    font-size: 15px !important;
    margin: 0 0 18px !important;
    max-width: 520px;
    line-height: 1.55 !important;
    text-shadow: none !important;
    padding: 0 !important;
}

.ty-hero-slider .slide-cta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.ty-hero-slider .slide-cta .btn {
    padding: 12px 24px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

.ty-hero-slider .slide-price {
    display: inline-flex;
    flex-direction: column;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--r-md);
    line-height: 1.15;
}

.ty-hero-slider .slide-price .label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #D1D5DB;
    font-weight: 600;
}

.ty-hero-slider .slide-price .price {
    font-size: 22px;
    font-weight: 800;
    color: #FFC73D;
}

.ty-hero-slider .slide-img {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    max-width: 42%;
    z-index: 1;
    pointer-events: none;
}

.ty-hero-slider .slide-img img {
    max-height: 380px;
    width: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35));
}

/* ==== GLOBAL OWL v1 RESET ====
   Owl'ın varsayılan gri pil butonları ve gri noktalarını sıfırla. */
.owl-theme .owl-controls .owl-buttons div,
.owl-theme .owl-controls .owl-buttons .owl-prev,
.owl-theme .owl-controls .owl-buttons .owl-next {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    opacity: 1 !important;
    filter: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
    text-shadow: none !important;
    border: 0 !important;
}

.owl-theme .owl-controls .owl-page span {
    background: var(--ty-border-2) !important;
    opacity: 1 !important;
    filter: none !important;
}

.owl-theme .owl-controls .owl-page.active span,
.owl-theme .owl-controls.clickable .owl-page:hover span {
    background: var(--ty-orange) !important;
    opacity: 1 !important;
}

/* Owl v1 carousel controls (hero slider custom) */
.ty-hero-slider .owl-controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 14px;
    z-index: 5;
    text-align: center;
    pointer-events: none;
    margin: 0 !important;
}

.ty-hero-slider .owl-controls * {
    pointer-events: auto;
}

.ty-hero-slider .owl-pagination {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0 !important;
}

.ty-hero-slider .owl-page {
    display: inline-block;
    margin: 0 !important;
}

.ty-hero-slider .owl-page span {
    display: block !important;
    width: 26px !important;
    height: 4px !important;
    border-radius: 3px !important;
    background: rgba(255, 255, 255, 0.4) !important;
    margin: 0 !important;
    opacity: 1 !important;
    transition: background var(--t-fast), width var(--t-fast);
    filter: none !important;
}

.ty-hero-slider .owl-page.active span,
.ty-hero-slider .owl-page:hover span {
    background: var(--ty-orange) !important;
    width: 36px !important;
}

.ty-hero-slider .owl-buttons {
    position: static;
}

.ty-hero-slider .owl-buttons>div {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.18) !important;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: #fff !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 0 !important;
    transition: all var(--t-fast);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    opacity: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-indent: 0 !important;
}

.ty-hero-slider .owl-buttons>div:hover {
    background: var(--ty-orange) !important;
    border-color: var(--ty-orange) !important;
}

.ty-hero-slider .owl-buttons .owl-prev {
    left: 14px !important;
    right: auto !important;
}

.ty-hero-slider .owl-buttons .owl-next {
    right: 14px !important;
    left: auto !important;
}

.ty-hero-slider .owl-buttons .owl-prev::before,
.ty-hero-slider .owl-buttons .owl-next::before {
    font-family: FontAwesome !important;
    font-size: 20px !important;
    line-height: 1 !important;
    color: #fff !important;
    text-indent: 0 !important;
    display: inline-block;
    font-weight: normal;
}

.ty-hero-slider .owl-buttons .owl-prev::before {
    content: "\f104" !important;
}

.ty-hero-slider .owl-buttons .owl-next::before {
    content: "\f105" !important;
}

/* ---- RIGHT PROMO CARDS (stack of 2) ---- */
.ty-hero-aside {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
}

.ty-promo-card {
    position: relative;
    border-radius: var(--r-md);
    overflow: hidden;
    padding: 22px 20px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 214px;
    transition: all var(--t-fast);
    cursor: pointer;
}

.ty-promo-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--sh-lg);
    color: #fff;
}

.ty-promo-card.promo-dark {
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
}

.ty-promo-card.promo-orange {
    background: linear-gradient(135deg, var(--ty-orange) 0%, var(--ty-orange-700) 100%);
}

.ty-promo-card.promo-blue {
    background: linear-gradient(135deg, #1E40AF 0%, #1E3A8A 100%);
}

.ty-promo-card.promo-green {
    background: linear-gradient(135deg, #15803D 0%, #166534 100%);
}

.ty-promo-card::after {
    content: "";
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    z-index: 0;
}

.ty-promo-card .promo-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.ty-promo-card .promo-body {
    position: relative;
    z-index: 1;
}

.ty-promo-card .promo-tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.75;
    margin-bottom: 4px;
    display: block;
}

.ty-promo-card h3 {
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    margin: 0 0 6px !important;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.ty-promo-card p {
    font-size: 12.5px;
    margin: 0 0 12px;
    opacity: 0.88;
    line-height: 1.4;
}

.ty-promo-card .promo-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    position: relative;
    z-index: 1;
    padding: 6px 12px;
    border-radius: var(--r-sm);
    background: rgba(255, 255, 255, 0.15);
    align-self: flex-start;
    transition: all var(--t-fast);
}

.ty-promo-card:hover .promo-cta {
    background: rgba(255, 255, 255, 0.25);
    gap: 10px;
}

/* Hero band */
.hero-band {
    background: linear-gradient(135deg, var(--ty-orange) 0%, var(--ty-orange-600) 50%, var(--ty-orange-700) 100%);
    color: #fff;
    padding: 36px 32px;
    border-radius: var(--r-md);
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}

.hero-band::before {
    content: "";
    position: absolute;
    inset: auto -60px -80px auto;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 70%);
}

.hero-band h1 {
    color: #fff !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    margin: 0 0 8px !important;
    letter-spacing: -0.01em;
}

.hero-band p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 14px !important;
    max-width: 660px;
    margin: 0 0 14px !important;
    line-height: 1.6;
}

.hero-band .btn-default {
    background: #fff !important;
    color: var(--ty-orange-700) !important;
}

/* Kampanya bandı (3'lü) */
.ty-deals-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 14px 0;
}

.ty-deal-card {
    background: #fff;
    border-radius: var(--r-md);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--ty-border);
    transition: all var(--t-fast);
}

.ty-deal-card:hover {
    border-color: var(--ty-orange);
    box-shadow: var(--sh-sm);
}

.ty-deal-card .ty-deal-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--r-md);
    background: var(--ty-orange-50);
    color: var(--ty-orange);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex: 0 0 44px;
}

.ty-deal-card h4 {
    font-size: 14px !important;
    font-weight: 700 !important;
    margin: 0 0 2px !important;
    color: var(--ty-text) !important;
}

.ty-deal-card p {
    font-size: 12px;
    color: var(--ty-muted);
    margin: 0;
}

/* =========================================================================
   SEPETİM (cart + checkout)
   ========================================================================= */

/* Boş sepet */
.cart-empty {
    max-width: 520px;
    margin: 20px auto;
    text-align: center;
    background: #fff;
    border: 1px solid var(--ty-border);
    border-radius: var(--r-md);
    padding: 44px 28px;
    box-shadow: var(--sh-sm);
}
.cart-empty-icon {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    margin: 0 auto 16px;
    background: var(--ty-orange-50);
    color: var(--ty-orange);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
}
.cart-empty h2 { font-size: 22px !important; font-weight: 800 !important; color: var(--ty-text) !important; margin: 0 0 6px !important; }
.cart-empty p { color: var(--ty-text-soft); font-size: 14px; line-height: 1.6; margin: 0 auto 20px; max-width: 400px; }
.cart-empty-ctas { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }

/* Layout */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 16px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.cart-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }

.cart-section {
    background: #fff;
    border: 1px solid var(--ty-border);
    border-radius: var(--r-md);
    box-shadow: var(--sh-sm);
    overflow: hidden;
}
.cart-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid var(--ty-border);
    background: linear-gradient(180deg, #fff, var(--ty-bg-2));
}
.cart-section-head h2 {
    font-size: 16px !important;
    font-weight: 800 !important;
    margin: 0 !important;
    color: var(--ty-text) !important;
}
.cart-section-head h2 i { color: var(--ty-orange); margin-right: 6px; }
.cart-count {
    padding: 5px 12px;
    background: var(--ty-orange-50);
    color: var(--ty-orange);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

/* Cart items */
.cart-items { list-style: none; padding: 0; margin: 0; }
.cart-item {
    display: flex;
    gap: 14px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--ty-border);
    align-items: flex-start;
}
.cart-item:last-child { border-bottom: 0; }
.ci-img {
    flex: 0 0 90px;
    width: 90px;
    height: 90px;
    border-radius: var(--r-sm);
    border: 1px solid var(--ty-border);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    overflow: hidden;
}
.ci-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ci-img:hover { border-color: var(--ty-orange); }

.ci-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.ci-title {
    color: var(--ty-text) !important;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.35;
    text-decoration: none !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ci-title:hover { color: var(--ty-orange) !important; }

.ci-meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--ty-text-soft); }
.ci-kdv { color: var(--ty-success); font-weight: 600; }
.ci-kdv i { margin-right: 2px; }
.ci-stok strong { color: var(--ty-text); font-family: 'Courier New', monospace; }

.ci-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 6px;
}
.ci-qty { display: flex; align-items: center; gap: 8px; }
.ci-qty label { font-size: 12px; font-weight: 600; color: var(--ty-text-soft); margin: 0; }
.ci-qty-form { margin: 0; }
.ci-qty select {
    width: 70px !important;
    padding: 6px 8px !important;
    font-weight: 700 !important;
    text-align: center !important;
    border: 1px solid var(--ty-border) !important;
    border-radius: var(--r-sm) !important;
    font-size: 13px !important;
    height: auto !important;
}

.ci-price-box { margin-left: auto; text-align: right; }
.ci-unit { display: block; font-size: 12px; color: var(--ty-text-soft); }
.ci-unit small { color: var(--ty-muted); }
.ci-total {
    display: block;
    font-size: 17px;
    font-weight: 800;
    color: var(--ty-orange);
    line-height: 1.2;
    margin-top: 2px;
}

.ci-remove {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--ty-bg);
    color: var(--ty-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--ty-border);
    cursor: pointer;
    transition: all var(--t-base);
    text-decoration: none !important;
}
.ci-remove:hover { background: var(--ty-danger); color: #fff !important; border-color: var(--ty-danger); }

/* Opsiyonlar */
.cart-options {
    list-style: none;
    padding: 14px 20px;
    background: var(--ty-bg-2);
    border-bottom: 1px solid var(--ty-border);
}
.cart-options .co-head { font-size: 13px; font-weight: 700; color: var(--ty-text); margin-bottom: 10px; }
.cart-options .co-head i { color: var(--ty-orange); margin-right: 6px; }
.cart-options .co-form { display: flex; flex-direction: column; gap: 8px; }
.cart-options .co-opt {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--ty-border);
    border-radius: var(--r-sm);
    cursor: pointer;
    margin: 0;
}
.cart-options .co-opt:hover { border-color: var(--ty-orange); }
.cart-options .co-opt input[type=checkbox] { margin: 0; accent-color: var(--ty-orange); }
.cart-options .co-opt img { width: 48px; height: 48px; object-fit: contain; border: 1px solid var(--ty-border); border-radius: var(--r-sm); padding: 2px; }
.cart-options .co-opt-body { flex: 1; display: flex; flex-direction: column; }
.cart-options .co-opt-body strong { font-size: 13px; color: var(--ty-text); font-weight: 600; }
.cart-options .co-opt-body span { font-size: 11px; color: var(--ty-muted); }
.cart-options .co-opt-price { font-weight: 800; color: var(--ty-orange); font-size: 14px; }

/* Checkout steps */
.co-steps { display: flex; flex-direction: column; gap: 0; padding: 0; }
.co-step { border-bottom: 1px solid var(--ty-border); }
.co-step:last-child { border-bottom: 0; }
.co-step-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: linear-gradient(180deg, #fff, var(--ty-bg-2));
    border-bottom: 1px solid var(--ty-border);
}
.co-step-head .co-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--ty-orange);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    flex: 0 0 36px;
}
.co-step-head h3 { font-size: 16px !important; font-weight: 800 !important; margin: 0 !important; color: var(--ty-text) !important; }
.co-step-head .co-sub { font-size: 12px; color: var(--ty-text-soft); display: block; margin-top: 1px; }
.co-step-body { padding: 20px; }

/* 2 kolon grid */
.co-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.co-panel {}
.co-panel h4 {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: var(--ty-text) !important;
    margin: 0 0 12px !important;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--ty-border);
}
.co-panel h4 i { color: var(--ty-orange); margin-right: 6px; }

.co-panel .form-group { margin-bottom: 10px; }
.co-panel .form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--ty-text-soft);
    margin-bottom: 4px;
}
.co-panel .form-group label .req { color: var(--ty-danger); }

.co-panel.is-hidden .co-fatura-fields { display: none; }

/* Checkbox */
.co-check {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    border: 1px solid var(--ty-border);
    border-radius: var(--r-sm);
    background: var(--ty-bg-2);
    cursor: pointer;
    margin: 0 0 14px;
    font-size: 13px;
    color: var(--ty-text);
    font-weight: 500;
}
.co-check input { margin: 0; accent-color: var(--ty-orange); }
.co-check:hover { border-color: var(--ty-orange); }

/* Login / Guest */
.co-login h4, .co-guest h4 {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: var(--ty-text) !important;
    margin: 0 0 10px !important;
}
.co-login .form-group { margin-bottom: 10px; }
.co-login .co-link {
    display: inline-block;
    margin-left: 14px;
    color: var(--ty-orange);
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
}
.co-login .co-link:hover { text-decoration: underline; }

.co-guest {
    background: var(--ty-bg-2);
    border: 2px dashed var(--ty-border);
    border-radius: var(--r-md);
    padding: 20px;
    text-align: center;
}
.co-guest-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #fff;
    color: var(--ty-orange);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 10px;
    border: 1px solid var(--ty-border);
}
.co-guest p { font-size: 12px; color: var(--ty-text-soft); line-height: 1.5; margin: 0 0 14px; }
.btn-guest {
    background: #fff !important;
    color: var(--ty-text) !important;
    border: 1px solid var(--ty-border) !important;
    font-weight: 700 !important;
    padding: 10px 18px !important;
    border-radius: var(--r-sm) !important;
    cursor: pointer;
}
.btn-guest:hover { border-color: var(--ty-orange) !important; color: var(--ty-orange) !important; }

/* Kupon */
.co-coupon { margin-top: 16px; border-top: 1px dashed var(--ty-border); padding-top: 14px; }
.co-coupon-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--ty-orange);
    font-weight: 700;
    cursor: pointer;
    user-select: none;
}
.co-coupon-toggle i { font-size: 14px; }
.co-coupon-toggle:hover { text-decoration: underline; }
.co-coupon-body { margin-top: 10px; }
.co-coupon-input { position: relative; max-width: 320px; }
.co-coupon-input input { padding-right: 32px !important; }
.co-coupon-input i { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-size: 16px; }
.co-coupon-body small { display: block; color: var(--ty-muted); font-size: 11px; margin-top: 6px; line-height: 1.4; }

/* Ödeme */
.co-payment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}
.co-pay { display: block; cursor: pointer; margin: 0; }
.co-pay input { position: absolute; opacity: 0; pointer-events: none; }
.co-pay .co-pay-inner {
    background: #fff;
    border: 2px solid var(--ty-border);
    border-radius: var(--r-md);
    padding: 18px 14px;
    text-align: center;
    transition: all var(--t-base);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    height: 100%;
}
.co-pay .co-pay-inner i { font-size: 26px; color: var(--ty-text-soft); }
.co-pay .co-pay-inner strong { font-size: 14px; font-weight: 800; color: var(--ty-text); }
.co-pay .co-pay-inner span { font-size: 11px; color: var(--ty-text-soft); line-height: 1.4; }
.co-pay:hover .co-pay-inner { border-color: var(--ty-orange); }
.co-pay input:checked + .co-pay-inner {
    border-color: var(--ty-orange);
    background: var(--ty-orange-50);
    box-shadow: 0 0 0 3px rgba(242,122,26,0.15);
}
.co-pay input:checked + .co-pay-inner i,
.co-pay input:checked + .co-pay-inner strong { color: var(--ty-orange); }

.co-agreement { background: #FFF7ED; border-color: #FED7AA; margin-bottom: 0; }
.co-agreement a { color: var(--ty-orange); font-weight: 700; }

/* Sidebar - Sipariş Özeti */
.cart-sidebar { position: sticky; top: 16px; }
.cart-summary {
    background: #fff;
    border: 1px solid var(--ty-border);
    border-radius: var(--r-md);
    padding: 20px;
    box-shadow: var(--sh-sm);
}
.cart-summary h3 {
    font-size: 16px !important;
    font-weight: 800 !important;
    margin: 0 0 16px !important;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--ty-border);
    color: var(--ty-text) !important;
}
.cart-summary h3 i { color: var(--ty-orange); margin-right: 6px; }
.cs-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 14px;
    color: var(--ty-text-soft);
}
.cs-row strong { color: var(--ty-text); font-weight: 700; }
.cs-row strong.free { color: var(--ty-success); font-weight: 800; letter-spacing: 0.04em; font-size: 12px; }
.cs-divider { height: 1px; background: var(--ty-border); margin: 10px 0; }
.cs-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0 16px;
    font-size: 15px;
    color: var(--ty-text);
    font-weight: 700;
}
.cs-total strong { color: var(--ty-orange); font-size: 22px; font-weight: 800; }

.cs-checkout {
    display: block;
    width: 100%;
    background: var(--ty-orange);
    color: #fff;
    border: 0;
    padding: 14px 18px;
    border-radius: var(--r-sm);
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background var(--t-base), transform var(--t-base);
}
.cs-checkout:hover { background: var(--ty-orange-dark); transform: translateY(-1px); }
.cs-checkout i { margin-right: 6px; }

.cs-security {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 14px;
    font-size: 11px;
    color: var(--ty-muted);
    font-weight: 600;
}
.cs-security i { color: var(--ty-success); margin-right: 3px; }

/* Responsive */
@media (max-width: 991px) {
    .cart-layout { grid-template-columns: 1fr; }
    .cart-sidebar { position: static; }
}
@media (max-width: 767px) {
    .cart-item { flex-wrap: wrap; padding: 14px; gap: 10px; }
    .ci-img { flex: 0 0 70px; width: 70px; height: 70px; }
    .ci-body { flex: 1 1 calc(100% - 80px); }
    .ci-actions { width: 100%; gap: 10px; }
    .ci-price-box { margin-left: 0; text-align: left; flex: 1; }
    .ci-total { font-size: 16px; }

    .co-step-head { padding: 14px; gap: 10px; }
    .co-step-head .co-num { width: 30px; height: 30px; flex: 0 0 30px; font-size: 14px; }
    .co-step-head h3 { font-size: 14px !important; }
    .co-step-body { padding: 14px; }
    .co-grid-2 { grid-template-columns: 1fr; }
    .co-payment-grid { grid-template-columns: 1fr; }

    .cart-summary { padding: 16px; }
    .cs-total strong { font-size: 20px; }
}

/* =========================================================================
   URUN DETAY (şema + parça listesi)
   ========================================================================= */
.ud-layout { display: flex; flex-direction: column; gap: 16px; margin-bottom: 20px; }

.ud-schema-card,
.ud-parts-card {
    background: #fff;
    border: 1px solid var(--ty-border);
    border-radius: var(--r-md);
    box-shadow: var(--sh-sm);
    overflow: hidden;
}

.ud-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--ty-border);
    background: linear-gradient(180deg, #fff, var(--ty-bg-2));
    flex-wrap: wrap;
}
.ud-card-head h2 {
    font-size: 16px !important;
    font-weight: 800 !important;
    margin: 0 !important;
    color: var(--ty-text) !important;
    line-height: 1.2;
}
.ud-card-head h2 i { color: var(--ty-orange); margin-right: 6px; }
.ud-sub {
    display: block;
    font-size: 12px;
    color: var(--ty-text-soft);
    margin-top: 2px;
    line-height: 1.4;
}

.ud-count-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--ty-orange-50);
    color: var(--ty-orange);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.ud-search { position: relative; flex: 0 0 280px; max-width: 100%; }
.ud-search i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ty-muted);
    font-size: 13px;
    pointer-events: none;
}
.ud-search input {
    width: 100%;
    padding: 9px 12px 9px 34px !important;
    border: 1px solid var(--ty-border) !important;
    border-radius: var(--r-sm) !important;
    background: #fff !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: var(--ty-text) !important;
    transition: border-color var(--t-base), box-shadow var(--t-base);
}
.ud-search input:focus {
    border-color: var(--ty-orange) !important;
    box-shadow: 0 0 0 3px rgba(242,122,26,0.12) !important;
    outline: none;
}

/* Şema viewport (iframe wrapper) */
.ud-schema-viewport {
    width: 100%;
    background: #fafafa;
    padding: 10px;
    display: flex;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
.ud-schema-viewport iframe {
    border: 0;
    display: block;
    width: 790px;
    height: 1090px;
    background: #fff;
    border-radius: var(--r-sm);
    flex: 0 0 790px;
}
.ud-schema-viewport.is-scaled {
    justify-content: flex-start;
    padding: 10px;
}
.ud-schema-viewport.is-scaled iframe {
    /* JS tarafından transform:scale atanır; yükseklik viewport'a verilir */
}

.ud-notice {
    margin: 0;
    padding: 12px 20px;
    font-size: 13px;
    color: var(--ty-text);
    background: #FFF7ED;
    border-top: 1px solid #FED7AA;
}
.ud-notice.warn { background: #FEF3C7; border-top-color: #FCD34D; }
.ud-notice i { color: var(--ty-orange); margin-right: 6px; }
.ud-notice a { color: var(--ty-orange); font-weight: 700; text-decoration: underline; }

/* Parça listesi tablosu */
.ud-parts-table-wrap { position: relative; }
.ud-parts-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    font-size: 13px;
}
.ud-parts-table thead th {
    background: var(--ty-bg);
    color: var(--ty-text-soft);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 11px 12px;
    text-align: left;
    border-bottom: 1px solid var(--ty-border);
    white-space: nowrap;
}
.ud-parts-table tbody td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--ty-border);
    vertical-align: middle;
    background: #fff;
}
.ud-parts-table tbody tr:last-child td { border-bottom: 0; }
.ud-parts-table tbody tr:hover td { background: var(--ty-bg-2); }

.ud-parts-table .th-no,
.ud-parts-table .td-no { width: 52px; text-align: center; }
.ud-parts-table .th-img,
.ud-parts-table .td-img { width: 70px; }
.ud-parts-table .th-stokkodu,
.ud-parts-table .td-stokkodu { width: 130px; }
.ud-parts-table .th-fiyat,
.ud-parts-table .td-fiyat { width: 120px; text-align: right; white-space: nowrap; }
.ud-parts-table .th-stok,
.ud-parts-table .td-stok { width: 80px; text-align: center; }
.ud-parts-table .th-sepet,
.ud-parts-table .td-sepet { width: 60px; text-align: center; }

/* Aktif satır (oturumdan gelen vurgu) */
.ud-parts-table tr.ud-row.active td {
    background: #FFF7ED !important;
    box-shadow: inset 4px 0 0 var(--ty-orange);
}
.ud-parts-table tr.ud-row.active .ud-title { color: var(--ty-orange); font-weight: 700; }
.ud-parts-table tr.ud-row.active .ud-num-badge { background: var(--ty-orange); color: #fff; border-color: var(--ty-orange); }

/* Numara rozeti */
.ud-num-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--ty-orange);
    color: var(--ty-orange);
    font-weight: 800;
    font-size: 12px;
    text-decoration: none !important;
    transition: all var(--t-base);
}
.ud-num-badge:hover {
    background: var(--ty-orange);
    color: #fff !important;
    transform: scale(1.08);
}

.ud-thumb {
    display: block;
    width: 54px;
    height: 54px;
    padding: 3px;
    border: 1px solid var(--ty-border);
    border-radius: var(--r-sm);
    background: #fff;
    overflow: hidden;
}
.ud-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.ud-thumb:hover { border-color: var(--ty-orange); }

.ud-title {
    color: var(--ty-text) !important;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none !important;
    line-height: 1.35;
    display: inline-block;
}
.ud-title:hover { color: var(--ty-orange) !important; }

.ud-chip {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    vertical-align: middle;
}
.ud-chip.info { background: #DBEAFE; color: #1D4ED8; }

.ud-stokkodu {
    display: inline-block;
    padding: 3px 8px;
    border-radius: var(--r-sm);
    background: var(--ty-bg);
    border: 1px solid var(--ty-border);
    font-family: 'Courier New', monospace;
    font-size: 12px;
    font-weight: 700;
    color: var(--ty-text-soft);
}

.ud-price { font-weight: 800; font-size: 14px; color: var(--ty-text); text-decoration: none !important; }
.ud-price.ask { color: var(--ty-danger); font-size: 12px; font-weight: 700; }
.ud-price.ask:hover { text-decoration: underline !important; }

.ud-stock {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.ud-stock.in { background: #DCFCE7; color: var(--ty-success); }
.ud-stock.out { background: #FEE2E2; color: var(--ty-danger); }

.ud-add-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: var(--r-sm);
    background: var(--ty-orange);
    color: #fff !important;
    border: 0;
    cursor: pointer;
    font-size: 14px;
    transition: background var(--t-base), transform var(--t-base);
    text-decoration: none !important;
}
.ud-add-btn:hover { background: var(--ty-orange-dark); transform: translateY(-1px); color: #fff !important; }
.ud-add-btn.ghost { background: var(--ty-bg); color: var(--ty-text-soft) !important; border: 1px solid var(--ty-border); }
.ud-add-btn.ghost:hover { background: var(--ty-bg-2); color: var(--ty-orange) !important; border-color: var(--ty-orange); }

.ud-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--ty-text-soft);
}
.ud-empty i { font-size: 36px; color: var(--ty-muted); margin-bottom: 10px; display: block; }
.ud-empty p { margin: 0; font-size: 14px; }

/* Responsive - Mobil */
@media (max-width: 767px) {
    .ud-card-head { padding: 12px 14px; align-items: stretch; }
    .ud-card-head h2 { font-size: 14px !important; }
    .ud-sub { font-size: 11px; }
    .ud-count-badge { font-size: 12px; padding: 4px 10px; align-self: flex-start; }
    .ud-search { flex: 1 1 100%; }

    .ud-schema-viewport { padding: 8px; }

    /* Tabloyu kart benzeri satırlara dönüştür */
    .ud-parts-table { display: block; }
    .ud-parts-table thead { display: none; }
    .ud-parts-table tbody { display: block; }

    .ud-parts-table tbody tr {
        display: grid;
        grid-template-columns: 44px 56px 1fr auto auto;
        column-gap: 10px;
        row-gap: 4px;
        padding: 12px;
        border-bottom: 1px solid var(--ty-border);
        align-items: center;
        background: #fff;
    }
    .ud-parts-table tbody tr:hover td { background: transparent; }
    .ud-parts-table tbody tr.ud-row.active {
        background: #FFF7ED;
        box-shadow: inset 4px 0 0 var(--ty-orange);
    }
    .ud-parts-table tbody tr.ud-row.active td { background: transparent !important; }

    .ud-parts-table tbody td {
        display: block;
        padding: 0 !important;
        border: 0 !important;
        width: auto !important;
        background: transparent !important;
        text-align: left !important;
        white-space: normal;
    }

    .ud-parts-table .td-no    { grid-column: 1; grid-row: 1 / span 3; align-self: center; justify-self: center; }
    .ud-parts-table .td-img   { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
    .ud-parts-table .td-name  { grid-column: 3 / span 3; grid-row: 1; }
    .ud-parts-table .td-stokkodu { grid-column: 3 / span 3; grid-row: 2; }
    .ud-parts-table .td-fiyat { grid-column: 3; grid-row: 3; text-align: left !important; }
    .ud-parts-table .td-stok  { grid-column: 4; grid-row: 3; justify-self: end; }
    .ud-parts-table .td-sepet { grid-column: 5; grid-row: 3; justify-self: end; }

    /* Bayi değilse sadece no, img, name, stokkodu, stok var */
    .ud-parts-table tbody tr:not(:has(.td-fiyat)) .td-stok {
        grid-column: 3 / span 3;
        justify-self: start;
    }

    .ud-thumb { width: 48px; height: 48px; }
    .ud-num-badge { width: 30px; height: 30px; font-size: 11px; }
    .ud-title { font-size: 13px; line-height: 1.3; }
    .ud-stokkodu { font-size: 11px; padding: 2px 6px; }
    .ud-price { font-size: 14px; }
    .ud-price.ask { font-size: 11px; }
    .ud-stock { font-size: 10px; padding: 2px 8px; }
    .ud-add-btn { width: 32px; height: 32px; font-size: 13px; }

    .ud-chip { display: inline-block; margin-left: 4px; font-size: 9px; padding: 1px 6px; }
}

/* Geniş masaüstü: şema ve liste yan yana */
@media (min-width: 1280px) {
    .ud-layout { display: grid; grid-template-columns: 810px 1fr; align-items: flex-start; }
    .ud-schema-card { position: sticky; top: 16px; }
}

/* =========================================================================
   SUCCESS PAGE (tamam.html)
   ========================================================================= */
.success-page {
    display: flex;
    justify-content: center;
    padding: 10px 16px 30px;
}

.success-card {
    background: #fff;
    border: 1px solid var(--ty-border);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-md);
    max-width: 640px;
    width: 100%;
    padding: 44px 36px 36px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.success-card::before {
    content: "";
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.12), transparent 70%);
    pointer-events: none;
}

.success-icon {
    width: 96px;
    height: 96px;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
}

.success-icon svg {
    width: 100%;
    height: 100%;
}

.success-circle {
    stroke: var(--ty-success);
    stroke-width: 3;
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: sc-stroke 0.7s ease-out forwards;
}

.success-check {
    stroke: var(--ty-success);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: sc-stroke 0.45s ease-out 0.6s forwards;
}

@keyframes sc-stroke {
    to {
        stroke-dashoffset: 0;
    }
}

.success-card h1 {
    font-size: 26px !important;
    font-weight: 800 !important;
    color: var(--ty-text) !important;
    margin: 0 0 6px !important;
    position: relative;
    z-index: 1;
    letter-spacing: -0.01em;
}

.success-lead {
    font-size: 16px;
    color: var(--ty-success);
    font-weight: 600;
    margin: 0 0 4px;
    position: relative;
    z-index: 1;
}

.success-sub {
    font-size: 14px;
    color: var(--ty-text-soft);
    line-height: 1.6;
    max-width: 440px;
    margin: 0 auto 24px;
    position: relative;
    z-index: 1;
}

.success-ctas {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

.success-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    text-align: left;
    padding-top: 22px;
    border-top: 1px solid var(--ty-border);
    position: relative;
    z-index: 1;
}

.success-info-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.success-info-item .icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 50%;
    background: var(--ty-orange-50);
    color: var(--ty-orange);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.success-info-item .icon.green {
    background: #DCFCE7;
    color: var(--ty-success);
}

.success-info-item strong {
    display: block;
    font-size: 13px;
    color: var(--ty-text);
    margin-bottom: 2px;
}

.success-info-item span {
    display: block;
    font-size: 12px;
    color: var(--ty-text-soft);
    line-height: 1.45;
}

@media (max-width: 600px) {
    .success-card {
        padding: 32px 22px 26px;
    }

    .success-card h1 {
        font-size: 22px !important;
    }

    .success-info {
        grid-template-columns: 1fr;
    }
}

/* =========================================================================
   CALLBACK / BİZİ ARAYIN
   ========================================================================= */
.cb-wrap {
    background: #fff;
    border: 1px solid var(--ty-border);
    border-radius: var(--r-md);
    overflow: hidden;
    margin: 0 0 20px;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    box-shadow: var(--sh-sm);
}

.cb-left {
    padding: 26px 28px;
    background:
        radial-gradient(circle at 100% 0%, rgba(242, 122, 26, 0.12), transparent 55%),
        linear-gradient(180deg, #fff 0%, var(--ty-bg-2) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cb-left h3 {
    font-size: 20px !important;
    font-weight: 800 !important;
    margin: 0 0 6px !important;
    color: var(--ty-text) !important;
    letter-spacing: -0.01em;
}

.cb-left p {
    color: var(--ty-text-soft);
    font-size: 14px;
    margin: 0 0 18px;
    line-height: 1.55;
}

.cb-cta-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cb-cta {
    flex: 1;
    min-width: 160px;
    padding: 14px 16px;
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
    transition: transform var(--t-base), box-shadow var(--t-base);
    border: none;
    cursor: pointer;
}

.cb-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--sh-md);
    text-decoration: none !important;
}

.cb-cta .cb-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    flex: 0 0 44px;
}

.cb-cta .cb-label {
    color: rgba(255, 255, 255, 0.85);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: block;
}

.cb-cta .cb-num {
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    display: block;
    line-height: 1.2;
}

.cb-cta.phone {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    color: #fff;
}

.cb-cta.wa {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: #fff;
}

.cb-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 22px 0 14px;
    color: var(--ty-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.cb-divider::before,
.cb-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--ty-border);
}

.cb-right {
    padding: 26px 28px;
    background: linear-gradient(160deg, #F27A1A 0%, #E64A0E 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cb-right::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent 70%);
    pointer-events: none;
}

.cb-right h3 {
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    margin: 0 0 4px !important;
    position: relative;
    z-index: 1;
}

.cb-right p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    margin: 0 0 16px;
    position: relative;
    z-index: 1;
}

.cb-right .form-group {
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.cb-right .form-control {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 2px solid transparent !important;
    color: var(--ty-text) !important;
    padding: 12px 14px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    height: auto !important;
}

.cb-right .form-control:focus {
    background: #fff !important;
    border-color: var(--ty-dark) !important;
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.1) !important;
}

.cb-right .form-control::placeholder {
    color: var(--ty-muted);
    font-weight: 500;
}

.cb-right .btn-submit {
    width: 100%;
    padding: 13px 18px !important;
    background: var(--ty-dark) !important;
    color: #fff !important;
    font-weight: 800 !important;
    font-size: 14px !important;
    border: none !important;
    border-radius: var(--r-sm) !important;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 4px;
    transition: background var(--t-base), transform var(--t-base);
    position: relative;
    z-index: 1;
}

.cb-right .btn-submit:hover {
    background: #000 !important;
    transform: translateY(-1px);
}

.cb-right .cb-tiny {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 10px;
    display: block;
    position: relative;
    z-index: 1;
}

.cb-right .cb-tiny i {
    margin-right: 4px;
}

@media (max-width: 767px) {
    .cb-wrap {
        grid-template-columns: 1fr;
    }

    .cb-left,
    .cb-right {
        padding: 22px 20px;
    }
}

/* =========================================================================
   ORDER TRACKING
   ========================================================================= */
.ot-query-card {
    max-width: 520px;
    margin: 20px auto;
    background: #fff;
    border: 1px solid var(--ty-border);
    border-radius: var(--r-md);
    padding: 30px 26px;
    text-align: center;
    box-shadow: var(--sh-sm);
}

.ot-query-card .ot-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--ty-orange-50);
    color: var(--ty-orange);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 14px;
}

.ot-query-card h2 {
    font-size: 20px !important;
    font-weight: 800 !important;
    margin: 0 0 6px !important;
    color: var(--ty-text) !important;
}

.ot-query-card p {
    color: var(--ty-text-soft);
    font-size: 14px;
    margin: 0 0 20px;
    line-height: 1.5;
}

.ot-query-card .ot-input-group {
    display: flex;
    gap: 8px;
    max-width: 360px;
    margin: 0 auto 8px;
}

.ot-query-card .ot-input-group .form-control {
    text-align: center;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em;
}

.ot-query-card .ot-hint {
    font-size: 12px;
    color: var(--ty-muted);
    margin-top: 10px;
}

/* Order status hero */
.ot-hero {
    background: linear-gradient(135deg, var(--ty-dark) 0%, var(--ty-dark-soft) 100%);
    color: #fff;
    border-radius: var(--r-md);
    padding: 22px 26px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}

.ot-hero::after {
    content: "";
    position: absolute;
    inset: auto -40px -80px auto;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(242, 122, 26, 0.25), transparent 70%);
}

.ot-hero .ot-hero-body {
    flex: 1;
    min-width: 220px;
    position: relative;
    z-index: 1;
}

.ot-hero .ot-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.ot-hero h2 {
    color: #fff !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    margin: 0 0 4px !important;
    letter-spacing: -0.01em;
}

.ot-hero .ot-code {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    color: var(--ty-yellow);
}

.ot-hero .ot-meta {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
}

.ot-hero .ot-meta i {
    color: var(--ty-orange);
    margin-right: 4px;
}

.ot-hero .ot-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.ot-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ot-badge.waiting {
    background: #FFC73D;
    color: #7A4A00;
    border-color: transparent;
}

.ot-badge.preparing {
    background: var(--ty-info);
    border-color: transparent;
}

.ot-badge.shipped {
    background: #8B5CF6;
    border-color: transparent;
}

.ot-badge.delivered {
    background: var(--ty-success);
    border-color: transparent;
}

.ot-badge.cancelled {
    background: var(--ty-danger);
    border-color: transparent;
}

/* Progress tracker */
.ot-tracker {
    background: #fff;
    border: 1px solid var(--ty-border);
    border-radius: var(--r-md);
    padding: 22px 20px;
    margin-bottom: 16px;
}

.ot-steps {
    display: flex;
    justify-content: space-between;
    gap: 6px;
    position: relative;
}

.ot-steps::before {
    content: "";
    position: absolute;
    top: 18px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: var(--ty-border);
    z-index: 0;
    border-radius: 2px;
}

.ot-steps .ot-step-progress {
    position: absolute;
    top: 18px;
    left: 10%;
    height: 3px;
    background: var(--ty-success);
    z-index: 1;
    border-radius: 2px;
    transition: width 0.4s ease;
}

.ot-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

.ot-step .ot-step-dot {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--ty-border);
    color: var(--ty-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-bottom: 8px;
    transition: all var(--t-base);
}

.ot-step .ot-step-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--ty-muted);
    line-height: 1.3;
}

.ot-step.done .ot-step-dot {
    background: var(--ty-success);
    border-color: var(--ty-success);
    color: #fff;
}

.ot-step.done .ot-step-label {
    color: var(--ty-text);
}

.ot-step.active .ot-step-dot {
    background: var(--ty-orange);
    border-color: var(--ty-orange);
    color: #fff;
    box-shadow: 0 0 0 6px rgba(242, 122, 26, 0.15);
    animation: otPulse 1.6s ease-in-out infinite;
}

.ot-step.active .ot-step-label {
    color: var(--ty-orange);
    font-weight: 700;
}

.ot-step.cancelled .ot-step-dot {
    background: var(--ty-danger);
    border-color: var(--ty-danger);
    color: #fff;
}

@keyframes otPulse {

    0%,
    100% {
        box-shadow: 0 0 0 6px rgba(242, 122, 26, 0.15);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(242, 122, 26, 0.05);
    }
}

/* Order summary grid */
.ot-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.ot-summary-card {
    background: #fff;
    border: 1px solid var(--ty-border);
    border-radius: var(--r-md);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ot-summary-card .icon {
    width: 40px;
    height: 40px;
    border-radius: var(--r-sm);
    background: var(--ty-orange-50);
    color: var(--ty-orange);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex: 0 0 40px;
}

.ot-summary-card .icon.green {
    background: #DCFCE7;
    color: var(--ty-success);
}

.ot-summary-card .icon.blue {
    background: #DBEAFE;
    color: var(--ty-info);
}

.ot-summary-card .label {
    font-size: 11px;
    color: var(--ty-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    margin-bottom: 2px;
    display: block;
}

.ot-summary-card .value {
    font-size: 15px;
    font-weight: 700;
    color: var(--ty-text);
    line-height: 1.2;
}

/* Order items list */
.ot-items {
    background: #fff;
    border: 1px solid var(--ty-border);
    border-radius: var(--r-md);
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    overflow: hidden;
}

.ot-item {
    display: flex;
    gap: 14px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--ty-border);
    align-items: center;
}

.ot-item:last-child {
    border-bottom: 0;
}

.ot-item:hover {
    background: var(--ty-bg-2);
}

.ot-item .ot-item-img {
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
    border-radius: var(--r-sm);
    border: 1px solid var(--ty-border);
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.ot-item .ot-item-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.ot-item .ot-item-body {
    flex: 1;
    min-width: 0;
}

.ot-item .ot-item-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--ty-text);
    margin: 0 0 3px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ot-item .ot-item-title a {
    color: inherit;
}

.ot-item .ot-item-title a:hover {
    color: var(--ty-orange);
}

.ot-item .ot-item-meta {
    font-size: 12px;
    color: var(--ty-muted);
}

.ot-item .ot-item-right {
    flex: 0 0 auto;
    text-align: right;
}

.ot-item .ot-item-qty {
    font-size: 12px;
    color: var(--ty-text-soft);
    background: var(--ty-bg);
    padding: 3px 10px;
    border-radius: var(--r-sm);
    font-weight: 600;
    display: inline-block;
    margin-bottom: 4px;
}

.ot-item .ot-item-price {
    font-size: 16px;
    font-weight: 800;
    color: var(--ty-orange);
}

/* Responsive */
@media (max-width: 767px) {
    .ot-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .ot-steps::before {
        left: 6%;
        right: 6%;
    }

    .ot-step .ot-step-dot {
        width: 30px;
        height: 30px;
        font-size: 11px;
    }

    .ot-step .ot-step-label {
        font-size: 10px;
    }

    .ot-item {
        flex-wrap: wrap;
    }

    .ot-item .ot-item-right {
        flex: 0 0 100%;
        text-align: left;
    }
}

/* =========================================================================
   PRODUCT DETAIL PAGE
   ========================================================================= */
.pd-wrap {
    display: grid;
    grid-template-columns: 5fr 4fr 3fr;
    gap: 14px;
    margin: 8px 0 20px;
    align-items: flex-start;
}

/* Gallery */
.pd-gallery {
    background: #fff;
    border: 1px solid var(--ty-border);
    border-radius: var(--r-md);
    padding: 14px;
    display: flex;
    gap: 12px;
    position: sticky;
    top: 84px;
}

.pd-thumbs {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 0 0 68px;
    max-height: 480px;
    overflow-y: auto;
}

.pd-thumbs li {
    width: 68px;
    height: 68px;
    border: 1px solid var(--ty-border);
    border-radius: var(--r-sm);
    overflow: hidden;
    cursor: pointer;
    background: #fff;
    transition: all var(--t-fast);
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pd-thumbs li img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.pd-thumbs li:hover,
.pd-thumbs li.active {
    border-color: var(--ty-orange);
    box-shadow: 0 0 0 2px rgba(242, 122, 26, 0.12);
}

.pd-main-img {
    flex: 1;
    aspect-ratio: 1 / 1;
    border-radius: var(--r-sm);
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: zoom-in;
    max-height: 480px;
}

.pd-main-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform var(--t-base);
}

.pd-main-img:hover img {
    transform: scale(1.04);
}

.pd-main-zoom-trigger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    max-height: 100%;
    cursor: zoom-in;
    outline: none;
}

.pd-main-zoom-trigger:focus-visible {
    box-shadow: 0 0 0 3px rgba(242, 122, 26, 0.45);
    border-radius: var(--r-sm);
}

.pd-zoom-hint {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    pointer-events: none;
    transition: background var(--t-fast), transform var(--t-fast);
}

.pd-main-zoom-trigger:hover .pd-zoom-hint {
    background: rgba(242, 122, 26, 0.92);
    transform: scale(1.05);
}

.pd-fancy-links-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.pd-gallery .pd-fancy-links-sr {
    position: absolute;
    left: 0;
    top: 0;
}

.pd-main-img .pd-badges-topleft {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 2;
}

/* Info column */
.pd-info {
    background: #fff;
    border: 1px solid var(--ty-border);
    border-radius: var(--r-md);
    padding: 20px;
}

.pd-info .pd-brand {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--ty-orange);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
    padding: 3px 10px;
    background: var(--ty-orange-50);
    border-radius: var(--r-sm);
}

.pd-info .pd-title {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: var(--ty-text) !important;
    line-height: 1.3 !important;
    margin: 0 0 10px !important;
    letter-spacing: -0.01em;
}

.pd-info .pd-subline {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--ty-border);
    margin-bottom: 14px;
    font-size: 12.5px;
    color: var(--ty-text-soft);
}

.pd-info .pd-subline .pd-stock-ok {
    color: var(--ty-success);
    font-weight: 600;
}

.pd-info .pd-subline .pd-stock-no {
    color: var(--ty-danger);
    font-weight: 600;
}

.pd-info .pd-subline .pd-hit {
    color: var(--ty-muted);
}

.pd-info .pd-subline .sep {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--ty-border-2);
}

.pd-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 8px;
    margin-bottom: 14px;
}

.pd-feature-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    background: var(--ty-bg-2);
    border-radius: var(--r-sm);
    font-size: 12px;
    color: var(--ty-text);
}

.pd-feature-chip i {
    color: var(--ty-orange);
    font-size: 15px;
    flex: 0 0 auto;
}

.pd-feature-chip strong {
    display: block;
    font-weight: 700;
    line-height: 1.2;
}

.pd-feature-chip small {
    color: var(--ty-muted);
    font-size: 11px;
}

.pd-meta-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--ty-border);
    padding-top: 12px;
}

.pd-meta-list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 7px 0;
    font-size: 13px;
    border-bottom: 1px dashed var(--ty-border);
}

.pd-meta-list li:last-child {
    border-bottom: 0;
}

.pd-meta-list .pd-k {
    color: var(--ty-muted);
    font-weight: 500;
}

.pd-meta-list .pd-v {
    color: var(--ty-text);
    font-weight: 600;
    text-align: right;
}

/* Buy box (sticky) */
.pd-buybox {
    background: #fff;
    border: 1px solid var(--ty-border);
    border-radius: var(--r-md);
    padding: 18px;
    position: sticky;
    top: 84px;
}

.pd-price-wrap {
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--ty-border);
}

.pd-price-wrap .pd-price-old {
    font-size: 13px;
    color: var(--ty-muted);
    text-decoration: line-through;
    display: block;
    font-weight: 500;
    margin-bottom: 2px;
}

.pd-price-wrap .pd-price-now {
    font-size: 28px;
    font-weight: 800;
    color: var(--ty-orange);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.pd-price-wrap .pd-price-note {
    display: block;
    font-size: 11px;
    color: var(--ty-muted);
    margin-top: 3px;
    font-weight: 500;
}

.pd-price-wrap .pd-price-ask {
    font-size: 18px;
    font-weight: 700;
    color: var(--ty-text-soft);
}

.pd-price-wrap .pd-discount-badge {
    display: inline-block;
    background: var(--ty-danger-bg);
    color: var(--ty-danger);
    padding: 2px 8px;
    border-radius: var(--r-sm);
    font-size: 11px;
    font-weight: 700;
    margin-left: 6px;
}

.pd-qty-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    margin-bottom: 10px;
    align-items: center;
}

.pd-qty-row>label {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: var(--ty-text-soft) !important;
    margin: 0 !important;
}

.pd-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--ty-border-2);
    border-radius: var(--r-sm);
    overflow: hidden;
    background: #fff;
}

.pd-qty button {
    width: 36px;
    height: 40px;
    border: 0;
    background: transparent;
    color: var(--ty-text);
    font-size: 16px;
    cursor: pointer;
    font-weight: 700;
    transition: background var(--t-fast);
}

.pd-qty button:hover {
    background: var(--ty-orange-50);
    color: var(--ty-orange);
}

.pd-qty input {
    width: 44px;
    height: 40px;
    border: 0 !important;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--ty-text);
    background: transparent;
}

.pd-qty input:focus {
    outline: none;
    box-shadow: none !important;
}

.pd-buy-btn {
    width: 100%;
    padding: 14px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    margin-bottom: 8px;
}

.pd-fav-btn {
    width: 100%;
    background: #fff !important;
    color: var(--ty-text) !important;
    border: 1px solid var(--ty-border-2) !important;
    padding: 12px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

.pd-fav-btn:hover {
    border-color: var(--ty-orange) !important;
    color: var(--ty-orange) !important;
    background: var(--ty-orange-50) !important;
}

.pd-guarantees {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--ty-border);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pd-guarantee {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--ty-text);
}

.pd-guarantee i {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--ty-orange-50);
    color: var(--ty-orange);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex: 0 0 32px;
}

.pd-guarantee strong {
    display: block;
    font-weight: 700;
    font-size: 12.5px;
}

.pd-guarantee small {
    color: var(--ty-muted);
    display: block;
    font-size: 11px;
}

.pd-ask {
    margin-top: 10px;
    padding: 10px;
    background: var(--ty-bg-2);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
}

.pd-ask i {
    color: var(--ty-success);
    font-size: 18px;
}

.pd-ask a {
    color: var(--ty-orange);
    font-weight: 700;
}

/* Tabs wrapper */
.pd-tabs-wrap {
    background: #fff;
    border: 1px solid var(--ty-border);
    border-radius: var(--r-md);
    padding: 0;
    margin-bottom: 16px;
    overflow: hidden;
}

.pd-tabs-wrap .nav-tabs {
    margin: 0 !important;
    padding: 0 14px;
    background: var(--ty-bg-2);
    border-bottom: 1px solid var(--ty-border) !important;
}

.pd-tabs-wrap .tab-content {
    padding: 22px;
}

.pd-tabs-wrap .tab-content h3 {
    font-size: 15px;
    margin-bottom: 10px;
}

.pd-tabs-wrap .tab-pane p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--ty-text);
}

/* Product detail responsive */
@media (max-width: 1199px) {
    .pd-wrap {
        grid-template-columns: 5fr 4fr 3fr;
    }
}

@media (max-width: 991px) {
    .pd-wrap {
        grid-template-columns: 1fr 1fr;
    }

    .pd-buybox {
        grid-column: span 2;
        position: static;
    }

    .pd-gallery {
        position: static;
    }
}

@media (max-width: 767px) {
    .pd-wrap {
        grid-template-columns: 1fr;
    }

    .pd-buybox {
        grid-column: span 1;
    }

    .pd-gallery {
        flex-direction: column-reverse;
    }

    .pd-thumbs {
        flex-direction: row;
        overflow-x: auto;
        max-height: none;
        flex: 0 0 auto;
    }

    .pd-thumbs li {
        flex: 0 0 58px;
    }

    .pd-info .pd-title {
        font-size: 17px !important;
    }
}

/* =========================================================================
   SIDEBAR / KATEGORI
   ========================================================================= */
.categorybox,
.category-sidebar {
    background: #fff;
    border: 1px solid var(--ty-border);
    border-radius: var(--r-md);
    padding: 6px 0;
    margin-bottom: 14px;
}

.categorybox>div,
.category-sidebar>div {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: var(--ty-text) !important;
    padding: 10px 16px !important;
    border-bottom: 1px solid var(--ty-border) !important;
    background: transparent !important;
}

.categorybox ul,
.category-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categorybox ul li a,
.category-sidebar ul li a {
    display: block;
    padding: 9px 16px !important;
    font-size: 13px !important;
    color: var(--ty-text-soft) !important;
    border-left: 3px solid transparent !important;
    transition: all var(--t-fast);
    font-weight: 500;
}

.categorybox ul li a:hover,
.category-sidebar ul li a:hover {
    color: var(--ty-orange) !important;
    background: var(--ty-orange-50) !important;
    border-left-color: var(--ty-orange) !important;
}

.categorybox ul li.active a,
.category-sidebar ul li.active a {
    color: var(--ty-orange) !important;
    font-weight: 700;
    background: var(--ty-orange-50) !important;
    border-left-color: var(--ty-orange) !important;
}

/* =========================================================================
   TABLES
   ========================================================================= */
.table {
    width: 100%;
    background: #fff;
    border-collapse: separate !important;
    border-spacing: 0;
    border-radius: var(--r-md);
    overflow: hidden;
    border: 1px solid var(--ty-border);
    margin-bottom: 14px;
    font-size: 13px;
}

.table thead th {
    background: var(--ty-bg-2) !important;
    color: var(--ty-text) !important;
    font-weight: 700 !important;
    font-size: 11px !important;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 10px 12px !important;
    border-bottom: 1px solid var(--ty-border) !important;
    border-top: 0 !important;
    text-align: left;
}

.table td,
.table th {
    padding: 12px !important;
    border-top: 1px solid var(--ty-border) !important;
    vertical-align: middle !important;
    color: var(--ty-text) !important;
    font-size: 13px !important;
}

.table tbody tr:first-child td {
    border-top: 0 !important;
}

.table-bordered,
.table-bordered th,
.table-bordered td {
    border: 1px solid var(--ty-border) !important;
}

.table-responsive {
    border: 0 !important;
}

.hnenx table:not(.table):not(.chart):not(.gridlist) {
    width: 100% !important;
    max-width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0;
}

.hnenx table:not(.table):not(.chart):not(.gridlist) td {
    padding: 6px !important;
    vertical-align: top;
}

/* =========================================================================
   ALERTS
   ========================================================================= */
.alert {
    border-radius: var(--r-md) !important;
    border: 1px solid transparent !important;
    padding: 12px 14px !important;
    font-size: 13px;
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.alert::before {
    font-family: FontAwesome;
    font-size: 16px;
    line-height: 1.3;
    flex: 0 0 auto;
}

.alert-success {
    background: var(--ty-success-bg) !important;
    color: #065f46 !important;
    border-color: #A7F3D0 !important;
}

.alert-success::before {
    content: "\f058";
    color: var(--ty-success);
}

.alert-info,
.alert-primary {
    background: var(--ty-info-bg) !important;
    color: #1e40af !important;
    border-color: #BFDBFE !important;
}

.alert-info::before {
    content: "\f05a";
    color: var(--ty-info);
}

.alert-warning {
    background: #FEF3C7 !important;
    color: #92400E !important;
    border-color: #FDE68A !important;
}

.alert-warning::before {
    content: "\f071";
    color: #D97706;
}

.alert-danger,
.alert-error {
    background: var(--ty-danger-bg) !important;
    color: #991b1b !important;
    border-color: #FECACA !important;
}

.alert-danger::before,
.alert-error::before {
    content: "\f06a";
    color: var(--ty-danger);
}

/* =========================================================================
   PAGINATION
   ========================================================================= */
.pagination {
    display: inline-flex !important;
    gap: 4px;
    border-radius: 0;
    margin: 20px 0;
    flex-wrap: wrap;
}

.pagination>li {
    display: inline-block;
}

.pagination>li>a,
.pagination>li>span {
    position: static !important;
    float: none !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px !important;
    border: 1px solid var(--ty-border) !important;
    border-radius: var(--r-sm) !important;
    color: var(--ty-text) !important;
    background: #fff !important;
    font-size: 13px;
    font-weight: 600;
}

.pagination>li>a:hover {
    border-color: var(--ty-orange) !important;
    color: var(--ty-orange) !important;
}

.pagination>.active>a,
.pagination>.active>span {
    background: var(--ty-orange) !important;
    border-color: var(--ty-orange) !important;
    color: #fff !important;
}

/* =========================================================================
   TABS
   ========================================================================= */
.nav-tabs {
    border-bottom: 1px solid var(--ty-border) !important;
    margin-bottom: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.nav-tabs>li {
    margin-bottom: -1px !important;
    float: none !important;
}

.nav-tabs>li>a {
    border: 0 !important;
    border-radius: 0 !important;
    padding: 10px 16px !important;
    color: var(--ty-text-soft) !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    border-bottom: 2px solid transparent !important;
    background: transparent !important;
}

.nav-tabs>li>a:hover {
    color: var(--ty-orange) !important;
}

.nav-tabs>li.active>a {
    color: var(--ty-orange) !important;
    border-bottom-color: var(--ty-orange) !important;
    background: transparent !important;
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer,
.site-footer {
    background: var(--ty-white) !important;
    color: var(--ty-text) !important;
    padding: 30px 0 0 !important;
    margin-top: 30px !important;
    border-top: 1px solid var(--ty-border);
}

.footer * {
    color: inherit;
}

.footer a {
    color: var(--ty-text-soft);
    font-size: 13px;
}

.footer a:hover {
    color: var(--ty-orange);
}

.footer h4,
.footer h5 {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: var(--ty-text) !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 14px !important;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer ul li {
    margin-bottom: 8px;
}

.footermenu {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0 0 10px;
}

.footermenu li {
    margin: 0;
}

.footermenu li a {
    padding: 6px 10px;
    border-radius: var(--r-sm);
    display: inline-block;
    color: var(--ty-text-soft);
    font-size: 13px;
}

.footermenu li a:hover {
    background: var(--ty-orange-50);
    color: var(--ty-orange);
}

.footer-bottom {
    border-top: 1px solid var(--ty-border);
    padding: 16px 0;
    margin-top: 24px;
    font-size: 12px;
    color: var(--ty-muted);
    text-align: center;
}

/* =========================================================================
   STATUS SCREEN / EMPTY
   ========================================================================= */
.status-screen {
    text-align: center;
    padding: 40px 24px;
    background: #fff;
    border: 1px solid var(--ty-border);
    border-radius: var(--r-md);
    max-width: 520px;
    margin: 20px auto;
}

.status-screen .circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #fff;
    margin-bottom: 14px;
}

.status-screen.success .circle {
    background: var(--ty-success);
}

.status-screen.error .circle {
    background: var(--ty-danger);
}

.status-screen h1 {
    font-size: 22px !important;
    font-weight: 800 !important;
    margin: 0 0 6px !important;
}

.status-screen p {
    color: var(--ty-text-soft);
    font-size: 14px;
    line-height: 1.6;
    margin: 0 auto 14px;
    max-width: 420px;
}

.empty-state {
    text-align: center;
    padding: 48px 20px;
    background: #fff;
    border: 1px dashed var(--ty-border-2);
    border-radius: var(--r-md);
}

.empty-state .icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--ty-bg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--ty-muted);
    margin-bottom: 12px;
}

.empty-state h3 {
    font-size: 16px !important;
    color: var(--ty-text) !important;
    margin: 0 0 4px !important;
}

.empty-state p {
    color: var(--ty-muted);
    margin: 0 0 12px;
    font-size: 13px;
}

/* =========================================================================
   FEATURE GRID / INFO LIST (hala kullanılıyor)
   ========================================================================= */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
    margin: 12px 0;
}

.feature-card {
    background: #fff;
    border: 1px solid var(--ty-border);
    border-radius: var(--r-md);
    padding: 18px;
    transition: all var(--t-fast);
}

.feature-card:hover {
    border-color: var(--ty-orange);
    box-shadow: var(--sh-sm);
}

.feature-card .icon {
    width: 40px;
    height: 40px;
    border-radius: var(--r-md);
    background: var(--ty-orange);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 10px;
}

.feature-card.blue .icon {
    background: var(--ty-info);
}

.feature-card.amber .icon {
    background: var(--ty-yellow);
    color: var(--ty-dark);
}

.feature-card.green .icon {
    background: var(--ty-success);
}

.feature-card h3 {
    font-size: 14px !important;
    font-weight: 700 !important;
    margin: 0 0 4px !important;
    color: var(--ty-text) !important;
}

.feature-card p {
    color: var(--ty-text-soft);
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list>li {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--ty-border);
    align-items: flex-start;
}

.info-list>li:last-child {
    border-bottom: 0;
}

.info-list .info-icon {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: var(--r-sm);
    background: var(--ty-orange-50);
    color: var(--ty-orange);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.info-list .info-body {
    flex: 1;
    min-width: 0;
}

.info-list .info-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--ty-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 2px;
}

.info-list .info-value {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--ty-text);
    word-break: break-word;
}

.info-list .info-value a {
    color: inherit;
}

.info-list .info-value a:hover {
    color: var(--ty-orange);
}

/* News list */
.news-list {
    display: grid;
    gap: 10px;
}

.news-item {
    background: #fff;
    border: 1px solid var(--ty-border);
    border-radius: var(--r-md);
    padding: 14px 16px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    transition: all var(--t-fast);
}

.news-item:hover {
    border-color: var(--ty-orange);
    box-shadow: var(--sh-sm);
}

.news-item .date {
    flex: 0 0 auto;
    text-align: center;
    background: var(--ty-orange-50);
    border-radius: var(--r-sm);
    padding: 8px 10px;
    min-width: 54px;
}

.news-item .date .d {
    font-size: 18px;
    font-weight: 800;
    color: var(--ty-orange);
    line-height: 1;
    display: block;
}

.news-item .date .m {
    font-size: 10px;
    font-weight: 600;
    color: var(--ty-muted);
    text-transform: uppercase;
    margin-top: 2px;
    display: block;
}

.news-item .body {
    flex: 1;
    min-width: 0;
}

.news-item h3 {
    font-size: 14px !important;
    margin: 0 0 3px !important;
    color: var(--ty-text) !important;
}

.news-item h3 a {
    color: inherit;
}

.news-item h3 a:hover {
    color: var(--ty-orange);
}

.news-item p {
    color: var(--ty-text-soft);
    font-size: 12px;
    margin: 0;
    line-height: 1.5;
}

/* Bank card */
.bank-card {
    background: linear-gradient(135deg, var(--ty-dark) 0%, var(--ty-dark-soft) 100%);
    color: #fff;
    border-radius: var(--r-md);
    padding: 18px 22px;
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
}

.bank-card::after {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(242, 122, 26, 0.3), transparent 70%);
}

.bank-card .bank-name {
    font-size: 12px;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.bank-card .iban {
    font-family: 'Courier New', monospace;
    font-size: 16px;
    font-weight: 700;
    word-break: break-all;
    margin-bottom: 6px;
}

.bank-card .holder {
    font-size: 13px;
    opacity: 0.85;
}

/* Search type menu (arama.php) */
.search-type-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.search-type-menu>li {
    border-bottom: 1px solid var(--ty-border);
}

.search-type-menu>li:last-child {
    border-bottom: 0;
}

.search-type-menu>li>a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 4px;
    color: var(--ty-text);
    font-weight: 500;
    font-size: 13px;
}

.search-type-menu>li>a>i:first-child {
    width: 30px;
    height: 30px;
    border-radius: var(--r-sm);
    background: var(--ty-bg);
    color: var(--ty-text-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex: 0 0 30px;
}

.search-type-menu>li>a>span {
    flex: 1;
}

.search-type-menu>li>a>i:last-child {
    font-size: 12px;
    color: var(--ty-muted);
}

.search-type-menu>li>a:hover,
.search-type-menu>li.active>a {
    color: var(--ty-orange);
}

.search-type-menu>li>a:hover>i:first-child,
.search-type-menu>li.active>a>i:first-child {
    background: var(--ty-orange);
    color: #fff;
}

/* Brand badge */
.brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--ty-bg);
    border: 1px solid var(--ty-border);
    padding: 5px 10px 5px 8px;
    border-radius: var(--r-sm);
    font-size: 12px;
}

.brand-badge:hover {
    background: #fff;
    border-color: var(--ty-orange);
    color: var(--ty-orange);
}

.brand-badge img {
    height: 22px;
    width: auto;
}

/* Steps list */
.steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.steps-list>li {
    display: flex;
    gap: 14px;
    padding: 12px 0;
}

.steps-list>li+li {
    border-top: 1px dashed var(--ty-border);
}

.steps-list .step-num {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--ty-orange);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 15px;
}

.steps-list .step-body h4 {
    font-size: 14px !important;
    margin: 2px 0 3px !important;
}

.steps-list .step-body p {
    color: var(--ty-text-soft);
    font-size: 13px;
    margin: 0;
    line-height: 1.5;
}

/* Map wrap */
.map-wrap {
    border-radius: var(--r-md);
    overflow: hidden;
    border: 1px solid var(--ty-border);
    margin-bottom: 14px;
}

.map-wrap iframe {
    display: block;
    width: 100%;
    height: 380px;
    border: 0;
}

/* =========================================================================
   UTILITY / MISC
   ========================================================================= */
center {
    text-align: center;
    display: block;
}

font[color] {
    color: inherit !important;
}

font[size] {
    font-size: inherit !important;
}

.hnenx table[bgcolor],
.hnenx td[bgcolor] {
    background-color: transparent !important;
}

.hnenx table[width] {
    width: 100% !important;
    max-width: 100% !important;
}

.page-content {
    color: var(--ty-text);
    line-height: 1.7;
    font-size: 14px;
}

.page-content h2 {
    font-size: 17px !important;
    margin: 18px 0 10px !important;
}

.page-content h3 {
    font-size: 15px !important;
    margin: 14px 0 8px !important;
}

.page-content p {
    margin: 0 0 10px;
}

.page-content a {
    color: var(--ty-orange);
    font-weight: 500;
}

.page-content ul,
.page-content ol {
    padding-left: 22px;
    margin: 0 0 10px;
}

/* Popup cart */
#popcartx {
    position: fixed;
    top: 120px;
    right: 12px;
    width: 360px;
    z-index: 100;
}

#popcartx .popcart {
    display: none;
    background: #fff;
    border-radius: var(--r-md);
    border: 1px solid var(--ty-border);
    box-shadow: var(--sh-lg);
    overflow: hidden;
}

.mini-cart-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid var(--ty-border);
    background: var(--ty-bg-2);
}

.mini-cart-head strong {
    font-size: 14px;
    font-weight: 700;
    color: var(--ty-text);
}

.mini-cart-count {
    display: block;
    font-size: 12px;
    color: var(--ty-muted);
    font-weight: 500;
    margin-top: 2px;
    margin-left: 22px;
}

.mini-cart-close {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ty-muted);
    transition: all var(--t-fast);
}

.mini-cart-close:hover {
    background: var(--ty-danger-bg);
    color: var(--ty-danger);
}

.mini-cart-empty {
    padding: 36px 20px;
    text-align: center;
}

.mc-empty-icon {
    font-size: 40px;
    color: var(--ty-muted);
    margin-bottom: 10px;
}

.mc-empty-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--ty-text);
    margin-bottom: 4px;
}

.mc-empty-desc {
    font-size: 13px;
    color: var(--ty-text-soft);
}

.mini-cart-items {
    max-height: 360px;
    overflow-y: auto;
    padding: 4px 0;
}

.mini-cart-items::-webkit-scrollbar {
    width: 6px;
}

.mini-cart-items::-webkit-scrollbar-thumb {
    background: var(--ty-border-2);
    border-radius: 3px;
}

.mini-cart-item {
    display: grid;
    grid-template-columns: 54px 1fr 28px;
    gap: 10px;
    align-items: center;
    padding: 10px 14px;
    border-bottom: 1px solid var(--ty-border);
    transition: background var(--t-fast);
}

.mini-cart-item:last-child {
    border-bottom: 0;
}

.mini-cart-item:hover {
    background: var(--ty-bg-2);
}

.mini-cart-item .mc-thumb {
    display: block;
    width: 54px;
    height: 54px;
    border: 1px solid var(--ty-border);
    border-radius: var(--r-sm);
    overflow: hidden;
    background: #fff;
}

.mini-cart-item .mc-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mini-cart-item .mc-body {
    min-width: 0;
}

.mini-cart-item .mc-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 13px;
    font-weight: 500;
    color: var(--ty-text);
    line-height: 1.35;
    margin-bottom: 4px;
}

.mini-cart-item .mc-title:hover {
    color: var(--ty-orange);
}

.mini-cart-item .mc-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
}

.mini-cart-item .mc-qty {
    color: var(--ty-muted);
    font-weight: 500;
}

.mini-cart-item .mc-price {
    font-weight: 800;
    color: var(--ty-orange);
    font-size: 13px;
}

.mini-cart-item .mc-remove {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ty-muted);
    font-size: 12px;
    transition: all var(--t-fast);
}

.mini-cart-item .mc-remove:hover {
    background: var(--ty-danger-bg);
    color: var(--ty-danger);
}

.mini-cart-foot {
    padding: 14px 16px;
    border-top: 1px solid var(--ty-border);
    background: var(--ty-bg-2);
}

.mc-total-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 4px;
}

.mc-total-row span {
    font-size: 13px;
    color: var(--ty-text-soft);
    font-weight: 500;
}

.mc-total-row strong {
    font-size: 18px;
    font-weight: 800;
    color: var(--ty-orange);
}

.mc-note {
    font-size: 11px;
    color: var(--ty-muted);
    margin-bottom: 10px;
}

.mc-checkout {
    width: 100%;
    justify-content: center;
    display: inline-flex !important;
    align-items: center !important;
}

@media (max-width: 767px) {
    #popcartx {
        top: auto;
        bottom: 0;
        right: 0;
        left: 0;
        width: 100%;
    }

    #popcartx .popcart {
        border-radius: var(--r-md) var(--r-md) 0 0;
        border-bottom: 0;
        max-height: 80vh;
        display: flex;
        flex-direction: column;
    }

    .mini-cart-items {
        flex: 1 1 auto;
    }
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1199px) {
    .ty-hero {
        grid-template-columns: 220px 1fr 260px;
    }

    .ty-hero-slider .slide-desc h1 {
        font-size: 28px !important;
    }
}

@media (max-width: 991px) {
    .ty-header .container {
        flex-wrap: wrap;
        gap: 10px;
    }

    .ty-header .ty-search {
        order: 3;
        max-width: 100%;
        flex: 0 0 100%;
    }

    .ty-hero {
        grid-template-columns: 1fr;
    }

    .ty-hero-aside {
        grid-template-rows: auto;
        grid-template-columns: 1fr 1fr;
    }

    .ty-sidebar-nav .cat-flyout {
        display: none !important;
    }

    .ty-hero-slider .slide-desc {
        max-width: 100%;
    }

    .ty-hero-slider .slide-img {
        display: none;
    }

    .ty-hero-slider .item,
    .ty-hero-slider {
        min-height: 320px;
    }

    .ty-deals-strip {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .ty-hero-aside {
        grid-template-columns: 1fr;
    }

    .ty-hero-slider .slide-desc h1 {
        font-size: 22px !important;
    }

    .ty-hero-slider .item {
        padding: 24px 20px !important;
        min-height: 340px !important;
        height: 340px !important;
    }

    .ty-hero-slider .slide-desc {
        display: flex !important;
        flex-direction: column;
    }

    .ty-hero-slider .slide-desc p {
        display: block !important;
        font-size: 13px !important;
    }
}

@media (max-width: 620px) {
    .ty-hero-slider .slide-desc {
        display: flex !important;
    }
}

@media (max-width: 400px) {
    .ty-hero-slider .owl-buttons>div {
        display: inline-flex !important;
    }
}

@media (max-width: 767px) {
    .ty-topbar .tb-hide-mobile {
        display: none;
    }

    .ty-header .ty-logo img {
        height: 32px;
    }

    .ty-header .ty-action .ty-action-label,
    .ty-menu-toggle {
        display: inline;
    }

    .ty-menu-toggle {
        display: inline-block;
    }

    .ty-catnav {
        display: none;
    }

    .ty-catnav.open {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        z-index: 50;
        border-bottom: 1px solid var(--ty-border);
        box-shadow: var(--sh-md);
    }

    .ty-catnav.open .container {
        flex-direction: column;
        align-items: stretch;
    }

    .ty-catnav.open .ty-catmenu {
        flex-direction: column;
        width: 100%;
    }

    .ty-catnav.open .ty-catmenu>li>a {
        border-bottom: 1px solid var(--ty-border);
    }

    .ty-catnav.open .ty-catmenu .ty-mega {
        position: static;
        min-width: 100%;
        box-shadow: none;
        border: 0;
        padding: 10px 20px;
    }

    .ty-catnav.open .ty-catmenu .ty-mega-grid {
        grid-template-columns: 1fr;
    }

    h1,
    .bigtitle {
        font-size: 18px !important;
    }

    .section-title h2 {
        font-size: 16px !important;
    }

    .hero-band {
        padding: 22px 18px;
    }

    .hero-band h1 {
        font-size: 20px !important;
    }
}

/* Accessible focus */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.form-control:focus-visible {
    outline: 2px solid var(--ty-orange);
    outline-offset: 2px;
}

/* =========================================================================
   PAY LAYOUT — Kredi Kartı Ödeme & diğer ödeme sayfaları
   ========================================================================= */
.pay-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 20px;
    align-items: flex-start;
    margin-top: 10px;
}

.pay-main .content-card {
    padding: 22px;
}

.pay-iframe-wrap {
    min-height: 420px;
    border-radius: var(--r-md);
    overflow: hidden;
    margin-top: 8px;
}

.pay-iframe-wrap iframe {
    width: 100%;
    min-height: 600px;
    border: 0;
    display: block;
}

.pay-sidebar {
    position: sticky;
    top: 80px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pay-trust {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed var(--ty-border);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pay-trust-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--ty-text-soft);
}

.pay-trust-row i {
    color: var(--ty-success);
    width: 16px;
    text-align: center;
}

.pay-help {
    background: #fff;
    border: 1px solid var(--ty-border);
    border-radius: var(--r-md);
    padding: 16px;
}

.pay-help p {
    font-size: 13px;
    color: var(--ty-text-soft);
    margin: 6px 0 10px;
    line-height: 1.5;
}

.pay-help-ctas {
    display: flex;
    gap: 8px;
}

.pay-help-ctas .btn {
    flex: 1;
    font-size: 12px !important;
}

@media (max-width: 991px) {
    .pay-layout {
        grid-template-columns: 1fr;
    }

    .pay-sidebar {
        position: static;
    }
}

/* =========================================================================
   STATUS INFO GRID — işlem-başarılı/kapıda-onaylandı tarzı sayfalar
   ========================================================================= */
.status-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 22px auto;
    max-width: 560px;
}

.status-info-box {
    background: var(--ty-bg);
    border-radius: var(--r-md);
    padding: 14px 10px;
    text-align: center;
    border: 1px solid var(--ty-border);
}

.status-info-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--ty-orange-50);
    color: var(--ty-orange);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin: 0 auto 8px;
}

.status-info-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ty-muted);
    font-weight: 700;
    margin-bottom: 3px;
}

.status-info-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--ty-text);
}

@media (max-width: 560px) {
    .status-info-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================================
   LEGAL / İÇERİK SAYFALARI — gizlilik, sözleşme, mesafeli satış, vb.
   ========================================================================= */
.legal-card {
    background: #fff;
    border: 1px solid var(--ty-border);
    border-radius: var(--r-md);
    padding: 28px;
    max-width: 980px;
    margin: 0 auto 24px;
    box-shadow: var(--sh-xs);
}

.legal-card h1 {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: var(--ty-text) !important;
    margin: 0 0 20px !important;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--ty-orange);
    display: inline-block;
}

.legal-card h2,
.legal-card h3 {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--ty-dark) !important;
    margin: 22px 0 10px !important;
}

.legal-card p,
.legal-card div,
.legal-card li {
    color: var(--ty-text-soft);
    line-height: 1.75;
    font-size: 14px;
}

.legal-card p {
    margin: 0 0 10px;
}

.legal-card b,
.legal-card strong {
    color: var(--ty-text);
}

.legal-card a {
    color: var(--ty-orange);
    font-weight: 600;
}

.legal-meta {
    font-size: 13px;
    color: var(--ty-muted);
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px dashed var(--ty-border);
}

/* =========================================================================
   SİPARİŞLERİM — orders-list
   ========================================================================= */
.orders-wrap {
    background: #fff;
    border: 1px solid var(--ty-border);
    border-radius: var(--r-md);
    overflow: hidden;
    box-shadow: var(--sh-xs);
}

.orders-wrap .section-title {
    padding: 20px 22px 0;
    margin: 0 !important;
}

.orders-list {
    display: flex;
    flex-direction: column;
}

.order-item {
    display: grid;
    grid-template-columns: 160px 1fr 160px 180px;
    gap: 16px;
    padding: 16px 22px;
    border-top: 1px solid var(--ty-border);
    align-items: center;
    transition: background var(--t-fast);
}

.order-item:hover {
    background: var(--ty-bg-2);
}

.order-item .oi-cell {
    font-size: 13px;
}

.order-item .oi-label {
    display: none;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ty-muted);
    font-weight: 700;
    margin-bottom: 3px;
}

.order-item .oi-date {
    color: var(--ty-text-soft);
    font-weight: 500;
}

.order-item .oi-no {
    font-family: monospace;
    font-weight: 700;
    color: var(--ty-text);
    font-size: 14px;
}

.order-item .oi-no a {
    color: var(--ty-orange);
}

.order-item .oi-total {
    font-weight: 800;
    color: var(--ty-text);
    font-size: 15px;
}

.order-item .oi-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    background: var(--ty-bg);
    color: var(--ty-text-soft);
    white-space: nowrap;
}

.order-item .oi-status.paid {
    background: var(--ty-success-bg);
    color: var(--ty-success);
}

.order-item .oi-status.waiting {
    background: #fef3c7;
    color: #b45309;
}

.order-item .oi-status.shipped {
    background: var(--ty-info-bg);
    color: var(--ty-info);
}

.order-item .oi-status.canceled {
    background: var(--ty-danger-bg);
    color: var(--ty-danger);
}

.orders-empty {
    padding: 60px 20px;
    text-align: center;
    color: var(--ty-text-soft);
}

.orders-empty .icon {
    font-size: 48px;
    color: var(--ty-muted);
    margin-bottom: 14px;
}

@media (max-width: 767px) {
    .order-item {
        grid-template-columns: 1fr 1fr;
        gap: 10px 14px;
        padding: 14px 16px;
    }

    .order-item .oi-label {
        display: block;
    }

    .order-item .oi-cell:nth-child(2),
    .order-item .oi-cell:nth-child(4) {
        text-align: right;
    }
}

/* =========================================================================
   CAMPAIGN HERO (genel)
   ========================================================================= */
.campaign-hero {
    background: linear-gradient(135deg, #7c2d12 0%, #c2410c 60%, var(--ty-orange) 100%);
    color: #fff;
    border-radius: var(--r-md);
    padding: 28px 24px;
    text-align: center;
    margin-bottom: 18px;
}

.campaign-hero h1 {
    color: #fff !important;
    font-size: 26px !important;
    font-weight: 800 !important;
    margin: 0 0 8px !important;
}

.campaign-hero p {
    opacity: 0.95;
    margin: 0;
    font-size: 15px;
}