


/* ===========================
   WooCommerce – Shop Page
   =========================== */


div.content-area {
    padding: 25px 0 100px 0;
}

div.content-area > main > nav {
    width: 100%;
    padding: 25px 0;
    color: #505050;
    text-align: center;
}

div.content-area > main > nav > a {
    color: #505050;
}

div.content-area > main > header.woocommerce-products-header {
    width: 100%;
    text-align: center;
    padding: 35px 0;
}

div.content-area > main > header.woocommerce-products-header > h1 {
    font-weight: 800;
    color: #C4AE82;
    text-transform: uppercase;
}

div.content-area > main > section.woo-archive-1 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: right;
    align-items: center;
    width: 95%;
    margin: 10px auto;
}

div.content-area > main > section.woo-archive-1 > div.woocommerce-notices-wrapper {
    text-align: center;
    padding: 15px;
    width: 100%;
}

div.content-area > main > section.woo-archive-1 > p.woocommerce-result-count {
    margin: 0 25px;
}

div.content-area > main > section.woo-archive-1 > form > select {
    padding: 10px 30px;
}

section.woo-archive-2 {
    width: 100%;
    margin: 25px auto;
    gap: 20px;
    display: grid;
    grid-template-columns: 20% 80%;
}

section.woo-archive-2 > .woo-filter-bar {
    display: none;
}

section.woo-archive-2 > div.woo-overlay {
    display: none;
}

section.woo-archive-2 > aside.woocommerce-sidebar-outer {
    border-right: 1px solid lightgray;
}

section.woo-archive-2 > aside.woocommerce-sidebar-outer > div.woocommerce-sidebar {
    padding: 0 10px;
    
}

section.woo-archive-2 > aside.woocommerce-sidebar-outer > div.woocommerce-sidebar ul {
    list-style-type: none;
}


div.woocommerce-sidebar ul {
    list-style-type: none;
}

div.woocommerce-sidebar a {
    color: black;
}

div.woocommerce-sidebar span {
    border: none !important;
}

section.woo-archive-2 > ul.products {
    display: grid;
    max-width: 95%;
    grid-template-columns: 20% 20% 20% 20% 20%;
    grid-auto-rows: auto;
    gap: 10px;
    text-align: center;
    list-style-type: none;
}

section.woo-archive-2 > ul.products > li.product-category.product::marker {
    display: none;
}


section.woo-archive-2 > ul > li.product-category.product {
    background: white;
    border-radius: 15px;
    height: 300px;
    max-height: 300px !important;
}

section.woo-archive-2 > ul > li.product-category.product > a {
    display: flex;
    flex-direction: column;
    justify-content: center !important;
    align-items: center !important;
    gap: 30px;
    height: 100%;
    color: #505050;
    font-size: 1rem;
}

section.woo-archive-2 > ul > li.product-category > a > img {
    max-width: 90%;
    margin: 0 auto;
    height: auto;
    max-height: 300px;
    object-fit: contain;
}

section.woo-archive-2 > ul > li.product-category > a > h2 {
    font-size: 1.1rem;
}

section.woo-archive-2 > ul > li.product-category > a mark {
    display: none;
}

section.woo-archive-2 > ul.products > li.product.type-product {
    padding: 15px;
    transition: .25s ease;
    height: 375px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

section.woo-archive-2 > ul.products > li.product.type-product:hover {
    transform: scale(1.015);
}

section.woo-archive-2 > ul.products > li.product.type-product > a:first-child {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: relative;
    color: #505050;
    height: 100%;
}

section.woo-archive-2 > ul.products > li.product.type-product > a:first-child > span.onsale {
    background: green;
    color: white;
    padding: 12.5px;
    position: absolute;
}

section.woo-archive-2 > ul.products > li.product.type-product > a:first-child > span.onsale:before {
    content: '⭐ ';
}

section.woo-archive-2 > ul.products > li.product.type-product > a:first-child > img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 200px;
    padding: 10px;
}

section.woo-archive-2 > ul.products > li.product.type-product > a:first-child > div.star-rating {
    padding: 5px;
    color: #C4AE82;
}

