/* ── Single product layout — 2-column grid (gallery | summary) ── */
.woocommerce div.product,
.woocommerce-page div.product,
body.single-product div.product {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 48px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 32px 24px 64px;
}

/* Gallery on the left — covers default WC gallery + Woo Variation Gallery wrapper */
.woocommerce div.product > .images,
.woocommerce div.product > .woocommerce-product-gallery {
    grid-column: 1;
    width: auto !important;
    float: none !important;
    margin: 0 !important;
}

/* Sale flash (output by hook before gallery) — keep it positioned over the gallery */
.woocommerce div.product > .onsale {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    justify-self: start;
    z-index: 2;
    margin: 12px;
    pointer-events: none;
}

/* Summary on the right — natural flow, not sticky */
.woocommerce div.product > .summary,
.woocommerce div.product > .summary.entry-summary {
    grid-column: 2;
    width: auto !important;
    float: none !important;
    margin: 0 !important;
    align-self: start;
    background: #fff;
    padding: 10px;
}

/* Anything below the summary (tabs, related, upsells) spans full width */
.woocommerce div.product > .woocommerce-tabs,
.woocommerce div.product > .related,
.woocommerce div.product > .upsells,
.woocommerce div.product > .clear {
    grid-column: 1 / -1;
}

/* Stack on mobile / tablet — drop sticky so summary scrolls with content */
@media (max-width: 990px) {
    .woocommerce div.product,
    .woocommerce-page div.product,
    body.single-product div.product {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 0;
    }

    .woocommerce div.product > .summary,
    .woocommerce div.product > .summary.entry-summary {
        grid-column: 1;
    }
}


 /* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.collapse {
  display: none;
}
.collapse.show {
  display: block;
}

.ghid_mobile_select{
    display:none;
}


@media (max-width: 600px) {
    .ghid_mobile_select {
        display: block;
    }

    .ghid_marimi {
        display: none;
    }

    .site-main {
        padding: 15px !important;
    }
}

.attr_price_box {
    display: flex;
    justify-content: space-between;
    padding: 0;
    margin: 0;
}
