/* ============================================================
   Demolition Masters — shop layer

   Loaded only on WooCommerce pages, after woocommerce-layout.css.
   Woo's woocommerce.css and woocommerce-smallscreen.css are dequeued,
   so everything a shop page needs beyond the structural layout sheet
   is defined here — built from the site's existing tokens so dark
   mode flips for free.
   ============================================================ */



/* ------------------------------------------------------------
   Shop shell
   ------------------------------------------------------------ */
.dm-shop { position: relative; }
.dm-shop .woocommerce-notices-wrapper:empty { display: none; }

.dm-shop-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--mist);
}
.woocommerce-result-count {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--ink-faint);
}
.woocommerce-ordering { margin: 0; }
.woocommerce-ordering select {
    background: var(--bone);
    border: 1px solid var(--mist);
    border-radius: 4px;
    padding: 10px 14px;
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-text);
    cursor: pointer;
}
.woocommerce-ordering select:focus {
    border-color: var(--green);
    outline: none;
    box-shadow: 0 0 0 0.2rem var(--green-tint-l);
}

/* ------------------------------------------------------------
   Product grid — .project-card visual language
   ------------------------------------------------------------ */
.dm-product-grid { margin-top: 30px; }
.dm-product-card { position: relative; }
.dm-product-card .dm-product-media {
    display: block;
    text-decoration: none;
    color: inherit;
}
.dm-product-card .project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.dm-product-card .project-card-title { margin-bottom: 10px; }
.dm-product-card .project-card-title a {
    color: inherit;
    text-decoration: none;
}
.dm-product-card:hover .project-card-title a { color: var(--green); }
.project-card-tag.dm-tag-muted {
    background: var(--ash);
    color: #fff;
}

.dm-product-price {
    font-family: 'Big Shoulders Display', sans-serif;
    font-weight: 900;
    font-size: 1.6rem;
    line-height: 1;
    color: var(--green);
    margin: 0 0 10px;
    letter-spacing: 0.01em;
}
.dm-product-price del {
    color: var(--ink-faint);
    font-size: 0.7em;
    margin-right: 8px;
    text-decoration: line-through;
}
.dm-product-price ins {
    background: none;
    text-decoration: none;
    color: var(--green);
}
.dm-product-price .woocommerce-Price-currencySymbol { font-size: 0.72em; }
.dm-product-price small.woocommerce-price-suffix,
.dm-product-price .woocommerce-price-suffix {
    display: block;
    margin-top: 4px;
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--ink-faint);
}

.dm-product-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: var(--ink-muted);
    margin: 0 0 16px;
}
.dm-product-actions {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
.dm-product-actions .added_to_cart {
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--green);
}
.dm-product-actions .added_to_cart:hover { color: var(--green-deep); }

/* Woo's own sale flash, wherever it still renders */
.woocommerce span.onsale {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    background: var(--green);
    color: #fff;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 10px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 3px;
}

.dm-shop-intro { margin-bottom: 30px; }
.dm-shop-intro > .page-description > p:last-child { margin-bottom: 0; }

.dm-shop-empty {
    padding: 30px 0 10px;
    text-align: center;
}
.dm-shop-empty .display-title { margin-bottom: 14px; }
.dm-shop-empty a { color: var(--green); font-weight: 700; }

/* ------------------------------------------------------------
   Buttons — the .btn-green look, applied to Woo's own classes
   ------------------------------------------------------------ */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce-page a.button,