section.woo-archive-2 > ul.products > li.product.type-product > a:first-child > div.star-rating > span > strong.rating {
    color: gray;
}

section.woo-archive-2 > ul.products > li.product.type-product > a:first-child > h2 {
    font-size: 1rem;
}

section.woo-archive-2 > ul.products > li.product.type-product > a:first-child > span.price > span {
    color: darkgreen;
    font-size: 1.15rem;
    font-weight: 600;
    padding: 10px 0;
}

section.woo-archive-2 > ul.products > li.product.type-product > a:first-child > span.price > del {
    color: darkred;
    font-size: .85rem;
    font-weight: 400;
    padding: 10px 0;
}

section.woo-archive-2 > ul.products > li.product.type-product > a:first-child > span.price > ins {
    color: darkgreen;
    font-size: 1.15rem;
    font-weight: 600;
    padding: 10px 0;
    margin: 0 5px;
    text-decoration: none;
}

section.woo-archive-2 > ul.products > li.product.type-product > a:nth-child(2) {
    padding: 10px;
    background-color: #C4AE82;
    margin-top: 10px;
    color: white;
}

section.woo-archive-2 > ul.products > li.product.type-product > a:nth-child(2):hover {
    background-color: #e4cea4;
}

section.woo-archive-3 {
    width: 100%;
    padding: 50px 0;
    text-align: center;
}

section.woo-archive-3 > nav > ul {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    list-style-type: none;
    gap: 10px;
}

section.woo-archive-3 > nav > ul > li > span {
    font-weight: 600;
    color: white;
    padding: 10px;
    background-color: #505050 ;
}

section.woo-archive-3 > nav > ul > li > a {
    color: white;
    padding: 10px;
    background-color: #C4AE82 ;
}

section.woo-archive-3 > nav > ul > li > a:hover {
    background-color: #e4cea4;
}



/* ===========================
   WooCommerce – Product Page
   =========================== */



div.woocommerce-single-product > div#primary > main > div.product {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    position: relative;
}

div.woocommerce-single-product > div#primary > main > div.product > span.onsale {
    display: none;
}

div.woocommerce-single-product > div#primary > main > div.product > div.woocommerce-product-gallery {
    padding: 25px;
    flex: 2;
}

div.woocommerce-single-product > div#primary > main > div.product > div.woocommerce-product-gallery > div.flex-viewport {
    height: 500px !important;
}

div.woocommerce-single-product > div#primary > main > div.product > div.woocommerce-product-gallery > div > div {
    text-align: center;
}

div.woocommerce-single-product > div#primary > main > div.product > div.woocommerce-product-gallery > div > div > div > a > img {
    max-height: 500px;
    object-fit: contain;
    width: 100%;
}

div.woocommerce-single-product > div#primary > main > div.product > div.woocommerce-product-gallery > ol {
    list-style-type: none;
    display: grid;
    grid-template-columns: 20% 20% 20% 20% 20%;
    padding: 25px;
}

div.woocommerce-single-product > div#primary > main > div.product > div.woocommerce-product-gallery > ol > li {
    text-align: center;
    cursor: pointer;
}

div.woocommerce-single-product > div#primary > main > div.product > div.woocommerce-product-gallery > ol > li > img {
    max-width: 100%;
    object-fit: contain;
    height: 150px;
    max-height: 150px;
}

div.woocommerce-single-product > div#primary > main > div.product > div.entry-summary {
    flex: 3;
    padding: 25px;
}

div.woocommerce-single-product > div#primary > main > div.product > div.entry-summary > p.price {
    padding: 25px 0;
}

div.woocommerce-single-product > div#primary > main > div.product > div.entry-summary > p.price > span > bdi {
    font-size: 2rem;
    color: darkgreen;
    font-weight: 600;
    text-decoration: none !important;
    margin: 0 10px;
}

div.woocommerce-single-product > div#primary > main > div.product > div.entry-summary > p.price > ins {
    text-decoration: none !important;
}

div.woocommerce-single-product > div#primary > main > div.product > div.entry-summary > p.price > ins > span > bdi {
    font-size: 2rem;
    color: darkgreen;
    font-weight: 600;
    text-decoration: none !important;
    margin: 0 10px;
}

