/*
Theme Name: Maryna Voroshylo Art
Theme URI: https://marynavoroshyloart.com
Author: Demyd Hanenko
Author URI: https://www.hanenko.com
Description: Custom WooCommerce theme for Maryna Voroshylo Art - contemporary oil paintings
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
Text Domain: maryna-voroshylo-art
Domain Path: /languages
WooCommerce tested up to: 9.5
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* ==================================================
   Core Styles
   ================================================== */

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lora', Georgia, serif;
}

/* Global: no border-radius on ANY button or input */
input,
textarea,
select,
button,
a.button,
.button,
.btn,
a[class*="bg-brand-teal"],
a[class*="border-brand-teal"],
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce .button,
.wp-element-button,
.wc-block-components-button,
[class*="wp-block"] a,
[class*="wp-block"] button,
.wp-block-button__link,
.wp-block-button .wp-block-button__link,
.rounded,
.rounded-lg,
.rounded-md {
  border-radius: 0 !important;
}

.rounded-full:not(.cart-count) {
  border-radius: 0 !important;
}

/* Keep cart count badge rounded */
.cart-count {
  border-radius: 9999px !important;
}

/* Force WP admin bar to stay fixed on scroll */
#wpadminbar {
  position: fixed !important;
}

/* Fix WP admin bar overlapping fixed header */
body.admin-bar header.fixed {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar header.fixed {
    top: 46px;
  }
}

/* Remove default list styles from navigation menu items */
header nav li {
  list-style: none;
  display: inline;
}

/* ==================================================
   Mobile Menu
   ================================================== */

.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.mobile-menu.open {
  max-height: 100vh;
  min-height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ==================================================
   Gallery Styles
   ================================================== */

/* Masonry Gallery Grid */
.gallery-masonry {
  --gallery-masonry-gap: 4px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gallery-masonry-gap);
  padding: 0 24px;
  align-items: start;
}

@media (min-width: 768px) {
  .gallery-masonry {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 0 48px;
  }
}

.gallery-masonry-item {
  width: 100%;
  overflow: hidden;
}

.gallery-masonry-column {
  display: flex;
  flex-direction: column;
  gap: var(--gallery-masonry-gap);
}

.gallery-masonry-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* Thumbnail Gallery (legacy class) */
.gallery-thumbnails {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.gallery-thumbnail {
  width: 80px;
  height: 80px;
  border: 2px solid transparent;
  border-radius: 0.375rem;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.3s ease, opacity 0.3s ease;
  opacity: 0.6;
}

.gallery-thumbnail:hover {
  opacity: 1;
}

.gallery-thumbnail.active {
  border-color: #2d7188;
  opacity: 1;
}

.gallery-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Product page vertical thumbnail strip */
.thumbnail-gallery::-webkit-scrollbar {
  width: 3px;
}

.thumbnail-gallery::-webkit-scrollbar-track {
  background: transparent;
}

.thumbnail-gallery::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 3px;
}

.thumbnail-gallery::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

/* Firefox scrollbar */
.thumbnail-gallery {
  scrollbar-width: thin;
  scrollbar-color: #d1d5db transparent;
}

/* ==================================================
   WooCommerce Overrides
   ================================================== */

/* Remove default WooCommerce styles that conflict */
.woocommerce ul.products {
  display: grid;
}

.woocommerce ul.products li.product {
  margin-bottom: 0;
}

/* Product Grid Cleanup */
.woocommerce-loop-product__title {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.125rem;
  font-weight: 500;
  text-transform: none;
  margin: 1rem 0 0.5rem 0;
}

.woocommerce-loop-product__rating {
  display: none;
}

.price {
  font-family: 'Lora', Georgia, serif;
  font-size: 1rem;
  font-weight: 400;
  color: #374151;
  margin: 0.5rem 0 1rem 0;
}

/* Product Page */
.product {
  background: transparent;
}

.product .product-title {
  font-family: 'Lora', Georgia, serif;
  font-size: 2rem;
  font-weight: 600;
  text-transform: none;
  margin-bottom: 1rem;
}

