/**
 * Piercing.com.tr — Cart "Commander" v2.2
 * Fix: Global.css çakışması + Kadence reset sadeleştirme
 */

/* ═══════════════════════════════════════
   0. KADENCE LAYOUT RESET — !important'sız
   Sadece background/display/padding ez.
   Renkleri pc-cart-* class'larına bırak.
   ═══════════════════════════════════════ */

html body.woocommerce-cart,
html body.woocommerce-cart .site,
html body.woocommerce-cart #wrapper,
html body.woocommerce-cart .site-content,
html body.woocommerce-cart .content-area,
html body.woocommerce-cart .content-container,
html body.woocommerce-cart .site-main,
html body.woocommerce-cart .content-wrap,
html body.woocommerce-cart .entry-content,
html body.woocommerce-cart .woocommerce,
html body.woocommerce-cart .wrap,
html body.woocommerce-cart .site-inner,
html body.woocommerce-cart #primary,
html body.woocommerce-cart #main,
html body.woocommerce-cart article,
html body.woocommerce-cart .kadence-woo-cart-form-wrap {
    background: #0a0a0a !important;
    background-color: #0a0a0a !important;
}

/* Hero / Title gizle */
body.woocommerce-cart .entry-hero,
body.woocommerce-cart .page-hero-section,
body.woocommerce-cart .entry-header,
body.woocommerce-cart .page-header,
body.woocommerce-cart .page-title,
body.woocommerce-cart .woocommerce-page-title,
body.woocommerce-cart .entry-title,
body.woocommerce-cart .cart-summary,
body.woocommerce-cart .woocommerce-cart-form>h2,
body.woocommerce-cart .kadence-cart-title {
    display: none !important;
}

/* Content padding sıfırla */
body.woocommerce-cart .entry-content {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

body.woocommerce-cart .content-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.woocommerce-cart .site-main {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Woo notices — Dark */
body.woocommerce-cart .woocommerce-message,
body.woocommerce-cart .woocommerce-info,
body.woocommerce-cart .woocommerce-error {
    background: rgba(201, 169, 98, 0.08) !important;
    color: #f5f5f5 !important;
    border: 1px solid rgba(201, 169, 98, 0.25) !important;
    border-left: 3px solid #c9a962 !important;
    border-radius: 12px !important;
    margin-bottom: 2rem !important;
    padding: 1rem 1.25rem !important;
}

body.woocommerce-cart .woocommerce-error {
    border-left-color: #e74c3c !important;
    background: rgba(231, 76, 60, 0.06) !important;
    border-color: rgba(231, 76, 60, 0.2) !important;
}

body.woocommerce-cart .woocommerce-message a.button,
body.woocommerce-cart .woocommerce-info a.button,
body.woocommerce-cart .woocommerce-error a.button {
    background: #c9a962 !important;
    color: #0a0a0a !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    padding: 0.5rem 1rem !important;
    font-size: 0.8rem !important;
    margin-left: 0.75rem !important;
}

/* Input base dark — sadece layout, renk yok */
body.woocommerce-cart input[type="text"],
body.woocommerce-cart input[type="email"],
body.woocommerce-cart input[type="tel"],
body.woocommerce-cart input[type="password"],
body.woocommerce-cart textarea,
body.woocommerce-cart select {
    background: #1a1a1a !important;
    background-color: #1a1a1a !important;
    border: 1px solid #333 !important;
    border-radius: 8px !important;
    color: #f5f5f5 !important;
    -webkit-text-fill-color: #f5f5f5 !important;
    padding: 0 1rem !important;
    font-size: 0.85rem !important;
}

body.woocommerce-cart input::placeholder,
body.woocommerce-cart textarea::placeholder {
    color: #555 !important;
    -webkit-text-fill-color: #555 !important;
    opacity: 1 !important;
}

body.woocommerce-cart input:focus,
body.woocommerce-cart textarea:focus,
body.woocommerce-cart select:focus {
    border-color: #c9a962 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.08) !important;
}

/* Button base — sadece border-radius, renk yok */
body.woocommerce-cart button,
body.woocommerce-cart a.button,
body.woocommerce-cart input.button,
body.woocommerce-cart .button {
    border-radius: 8px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
}

/* Table/form sıfırla */
body.woocommerce-cart table,
body.woocommerce-cart table.shop_table,
body.woocommerce-cart .shop_table,
body.woocommerce-cart .woocommerce-cart-form__contents {
    background: transparent !important;
    border: none !important;
}

body.woocommerce-cart table th,
body.woocommerce-cart table td {
    background: transparent !important;
    border: none !important;
    color: #f5f5f5 !important;
}

/* Misc Kadence leaks */
body.woocommerce-cart .content-bg,
body.woocommerce-cart .content-bg-wrap,
body.woocommerce-cart .entry-hero-container,
body.woocommerce-cart .title-container {
    background: transparent !important;
    background-color: transparent !important;
}

body.woocommerce-cart .content-vertical-padding {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

body.woocommerce-cart .content-style-boxed .content-container {
    background: #0a0a0a !important;
    box-shadow: none !important;
}

/* ═══════════════════════════════════════
   1. COMMANDER STIL — Ana yapı
   ═══════════════════════════════════════ */

body.woocommerce-cart {
    background: #0a0a0a;
}

.pc-cart-journey {
    display: grid;
    grid-template-columns: auto minmax(36px, 1fr) auto minmax(36px, 1fr) auto;
    align-items: center;
    gap: 16px;
    width: min(1152px, calc(100% - 48px));
    margin: 0 auto;
    padding: 38px 0 0;
}

.pc-cart-journey__item {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    color: #57534e;
}

.pc-cart-journey__item i {
    color: #706a61;
    font-family: Georgia, serif;
    font-size: 0.8rem;
    font-style: normal;
}

.pc-cart-journey__item strong {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
}

.pc-cart-journey__item.is-active,
.pc-cart-journey__item.is-active i {
    color: #c9a962;
}

.pc-cart-journey__line {
    height: 1px;
    background: #24211e;
}

.pc-cart-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem 5rem;
}

/* ── HEADER ── */
.pc-cart-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 0.9rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #222;
}

.pc-cart-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f5f5f5;
    margin: 0;
    letter-spacing: -0.03em;
    line-height: 1;
}