div.woocommerce-single-product > div#primary > main > div.product > div.entry-summary > p.price > del > span > bdi {
    font-size: 1rem;
    color: darkred;
    font-weight: 400;
}


div.woocommerce-single-product > div#primary > main > div.product > div.entry-summary > div.woocommerce-product-details__short-description {
    padding: 25px;
    background-color: #efefef;
    border-radius: 15px;
    display: none !important;
}

div.woocommerce-single-product > div#primary > main > div.product > div.entry-summary > p.stock {
    padding: 15px;
    margin: 25px 0;
    color: white;
    background: #C4AE82;
}


div.woocommerce-single-product > div#primary > main > div.product > div.entry-summary > form {
    margin: 15px 0;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    border: 1px solid #cfcfcf;
    border-radius: 15px;
    padding: 25px 45px;
    width: max-content;
}

div.woocommerce-single-product > div#primary > main > div.product > div.entry-summary > form input {
    padding: 10px 15px;
    margin-right: 15px;
}

div.woocommerce-single-product > div#primary > main > div.product > div.entry-summary > form > button {
    padding: 10px 25px;
    border-radius: 5px;
    border-style: none;
    background-color: #505050;
    color: white;
    font-weight: 600;
    cursor: pointer;
}

div.woocommerce-single-product > div#primary > main > div.product > div.entry-summary > form > button:hover {
    background-color: #707070;
}

div.woocommerce-single-product > div#primary > main > div.product > div.entry-summary > div.product_meta {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 20px;
    color: lightgray;
    padding: 35px 0;
}

div.woocommerce-single-product > div#primary > main > div.product > div.entry-summary > div.product_meta > span.tagged_as {
    display: none;
}

div.woocommerce-single-product > div#primary > main > div.product > div.entry-summary > div.product_meta > span > a {
    color: lightgray;
    font-weight: 400;
}


div.pswp > div.pswp__bg {
    opacity: .75 !important;
}

.pswp img {
    border-radius: 35px;
    background: white;
    box-shadow: 0 0 85px #00000065;
    padding: 25px;
}



/*Variations*/

div.woocommerce-single-product > div#primary > main > div.product > div.entry-summary > form.variations_form {
    display: flex;
    flex-direction: column;
    justify-content: start;
    padding: 15px 45px;
}

div.woocommerce-single-product > div#primary > main > div.product > div.entry-summary > form.variations_form table {
    margin: 25px 0;
}

div.woocommerce-single-product > div#primary > main > div.product > div.entry-summary > form.variations_form table select {
    padding: 10px 25px;
}

div.woocommerce-single-product > div#primary > main > div.product > div.entry-summary > form.variations_form table a {
    color: black;
    margin-left: 25px;
}


div.woocommerce-single-product > div#primary > main > div.product > div.entry-summary > form.variations_form > div.single_variation_wrap > div.woocommerce-variation > div.woocommerce-variation-description > p {
    padding: 10px 15px;
    background: #505050;
    color: white;
    margin: 10px 0;
}

div.woocommerce-single-product > div#primary > main > div.product > div.entry-summary > form.variations_form > div.single_variation_wrap > div.woocommerce-variation > div.woocommerce-variation-price {
    padding: 10px 0;
}

div.woocommerce-single-product > div#primary > main > div.product > div.entry-summary > form.variations_form > div.single_variation_wrap > div.woocommerce-variation > div.woocommerce-variation-price > span.price > span > bdi {
    font-size: 1.5rem;
    font-weight: 600;
    color: darkgreen;
}

div.woocommerce-single-product > div#primary > main > div.product > div.entry-summary > form.variations_form > div.single_variation_wrap > div.woocommerce-variation > div.woocommerce-variation-availability > p {
    padding: 15px;
    color: white;
    background: #C4AE82;
}

div.woocommerce-single-product > div#primary > main > div.product > div.entry-summary > form.variations_form > div.single_variation_wrap > div.woocommerce-variation-add-to-cart {
    margin: 35px 0;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