.product .price {
  font-size: 1.125rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
}

/* Variable product: stack label and dropdown vertically */
table.variations,
table.variations tbody,
table.variations tbody tr,
table.variations tbody tr th,
table.variations tbody tr td {
  display: block;
  width: 100%;
}

table.variations {
  border: none;
}

table.variations tbody tr th.label {
  padding: 0 0 0.375rem 0;
  text-align: left;
}

table.variations tbody tr th.label label {
  font-family: 'Lora', Georgia, serif;
  font-weight: 500;
  font-size: 0.875rem;
  color: #374151;
}

table.variations tbody tr td.value {
  padding: 0 0 1rem 0;
}

/* Hide "Clear" link, quantity input, and variation price on variable products */
table.variations .reset_variations,
.woocommerce-variation-add-to-cart .quantity,
.woocommerce-variation .woocommerce-variation-price {
  display: none !important;
}

/* Hide variation add-to-cart until a variation is chosen */
.woocommerce .single_variation_wrap {
  display: none !important;
}

.woocommerce .single_variation_wrap.is-visible {
  display: block !important;
}

/* Add to Cart Button */
.single-product .single_add_to_cart_button,
.woocommerce-variation-add-to-cart input.button {
  background-color: #2d7188;
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 0;
  font-family: 'Lora', Georgia, serif;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.single-product .single_add_to_cart_button:hover,
.woocommerce-variation-add-to-cart input.button:hover {
  background-color: #245a6d;
}

.woocommerce-grouped-form {
  margin: 2rem 0;
}

/* Place Order & Proceed to Checkout buttons (WooCommerce Blocks) */
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button,
.wp-element-button.wc-block-cart__submit-button,
.wp-element-button.wc-block-components-checkout-place-order-button {
  background-color: #2d7188 !important;
  color: white !important;
  border: none !important;
  padding: 0.75rem 2rem !important;
  border-radius: 0 !important;
  font-family: 'Lora', Georgia, serif !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: background-color 0.3s ease !important;
  width: auto !important;
  display: inline-block !important;
  text-align: center !important;
  text-decoration: none !important;
}

.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover,
.wp-element-button.wc-block-cart__submit-button:hover,
.wp-element-button.wc-block-components-checkout-place-order-button:hover {
  background-color: #245a6d !important;
}

/* Classic WooCommerce fallback */
#place_order,
.wc-proceed-to-checkout .checkout-button {
  background-color: #2d7188 !important;
  color: white !important;
  border: none !important;
  padding: 0.75rem 2rem !important;
  border-radius: 0 !important;
  font-family: 'Lora', Georgia, serif !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: background-color 0.3s ease !important;
  width: 100% !important;
  display: block !important;
  text-align: center !important;
}

#place_order:hover,
.wc-proceed-to-checkout .checkout-button:hover {
  background-color: #245a6d !important;
}

/* Checkout form row spacing (WooCommerce Blocks) */
.wc-block-components-address-form__country,
.wc-block-components-country-input {
  margin-top: 12px !important;
}

/* ==================================================
   Classic WooCommerce Checkout
   ================================================== */

/* Checkout page container (form, not body) */
form.woocommerce-checkout {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* Section headings (Billing details, etc.) */
.woocommerce-checkout h3,
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields h3,
.woocommerce-checkout .woocommerce-additional-fields h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: #111827;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e5e7eb;
}

/* Form field wrappers — flex layout */
.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper,
.woocommerce-additional-fields__field-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.woocommerce-billing-fields__field-wrapper .form-row,
.woocommerce-shipping-fields__field-wrapper .form-row,
.woocommerce-additional-fields__field-wrapper .form-row {
  margin-bottom: 0;
}

.woocommerce-billing-fields__field-wrapper .form-row-first,
.woocommerce-billing-fields__field-wrapper .form-row-last,
.woocommerce-shipping-fields__field-wrapper .form-row-first,
.woocommerce-shipping-fields__field-wrapper .form-row-last {
  flex: 1 1 calc(50% - 8px);
  min-width: 0;
}

.woocommerce-billing-fields__field-wrapper .form-row-wide,
.woocommerce-shipping-fields__field-wrapper .form-row-wide,
.woocommerce-additional-fields__field-wrapper .form-row-wide {
  flex: 1 1 100%;
}

@media (max-width: 480px) {
  .woocommerce-billing-fields__field-wrapper .form-row-first,
  .woocommerce-billing-fields__field-wrapper .form-row-last,
  .woocommerce-shipping-fields__field-wrapper .form-row-first,
  .woocommerce-shipping-fields__field-wrapper .form-row-last {
    flex: 1 1 100%;
  }
}

/* Labels */
.woocommerce-checkout .form-row label {
  display: block;
  font-family: 'Lora', Georgia, serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.375rem;
}

/* Required asterisk */
.woocommerce-checkout .form-row label .required {
  color: #2d7188;
  font-weight: 400;
}

/* Text inputs, email, tel, textareas */
.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout input[type="password"],
.woocommerce-checkout input[type="number"],
.woocommerce-checkout textarea,
.woocommerce-checkout .input-text {
  width: 100%;
  padding: 0.625rem 0.875rem;
  font-family: 'Lora', Georgia, serif;
  font-size: 0.9375rem;
  color: #111827;
  background: #fff;
  border: 1px solid #d1d5db;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
          appearance: none;
}

.woocommerce-checkout input[type="text"]:focus,
.woocommerce-checkout input[type="email"]:focus,
.woocommerce-checkout input[type="tel"]:focus,
.woocommerce-checkout input[type="password"]:focus,
.woocommerce-checkout input[type="number"]:focus,
.woocommerce-checkout textarea:focus,
.woocommerce-checkout .input-text:focus {
  outline: none;
  border-color: #2d7188;
  box-shadow: 0 0 0 2px rgba(45, 113, 136, 0.15);
}

/* Placeholder */
.woocommerce-checkout input::placeholder,
.woocommerce-checkout textarea::placeholder {
  color: #9ca3af;
  font-style: normal;
}

/* Select dropdowns */
.woocommerce-checkout select,
.woocommerce-checkout .country_select,
.woocommerce-checkout .state_select {
  width: 100%;
  padding: 0.625rem 0.875rem;
  font-family: 'Lora', Georgia, serif;
  font-size: 0.9375rem;
  color: #111827;
  background: #fff;
  border: 1px solid #d1d5db;
  -webkit-appearance: none;
          appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23374151' d='M6 8.825L0.575 3.4l.85-.85L6 7.125 10.575 2.55l.85.85z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  padding-right: 2.5rem;
  transition: border-color 0.2s ease;
}

.woocommerce-checkout select:focus {
  outline: none;
  border-color: #2d7188;
  box-shadow: 0 0 0 2px rgba(45, 113, 136, 0.15);
}

/* SelectWoo / Select2 (country & state dropdowns) */
.woocommerce-checkout .select2-container {
  width: 100% !important;
}

.woocommerce-checkout .select2-container--default .select2-selection--single {
  height: auto;
  padding: 0.625rem 0.875rem;
  font-family: 'Lora', Georgia, serif;
  font-size: 0.9375rem;
  color: #111827;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 0 !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.woocommerce-checkout .select2-container--default .select2-selection--single:focus,
.woocommerce-checkout .select2-container--default.select2-container--open .select2-selection--single {
  border-color: #2d7188;
  box-shadow: 0 0 0 2px rgba(45, 113, 136, 0.15);
  outline: none;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
  padding: 0;
  line-height: normal;
  color: #111827;
  font-family: 'Lora', Georgia, serif;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: #9ca3af;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100%;
  top: 0;
  right: 0.625rem;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: #374151 transparent transparent transparent;
}

.woocommerce-checkout .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
  border-color: transparent transparent #374151 transparent;
}

/* Select2 dropdown panel */
.select2-container--default .select2-dropdown {
  border: 1px solid #d1d5db;
  border-radius: 0 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  font-family: 'Lora', Georgia, serif;
  font-size: 0.9375rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0 !important;
  outline: none;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
  border-color: #2d7188;
}

.select2-container--default .select2-results__option {
  font-family: 'Lora', Georgia, serif;
  font-size: 0.9375rem;
  padding: 0.5rem 0.75rem;
  color: #374151;
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: #2d7188;
  color: #fff;
}

.select2-container--default .select2-results__option[aria-selected="true"] {
  background-color: #f0f9ff;
  color: #111827;
}

/* Checkbox rows ("Ship to a different address?") */
.woocommerce-checkout .woocommerce-shipping-fields .shipping_address {
  margin-top: 0.5rem;
}

.woocommerce-checkout #ship-to-different-address label,
.woocommerce-checkout .woocommerce-form__label-for-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Lora', Georgia, serif;
  font-size: 0.9375rem;
  color: #374151;
  cursor: pointer;
}