.woocommerce-page button.button,
.woocommerce-page input.button,
.dm-shop .button {
    background: var(--green);
    color: #fff;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-size: 12px;
    padding: 13px 24px;
    border-radius: 4px;
    border: 2px solid var(--green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    cursor: pointer;
    line-height: 1.2;
    transition: all 0.25s ease;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce-page a.button:hover,
.woocommerce-page button.button:hover,
.woocommerce-page input.button:hover,
.dm-shop .button:hover {
    background: var(--green-deep);
    border-color: var(--green-deep);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-glow);
}
.woocommerce a.button.disabled,
.woocommerce button.button:disabled,
.woocommerce button.button:disabled[disabled],
.woocommerce input.button:disabled {
    background: var(--mist-2);
    border-color: var(--mist-2);
    color: var(--ink-faint);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
/* Secondary actions: "Update cart", "Continue shopping" */
.woocommerce button.button[name="update_cart"],
.woocommerce a.button.wc-backward,
.woocommerce a.button.wc-forward:not(.checkout) {
    background: transparent;
    color: var(--ink-text);
    border-color: var(--mist-2);
}
.woocommerce button.button[name="update_cart"]:hover,
.woocommerce a.button.wc-backward:hover,
.woocommerce a.button.wc-forward:not(.checkout):hover {
    background: transparent;
    border-color: var(--green);
    color: var(--green);
    box-shadow: none;
}
.woocommerce a.button.checkout-button,
.woocommerce button.button.alt,
.woocommerce #place_order {
    width: 100%;
    padding: 16px 24px;
    font-size: 13px;
}

/* ------------------------------------------------------------
   Notices
   ------------------------------------------------------------ */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews {
    list-style: none;
    background: var(--bone-2);
    border-left: 3px solid var(--green);
    border-radius: 4px;
    padding: 16px 20px;
    margin: 0 0 24px;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    color: var(--ink-text);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}
.woocommerce-message a.button,
.woocommerce-info a.button,
.woocommerce-error a.button {
    margin-left: auto;
    padding: 9px 18px;
    font-size: 11px;
}
.woocommerce-error {
    border-left-color: #c0392b;
}
.woocommerce-error li { list-style: none; }
.woocommerce form .form-row.woocommerce-invalid input.input-text,
.woocommerce form .form-row.woocommerce-invalid select {
    border-color: #c0392b;
}

/* ------------------------------------------------------------
   Single product
   ------------------------------------------------------------ */
/* Child selector, not descendant: the related-products cards below also carry
   the .product class and must not turn into two-column grids. */
.dm-product-single > .product {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}
.dm-product-single .woocommerce-product-gallery,
.dm-product-single .summary {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    clear: none !important;
}
.dm-product-single > .product > .woocommerce-tabs,
.dm-product-single > .product > .related,
.dm-product-single > .product > .upsells {
    grid-column: 1 / -1;
}
/* Float clears have no job inside a grid, and would eat a whole cell. */
.dm-product-single > .product > .clear { display: none; }

.dm-product-single .woocommerce-product-gallery {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    background: var(--bone-2);
}
.dm-product-single .woocommerce-product-gallery__wrapper { margin: 0; }
.dm-product-single .woocommerce-product-gallery img { width: 100%; height: auto; }
/* Before flexslider initialises, only the first frame should be visible. */
.woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:not(:first-child) { display: none; }
.flex-viewport .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image { display: block; }
.dm-product-single .flex-control-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    list-style: none;
    margin: 12px 0 0;
    padding: 0 12px 12px;
}
.dm-product-single .flex-control-thumbs li { margin: 0; }
.dm-product-single .flex-control-thumbs img {
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.55;
    transition: opacity 0.25s;
}
.dm-product-single .flex-control-thumbs img.flex-active,
.dm-product-single .flex-control-thumbs img:hover { opacity: 1; }
.dm-product-single .woocommerce-product-gallery__trigger {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--paper);
    color: var(--ink-text);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
    text-decoration: none;
    font-size: 15px;
}