div.woocommerce-single-product > div#primary > main > div.product > div.entry-summary > form.variations_form > div.single_variation_wrap > div.woocommerce-variation-add-to-cart > button {
    padding: 10px 25px;
    border-radius: 5px;
    border-style: none;
    background-color: #505050;
    color: white;
    font-weight: 600;
    cursor: pointer;
}

div.woocommerce-single-product > div#primary > main > div.product > div.entry-summary > form.variations_form > div.single_variation_wrap > div.woocommerce-variation-add-to-cart > button:hover {
    background-color: #707070;
}

div.woocommerce-single-product > div#primary > main > div.product > div.entry-summary > form.variations_form > div.single_variation_wrap > div.woocommerce-variation-add-to-cart input {
    padding: 10px 15px;
    margin-right: 15px;
}


/*Tabs*/

div.woocommerce-single-product > div#primary > main > div.product > div.woocommerce-tabs {
    width: 100%;
}

div.woocommerce-single-product > div#primary > main > div.product > div.woocommerce-tabs > ul {
    list-style-type: none;
    gap: 10px;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    padding: 25px;
}

div.woocommerce-single-product > div#primary > main > div.product > div.woocommerce-tabs > ul > li > a {
    background-color: #C4AE82;
    padding: 10px 30px;
    color: white;
    font-weight: 600;
    border-radius: 2.5px;
}


div.woocommerce-single-product > div#primary > main > div.product > div.woocommerce-tabs > ul > li > a:hover {
    background-color: #e3d5b7;
}

div.woocommerce-single-product > div#primary > main > div.product > div.woocommerce-tabs > div.woocommerce-Tabs-panel {
    padding: 25px 75px;
}

div.woocommerce-single-product > div#primary > main > div.product > div.woocommerce-tabs > div.woocommerce-Tabs-panel > h2:first-child {
    display: none;
}

div.woocommerce-single-product > div#primary > main > div.product > div.woocommerce-tabs > div.woocommerce-Tabs-panel h2,
div.woocommerce-single-product > div#primary > main > div.product > div.woocommerce-tabs > div.woocommerce-Tabs-panel h3,
div.woocommerce-single-product > div#primary > main > div.product > div.woocommerce-tabs > div.woocommerce-Tabs-panel h4,
div.woocommerce-single-product > div#primary > main > div.product > div.woocommerce-tabs > div.woocommerce-Tabs-panel h5,
div.woocommerce-single-product > div#primary > main > div.product > div.woocommerce-tabs > div.woocommerce-Tabs-panel p {
    margin: revert;
}


div.singleproduct-informationbar {
    padding: 25px 0;
}

div.singleproduct-informationbar-image {
    display: grid;
    grid-template-columns: 30% 30% 30%;
    justify-content: space-between;
}

div.singleproduct-informationbar-image > img {
    max-width: 100%;
    width: 100%;
    height: auto;
    max-height: 100px;
    object-fit: contain;
}


/*Additional Information Tab*/

table.woocommerce-product-attributes > tbody > tr > td {
    padding: 10px 35px;
    gap: 15px;
}


/*Reviews*/

#reviews {
  --brand: #C4AE82;
  --ink: #000000;
  --bg: #FFFFFF;
  --gray-700: #505050;
  --gray-500: #707070;
  --border: rgba(0,0,0,0.08);
  --shadow: 0 6px 20px rgba(0,0,0,0.08);
  --radius: 14px;
  color: var(--gray-700);
}

/* Title */
#reviews .woocommerce-Reviews-title {
  font-size: clamp(1.25rem, 1.1rem + 0.75vw, 1.75rem);
  font-weight: 800;
  letter-spacing: .2px;
  color: var(--ink);
  margin: 0 0 1rem;
  line-height: 1.2;
}
#reviews .woocommerce-Reviews-title span {
  color: var(--gray-500);
  font-weight: 700;
}

/* Comment list layout */
#reviews .commentlist {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Each review card */
#reviews .comment_container {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
#reviews .comment_container:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}

li.comment-author-adminacrossthepondfoods-com > div.comment_container {
    background-color: #e5e5e5 !important;
}

/* Avatars */
#reviews .comment_container .avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--brand);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  object-fit: cover;
}