.woocommerce-checkout input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  accent-color: #2d7188;
}

/* Additional fields (order notes) */
.woocommerce-additional-fields {
  margin-top: 2rem;
}

.woocommerce-additional-fields .form-row,
.woocommerce-additional-fields .form-row-wide {
  width: 100% !important;
  flex-basis: 100% !important;
}

.woocommerce-additional-fields textarea,
.woocommerce-additional-fields .input-text {
  width: 100% !important;
  box-sizing: border-box;
}

.woocommerce-checkout textarea {
  min-height: 100px;
  resize: vertical;
}

/* Order notes label  */
.woocommerce-checkout .woocommerce-additional-fields .form-row label span.optional {
  font-weight: 400;
  color: #9ca3af;
  font-size: 0.8125rem;
}

/* ---- Order review table ---- */
.woocommerce-checkout #order_review_heading {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: #111827;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e5e7eb;
}

.woocommerce-checkout-review-order-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Lora', Georgia, serif;
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
  text-align: left;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f3f4f6;
  color: #374151;
}

.woocommerce-checkout-review-order-table thead th {
  font-weight: 600;
  color: #111827;
  border-bottom: 1px solid #e5e7eb;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.woocommerce-checkout-review-order-table .cart_item td {
  vertical-align: top;
}

.woocommerce-checkout-review-order-table .cart_item .product-name {
  font-weight: 400;
}

