/* =========================================================================
   SanoKala - cart, checkout and account.

   These three pages were rendering as raw WooCommerce defaults: system
   borders, blue links, a bare table. They are the last three screens before
   someone parts with money, so they carry the same cream/rose language as
   the rest of the site.

   Classic shortcodes are in use ([woocommerce_cart] and friends), so the
   selectors below are the long-standing WooCommerce ones.
   ========================================================================= */

/* ---------- 1. Shared shells --------------------------------------- */

.woocommerce-cart .entry-content,
.woocommerce-checkout .entry-content,
.woocommerce-account .entry-content {
  --theme-link-initial-color: var(--sk-rose, #E8154C);
}

.woocommerce table.shop_table,
.woocommerce-checkout #order_review,
.woocommerce .cart_totals > *,
.woocommerce-account .woocommerce-MyAccount-content {
  border-radius: var(--sk-r-panel, 18px);
}

.woocommerce table.shop_table {
  border: 1px solid var(--sk-line, #EFEFF2);
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  background: var(--sk-white, #fff);
}

.woocommerce table.shop_table th {
  padding: 14px 16px;
  background: var(--sk-cream, #FEF9F2);
  color: var(--sk-ink, #0F1117);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .01em;
  text-transform: none;
}

.woocommerce table.shop_table td {
  padding: 16px;
  border-top: 1px solid var(--sk-line, #EFEFF2);
  vertical-align: middle;
}

.woocommerce table.shop_table .product-thumbnail img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--sk-r-card, 14px);
}

.woocommerce table.shop_table .product-name a {
  color: var(--sk-ink, #0F1117);
  font-weight: 600;
  text-decoration: none;
}
.woocommerce table.shop_table .product-name a:hover { color: var(--sk-rose, #E8154C); }

.woocommerce a.remove {
  color: var(--sk-muted, #76767F) !important;
  font-weight: 400;
}
.woocommerce a.remove:hover {
  background: var(--sk-rose-soft, #FEE5E9) !important;
  color: var(--sk-rose, #E8154C) !important;
}

/* ---------- 2. Coupon row ------------------------------------------ */

.woocommerce .cart .actions .coupon {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.woocommerce .cart .actions .coupon label { display: none; }

.woocommerce #coupon_code.input-text {
  min-width: 200px;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--sk-line, #EFEFF2);
  border-radius: var(--sk-r-input, 10px);
  background: var(--sk-white, #fff);
  font-size: 16px;
}
.woocommerce #coupon_code.input-text:focus {
  border-color: var(--sk-rose, #E8154C);
  outline: 2px solid var(--sk-rose-soft, #FEE5E9);
  outline-offset: 0;
}

/* ---------- 3. Totals and the pay button --------------------------- */

.woocommerce .cart_totals h2,
.woocommerce-checkout #order_review_heading {
  margin-bottom: 14px;
  font-size: 20px;
  font-weight: 700;
}

.woocommerce .cart-collaterals .cart_totals {
  padding: 22px;
  border: 1px solid var(--sk-line, #EFEFF2);
  border-radius: var(--sk-r-panel, 18px);
  background: var(--sk-cream, #FEF9F2);
}

.woocommerce .cart_totals table.shop_table,
.woocommerce .cart_totals table.shop_table th,
.woocommerce .cart_totals table.shop_table td {
  border: 0;
  background: transparent;
}

.woocommerce .cart_totals .order-total .amount,
.woocommerce-checkout .order-total .amount {
  color: var(--sk-rose, #E8154C);
  font-size: 20px;
  font-weight: 700;
}

/* Shipping choice is a real decision here - valley or outside it - so the
   radios get room rather than being squeezed into a table cell. */
.woocommerce ul#shipping_method {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.woocommerce ul#shipping_method li {
  display: flex;
  gap: 8px;
  align-items: baseline;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--sk-line, #EFEFF2);
  border-radius: var(--sk-r-input, 10px);
  background: var(--sk-white, #fff);
  text-align: left;
}
.woocommerce ul#shipping_method li label { font-weight: 500; }

.woocommerce .checkout-button,
.woocommerce #place_order {
  width: 100%;
  min-height: 54px;
  border-radius: var(--sk-r-pill, 999px);
  background: var(--sk-rose, #E8154C);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}
.woocommerce .checkout-button:hover,
.woocommerce #place_order:hover { background: var(--sk-rose-deep, #C00F3E); }

/* ---------- 4. Checkout form and payment ---------------------------- */

.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-additional-fields h3 {
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 700;
}

.woocommerce form .form-row label {
  display: block;
  margin-bottom: 6px;
  color: var(--sk-body, #5A5A63);
  font-size: 14px;
  font-weight: 600;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row .select2-selection {
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--sk-line, #EFEFF2);
  border-radius: var(--sk-r-input, 10px);
  background: var(--sk-white, #fff);
  font-size: 16px;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
  border-color: var(--sk-rose, #E8154C);
  outline: 2px solid var(--sk-rose-soft, #FEE5E9);
}

.woocommerce-checkout #payment {
  border-radius: var(--sk-r-panel, 18px);
  background: var(--sk-cream, #FEF9F2);
}

.woocommerce-checkout #payment ul.payment_methods {
  padding: 16px;
  border-bottom: 1px solid var(--sk-line, #EFEFF2);
}

.woocommerce-checkout #payment ul.payment_methods li {
  margin-bottom: 10px;
  padding: 14px 16px;
  border: 1px solid var(--sk-line, #EFEFF2);
  border-radius: var(--sk-r-card, 14px);
  background: var(--sk-white, #fff);
  list-style: none;
}
.woocommerce-checkout #payment ul.payment_methods li:last-child { margin-bottom: 0; }
.woocommerce-checkout #payment ul.payment_methods label { font-weight: 700; }

.woocommerce-checkout #payment div.payment_box {
  margin: 10px 0 0;
  padding: 12px 14px;
  border-radius: var(--sk-r-input, 10px);
  background: var(--sk-rose-soft, #FEE5E9);
  color: var(--sk-ink, #0F1117);
  font-size: 14px;
}
.woocommerce-checkout #payment div.payment_box::before { display: none; }

/* ---------- 5. Notices ---------------------------------------------- */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-top: 0;
  border-radius: var(--sk-r-card, 14px);
  padding: 14px 18px;
}
.woocommerce-message { background: #F0F9F2; color: #0A7A41; }
.woocommerce-info    { background: #E5F1FB; color: #075E9B; }
.woocommerce-error   { background: var(--sk-rose-soft, #FEE5E9); color: var(--sk-rose-deep, #C00F3E); }
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before { display: none; }
.woocommerce-message .button,
.woocommerce-info .button {
  border-radius: var(--sk-r-pill, 999px);
  background: var(--sk-rose, #E8154C);
  color: #fff;
}

/* ---------- 6. Account, login and register -------------------------- */

/* Deliberately empty. Blocksy lays the account screens out itself and
   styles the sidebar rows; everything SanoKala adds now lives in
   assets/account.css, which only touches colour and the boxes Blocksy
   leaves bare. The rules that used to sit here set a width on the inner
   navigation and a display on its links, which fought Blocksy's own flex
   sidebar and stacked every menu label on top of the next one. */
/* ---------- 7. Phones ------------------------------------------------ */

@media (max-width: 768px) {
  .woocommerce table.shop_table td { padding: 12px; }
  .woocommerce .cart .actions .coupon { width: 100%; }
  .woocommerce #coupon_code.input-text { flex: 1 1 auto; min-width: 0; }
  .woocommerce .cart .actions .coupon .button { flex: 0 0 auto; }
  .woocommerce .cart-collaterals .cart_totals { padding: 18px; }
  .woocommerce-checkout #payment ul.payment_methods { padding: 12px; }
}

/* ---------- 8. BACK LINK -------------------------------------------- */

.sk-back{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  padding: 8px 14px 8px 10px;
  border: 1px solid var(--sk-line, #EFEFF2);
  border-radius: var(--sk-r-pill, 999px);
  background: var(--sk-white, #fff);
  color: var(--sk-body, #5A5A63);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .18s ease, color .18s ease;
}
.sk-back:hover{ border-color: var(--sk-rose, #E8154C); color: var(--sk-rose, #E8154C); }
.sk-back svg{ flex: 0 0 auto; }
.sk-back--page{ margin-bottom: 22px; }

/* The product back link sits above the whole two-column block. */
.single-product .sk-back{ display: inline-flex; margin-bottom: 20px; }

/* ---------- 9. AFTER ADD TO CART ------------------------------------ */

/* WooCommerce drops a "View cart" link in beside "Add to cart" once
   something is added. Styled as a second button it read as a second
   action - two buttons, unclear which one did what. It is a
   confirmation, so it now looks like one: a line of text under the
   button, not a rival to it. */
.single-product form.cart .added_to_cart,
.woocommerce ul.products .added_to_cart{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: auto;
  min-height: 0;
  margin: 12px 0 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--sk-green-badge, #0A7A41);
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.single-product form.cart .added_to_cart::before,
.woocommerce ul.products .added_to_cart::before{
  content: "\2713";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--sk-green-badge, #0A7A41);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}
.single-product form.cart .added_to_cart:hover{ color: var(--sk-rose, #E8154C); }

/* Give it a line of its own rather than sitting next to the button. */
.single-product form.cart{ flex-wrap: wrap; }
.single-product form.cart .added_to_cart{ flex: 1 0 100%; }

/* ---------- 10. NO MORE "UPDATE CART" -------------------------------- */

/* Quantities now save themselves (assets/shop.js), so the button that
   people had to notice and press is gone. It stays in the DOM because
   the script clicks it. */
.woocommerce .cart .actions [name="update_cart"]{
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.woocommerce .cart .actions{ position: relative; }

/* While the update is in flight the table dims, so a changed quantity
   never looks like nothing happened. */
.sk-cart-updating{ opacity: .55; transition: opacity .15s ease; }
/* ---------- 11. CART: NO DELIVERY CHOICE YET ------------------------ */

/* The zone choice belongs at checkout, after the address. Hidden here
   rather than removed, so checkout keeps every rate it needs. */
.woocommerce-cart .woocommerce-shipping-totals,
.woocommerce-cart .woocommerce-shipping-destination,
.woocommerce-cart .shipping-calculator-button{ display: none; }

.sk-cart-note th{
  color: var(--sk-body, #5A5A63);
  font-weight: 700;
  vertical-align: top;
}
.sk-cart-note td{
  color: var(--sk-muted, #76767F);
  font-size: 13px;
  line-height: 1.5;
}
/* ---------- 12. BANK TRANSFER PANEL --------------------------------- */

/* A first-time buyer is sending money before the toy exists in their
   hands. The panel has to answer "what do I do" and "how do I know it
   worked" without them having to ask. */

.woocommerce-checkout #payment div.payment_box:has(.sk-bank){
  padding: 0;
  background: transparent;
}

.sk-bank{
  padding: 18px;
  border: 1px solid var(--sk-line, #EFEFF2);
  border-radius: var(--sk-r-card, 14px);
  background: var(--sk-white, #fff);
  color: var(--sk-ink, #0F1117);
  font-size: 14px;
}

.sk-bank__grid{
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
}

.sk-bank__qr{
  flex: 0 0 auto;
  width: 200px;
  margin: 0;
  padding: 12px;
  border-radius: var(--sk-r-card, 14px);
  background: var(--sk-cream, #FEF9F2);
  text-align: center;
}
.sk-bank__qr img{
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  background: #fff;
}
.sk-bank__qr figcaption{
  margin-top: 8px;
  color: var(--sk-muted, #76767F);
  font-size: 12px;
  line-height: 1.4;
}

/* Numbered steps, because the order matters and a bulleted list would
   not say so. */
.sk-bank__steps{
  flex: 1 1 240px;
  counter-reset: sk-step;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sk-bank__steps li{
  position: relative;
  margin: 0 0 16px;
  padding-inline-start: 38px;
  list-style: none;
}
.sk-bank__steps li:last-child{ margin-bottom: 0; }
.sk-bank__steps li::before{
  counter-increment: sk-step;
  content: counter(sk-step);
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--sk-rose-soft, #FEE5E9);
  color: var(--sk-rose-deep, #C00F3E);
  font-size: 13px;
  font-weight: 700;
}
.sk-bank__steps b{ display: block; font-size: 15px; font-weight: 700; }
.sk-bank__steps span{
  display: block;
  margin-top: 2px;
  color: var(--sk-body, #5A5A63);
  line-height: 1.5;
}

.sk-bank__field{ margin-top: 18px; }
.sk-bank__field .form-row{ margin: 0; padding: 0; }
.sk-bank .sk-bank__txn input.input-text{ max-width: 340px; }
.sk-bank__field .description{
  margin-top: 6px;
  color: var(--sk-muted, #76767F);
  font-size: 12px;
}

.sk-bank__wa,
.sk-thanks .sk-bank__wa{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 12px 20px;
  border-radius: var(--sk-r-pill, 999px);
  background: var(--sk-green, #0F934E);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.sk-bank__wa:hover{ background: #0B7A3F; color: #fff; }

.sk-bank__assure{
  display: flex;
  gap: 8px;
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: var(--sk-r-input, 10px);
  background: #F0F9F2;
  color: #0A5C33;
  font-size: 13px;
  line-height: 1.55;
}
.sk-bank__tick{
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--sk-green-badge, #0A7A41);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

@media (max-width: 520px){
  .sk-bank{ padding: 14px; }
  .sk-bank__qr{ width: 100%; }
  .sk-bank__wa{ width: 100%; justify-content: center; }
}

/* ---------- 13. AFTER THE ORDER ------------------------------------- */

.sk-thanks{
  margin: 0 0 28px;
  padding: 20px;
  border: 1px solid var(--sk-line, #EFEFF2);
  border-radius: var(--sk-r-panel, 18px);
  background: var(--sk-cream, #FEF9F2);
}
.sk-thanks__lead{
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 600;
}
.sk-thanks__row{ display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; }
.sk-thanks__qr{
  flex: 0 0 auto;
  width: 150px;
  height: auto;
  padding: 8px;
  border-radius: var(--sk-r-card, 14px);
  background: #fff;
}
.sk-thanks__body{ flex: 1 1 260px; }
.sk-thanks__body p{ margin: 0; color: var(--sk-body, #5A5A63); line-height: 1.6; }

/* ---------- 14. AN EMPTY CATEGORY ----------------------------------- */

.sk-emptycat{
  max-width: 520px;
  margin: 30px auto;
  padding: 28px 24px;
  border-radius: var(--sk-r-panel, 18px);
  background: var(--sk-cream, #FEF9F2);
  text-align: center;
}
.sk-emptycat h2{ margin: 0 0 8px; font-size: 20px; font-weight: 700; }
.sk-emptycat p{ margin: 0 0 18px; color: var(--sk-body, #5A5A63); line-height: 1.6; }
.sk-emptycat__acts{ display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.sk-emptycat__acts a{
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: var(--sk-r-pill, 999px);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.sk-emptycat__primary{ background: var(--sk-rose, #E8154C); color: #fff; }
.sk-emptycat__primary:hover{ background: var(--sk-rose-deep, #C00F3E); color: #fff; }
.sk-emptycat__ghost{
  border: 1px solid var(--sk-line, #EFEFF2);
  background: #fff;
  color: var(--sk-ink, #0F1117);
}
.sk-emptycat__ghost:hover{ border-color: var(--sk-rose, #E8154C); color: var(--sk-rose, #E8154C); }
/* ---------- 15. PRODUCT DESCRIPTION AND TABS ------------------------- */

.woocommerce div.product .woocommerce-tabs { margin-top: 48px; }

/* One rule under the whole row rather than a floating underline, so the
   tabs read as a set and the active one clearly belongs to the panel. */
.woocommerce div.product .woocommerce-tabs ul.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--sk-line, #EFEFF2);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  border-bottom: 3px solid transparent;
  color: var(--sk-body, #5A5A63);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: none;
  text-decoration: none;
  transition: color 160ms ease-out, border-color 160ms ease-out;
}

/* Tab icons */
.woocommerce div.product .woocommerce-tabs ul.tabs li a::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 22px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

/* Description icon — coral shield-check */
.woocommerce div.product .woocommerce-tabs ul.tabs li.description_tab a::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23E8154C'%3E%3Cpath d='M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm-2 16l-4-4 1.41-1.41L10 14.17l6.59-6.59L18 9l-8 8z'/%3E%3C/svg%3E");
}

/* Additional Information icon — teal document */
.woocommerce div.product .woocommerce-tabs ul.tabs li.additional_information_tab a::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230B6B6B'%3E%3Cpath d='M14 2H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V8l-6-6zm2 14H8v-2h8v2zm0-4H8v-2h8v2zM13 9V3.5L18.5 9H13z'/%3E%3C/svg%3E");
}

/* Reviews icon — gold star */
.woocommerce div.product .woocommerce-tabs ul.tabs li.reviews_tab a::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23F5A623'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87L18.18 21 12 17.27 5.82 21 7 14.14l-5-4.87 6.91-1.01z'/%3E%3C/svg%3E");
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover { color: var(--sk-ink, #0F1117); }

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  border-bottom-color: var(--sk-rose, #E8154C);
  color: var(--sk-rose, #E8154C);
}

/* The panel. Generous line height because this is the only place on the
   page where a parent reads more than a sentence. */
.woocommerce div.product .woocommerce-tabs .panel { padding-top: 30px; }

.woocommerce div.product .woocommerce-tabs .panel p {
  margin: 0 0 16px;
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--sk-body, #5A5A63);
}

/* The opening line is the pitch, so it carries a little more weight. */
.woocommerce div.product #tab-description > p:first-of-type {
  color: var(--sk-ink, #0F1117);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
}

.woocommerce div.product .woocommerce-tabs .panel ul,
.woocommerce div.product .woocommerce-tabs .panel ol {
  margin: 0 0 16px;
  padding-inline-start: 20px;
  color: var(--sk-body, #5A5A63);
  line-height: 1.7;
}
.woocommerce div.product .woocommerce-tabs .panel li { margin-bottom: 6px; }

/* Additional information is a specification list, so it is set as one
   rather than as a bordered spreadsheet. */
.woocommerce div.product .woocommerce-tabs table.shop_attributes {
  width: 100%;
  max-width: 560px;
  border: 1px solid var(--sk-line, #EFEFF2);
  border-radius: var(--sk-r-card, 14px);
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}

.woocommerce div.product .woocommerce-tabs table.shop_attributes th,
.woocommerce div.product .woocommerce-tabs table.shop_attributes td {
  padding: 13px 16px;
  border: 0;
  border-top: 1px solid var(--sk-line, #EFEFF2);
  font-style: normal;
  line-height: 1.5;
}

.woocommerce div.product .woocommerce-tabs table.shop_attributes tr:first-child th,
.woocommerce div.product .woocommerce-tabs table.shop_attributes tr:first-child td { border-top: 0; }

.woocommerce div.product .woocommerce-tabs table.shop_attributes th {
  width: 40%;
  background: var(--sk-cream, #FEF9F2);
  color: var(--sk-ink, #0F1117);
  font-weight: 700;
  text-align: left;
}

.woocommerce div.product .woocommerce-tabs table.shop_attributes td { color: var(--sk-body, #5A5A63); }
.woocommerce div.product .woocommerce-tabs table.shop_attributes td p { margin: 0; font-size: 15px; }

/* =====================================================================
   REVIEWS — complete redesign
   ===================================================================== */

/* --- No reviews state --- */
.woocommerce div.product #reviews .woocommerce-noreviews {
  margin: 0 0 28px;
  padding: 24px;
  border-radius: var(--sk-r-card, 14px);
  background: var(--sk-cream, #FEF9F2);
  color: var(--sk-body, #5A5A63);
  font-size: 15px;
  line-height: 1.6;
  text-align: center;
}

/* --- Review list --- */
.woocommerce div.product #reviews ol.commentlist {
  margin: 0 0 36px;
  padding: 0;
  list-style: none;
}

/* --- Single review card --- */
.sk-review {
  display: flex;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--sk-line, #EFEFF2);
}
.sk-review:last-child { border-bottom: 0; }

/* Entrance animation for new reviews */
.sk-review--new {
  animation: skReviewIn 0.5s cubic-bezier(.2,.7,.3,1) both;
}
@keyframes skReviewIn {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.sk-review__avatar {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--sk-rose-soft, #FEE5E9);
  color: var(--sk-rose, #E8154C);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  user-select: none;
}

.sk-review__body { flex: 1 1 0; min-width: 0; }

.sk-review__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin-bottom: 6px;
}

.sk-review__author {
  font-size: 15px;
  font-weight: 700;
  color: var(--sk-ink, #0F1117);
}

.sk-review__date {
  font-size: 13px;
  color: var(--sk-muted, #76767F);
}

.sk-review__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 8px;
}

.sk-star { color: var(--sk-line, #EFEFF2); }
.sk-star--filled { color: #F59E0B; }

.sk-review__text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--sk-body, #5A5A63);
}
.sk-review__text p { margin: 0 0 8px; }
.sk-review__text p:last-child { margin-bottom: 0; }

/* Also style WooCommerce's native review display (for page-reload reviews) */
.woocommerce #reviews #comments ol.commentlist li .comment-text {
  border: 0;
  padding: 0;
  margin: 0;
}
.woocommerce #reviews #comments ol.commentlist li img.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  padding: 0;
}
.woocommerce #reviews #comments ol.commentlist li {
  padding: 22px 0;
  margin: 0;
  border-bottom: 1px solid var(--sk-line, #EFEFF2);
}
.woocommerce #reviews #comments ol.commentlist li:last-child {
  border-bottom: 0;
}

/* --- Review form wrapper --- */
.woocommerce div.product #review_form_wrapper {
  max-width: 620px;
  margin-top: 8px;
}

/* Title of the review form */
.woocommerce div.product #reviews #reply-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--sk-ink, #0F1117);
}

/* Hide WooCommerce's default text */
.woocommerce #review_form #respond .comment-notes {
  margin: 0 0 20px;
  font-size: 14px;
  color: var(--sk-muted, #76767F);
}

/* Rating label */
.woocommerce #review_form .comment-form-rating label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--sk-ink, #0F1117);
}

/* Hide the default <select> for rating */
/* Hide WooCommerce default star elements (both the <select> and the JS-created .stars) */
.woocommerce #review_form .comment-form-rating select { display: none; }
.woocommerce #review_form .comment-form-rating .stars { display: none !important; }
.comment-form-rating p.stars { display: none !important; }

/* Custom star input */
.sk-stars-input {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.sk-stars-input__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--sk-line, #EFEFF2);
  cursor: pointer;
  transition: color 120ms ease, transform 120ms ease;
  border-radius: 4px;
}
.sk-stars-input__btn:hover { transform: scale(1.15); }
.sk-stars-input__btn:focus-visible {
  outline: 3px solid var(--sk-rose, #E8154C);
  outline-offset: 2px;
}

.sk-stars-input__btn svg { fill: currentColor; }
.sk-stars-input__btn--active { color: #F59E0B; }

/* Form fields */
.woocommerce div.product #respond .comment-form-author,
.woocommerce div.product #respond .comment-form-email,
.woocommerce div.product #respond .comment-form-field-input-author,
.woocommerce div.product #respond .comment-form-field-input-email {
  display: block;
  width: 100%;
}

.woocommerce div.product #respond label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--sk-ink, #0F1117);
}

.woocommerce div.product #respond input[type="text"],
.woocommerce div.product #respond input[type="email"],
.woocommerce div.product #respond textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--sk-line, #EFEFF2);
  border-radius: var(--sk-r-input, 10px);
  background: var(--sk-white, #fff);
  font-size: 16px;
  transition: border-color 160ms ease;
}
.woocommerce div.product #respond input[type="text"]:focus,
.woocommerce div.product #respond input[type="email"]:focus,
.woocommerce div.product #respond textarea:focus {
  border-color: var(--sk-rose, #E8154C);
  outline: 2px solid var(--sk-rose-soft, #FEE5E9);
  outline-offset: 0;
}

.woocommerce div.product #respond textarea {
  min-height: 120px;
  resize: vertical;
}

/* Submit button */
.woocommerce div.product #respond .form-submit input[type="submit"],
.woocommerce div.product #respond .form-submit button.submit {
  min-height: 48px;
  padding: 12px 32px;
  border: 0;
  border-radius: var(--sk-r-pill, 999px);
  background: var(--sk-rose, #E8154C);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 160ms ease, transform 120ms ease;
}
.woocommerce div.product #respond .form-submit input[type="submit"]:hover,
.woocommerce div.product #respond .form-submit button.submit:hover {
  background: var(--sk-rose-deep, #C00F3E);
}
.woocommerce div.product #respond .form-submit input[type="submit"]:active,
.woocommerce div.product #respond .form-submit button.submit:active {
  transform: translateY(1px);
}
.sk-btn--loading {
  opacity: 0.7;
  cursor: wait !important;
}

/* Inline error */
.sk-review-error {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  padding: 14px 18px;
  border-radius: var(--sk-r-input, 10px);
  background: var(--sk-rose-soft, #FEE5E9);
  color: var(--sk-rose-deep, #C00F3E);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}
.sk-review-error svg { flex: 0 0 auto; }

/* =====================================================================
   SUCCESS TOAST
   ===================================================================== */

.sk-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(24px);
  z-index: 99999;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 460px;
  width: calc(100% - 32px);
  padding: 18px 20px;
  border-radius: var(--sk-r-card, 14px);
  background: var(--sk-ink, #0F1117);
  color: #fff;
  box-shadow: 0 12px 40px rgba(15, 17, 23, 0.3);
  opacity: 0;
  transition: opacity 320ms cubic-bezier(.2,.7,.3,1),
              transform 320ms cubic-bezier(.2,.7,.3,1);
  pointer-events: none;
}
.sk-toast--show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.sk-toast--hiding {
  opacity: 0;
  transform: translateX(-50%) translateY(16px);
}

.sk-toast__icon {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #0F934E;
}

.sk-toast__body { flex: 1 1 0; }
.sk-toast__body strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}
.sk-toast__body span {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  opacity: 0.75;
  line-height: 1.4;
}

.sk-toast__close {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: -4px -4px -4px 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  cursor: pointer;
  transition: background 120ms ease;
}
.sk-toast__close:hover { background: rgba(255,255,255,0.22); }

/* =====================================================================
   DESCRIPTION TAB — refined typography
   ===================================================================== */

.woocommerce div.product #tab-description {
  max-width: 680px;
}

.woocommerce div.product #tab-description h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--sk-ink, #0F1117);
  margin: 0 0 16px;
}

.woocommerce div.product #tab-description h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--sk-ink, #0F1117);
  margin: 28px 0 10px;
}

.woocommerce div.product #tab-description ul,
.woocommerce div.product #tab-description ol {
  margin: 0 0 20px;
  padding-inline-start: 22px;
}

.woocommerce div.product #tab-description li {
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--sk-body, #5A5A63);
}

.woocommerce div.product #tab-description li::marker {
  color: var(--sk-rose, #E8154C);
}

/* =====================================================================
   ADDITIONAL INFORMATION TAB — richer spec card
   ===================================================================== */

/* Header above the attributes table */
.woocommerce div.product #tab-additional_information h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--sk-ink, #0F1117);
  margin: 0 0 18px;
}

.woocommerce div.product .woocommerce-tabs table.shop_attributes {
  width: 100%;
  max-width: 560px;
  border: 1px solid var(--sk-line, #EFEFF2);
  border-radius: var(--sk-r-card, 14px);
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  background: var(--sk-white, #fff);
}

.woocommerce div.product .woocommerce-tabs table.shop_attributes th,
.woocommerce div.product .woocommerce-tabs table.shop_attributes td {
  padding: 14px 18px;
  border: 0;
  border-top: 1px solid var(--sk-line, #EFEFF2);
  font-style: normal;
  line-height: 1.5;
  font-size: 15px;
}

.woocommerce div.product .woocommerce-tabs table.shop_attributes tr:first-child th,
.woocommerce div.product .woocommerce-tabs table.shop_attributes tr:first-child td {
  border-top: 0;
}

.woocommerce div.product .woocommerce-tabs table.shop_attributes th {
  width: 38%;
  background: var(--sk-cream, #FEF9F2);
  color: var(--sk-ink, #0F1117);
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}

.woocommerce div.product .woocommerce-tabs table.shop_attributes td {
  color: var(--sk-body, #5A5A63);
  font-weight: 500;
}
.woocommerce div.product .woocommerce-tabs table.shop_attributes td p {
  margin: 0;
  font-size: 15px;
}

/* =====================================================================
   GUIDE LINKS — "Reading before you buy" redesign
   ===================================================================== */

.sk-guidelinks {
  max-width: 1200px;
  margin: 56px auto 16px;
  padding: 32px 28px;
  border-radius: var(--sk-r-panel, 18px);
  border: 1px solid var(--sk-line, #EFEFF2);
  background: var(--sk-white, #fff);
}

.sk-guidelinks h2 {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 700;
  color: var(--sk-ink, #0F1117);
  margin: 0 0 6px;
}

.sk-guidelinks p {
  margin: 0 0 18px;
  color: var(--sk-muted, #76767F);
  font-size: 14px;
  line-height: 1.55;
}

.sk-guidelinks ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.sk-guidelinks li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--sk-r-input, 10px);
  border: 1px solid var(--sk-line, #EFEFF2);
  background: var(--sk-cream, #FEF9F2);
  color: var(--sk-ink, #0F1117);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.sk-guidelinks li a::before {
  content: "";
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sk-rose, #E8154C);
}

.sk-guidelinks li a:hover {
  border-color: var(--sk-rose, #E8154C);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(232, 21, 76, 0.08);
}

.sk-guidelinks li a:focus-visible {
  outline: 3px solid var(--sk-rose, #E8154C);
  outline-offset: 2px;
}

/* =====================================================================
   REVIEW — Staff avatar, owner badge, reply indent
   ===================================================================== */

.sk-review__avatar--staff {
  background: #DCF0EF;
  color: #0B6B6B;
}

.sk-review__avatar--logo {
  padding: 0;
  overflow: hidden;
  background: #fff;
}
.sk-review__avatar--logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
  display: block;
}

.sk-review__badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  background: #DCF0EF;
  color: #0B6B6B;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.sk-review--reply {
  margin-left: 32px;
  padding-left: 20px;
  border-left: 3px solid var(--sk-line, #EFEFF2);
}

/* =====================================================================
   REVIEW — Media grid (images + videos in review cards)
   ===================================================================== */

.sk-review__media {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.sk-review__media-item {
  position: relative;
  display: block;
  width: 96px;
  height: 96px;
  border-radius: var(--sk-r-input, 10px);
  overflow: hidden;
  background: var(--sk-cream, #FEF9F2);
  border: 1px solid var(--sk-line, #EFEFF2);
}

.sk-review__media-item img,
.sk-review__media-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sk-review__media-item--video {
  position: relative;
}

.sk-review__media-item--video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
  pointer-events: none;
}

.sk-review__media-item--video::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent #fff;
  z-index: 1;
  pointer-events: none;
}

/* =====================================================================
   REVIEW FORM — Media upload UI
   ===================================================================== */

.sk-upload {
  margin: 16px 0 0;
}

.sk-upload__label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--sk-ink, #0F1117);
}

.sk-upload__hint {
  font-weight: 400;
  color: var(--sk-muted, #76767F);
}

.sk-upload__drop {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: 16px;
  border: 2px dashed var(--sk-line, #EFEFF2);
  border-radius: var(--sk-r-input, 10px);
  background: var(--sk-cream, #FEF9F2);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}

.sk-upload__drop:hover,
.sk-upload__drop--over {
  border-color: var(--sk-rose, #E8154C);
  background: rgba(232, 21, 76, 0.03);
}

.sk-upload__drop:focus-visible {
  outline: 3px solid var(--sk-rose, #E8154C);
  outline-offset: 2px;
}

.sk-upload__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.sk-upload__prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--sk-muted, #76767F);
  pointer-events: none;
}

.sk-upload__prompt span {
  font-size: 14px;
  font-weight: 500;
}

.sk-upload__previews {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.sk-upload__previews:empty {
  margin-top: 0;
}

.sk-upload__preview-item {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--sk-line, #EFEFF2);
  background: var(--sk-cream, #FEF9F2);
}

.sk-upload__preview-item img,
.sk-upload__preview-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sk-upload__preview-item--video .sk-upload__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0,0,0,0.45);
  color: #fff;
  pointer-events: none;
}

.sk-upload__remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  color: #fff;
  cursor: pointer;
  padding: 0;
  opacity: 0;
  transition: opacity 120ms ease;
}

.sk-upload__preview-item:hover .sk-upload__remove {
  opacity: 1;
}

@media (hover: none) {
  .sk-upload__remove { opacity: 1; }
}

.sk-upload__count {
  font-size: 13px;
  font-weight: 600;
  color: var(--sk-muted, #76767F);
}

/* =====================================================================
   MOBILE — product tabs, reviews, form, guides
   ===================================================================== */

@media (max-width: 768px) {
  .woocommerce div.product .woocommerce-tabs { margin-top: 34px; }
  .woocommerce div.product .woocommerce-tabs ul.tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .woocommerce div.product .woocommerce-tabs ul.tabs li a {
    padding: 12px 14px;
    white-space: nowrap;
  }
  .woocommerce div.product .woocommerce-tabs .panel { padding-top: 22px; }
  .woocommerce div.product #tab-description > p:first-of-type { font-size: 17px; }
  .woocommerce div.product #tab-description { max-width: none; }
  .woocommerce div.product .woocommerce-tabs table.shop_attributes th { width: 42%; }

  /* Review form: stack name + email on mobile */
  .woocommerce div.product #respond .comment-form-author,
  .woocommerce div.product #respond .comment-form-email {
    display: block;
    width: 100%;
    margin-right: 0;
  }

  .sk-review { gap: 12px; }
  .sk-review__avatar { flex: 0 0 38px; width: 38px; height: 38px; font-size: 16px; }

  .sk-guidelinks { margin: 36px 0 8px; padding: 22px 18px; }
  .sk-guidelinks ul { grid-template-columns: 1fr; }

  .sk-review--reply { margin-left: 16px; padding-left: 14px; }
  .sk-review__media-item { width: 72px; height: 72px; }
  .sk-upload__preview-item { width: 64px; height: 64px; }

  .sk-toast { bottom: 16px; }
}