/* Meta row (author, date, badges) */
#reviews .comment-text .meta {
  margin: 0 0 .5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  font-size: .925rem;
  color: var(--gray-500);
}
#reviews .woocommerce-review__author {
  color: var(--gray-700);
  font-weight: 700;
}
#reviews .woocommerce-review__dash {
  opacity: .6;
}
#reviews .woocommerce-review__verified {
  margin-left: .25rem;
  font-style: normal;
  font-weight: 700;
  background: color-mix(in srgb, var(--brand) 18%, white);
  color: var(--brand);
  border: 1px solid color-mix(in srgb, var(--brand) 40%, white);
  padding: .15rem .5rem;
  border-radius: 999px;
  font-size: .8rem;
}

/* Awaiting approval message */
#reviews .woocommerce-review__awaiting-approval {
  display: inline-block;
  background: #fff8e6;
  color: #8a6d3b;
  border: 1px solid #f1e1b8;
  padding: .25rem .5rem;
  border-radius: 8px;
  font-style: normal;
  font-weight: 600;
}

/* Star rating (displayed, not the input) */
#reviews .star-rating {
  --star-size: 1.05rem;
  color: var(--brand) !important;
  font-size: var(--star-size);
  line-height: 1;
  display: inline-flex;
  align-items: center;
  margin: .15rem 0 .35rem;
}
#reviews .star-rating:before,
#reviews .star-rating span {
  color: var(--brand) !important;
  width: 100% !important;
}

/* Review content */
#reviews .comment-text .description p {
  margin: 0;
  color: var(--gray-700);
  line-height: 1.6;
}

/* Threaded replies */
#reviews .children {
  margin: .75rem 0 0;
  padding: 0 0 0 1rem;
  border-left: 2px dashed rgba(0,0,0,0.06);
  list-style-type: none;
}
#reviews .children .comment_container {
  border-left-color: color-mix(in srgb, var(--brand) 70%, black 0%);
  background: #fcfcfc;
}

/* --- Review Form --- */

#reviews #review_form_wrapper {
  margin-top: 2rem;
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem;
}

#reviews #reply-title {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: .75rem;
  border-bottom: 3px solid var(--brand);
  padding-bottom: .25rem;
}

/* Labels */
#reviews #review_form label {
  display: inline-block;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: .35rem;
}

/* Textarea and inputs */
#reviews #review_form textarea,
#reviews #review_form input[type="text"],
#reviews #review_form input[type="email"],
#reviews #review_form select {
  width: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: .85rem 1rem;
  font-size: 1rem;
  color: var(--gray-700);
  transition: border-color .2s ease, box-shadow .2s ease;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.03);
}
#reviews #review_form textarea:focus,
#reviews #review_form input[type="text"]:focus,
#reviews #review_form input[type="email"]:focus,
#reviews #review_form select:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--brand) 65%, black 10%);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 20%, white 80%);
}

/* Submit button */
#reviews #review_form .submit,
#reviews #review_form input[type="submit"] {
  appearance: none;
  border: none;
  background: var(--brand);
  color: #000; /* strong contrast on brand gold */
  font-weight: 800;
  letter-spacing: .3px;
  padding: .85rem 1.25rem;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .2s ease, background-color .2s ease;
  box-shadow: 0 6px 16px rgba(196,174,130,0.35);
}
#reviews #review_form .submit:hover,
#reviews #review_form input[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(196,174,130,0.45);
}
#reviews #review_form .submit:active,
#reviews #review_form input[type="submit"]:active {
  transform: translateY(0);
}
#reviews #review_form .submit:focus-visible,
#reviews #review_form input[type="submit"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 25%, white 75%), 0 6px 16px rgba(196,174,130,0.35);
}

/* --- Star Rating Input (interactive) --- */

/* Hide the native select that WC keeps around for accessibility */
#reviews #rating {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Stars container */
#reviews .comment-form-rating .stars {
  display: inline-flex;
  gap: .15rem;
  direction: rtl;             /* allow hover to fill previous stars */
  unicode-bidi: bidi-override;
}