.woocommerce-checkout-review-order-table .cart_item .product-total {
  text-align: right;
  font-weight: 500;
}

.woocommerce-checkout-review-order-table tfoot th {
  font-weight: 500;
}

.woocommerce-checkout-review-order-table tfoot td {
  text-align: right;
  font-weight: 500;
}

.woocommerce-checkout-review-order-table tfoot .order-total th,
.woocommerce-checkout-review-order-table tfoot .order-total td {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  border-bottom: none;
  padding-top: 1rem;
  border-top: 2px solid #e5e7eb;
}

/* ---- Payment methods ---- */
.woocommerce-checkout #payment {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.woocommerce-checkout #payment ul.payment_methods {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem 0;
}

.woocommerce-checkout #payment ul.payment_methods li {
  padding: 0.875rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.woocommerce-checkout #payment ul.payment_methods li:last-child {
  border-bottom: none;
}

.woocommerce-checkout #payment ul.payment_methods li label {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: 'Lora', Georgia, serif;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #111827;
  cursor: pointer;
}

.woocommerce-checkout #payment ul.payment_methods li label img {
  max-height: 28px;
  width: auto;
}

.woocommerce-checkout #payment ul.payment_methods li input[type="radio"] {
  accent-color: #2d7188;
}

.woocommerce-checkout #payment .payment_box {
  padding: 0.75rem 0 0.25rem 1.5rem;
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.5;
}

/* Privacy policy text */
.woocommerce-checkout .woocommerce-privacy-policy-text p {
  font-size: 0.8125rem;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.woocommerce-checkout .woocommerce-privacy-policy-text a {
  color: #2d7188;
  text-decoration: underline;
}

/* Place Order button — already styled above, add spacing */
.woocommerce-checkout #place_order {
  margin-top: 0.5rem;
}