.dm-product-title {
    font-family: 'Big Shoulders Display', sans-serif;
    font-weight: 900;
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
    line-height: 0.95;
    text-transform: uppercase;
    color: var(--ink-text);
    margin: 0 0 6px;
}
.dm-product-sku {
    display: block;
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin-bottom: 18px;
}
.dm-product-single .summary .price {
    font-family: 'Big Shoulders Display', sans-serif;
    font-weight: 900;
    font-size: 2.4rem;
    line-height: 1;
    color: var(--green);
    margin: 0 0 6px;
    display: block;
}
.dm-product-single .summary .price del { color: var(--ink-faint); font-size: 0.65em; margin-right: 10px; }
.dm-product-single .summary .price ins { background: none; text-decoration: none; color: var(--green); }
.dm-product-single .summary .price .woocommerce-price-suffix,
.dm-product-single .summary .price small {
    display: block;
    margin-top: 6px;
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--ink-faint);
}
.dm-product-single .woocommerce-product-details__short-description {
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink-muted);
    padding: 18px 0;
    margin: 12px 0 20px;
    border-top: 1px solid var(--mist);
    border-bottom: 1px solid var(--mist);
}
.dm-product-single .stock.in-stock,
.dm-product-single .stock.available-on-backorder {
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--green);
    margin: 0 0 14px;
}
.dm-product-single .stock.out-of-stock { color: #c0392b; }
.dm-product-single .product_meta {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--mist);
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    color: var(--ink-muted);
}
.dm-product-single .product_meta > span { display: block; margin-bottom: 6px; }
.dm-product-single .product_meta a { color: var(--green); }

/* Quantity + add to cart */
.woocommerce .quantity {
    display: inline-flex;
    align-items: center;
}
.woocommerce .quantity .qty {
    width: 84px;
    background: var(--bone);
    border: 1px solid var(--mist);
    border-radius: 4px;
    padding: 12px 10px;
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    color: var(--ink-text);
}
.woocommerce .quantity .qty:focus {
    border-color: var(--green);
    outline: none;
    box-shadow: 0 0 0 0.2rem var(--green-tint-l);
}
.dm-product-single form.cart {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 0 0 8px;
}
.dm-product-single form.cart.variations_form { display: block; }
.dm-product-single form.cart .button { padding: 15px 30px; }

/* Variations */
.dm-product-single table.variations {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 18px;
}
.dm-product-single table.variations th,
.dm-product-single table.variations td {
    display: block;
    text-align: left;
    padding: 0;
}
.dm-product-single table.variations th.label label {
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin: 0 0 8px;
    display: block;
}
.dm-product-single table.variations td.value { margin-bottom: 14px; }
.dm-product-single table.variations select {
    width: 100%;
    max-width: 320px;
    background: var(--bone);
    border: 1px solid var(--mist);
    border-radius: 4px;
    padding: 13px 16px;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    color: var(--ink-text);
}
.dm-product-single table.variations select:focus {
    border-color: var(--green);
    outline: none;
    box-shadow: 0 0 0 0.2rem var(--green-tint-l);
}
.dm-product-single .reset_variations {
    display: inline-block;
    margin-top: 8px;
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--ink-faint);
}
.dm-product-single .reset_variations:hover { color: var(--green); }
.dm-product-single .woocommerce-variation-price { margin-bottom: 14px; }
.dm-product-single .woocommerce-variation-price .price {
    font-size: 1.9rem;
}
.dm-product-single .woocommerce-variation-add-to-cart {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

/* Tabs */
.woocommerce-tabs { margin-top: 60px; }
.woocommerce-tabs ul.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    margin: 0 0 26px;
    padding: 0 0 2px;
    border-bottom: 1px solid var(--mist);
}
.woocommerce-tabs ul.tabs li { margin: 0; }
.woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 12px 20px;
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--ink-faint);
    border-bottom: 2px solid transparent;
}
.woocommerce-tabs ul.tabs li.active a,
.woocommerce-tabs ul.tabs li a:hover {
    color: var(--green);
    border-bottom-color: var(--green);
}
.woocommerce-tabs .panel > h2 {
    font-family: 'Big Shoulders Display', sans-serif;
    font-weight: 900;
    font-size: 1.6rem;
    text-transform: uppercase;
    color: var(--ink-text);
    margin: 0 0 16px;
}
.woocommerce-tabs .panel p { color: var(--ink-muted); }
.woocommerce-tabs table.shop_attributes th { width: 220px; }