/* Each star link */
#reviews .comment-form-rating .stars a {
  position: relative;
  display: inline-flex;
  width: 1.6rem;
  height: 1.6rem;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #d6d6d6;             /* base (unselected) */
  transition: transform .12s ease, color .15s ease;
  outline: none;
}
#reviews .comment-form-rating .stars a::before {
  content: "★";
  font-size: 1.35rem;
  line-height: 1;
}
#reviews .comment-form-rating .stars a:hover,
#reviews .comment-form-rating .stars a:focus-visible,
#reviews .comment-form-rating .stars a:hover ~ a,
#reviews .comment-form-rating .stars a:focus-visible ~ a {
  color: var(--brand);
}
#reviews .comment-form-rating .stars a[aria-checked="true"],
#reviews .comment-form-rating .stars a[aria-checked="true"] ~ a {
  color: var(--brand);
}
#reviews .comment-form-rating .stars a:focus-visible {
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 25%, white 75%);
  border-radius: 6px;
}
#reviews .comment-form-rating label {
  font-weight: 800;
}

/* Accessibility tweak: hide link text but keep for screen readers */
#reviews .comment-form-rating .stars a {
  font-size: 0;               /* hide textual "1 of 5 stars" visually */
}
#reviews .comment-form-rating .stars a::before {
  font-size: 1.35rem;         /* show icon instead */
}

/* Form spacing */
#reviews #review_form .comment-form-comment {
  margin-top: 1rem;
}
#reviews #review_form .form-submit {
  margin-top: 1rem;
}

/* Links inside reviews */
#reviews .comment-text a {
  color: var(--ink);
  text-decoration-color: color-mix(in srgb, var(--brand) 60%, black 5%);
  text-underline-offset: 3px;
  transition: text-decoration-color .15s ease, color .15s ease;
}
#reviews .comment-text a:hover {
  color: var(--gray-700);
  text-decoration-color: var(--brand);
}

/* Dates */
#reviews time.woocommerce-review__published-date {
  color: var(--gray-500);
  font-variant-numeric: tabular-nums;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  #reviews .comment_container {
    grid-template-columns: 48px 1fr;
    padding: .85rem 1rem;
    gap: .75rem;
  }
  #reviews .comment_container .avatar {
    width: 48px;
    height: 48px;
  }
  #reviews .children {
    padding-left: .75rem;
  }
}

/* Optional subtle separators between top-level reviews */
#reviews .commentlist > li:not(:last-child) .comment_container {
  position: relative;
}
#reviews .commentlist > li:not(:last-child) .comment_container::after {
  content: "";
  position: absolute;
  left: calc(60px + 1rem);
  right: 1rem;
  bottom: -0.55rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(0,0,0,0.06), transparent 70%);
}

#reviews > p.woocommerce-verification-required {
    margin-top: 35px;
}


/*Product Title Review Stars*/


.woocommerce-product-rating {
  --brand: #C4AE82;
  --ink: #000000;
  --bg: #FFFFFF;
  --gray-700: #505050;
  --gray-500: #707070;

  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--gray-700);
  font-size: 0; /* collapse whitespace between inline elements */
}

/* Ensure children inherit proper text size */
.woocommerce-product-rating > * {
  font-size: 1rem;
  line-height: 1;
}

/* Stars container */
.woocommerce-product-rating .star-rating {
  position: relative;
  display: inline-block;
  line-height: 1;
  width: auto; /* let content decide */
  font-size: 1.15rem;                  /* star size */
  letter-spacing: .05em;
  vertical-align: middle;
}

/* WooCommerce uses :before for the gray baseline and span:before for the filled stars.
   We just restyle colors and spacing to look crisp. */
.woocommerce-product-rating .star-rating::before {
  content: "★★★★★";
  color: #E5E5E5;                       /* unfilled star color */
  opacity: 1;
}

.woocommerce-product-rating .star-rating span {
  position: absolute;
  left: 0; top: 0;
  height: 100%;
  overflow: hidden;
}

.woocommerce-product-rating .star-rating span::before {
  content: "★★★★★";
  color: var(--brand);                  /* filled stars */
}