/* ---- Validation errors ---- */
.woocommerce-checkout .woocommerce-invalid .input-text,
.woocommerce-checkout .woocommerce-invalid input[type="text"],
.woocommerce-checkout .woocommerce-invalid input[type="email"],
.woocommerce-checkout .woocommerce-invalid input[type="tel"],
.woocommerce-checkout .woocommerce-invalid select {
  border-color: #ef4444;
}

/* Notices */
.woocommerce-checkout .woocommerce-error,
.woocommerce-checkout .woocommerce-message,
.woocommerce-checkout .woocommerce-info {
  padding: 0.875rem 1.25rem;
  margin-bottom: 1.5rem;
  font-family: 'Lora', Georgia, serif;
  font-size: 0.875rem;
  line-height: 1.5;
  list-style: none;
}

.woocommerce-checkout .woocommerce-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.woocommerce-checkout .woocommerce-message {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.woocommerce-checkout .woocommerce-info {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0c4a6e;
}

/* Coupon / login toggle links */
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info,
.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info {
  background: transparent;
  border: 1px solid #e5e7eb;
  color: #374151;
}

.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info a,
.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info a,
.woocommerce-checkout .showcoupon {
  color: #2d7188;
  font-weight: 500;
}

/* Coupon form */
.woocommerce-checkout .checkout_coupon {
  padding: 1rem;
  border: 1px solid #e5e7eb;
  margin-bottom: 1.5rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-end;
}

.woocommerce-checkout .checkout_coupon .input-text {
  flex: 1;
}

.woocommerce-checkout .checkout_coupon .button {
  background-color: #2d7188;
  color: white;
  border: none;
  padding: 0.625rem 1.25rem;
  font-family: 'Lora', Georgia, serif;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
  white-space: nowrap;
}

.woocommerce-checkout .checkout_coupon .button:hover {
  background-color: #245a6d;
}

/* Remove default product summary box styling */
.woocommerce-tabs {
  clear: both;
  border-top: 1px solid #e5e7eb;
  margin-top: 2rem;
  padding-top: 2rem;
}

/* ==================================================
   Cart Page — Larger thumbnail & text (desktop)
   ================================================== */

@media (min-width: 768px) {
  /* Classic WooCommerce cart: bigger thumbnail */
  .woocommerce-cart-form .product-thumbnail img,
  .woocommerce-cart-form .product-thumbnail .cart-product-thumbnail {
    width: 140px !important;
    height: auto !important;
    max-width: none !important;
  }

  /* Classic WooCommerce cart: bigger product name */
  .woocommerce-cart-form .product-name a {
    font-size: 1.125rem !important;
    font-weight: 500 !important;
  }

  /* Classic WooCommerce cart: bigger price */
  .woocommerce-cart-form .product-price,
  .woocommerce-cart-form .product-subtotal {
    font-size: 1.0625rem !important;
  }

  /* WooCommerce Blocks cart: bigger thumbnail */
  .wc-block-cart-item__image,
  .wc-block-cart-item__image img {
    width: 140px !important;
    min-width: 140px !important;
    height: auto !important;
  }

  /* WooCommerce Blocks cart: bigger product name */
  .wc-block-components-product-name {
    font-size: 1.125rem !important;
    font-weight: 500 !important;
  }

  /* WooCommerce Blocks cart: bigger price */
  .wc-block-components-product-price {
    font-size: 1.0625rem !important;
  }
}

/* ==================================================
   Product Categories
   ================================================== */

.product-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.product-category-card {
  overflow: hidden;
  border-radius: 0.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(73, 147, 153, 0.1);
}

.product-category-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

/* ==================================================
   Utility Classes
   ================================================== */

.text-brand-teal {
  color: #2d7188;
}

.bg-brand-teal {
  background-color: #2d7188;
}

/* ==================================================
   Contact Form 7
   ================================================== */

.wpcf7 form .text-center.pt-4 > p {
  margin: 0;
  position: relative;
}

.wpcf7 form .text-center.pt-4 .wpcf7-submit {
  display: inline-block;
}

.wpcf7 form .text-center.pt-4 .wpcf7-spinner {
  position: absolute;
  top: 50%;
  left: calc(100% + 1rem);
  margin: 0;
  transform: translateY(-50%);
}

.wpcf7 form .wpcf7-response-output {
  margin: 2rem 0 0;
  padding: 1rem 1.25rem;
  border: 2px solid #2d7188;
  color: #1f2937;
  font-family: 'Lora', Georgia, serif;
  font-size: 1rem;
  line-height: 1.6;
  background-color: #fff;
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: #4caf50;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output {
  border-color: #c2410c;
}

/* ==================================================
   Newsletter Subscribe Form
   ================================================== */

.subscribe-section .mc_container {
  max-width: 32rem;
  margin: 0 auto;
}

.subscribe-section .mc_form_inside {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.subscribe-section .mc_message_wrapper {
  margin: 0 0 0.25rem;
}

.subscribe-section .mc_message_wrapper .mc_error_msg,
.subscribe-section .mc_message_wrapper .mc_success_msg,
.subscribe-section .mc_message_wrapper .mc_custom_border_hdr {
  display: block;
  padding: 0.875rem 1rem;
  font-family: 'Lora', Georgia, serif;
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: left;
  background: #fff;
  border-left: 4px solid #c2410c;
  color: #7c2d12;
}

.subscribe-section .mc_message_wrapper .mc_success_msg {
  border-left-color: #2d7188;
  color: #1f2937;
}

.subscribe-section .mc_merge_var {
  margin: 0;
}

.subscribe-section .mc_var_label {
  display: none;
}

.subscribe-section .mc_input {
  width: 100%;
  min-height: 3.5rem;
  padding: 0.875rem 1rem;
  border: 2px solid transparent;
  background: #fff;
  color: #1f2937;
  font-family: 'Lora', Georgia, serif;
  font-size: 1rem;
  line-height: 1.5;
}

.subscribe-section .mc_input::placeholder {
  color: rgba(31, 41, 55, 0.65);
}

.subscribe-section .mc_input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.18);
}

