/* Mert Karataş Shop v1.6.20 --------------------------------------------- */

/* -------------------------------------------------------------------------
   Account / view-order: replace the browser-yellow <mark> sentence with a
   calm status rail, then turn the native WooCommerce table/address output into
   an intentional private-order dashboard. No gateway hooks are removed.
   ---------------------------------------------------------------------- */
.mks-account-page .woocommerce-MyAccount-content>p:first-child:has(.mks-order-status-rail){
  max-width:none!important;margin:0 0 1rem!important;padding:0!important
}
.mks-order-status-rail{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--line);background:rgba(6,16,31,.34)
}
.mks-order-status-rail>span{display:grid;gap:.34rem;padding:.78rem 1rem;min-width:0}
.mks-order-status-rail>span+span{border-left:1px solid var(--line)}
.mks-order-status-rail small{color:var(--gold);font-size:.44rem;font-weight:950;letter-spacing:.16em}
.mks-order-status-rail strong{overflow:hidden;text-overflow:ellipsis;font:650 .82rem/1.2 Inter,system-ui,sans-serif;color:var(--ink)}

.mks-order-overview{margin:0 0 1.25rem;border:1px solid var(--line);background:linear-gradient(145deg,rgba(8,21,40,.82),rgba(5,13,27,.54));overflow:hidden}
.mks-order-overview__head{display:flex;align-items:end;justify-content:space-between;gap:1.4rem;padding:clamp(1.15rem,2.4vw,1.65rem);border-bottom:1px solid var(--line)}
.mks-order-overview__head>div>span{color:var(--gold);font-size:.46rem;font-weight:950;letter-spacing:.16em}
.mks-order-overview__head h2{margin:.42rem 0 0!important;font:500 clamp(2.2rem,4.2vw,4.3rem)/.88 ui-serif,Georgia,serif!important;letter-spacing:-.06em!important}
.mks-order-overview__status{display:inline-flex;align-items:center;min-height:34px;padding:.5rem .72rem;border:1px solid rgba(210,174,103,.42);background:rgba(210,174,103,.08);color:var(--gold);font-size:.48rem;letter-spacing:.14em;text-transform:uppercase}
.mks-order-overview__metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:var(--line);gap:1px}
.mks-order-overview__metrics>div{display:grid;align-content:start;min-height:120px;padding:1rem;background:#071225}
.mks-order-overview__metrics small{color:#8190a5;font-size:.43rem;font-weight:950;letter-spacing:.15em}
.mks-order-overview__metrics strong{margin:.85rem 0 .4rem;font:600 clamp(1.02rem,1.7vw,1.35rem)/1.02 ui-serif,Georgia,serif;color:var(--ink)}
.mks-order-overview__metrics span{color:var(--muted);font-size:.6rem;line-height:1.45}

.mks-account-page .woocommerce-order-details{margin:0!important;padding:0!important;border:1px solid var(--line);background:rgba(5,13,27,.35);overflow:hidden}
.mks-account-page .woocommerce-order-details__title{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.mks-account-page .woocommerce-order-details table{width:100%!important;margin:0!important;border:0!important;border-collapse:collapse!important;background:transparent!important}
.mks-account-page .woocommerce-order-details thead th{padding:.8rem 1rem!important;border-bottom:1px solid var(--line)!important;color:#8290a4!important;font-size:.45rem!important;font-weight:950!important;letter-spacing:.15em!important;text-transform:uppercase!important}
.mks-account-page .woocommerce-order-details tbody td{padding:1rem!important;border-bottom:1px solid var(--line)!important;vertical-align:middle!important;background:transparent!important}
.mks-account-page .woocommerce-order-details tbody .product-name a{color:var(--ink)!important;text-decoration:none!important;font:600 clamp(.95rem,1.3vw,1.15rem)/1.15 ui-serif,Georgia,serif!important}
.mks-account-page .woocommerce-order-details tbody .product-name a:hover{color:var(--gold)!important}
.mks-account-page .woocommerce-order-details tfoot th,.mks-account-page .woocommerce-order-details tfoot td{padding:.74rem 1rem!important;border-top:1px solid var(--line)!important;background:rgba(255,255,255,.012)!important}
.mks-account-page .woocommerce-order-details tfoot th{color:#8190a5!important;font-size:.48rem!important;font-weight:950!important;letter-spacing:.12em!important;text-transform:uppercase!important}
.mks-account-page .woocommerce-order-details tfoot td{text-align:right!important;font-size:.78rem!important}
.mks-account-page .woocommerce-order-details tfoot tr:last-child th,.mks-account-page .woocommerce-order-details tfoot tr:last-child td{padding-top:1rem!important;padding-bottom:1rem!important;color:var(--ink)!important;background:rgba(210,174,103,.055)!important}
.mks-account-page .woocommerce-order-details tfoot tr:last-child td{font:650 1.2rem/1 ui-serif,Georgia,serif!important}

.mks-account-page .woocommerce-customer-details{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem!important;margin:1rem 0 0!important}
.mks-account-page .woocommerce-customer-details .woocommerce-column{width:auto!important;max-width:none!important;float:none!important;margin:0!important;padding:1.2rem!important;border:1px solid var(--line)!important;background:rgba(5,13,27,.32)!important}
.mks-account-page .woocommerce-customer-details .woocommerce-column__title{margin:0 0 .9rem!important;font:500 clamp(1.45rem,2.4vw,2.2rem)/.95 ui-serif,Georgia,serif!important;letter-spacing:-.04em!important}
.mks-account-page .woocommerce-customer-details address{padding:0!important;border:0!important;background:none!important;color:var(--muted)!important;font-size:.72rem!important;line-height:1.65!important}

/* Account dashboard utility links are not buttons and should not inherit the
   cheap browser-like underline treatment. */
.mks-account-page .woocommerce-MyAccount-content>p a,
.mks-account-page .woocommerce-MyAccount-content .woocommerce-info a,
.mks-account-page .woocommerce-MyAccount-content .woocommerce-message a{
  color:var(--gold)!important;text-decoration:none!important;text-decoration-line:none!important;border-bottom:0!important;box-shadow:none!important
}
.mks-account-page .woocommerce-MyAccount-content>p a:hover,
.mks-account-page .woocommerce-MyAccount-content .woocommerce-info a:hover,
.mks-account-page .woocommerce-MyAccount-content .woocommerce-message a:hover{color:#f0cf88!important}

/* -------------------------------------------------------------------------
   Catalogue rooms: the giant generic “Koleksiyon.” heading belongs to the
   full Products index only. Editions and Prints keep their own hero, then move
   straight into a low-noise contextual filter rail.
   ---------------------------------------------------------------------- */
.mks-catalogue-room-meta{display:grid;grid-template-columns:auto minmax(40px,1fr) minmax(220px,420px);gap:1rem;align-items:center;margin:0 0 1.4rem;padding:.78rem 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.mks-catalogue-room-meta>span{color:var(--gold);font-size:.48rem;font-weight:950;letter-spacing:.16em}
.mks-catalogue-room-meta>i{height:1px;background:linear-gradient(90deg,rgba(210,174,103,.45),rgba(71,222,245,.18))}
.mks-catalogue-room-meta>p{margin:0;color:var(--muted);font-size:.68rem;line-height:1.45;text-align:right}

/* Light-mode parity. */
html[data-mks-theme="light"] .mks-order-status-rail,
html[data-mks-theme="light"] .mks-order-overview,
html[data-mks-theme="light"] .mks-account-page .woocommerce-order-details,
html[data-mks-theme="light"] .mks-account-page .woocommerce-customer-details .woocommerce-column{background:rgba(255,255,255,.55)}
html[data-mks-theme="light"] .mks-order-overview__metrics>div{background:rgba(255,255,255,.75)}
html[data-mks-theme="light"] .mks-account-page .woocommerce-order-details tfoot th,
html[data-mks-theme="light"] .mks-account-page .woocommerce-order-details tfoot td{background:rgba(26,45,65,.018)!important}
html[data-mks-theme="light"] .mks-account-page .woocommerce-order-details tfoot tr:last-child th,
html[data-mks-theme="light"] .mks-account-page .woocommerce-order-details tfoot tr:last-child td{background:rgba(185,137,52,.08)!important}

@media(max-width:1050px){
  .mks-order-overview__metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .mks-order-status-rail{grid-template-columns:1fr}
  .mks-order-status-rail>span+span{border-left:0;border-top:1px solid var(--line)}
  .mks-order-overview__head{align-items:start;flex-direction:column}
  .mks-order-overview__metrics{grid-template-columns:1fr}
  .mks-order-overview__metrics>div{min-height:94px}
  .mks-account-page .woocommerce-customer-details{grid-template-columns:1fr!important}
  .mks-catalogue-room-meta{grid-template-columns:1fr auto}
  .mks-catalogue-room-meta>i{display:none}
  .mks-catalogue-room-meta>p{grid-column:1/-1;text-align:left}
}