/* Related products */
.dm-product-single .related > h2,
.dm-product-single .upsells > h2,
.woocommerce .cart-collaterals .cross-sells > h2 {
    font-family: 'Big Shoulders Display', sans-serif;
    font-weight: 900;
    font-size: 1.9rem;
    text-transform: uppercase;
    color: var(--ink-text);
    margin: 60px 0 0;
}

/* Reviews */
.woocommerce #reviews #comments ol.commentlist { list-style: none; padding: 0; margin: 0; }
.woocommerce #reviews .comment_container {
    display: flex;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--mist);
}
.woocommerce #reviews img.avatar { width: 48px; height: 48px; border-radius: 50%; }
.woocommerce #reviews .star-rating,
.woocommerce .star-rating { color: var(--green); }
.woocommerce #review_form .comment-form-rating,
.woocommerce #review_form .comment-form-comment { margin-bottom: 16px; }

/* ------------------------------------------------------------
   Tables — cart, checkout review, order details
   ------------------------------------------------------------ */
.woocommerce table.shop_table {
    width: 100%;
    border-collapse: collapse;
    background: var(--paper);
    border: 1px solid var(--mist);
    border-radius: 8px;
    overflow: hidden;
    margin: 0 0 30px;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
}
.woocommerce table.shop_table th {
    text-align: left;
    padding: 14px 16px;
    background: var(--bone);
    border-bottom: 1px solid var(--mist);
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--ink-faint);
}
.woocommerce table.shop_table td {
    padding: 16px;
    border-bottom: 1px solid var(--mist);
    color: var(--ink-text);
    vertical-align: middle;
}
.woocommerce table.shop_table tbody tr:last-child td { border-bottom: none; }
.woocommerce table.shop_table td.product-thumbnail img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 4px;
}
.woocommerce table.shop_table td.product-name a {
    color: var(--ink-text);
    font-weight: 700;
}
.woocommerce table.shop_table td.product-name a:hover { color: var(--green); }
.woocommerce table.shop_table td.product-name dl.variation {
    margin: 6px 0 0;
    font-size: 12px;
    color: var(--ink-muted);
}
.woocommerce table.shop_table td.product-name dl.variation dt,
.woocommerce table.shop_table td.product-name dl.variation dd {
    display: inline;
    margin: 0 4px 0 0;
}
.woocommerce table.shop_table td.product-name dl.variation p { margin: 0; display: inline; }
.woocommerce table.shop_table .product-remove a.remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--bone-2);
    color: var(--ink-faint);
    font-size: 16px;
    line-height: 1;
    text-decoration: none;
}
.woocommerce table.shop_table .product-remove a.remove:hover {
    background: #c0392b;
    color: #fff;
}
.woocommerce table.shop_table tfoot th,
.woocommerce table.shop_table tfoot td {
    background: var(--bone);
    font-weight: 700;
    color: var(--ink-text);
}
.woocommerce table.shop_table .order-total .amount,
.woocommerce table.shop_table tr.order-total td {
    font-family: 'Big Shoulders Display', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--green);
}
.woocommerce table.shop_attributes {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
}
.woocommerce table.shop_attributes th,
.woocommerce table.shop_attributes td {
    text-align: left;
    padding: 12px 14px;
    border-bottom: 1px solid var(--mist);
    color: var(--ink-text);
}
.woocommerce table.shop_attributes th {
    background: var(--bone);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}
.woocommerce table.shop_attributes td p { margin: 0; }

/* ------------------------------------------------------------
   Cart page
   ------------------------------------------------------------ */