.subscribe-section .mc_signup_submit {
  margin: 0;
}

.subscribe-section .mc_signup_submit_button {
  display: block;
  width: 100%;
  min-height: 3.5rem;
  padding: 0.875rem 1.5rem;
  margin: 0;
  border: 1px solid transparent;
  background: #fff;
  color: #2d7188;
  font-family: 'Lora', Georgia, serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.subscribe-section .mc_signup_submit_button:hover,
.subscribe-section .mc_signup_submit_button:focus {
  opacity: 0.9;
}

@media (min-width: 640px) {
  .subscribe-section .mc_form_inside {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }

  .subscribe-section .mc_message_wrapper {
    grid-column: 1 / -1;
  }

  .subscribe-section .mc_merge_var {
    min-width: 0;
  }

  .subscribe-section .mc_signup_submit_button {
    width: auto;
    min-width: 11rem;
    white-space: nowrap;
  }
}

.text-brand-orange {
  color: #FBD992;
}

.bg-brand-orange {
  background-color: #FBD992;
}

.text-brand-danger {
  color: #FDB583;
}

.bg-brand-danger {
  background-color: #FDB583;
}

.text-brand-light-blue {
  color: #D0ECED;
}

.bg-brand-light-blue {
  background-color: #D0ECED;
}

/* Logo text: tighter letter-spacing on mobile */
.logo-text {
  letter-spacing: -1px;
}

@media (min-width: 1024px) {
  .logo-text {
    letter-spacing: 0.1em;
  }
}

/* ==================================================
   Responsive Adjustments
   ================================================== */

@media (max-width: 768px) {
  .hide-mobile {
    display: none;
  }
}

@media (max-width: 640px) {
  .text-xl {
    font-size: 1.25rem;
  }

  .px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* ==================================================
   Accessibility
   ================================================== */

.skip-to-content {
  position: absolute;
  top: -40px;
  left: 0;
  background: #2d7188;
  color: white;
  padding: 8px;
  text-decoration: none;
  z-index: 100;
}

.skip-to-content:focus {
  top: 0;
}

/* ==================================================
   Toast Notifications
   ================================================== */

.toast-container {
  position: fixed;
  top: 5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  background: white;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  font-family: 'Lora', Georgia, serif;
  font-size: 0.875rem;
  color: #374151;
  max-width: 340px;
  -webkit-transform: translateX(120%);
          transform: translateX(120%);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.toast.toast-visible {
  -webkit-transform: translateX(0);
          transform: translateX(0);
  opacity: 1;
}

.toast.toast-hiding {
  -webkit-transform: translateX(120%);
          transform: translateX(120%);
  opacity: 0;
}

.toast-icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
}

.toast-success .toast-icon {
  color: #2d7188;
}

.toast-error .toast-icon {
  color: #FDB583;
}

.toast-message {
  flex: 1;
  line-height: 1.4;
}

.toast-message li {
  list-style: none;
}

.toast-link {
  color: #2d7188;
  text-decoration: underline;
  font-weight: 500;
  white-space: nowrap;
}

.toast-link:hover {
  color: #245a6d;
}

.toast-close {
  flex-shrink: 0;
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
  font-size: 1.125rem;
}

.toast-close:hover {
  color: #374151;
}

@media (max-width: 640px) {
  .toast-container {
    right: 0.75rem;
    left: 0.75rem;
  }

  .toast {
    max-width: 100%;
  }
}

/* ==================================================
   Empty Cart Styles (WooCommerce Blocks)
   ================================================== */

/* Hide ALL default WooCommerce empty cart content (emoji, title, "New in store", products) */
.wp-block-woocommerce-empty-cart-block > *:not(.maryna-empty-cart) {
  display: none !important;
}

/* Custom empty cart title */
.maryna-cart-title {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #111827;
  text-align: center;
  margin-bottom: 1rem;
}

/* Custom continue shopping button */
.maryna-continue-shopping {
  display: inline-block;
  background-color: #2d7188;
  color: white;
  font-family: 'Lora', Georgia, serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.75rem 2rem;
  text-decoration: none;
  transition: background-color 0.3s ease;
  text-align: center;
}

.maryna-continue-shopping:hover {
  background-color: #245a6d;
  color: white;
}

/* ==================================================
   Gallery Lightbox
   ================================================== */

.gallery-masonry-item {
  cursor: pointer;
}

.gallery-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  -webkit-user-select: none;
          user-select: none;
}

.gallery-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.gallery-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  transition: opacity 0.25s ease;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: #374151;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.5rem;
  opacity: 0.7;
  transition: opacity 0.2s ease;
  z-index: 2;
}

.lightbox-close:hover {
  opacity: 1;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  background: none;
  border: none;
  color: #374151;
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 1rem;
  opacity: 0.7;
  transition: opacity 0.2s ease;
  z-index: 2;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  opacity: 1;
}

.lightbox-prev {
  left: 0.5rem;
}

.lightbox-next {
  right: 0.5rem;
}

@media (max-width: 640px) {
  .lightbox-prev,
  .lightbox-next {
    font-size: 1.75rem;
    padding: 0.75rem;
  }

  .lightbox-close {
    font-size: 1.5rem;
  }

  .gallery-lightbox img {
    max-width: 96vw;
    max-height: 85vh;
  }
}

/* ==================================================
   Sale price formatting
   ================================================== */

ins:has(.woocommerce-Price-amount) {
  text-decoration: none;
  background: transparent;
}

del:has(.woocommerce-Price-amount) {
  opacity: 0.6;
  margin-right: 0.35em;
}

/* ==================================================
   Print Styles
   ================================================== */

@media print {
  header,
  footer,
  .mobile-menu-toggle,
  .woocommerce-notices-wrapper {
    display: none;
  }
}