/* GOLD PILL FIX */
.pc-cart-count {
    font-size: 0.8rem;
    font-weight: 500;
    color: #c9a962 !important;
    -webkit-text-fill-color: #c9a962 !important;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border: 1px solid rgba(201, 169, 98, 0.2);
    border-radius: 100px;
    background: rgba(201, 169, 98, 0.06);
}

.pc-continue-shopping {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    color: #777 !important;
    -webkit-text-fill-color: #777 !important;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.pc-continue-shopping:hover {
    color: #c9a962 !important;
    -webkit-text-fill-color: #c9a962 !important;
}

/* ── ITEMS ── */
.pc-cart-items {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.pc-cart-item {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 1.25rem;
    padding: 1.25rem;
    background: #111;
    border: 1px solid #1e1e1e;
    border-radius: 16px;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.pc-cart-item:hover {
    background: #161616;
    border-color: #2a2a2a;
    transform: translateY(-2px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.pc-cart-item__image {
    width: 90px;
    height: 90px;
    border-radius: 12px;
    overflow: hidden;
    background: #1a1a1a;
    flex-shrink: 0;
}

.pc-cart-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.pc-cart-item:hover .pc-cart-item__image img {
    transform: scale(1.05);
}

.pc-cart-item__details {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

/* GOLD TITLE FIX */
.pc-cart-item__name {
    font-size: 1.05rem;
    font-weight: 600;
    color: #f5f5f5;
    margin: 0;
    line-height: 1.3;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pc-cart-item__name a {
    color: #c9a962 !important;
    -webkit-text-fill-color: #c9a962 !important;
    text-decoration: none;
    transition: color 0.2s;
}

.pc-cart-item__name a:hover {
    color: #d4b76a !important;
    -webkit-text-fill-color: #d4b76a !important;
}

.pc-cart-item__meta {
    font-size: 0.85rem;
    color: #c9a962;
    font-weight: 500;
}

.pc-cart-item__data {
    font-size: 0.75rem;
    color: #555;
    margin-top: 0.25rem;
}

.pc-cart-item__data .variation {
    margin: 0;
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 0.25rem 0.6rem;
}

.pc-cart-item__data .variation dt {
    font-weight: 500;
    color: #666;
    display: inline;
}

.pc-cart-item__data .variation dd {
    margin: 0;
    color: #888;
    display: inline;
}

.pc-cart-item__data .variation dd p {
    margin: 0;
}

/* Right column */
.pc-cart-item__right {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    margin-top: 0.25rem;
    border-top: 1px solid #1e1e1e;
}

/* Quantity */
.pc-quantity {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.pc-qty-btn {
    width: 28px;
    height: 28px;
    background: transparent;
    border: 1px solid #333;
    border-radius: 6px;
    color: #666;
    font-size: 0.85rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.2s;
}

.pc-qty-btn:hover {
    color: #c9a962;
    border-color: #c9a962;
}

.pc-quantity .qty {
    width: 36px;
    height: 28px;
    background: transparent;
    border: none;
    color: #f5f5f5;
    -webkit-text-fill-color: #f5f5f5;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    -moz-appearance: textfield;
    padding: 0;
}

.pc-quantity .qty::-webkit-outer-spin-button,
.pc-quantity .qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.pc-cart-item__subtotal {
    font-size: 1rem;
    font-weight: 600;
    color: #f5f5f5;
}

.pc-remove {
    font-size: 0.75rem;
    color: #444;
    text-decoration: none;
    transition: color 0.2s;
}

.pc-remove:hover {
    color: #e74c3c;
}

/* ── ACTIONS ── */
.pc-cart-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #222;
}

.pc-coupon-disclosure {
    flex: 1 1 320px;
    max-width: 420px;
}

.pc-coupon-disclosure summary {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: #777;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    list-style: none;
    transition: color 0.2s ease;
}

.pc-coupon-disclosure summary::-webkit-details-marker {
    display: none;
}

.pc-coupon-disclosure summary::after {
    content: "+";
    color: #c9a962;
    font-size: 1rem;
    line-height: 1;
}

.pc-coupon-disclosure[open] summary {
    color: #c9a962;
}

.pc-coupon-disclosure[open] summary::after {
    content: "−";
}

.pc-coupon-disclosure .pc-coupon {
    margin-top: 0.85rem;
}

/* COUPON FIX: .coupon class'ını da koru (Woo JS uyumu) */
.pc-coupon,
.coupon {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1 1 auto;
    max-width: 420px;
}

.pc-coupon input,
.coupon input {
    flex: 1;
    min-width: 180px;
    height: 44px;
    background: #111;
    border: 1px solid #222;
    border-radius: 10px;
    color: #f5f5f5;
    -webkit-text-fill-color: #f5f5f5;
    padding: 0 1rem;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.pc-coupon input::placeholder,
.coupon input::placeholder {
    color: #444;
}

.pc-coupon input:focus,
.coupon input:focus {
    border-color: #c9a962;
    outline: none;
}

.pc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 1.5rem;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    white-space: nowrap;
}

.pc-btn--ghost {
    background: #1e1e1e;
    color: #888;
    border: 1px solid #222;
}

.pc-btn--ghost:hover {
    background: #c9a962;
    color: #0a0a0a;
    border-color: #c9a962;
}

/* DISABLED FIX: global.css button:disabled ezmesi */
.pc-btn--gold {
    background: #c9a962;
    color: #0a0a0a;
    margin-left: auto;
}

.pc-btn--gold:hover {
    background: #d4b76a;
    transform: translateY(-1px);
}

.pc-btn--gold:disabled,
.pc-btn--gold[disabled] {
    opacity: 1 !important;
    background: #c9a962 !important;
    background-color: #c9a962 !important;
    color: #0a0a0a !important;
    -webkit-text-fill-color: #0a0a0a !important;
    cursor: not-allowed;
    filter: brightness(0.85);
}

/* ── SIDEBAR ── */
.pc-cart-sidebar {
    order: 2;
}

.pc-panel {
    background: #111;
    border: 1px solid #1e1e1e;
    border-radius: 20px;
    padding: 2rem;
}

.pc-panel__title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #f5f5f5;
    margin: 0 0 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #1e1e1e;
    letter-spacing: -0.01em;
}

.pc-progress {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #1e1e1e;
}

.pc-progress__label {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.75rem;
}

.pc-progress__label strong {
    color: #c9a962;
}

.pc-progress__success {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #c9a962;
    font-weight: 600;
}

.pc-progress__success svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pc-progress__target {
    white-space: nowrap;
}

.pc-progress__bar {
    height: 4px;
    background: #1a1a1a;
    border-radius: 100px;
    overflow: hidden;
}

.pc-progress__fill {
    height: 100%;
    background: linear-gradient(90deg, #c9a962, #d4b76a);
    border-radius: 100px;
    transition: width 0.8s ease;
}

.pc-totals {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.pc-totals__row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #666;
}

.pc-totals__final {
    display: flex;
    justify-content: space-between;
    padding-top: 1.25rem;
    border-top: 1px solid #1e1e1e;
    font-size: 1.1rem;
    font-weight: 600;
    color: #f5f5f5;
}

.pc-totals__final>span:first-child {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.pc-totals__final small {
    color: #666;
    font-family: inherit;
    font-size: 0.67rem;
    font-weight: 500;
}

.pc-totals__price {
    color: #c9a962;
    font-size: 1.5rem;
    font-weight: 700;
}

.pc-shipping-note {
    margin: -0.25rem 0 0;
    color: #666;
    font-size: 0.75rem;
    line-height: 1.55;
}

.pc-checkout {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #1e1e1e;
}

body.woocommerce-cart .pc-store-pending {
    display: grid;
    gap: 7px;
    width: 100%;
    padding: 20px 24px;
    border: 1px solid rgba(201, 168, 106, 0.3);
    border-radius: 20px;
    background: rgba(201, 168, 106, 0.08);
    color: #f0ece4;
    text-align: center;
}

body.woocommerce-cart .pc-store-pending strong {
    color: #d2ae68;
    font-size: clamp(17px, 2vw, 20px);
}

body.woocommerce-cart .pc-store-pending span {
    color: rgba(240, 236, 228, 0.64);
    font-size: 13px;
    line-height: 1.55;
}

body.woocommerce-cart .pc-checkout > a.pc-btn--checkout,
body.woocommerce-cart .pc-checkout > a.pc-btn--checkout:link,
body.woocommerce-cart .pc-checkout > a.pc-btn--checkout:visited {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: auto;
    padding: 1.25rem;
    background: #c9a962;
    color: #0a0a0a !important;
    -webkit-text-fill-color: #0a0a0a !important;
    text-align: center;
    text-decoration: none !important;
    border-radius: 14px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    transition: all 0.3s ease;
}

body.woocommerce-cart .pc-checkout > a.pc-btn--checkout > span {
    color: #0a0a0a !important;
    -webkit-text-fill-color: #0a0a0a !important;
}

body.woocommerce-cart .pc-checkout > a.pc-btn--checkout > span:last-child {
    font-size: 1.3rem;
    font-weight: 400;
    transition: transform 180ms ease;
}

body.woocommerce-cart .pc-checkout > a.pc-btn--checkout:hover,
body.woocommerce-cart .pc-checkout > a.pc-btn--checkout:focus,
body.woocommerce-cart .pc-checkout > a.pc-btn--checkout:focus-visible,
body.woocommerce-cart .pc-checkout > a.pc-btn--checkout:active {
    background: #d4b76a;
    color: #0a0a0a !important;
    -webkit-text-fill-color: #0a0a0a !important;
    text-decoration: none !important;
    outline: none;
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(201, 169, 98, 0.25);
}

body.woocommerce-cart .pc-checkout > a.pc-btn--checkout:hover > span:last-child,
body.woocommerce-cart .pc-checkout > a.pc-btn--checkout:focus-visible > span:last-child {
    transform: translateX(3px);
}

.pc-cart-size-help {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    margin-top: 22px;
    padding: 16px 18px;
    border: 1px solid rgba(201, 169, 98, 0.18);
    border-radius: 14px;
    background: linear-gradient(110deg, rgba(201, 169, 98, 0.07), rgba(17, 17, 17, 0.5));
}

.pc-cart-size-help__icon {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(201, 169, 98, 0.25);
    border-radius: 50%;
    color: #c9a962;
}

.pc-cart-size-help__icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.5;
}

.pc-cart-size-help__copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
}

.pc-cart-size-help__copy strong {
    color: #eee8df;
    font-family: Georgia, serif;
    font-size: 1rem;
    font-weight: 400;
}

.pc-cart-size-help__copy small {
    color: #706d68;
    font-size: 0.72rem;
    line-height: 1.45;
}

body.woocommerce-cart .pc-cart-size-help > a,
body.woocommerce-cart .pc-cart-size-help > a:link,
body.woocommerce-cart .pc-cart-size-help > a:visited {
    color: #c9a962 !important;
    font-size: 0.72rem;
    font-weight: 600;
    text-decoration: none !important;
    white-space: nowrap;
}

body.woocommerce-cart .pc-cart-size-help > a:hover,
body.woocommerce-cart .pc-cart-size-help > a:focus-visible {
    color: #d4b76a !important;
    outline: none;
}

.pc-cart-assurances {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid #1e1e1e;
}

.pc-cart-assurance {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: #777;
    font-size: 0.75rem;
    line-height: 1.35;
}

.pc-cart-assurance svg {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    fill: none;
    stroke: #c9a962;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ── EMPTY CART ── */
.pc-empty-cart {
    max-width: 720px;
    margin: 0 auto;
    padding: clamp(72px, 10vw, 130px) 20px;
    text-align: center;
}

.pc-empty-cart__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(201, 169, 98, 0.28);
    border-radius: 50%;
    background: rgba(201, 169, 98, 0.06);
    color: #c9a962;
}

.pc-empty-cart__icon svg {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pc-empty-cart__eyebrow {
    display: block;
    margin-bottom: 0.65rem;
    color: #c9a962;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.pc-empty-cart__title {
    margin: 0 0 0.9rem;
    color: #f5f5f5;
    font-size: clamp(2rem, 6vw, 3.2rem);
    line-height: 1.05;
}

.pc-empty-cart__text {
    max-width: 520px;
    margin: 0 auto 2rem;
    color: #888;
    font-size: 0.95rem;
    line-height: 1.7;
}

.pc-empty-cart__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.pc-empty-cart__actions .pc-btn {
    width: auto;
    min-width: 190px;
    min-height: 50px;
    padding: 0.85rem 1.5rem;
    border-radius: 12px;
    font-size: 0.85rem;
    text-decoration: none;
}

.pc-empty-cart__actions .pc-btn--checkout {
    display: inline-flex;
}

.pc-empty-cart__actions .pc-btn--ghost {
    text-decoration: none;
}

/* ═══════════════════════════════════════
   2. RESPONSIVE — Desktop + Mobile
   ═══════════════════════════════════════ */

/* Desktop */
@media (min-width: 1024px) {
    .pc-cart-grid {
        grid-template-columns: 1fr 360px;
        gap: 4rem;
        align-items: start;
    }

    .pc-cart-sidebar {
        position: sticky;
        top: 120px;
        align-self: start;
    }

    .pc-cart-item {
        grid-template-columns: 100px 1fr auto;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .pc-cart-item__image {
        width: 100px;
        height: 100px;
    }

    .pc-cart-item__right {
        grid-column: auto;
        flex-direction: column;
        align-items: flex-end;
        gap: 0.75rem;
        padding-top: 0;
        margin-top: 0;
        border-top: none;
        min-width: 120px;
    }
}

/* Tablet */
@media (min-width: 640px) and (max-width: 1023px) {
    .pc-cart-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 720px;
        margin: 0 auto;
    }

    .pc-cart-item {
        grid-template-columns: 100px 1fr auto;
        padding: 1.25rem;
    }

    .pc-cart-item__image {
        width: 100px;
        height: 100px;
    }

    .pc-cart-item__right {
        grid-column: auto;
        flex-direction: column;
        align-items: flex-end;
        gap: 0.75rem;
        padding-top: 0;
        margin-top: 0;
        border-top: none;
        min-width: 120px;
    }

    .pc-cart-sidebar {
        position: static;
        max-width: 720px;
        margin: 0 auto;
    }
}

/* Mobile */
@media (max-width: 639px) {
    .pc-cart-journey {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
        width: calc(100% - 32px);
        padding-top: 24px;
    }

    .pc-cart-journey__line {
        display: none;
    }

    .pc-cart-journey__item {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
        padding-bottom: 10px;
        border-bottom: 1px solid #24211e;
    }

    .pc-cart-journey__item.is-active {
        border-bottom-color: #c9a962;
    }

    .pc-cart-journey__item strong {
        font-size: 0.56rem;
        line-height: 1.35;
        white-space: normal;
    }

    .pc-cart-grid {
        padding: 1.5rem 1rem;
        gap: 2rem;
    }

    .pc-cart-header {
        margin-bottom: 0.75rem;
    }

    .pc-cart-title {
        font-size: 1.75rem;
    }

    .pc-continue-shopping {
        margin-bottom: 1.5rem;
    }

    .pc-cart-item {
        grid-template-columns: 80px 1fr;
        padding: 1rem;
        gap: 1rem;
        border-radius: 14px;
    }

    .pc-cart-item__image {
        width: 80px;
        height: 80px;
        border-radius: 10px;
    }

    .pc-cart-item__name {
        font-size: 0.95rem;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .pc-cart-item__right {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding-top: 0.875rem;
        margin-top: 0.25rem;
        border-top: 1px solid #1e1e1e;
        gap: 0.75rem;
    }

    .pc-quantity {
        flex-shrink: 0;
    }

    .pc-qty-btn {
        width: 26px;
        height: 26px;
    }

    .pc-quantity .qty {
        width: 34px;
        height: 26px;
        font-size: 0.85rem;
    }

    .pc-cart-item__subtotal {
        font-size: 0.9rem;
    }

    /* Actions stack */
    .pc-cart-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .pc-coupon,
    .coupon {
        max-width: 100%;
        width: 100%;
    }

    .pc-coupon-disclosure {
        flex-basis: auto;
        width: 100%;
        max-width: none;
    }

    .pc-coupon input,
    .coupon input {
        min-width: 0;
        width: 100%;
    }

    .pc-btn--gold {
        margin-left: 0;
        width: 100%;
    }

    .pc-panel {
        padding: 1.5rem;
    }

    .pc-cart-size-help {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 12px;
        padding: 15px;
    }

    .pc-cart-size-help > a {
        grid-column: 2;
        justify-self: start;
    }

    .pc-progress__label {
        align-items: flex-start;
        gap: 0.75rem;
    }

    .pc-progress__target {
        font-size: 0.7rem;
        text-align: right;
    }

    .pc-empty-cart__actions {
        flex-direction: column;
    }

    .pc-empty-cart__actions .pc-btn {
        width: 100%;
    }
}

body.woocommerce-cart .pc-quantity .qty {
    all: unset;
    width: 36px;
    height: 28px;
    display: inline-block;
    text-align: center;
    color: #f5f5f5;
    -webkit-text-fill-color: #f5f5f5;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 28px;
    background: transparent;
    appearance: textfield;
    -moz-appearance: textfield;
}

body.woocommerce-cart .pc-quantity .qty::-webkit-outer-spin-button,
body.woocommerce-cart .pc-quantity .qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

body.woocommerce-cart .return-to-shop {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

body.woocommerce-cart .return-to-shop .wc-backward,
body.woocommerce-cart .return-to-shop a.button,
body.woocommerce-cart .return-to-shop .button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 48px !important;
    padding: 0 1.5rem !important;
    border-radius: 12px !important;
    border: 1px solid #c9a962 !important;
    background: #c9a962 !important;
    background-color: #c9a962 !important;
    color: #0a0a0a !important;
    -webkit-text-fill-color: #0a0a0a !important;
    text-decoration: none !important;
    box-shadow: none !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    transition: all 0.2s ease !important;
}

body.woocommerce-cart .return-to-shop .wc-backward:hover,
body.woocommerce-cart .return-to-shop a.button:hover,
body.woocommerce-cart .return-to-shop .button:hover {
    background: #d4b76a !important;
    background-color: #d4b76a !important;
    color: #0a0a0a !important;
    -webkit-text-fill-color: #0a0a0a !important;
    border-color: #d4b76a !important;
}

body.woocommerce-cart .woocommerce-message,
body.woocommerce-cart .woocommerce-info,
body.woocommerce-cart .woocommerce-error {
    margin-bottom: 2.25rem !important;
}

body.woocommerce-cart .woocommerce-notices-wrapper {
    margin-bottom: 1.5rem !important;
}

/**
 * Cart Notice Fix — Kırmızı uyarı görünür olsun
 */

/* Notices wrapper Kadence gizlemesi varsa aç */
body.woocommerce-cart .woocommerce-notices-wrapper {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-bottom: 1.5rem !important;
}

/* Error — Kırmızı kupon uyarısı */
body.woocommerce-cart .woocommerce-error {
    background: rgba(231, 76, 60, 0.1) !important;
    background-color: rgba(231, 76, 60, 0.1) !important;
    color: #f5f5f5 !important;
    -webkit-text-fill-color: #f5f5f5 !important;
    border: 1px solid rgba(231, 76, 60, 0.3) !important;
    border-left: 3px solid #e74c3c !important;
    border-radius: 12px !important;
    padding: 1rem 1.25rem !important;
    margin-bottom: 1.5rem !important;
    list-style: none !important;
}

body.woocommerce-cart .woocommerce-error::before {
    color: #e74c3c !important;
}

body.woocommerce-cart .woocommerce-error li {
    color: #f5f5f5 !important;
    margin: 0 !important;
}

/* Message / Info — Gold (kupon başarılı mesajı) */
body.woocommerce-cart .woocommerce-message,
body.woocommerce-cart .woocommerce-info {
    background: rgba(201, 169, 98, 0.08) !important;
    color: #f5f5f5 !important;
    border: 1px solid rgba(201, 169, 98, 0.25) !important;
    border-left: 3px solid #c9a962 !important;
    border-radius: 12px !important;
    padding: 1rem 1.25rem !important;
    margin-bottom: 1.5rem !important;
    list-style: none !important;
}

/* === KADENCE GLOBAL PALETTE LEAK FIX === */
.pc-cart-item .pc-quantity .pc-qty-btn,
.pc-cart-item .pc-quantity .pc-qty-btn:hover,
.pc-cart-item .pc-quantity .pc-qty-btn:focus {
    background: transparent !important;
    background-image: none !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

/* Kadence değişkenlerini bu alan içinde öldür */
.pc-cart-item .pc-quantity {
    --global-palette1: transparent;
    --global-palette2: transparent;
    --global-palette3: transparent;
    --global-palette4: transparent;
}

/* Input focus mavi outline’ı da temizle */
.pc-cart-item .pc-quantity input[type="number"]:focus {
    outline: none !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
    box-shadow: none !important;
}

/* Checkout CTA — Kadence palette final lock */
html body.woocommerce-cart .woocommerce .pc-panel .pc-checkout > a.pc-btn.pc-btn--checkout,
html body.woocommerce-cart .woocommerce .pc-panel .pc-checkout > a.pc-btn.pc-btn--checkout:link,
html body.woocommerce-cart .woocommerce .pc-panel .pc-checkout > a.pc-btn.pc-btn--checkout:visited,
html body.woocommerce-cart .woocommerce .pc-panel .pc-checkout > a.pc-btn.pc-btn--checkout:hover,
html body.woocommerce-cart .woocommerce .pc-panel .pc-checkout > a.pc-btn.pc-btn--checkout:focus,
html body.woocommerce-cart .woocommerce .pc-panel .pc-checkout > a.pc-btn.pc-btn--checkout:focus-visible,
html body.woocommerce-cart .woocommerce .pc-panel .pc-checkout > a.pc-btn.pc-btn--checkout:active {
    border: 0 !important;
    background: #c9a962 !important;
    background-color: #c9a962 !important;
    background-image: none !important;
    color: #0a0a0a !important;
    -webkit-text-fill-color: #0a0a0a !important;
    text-decoration: none !important;
}

html body.woocommerce-cart .woocommerce .pc-panel .pc-checkout > a.pc-btn.pc-btn--checkout:hover,
html body.woocommerce-cart .woocommerce .pc-panel .pc-checkout > a.pc-btn.pc-btn--checkout:focus-visible {
    background: #d4b76a !important;
    background-color: #d4b76a !important;
}

html body.woocommerce-cart .woocommerce .pc-panel .pc-checkout > a.pc-btn.pc-btn--checkout *,
html body.woocommerce-cart .woocommerce .pc-panel .pc-checkout > a.pc-btn.pc-btn--checkout:hover *,
html body.woocommerce-cart .woocommerce .pc-panel .pc-checkout > a.pc-btn.pc-btn--checkout:focus *,
html body.woocommerce-cart .woocommerce .pc-panel .pc-checkout > a.pc-btn.pc-btn--checkout:active * {
    color: #0a0a0a !important;
    -webkit-text-fill-color: #0a0a0a !important;
}