/* Improve numeric rating text inside span (hidden visually by default WC) */
.woocommerce-product-rating .star-rating .rating {
  position: absolute;
  left: -9999px;
}

/* Review link */
.woocommerce-product-rating .woocommerce-review-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--ink);
  text-decoration: none;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color .15s ease, text-decoration-color .15s ease;
}

.woocommerce-product-rating .woocommerce-review-link:hover {
  color: var(--gray-700);
  text-decoration-color: var(--brand);
}

/* Subtle pill for the count to catch the eye */
.woocommerce-product-rating .woocommerce-review-link .count {
  display: inline-block;
  min-width: 1.25rem;
  padding: .15rem .45rem;
  border-radius: 999px;
  background: rgba(196, 174, 130, 0.18);  /* brand tint */
  color: var(--ink);
  font-weight: 700;
  line-height: 1;
}

/* Accessibility focus */
.woocommerce-product-rating .woocommerce-review-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(196,174,130,.25);
  border-radius: 6px;
  text-decoration: none;
}

/* Optional: tighten parentheses spacing in the link */
.woocommerce-product-rating .woocommerce-review-link::before,
.woocommerce-product-rating .woocommerce-review-link::after {
  content: "";
}

/* Responsive tweak: scale stars down slightly on very small screens */
@media (max-width: 420px) {
  .woocommerce-product-rating .star-rating { font-size: 1.05rem; }
}


div.type-product > section.related.products {
    text-align: center;
    margin: 0 auto;
}

div.type-product > section.related.products > ul {
    display: grid;
    grid-template-columns: 25% 25% 25% 25%;
    align-items: end;
    justify-content: center;
    list-style-type: none;
    gap: 15px;
    width: 90%;
    margin: 0 auto;
    padding: 50px 0;
}


div.type-product > section.related.products > ul > li {
    text-align: center;
}

div.type-product > section.related.products > ul > li > a {
    color: #505050;
}

div.type-product > section.related.products > ul > li > a > h2 {
    margin-top: 25px;
    font-size: 1rem;
}

div.type-product > section.related.products > ul > li > a > span.price {
    font-size: 1rem;
    font-weight: 800;
    margin: 10px 0;
    width: 100%;
}

div.type-product > section.related.products > ul > li > a:nth-child(2) {
    font-size: 1rem;
    display: block;
    margin-top: 10px;
}

section.related.products > ul > li > a > img {
    max-width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
}


/* ===========================
   WooCommerce – My Account Page
   =========================== */
   
   
    div.wp-pages > div.woocommerce {
       display: flex;
       flex-direction: row;
       gap: 25px;
       margin: 50px 0;
    }

     div.wp-pages > div.woocommerce > nav {
         flex: 1;
     }

    div.wp-pages > div.woocommerce > nav > ul {
      list-style-type: none;
      display: block;
    }
  
    div.wp-pages > div.woocommerce > nav > ul > li > a {
      color: white;
      background-color: #505050;
      padding: 10px 25px;
      width: 100%;
      margin: 5px 0;
      display: block;
    }
    
    div.woocommerce-MyAccount-content {
        flex: 4;
        padding: 0 15px;
    }
    
    div.woocommerce-MyAccount-content p {
        margin: 15px 0;
    }
      
      
      
      
      
     /*Checkout Page*/
     
     .wc-block-cart__submit-button {
         padding: 15px 30px;
         background: darkgreen;
         color: white;
         font-weight: 700;
         text-transform: uppercase;
     }
     
     .wc-block-components-checkout-place-order-button {
         background: darkgreen !important;
         color: white;
         font-weight: 700;
         text-transform: uppercase;
         border: none;
     }
      
      
      
      
      
      
      /*Login and Register Page*/
      
      div#customer_login > div {
          max-width: 100%;
      }
      
      form.woocommerce-form-login.login {
        display: flex;
        flex-direction: column;
      }
      
      .woocommerce form .form-row {
          flex-direction: column !important;
      }
      
      form.woocommerce-form.woocommerce-form-register.register > div.woocommerce-privacy-policy-text {
          margin: 15px 0;
      }
      
      
      
      
      
      
      
      
      