.woocommerce-cart form.woocommerce-cart-form { margin-bottom: 10px; }
.woocommerce table.cart td.actions {
    padding: 18px 16px;
    background: var(--bone);
}
.woocommerce table.cart td.actions .coupon {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    float: none;
    margin-right: 14px;
}
.woocommerce table.cart td.actions .coupon label { display: none; }
.woocommerce #coupon_code,
.woocommerce table.cart td.actions input.input-text {
    width: 190px;
    background: var(--paper);
    border: 1px solid var(--mist);
    border-radius: 4px;
    padding: 12px 14px;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    color: var(--ink-text);
}
.woocommerce .cart-collaterals {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: 30px;
    align-items: start;
}
.woocommerce .cart-collaterals .cart_totals,
.woocommerce .cart-collaterals .cross-sells {
    float: none !important;
    width: auto !important;
}
.woocommerce .cart_totals {
    background: var(--paper);
    border: 1px solid var(--mist);
    border-radius: 8px;
    padding: 26px;
    box-shadow: var(--shadow-soft);
}
.woocommerce .cart_totals h2 {
    font-family: 'Big Shoulders Display', sans-serif;
    font-weight: 900;
    font-size: 1.6rem;
    text-transform: uppercase;
    color: var(--ink-text);
    margin: 0 0 18px;
}
.woocommerce .cart_totals table.shop_table {
    border: none;
    margin: 0 0 20px;
    background: transparent;
}
.woocommerce .cart_totals table.shop_table th,
.woocommerce .cart_totals table.shop_table td {
    background: transparent;
    padding: 12px 0;
}
.woocommerce .cart_totals .woocommerce-shipping-methods {
    list-style: none;
    margin: 0;
    padding: 0;
}
.woocommerce .cart_totals .woocommerce-shipping-methods li {
    margin: 0 0 6px;
    font-size: 13px;
}
.woocommerce .cart_totals .woocommerce-shipping-destination {
    font-size: 12px;
    color: var(--ink-faint);
}

/* ------------------------------------------------------------
   Checkout
   ------------------------------------------------------------ */
/* woocommerce-layout.css floats .col-1/.col-2 at 48%; Bootstrap gives the same
   class names an 8.33% grid width, so the checkout columns are rebuilt here. */
.woocommerce .col2-set,
.woocommerce-page .col2-set {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 34px;
    width: 100%;
}
.woocommerce .col2-set .col-1,
.woocommerce .col2-set .col-2,
.woocommerce-page .col2-set .col-1,
.woocommerce-page .col2-set .col-2 {
    float: none;
    width: 100%;
    max-width: 100%;
    flex: 0 0 auto;
    padding: 0;
    margin: 0;
}
.woocommerce-checkout h3,
.woocommerce-checkout #order_review_heading {
    font-family: 'Big Shoulders Display', sans-serif;
    font-weight: 900;
    font-size: 1.6rem;
    text-transform: uppercase;
    color: var(--ink-text);
    margin: 0 0 18px;
}
.woocommerce form .form-row { margin: 0 0 16px; }
.woocommerce form .form-row label {
    display: block;
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin: 0 0 6px;
}
.woocommerce form .form-row .required { color: var(--green); text-decoration: none; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce .select2-container .select2-selection--single {
    width: 100%;
    background: var(--bone);
    border: 1px solid var(--mist);
    border-radius: 4px;
    padding: 13px 16px;
    height: auto;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    color: var(--ink-text);
    transition: all 0.25s;
}
.woocommerce form .form-row textarea { min-height: 110px; resize: vertical; }
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
    background: var(--paper);
    border-color: var(--green);
    outline: none;
    box-shadow: 0 0 0 0.2rem var(--green-tint-l);
}
.woocommerce .select2-container .select2-selection__rendered {
    padding: 0;
    line-height: 1.4;
    color: var(--ink-text);
}
.woocommerce .select2-container .select2-selection--single { display: flex; align-items: center; }
.woocommerce .select2-container .select2-selection__arrow { top: 50%; transform: translateY(-50%); }

.woocommerce-checkout #order_review {
    background: var(--paper);
    border: 1px solid var(--mist);
    border-radius: 8px;
    padding: 26px;
    box-shadow: var(--shadow-soft);
}
.woocommerce-checkout #order_review table.shop_table {
    border: none;
    background: transparent;
    margin-bottom: 20px;
}
.woocommerce-checkout #payment {
    background: var(--bone);
    border-radius: 6px;
    padding: 20px;
}
.woocommerce-checkout #payment ul.payment_methods {
    list-style: none;
    margin: 0 0 18px;
    padding: 0 0 18px;
    border-bottom: 1px solid var(--mist);
}
.woocommerce-checkout #payment ul.payment_methods li { margin: 0 0 10px; }
.woocommerce-checkout #payment ul.payment_methods label {
    display: inline;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    color: var(--ink-text);
}
.woocommerce-checkout #payment div.payment_box {
    background: var(--bone-2);
    border-radius: 4px;
    padding: 14px 16px;
    margin: 10px 0 0;
    font-size: 13px;
    color: var(--ink-muted);
}
.woocommerce-checkout #payment .woocommerce-privacy-policy-text p {
    font-size: 12px;
    color: var(--ink-faint);
}
.woocommerce-terms-and-conditions-wrapper { margin-bottom: 14px; }

/* ------------------------------------------------------------
   Account, order received
   ------------------------------------------------------------ */
.woocommerce ul.woocommerce-order-overview,
.woocommerce ul.order_details {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    list-style: none;
    margin: 0 0 30px;
    padding: 22px;
    background: var(--bone);
    border-radius: 8px;
}
.woocommerce ul.order_details li {
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--ink-faint);
}
.woocommerce ul.order_details li strong {
    display: block;
    margin-top: 6px;
    font-family: 'Big Shoulders Display', sans-serif;
    font-size: 1.3rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: none;
    color: var(--ink-text);
}
.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.woocommerce-account .woocommerce-MyAccount-navigation li {
    border-bottom: 1px solid var(--mist);
}
.woocommerce-account .woocommerce-MyAccount-navigation li a {
    display: block;
    padding: 12px 0;
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink-text);
}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover { color: var(--green); }

/* ------------------------------------------------------------
   Pagination
   ------------------------------------------------------------ */
.woocommerce nav.woocommerce-pagination { margin-top: 40px; }
.woocommerce nav.woocommerce-pagination ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    border: none;
}
.woocommerce nav.woocommerce-pagination ul li { border: none; margin: 0; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 42px;
    justify-content: center;
    padding: 10px 14px;
    border: 1px solid var(--mist);
    border-radius: 4px;
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink-text);
    background: var(--paper);
}
.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
}

/* ------------------------------------------------------------
   Cart and checkout render inside page.php's .prose article, whose list
   styling would put a green tick beside every shipping method.
   ------------------------------------------------------------ */
.woocommerce-cart .prose ul,
.woocommerce-cart .prose ol,
.woocommerce-checkout .prose ul,
.woocommerce-checkout .prose ol,
.woocommerce-account .prose ul,
.woocommerce-account .prose ol,
.woocommerce-order-received .prose ul,
.woocommerce-order-received .prose ol {
    list-style: none;
    padding-left: 0;
    margin: 0 0 18px;
}
.woocommerce-cart .prose li,
.woocommerce-checkout .prose li,
.woocommerce-account .prose li,
.woocommerce-order-received .prose li {
    padding: 0;
    border-bottom: none;
    color: inherit;
}
.woocommerce-cart .prose li::before,
.woocommerce-checkout .prose li::before,
.woocommerce-account .prose li::before,
.woocommerce-order-received .prose li::before {
    content: none;
    display: none;
}
.woocommerce-cart .prose h2,
.woocommerce-checkout .prose h2,
.woocommerce-account .prose h2,
.woocommerce-order-received .prose h2 {
    border-bottom: none;
    padding-bottom: 0;
}
.woocommerce-cart .prose h2::after,
.woocommerce-checkout .prose h2::after,
.woocommerce-account .prose h2::after,
.woocommerce-order-received .prose h2::after { content: none; }

/* ------------------------------------------------------------
   Dark mode
   The palette tokens flip on their own; these are the surfaces that
   were pinned to a light value.
   ------------------------------------------------------------ */
[data-theme="dark"] .dm-product-card { background: #1a1b1d; }
[data-theme="dark"] .woocommerce table.shop_table,
[data-theme="dark"] .woocommerce .cart_totals,
[data-theme="dark"] .woocommerce-checkout #order_review,
[data-theme="dark"] .woocommerce nav.woocommerce-pagination ul li a,
[data-theme="dark"] .woocommerce nav.woocommerce-pagination ul li span,
[data-theme="dark"] .dm-product-single .woocommerce-product-gallery__trigger {
    background: #1a1b1d;
}
[data-theme="dark"] .woocommerce table.shop_table th,
[data-theme="dark"] .woocommerce table.shop_table tfoot th,
[data-theme="dark"] .woocommerce table.shop_table tfoot td,
[data-theme="dark"] .woocommerce table.cart td.actions,
[data-theme="dark"] .woocommerce table.shop_attributes th,
[data-theme="dark"] .woocommerce-checkout #payment,
[data-theme="dark"] .woocommerce ul.order_details {
    background: #202123;
}
[data-theme="dark"] .woocommerce-message,
[data-theme="dark"] .woocommerce-info,
[data-theme="dark"] .woocommerce-error,
[data-theme="dark"] .woocommerce-checkout #payment div.payment_box {
    background: #1a1b1d;
}
[data-theme="dark"] .woocommerce #coupon_code,
[data-theme="dark"] .woocommerce table.cart td.actions input.input-text {
    background: #16171a;
}

[data-theme="dark"] .woocommerce a.button.disabled,
[data-theme="dark"] .woocommerce button.button:disabled,
[data-theme="dark"] .woocommerce input.button:disabled {
    color: var(--ink-muted);
}

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
@media (max-width: 991px) {
    .dm-product-single > .product { grid-template-columns: 1fr; gap: 32px; }
    .woocommerce .cart-collaterals { grid-template-columns: 1fr; }
    .woocommerce .col2-set,
    .woocommerce-page .col2-set { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 767px) {
    .dm-shop-toolbar { flex-direction: column; align-items: flex-start; }
    .woocommerce-ordering select { width: 100%; }

    /* Stacked cart rows: the header row goes, each cell labels itself. */
    .woocommerce table.shop_table_responsive thead { display: none; }
    .woocommerce table.shop_table_responsive tbody tr {
        display: block;
        border-bottom: 1px solid var(--mist);
        padding: 12px 0;
    }
    .woocommerce table.shop_table_responsive tbody tr:last-child { border-bottom: none; }
    .woocommerce table.shop_table_responsive tbody td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        border: none;
        padding: 8px 16px;
        text-align: right;
    }
    .woocommerce table.shop_table_responsive tbody td::before {
        content: attr(data-title);
        font-family: 'Manrope', sans-serif;
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 1.2px;
        text-transform: uppercase;
        color: var(--ink-faint);
    }
    .woocommerce table.shop_table_responsive tbody td.product-remove::before,
    .woocommerce table.shop_table_responsive tbody td.actions::before { content: none; }
    .woocommerce table.shop_table_responsive tbody td.actions {
        display: block;
        text-align: left;
    }
    .woocommerce table.cart td.actions .coupon {
        display: flex;
        margin: 0 0 12px;
    }
    .woocommerce #coupon_code { width: 100%; }
    .woocommerce table.cart td.actions .button { width: 100%; }

    .dm-product-single .summary .price { font-size: 2rem; }
    .woocommerce-tabs ul.tabs li a { padding: 10px 14px; }
}
