/*
	Theme Name: Gorilla Ladders
	Theme URI: 
	Description: Gorilla Ladders theme built on Hello Elementor.
	Author: Neil Smith | Hartman
	Author URI: https://www.hartmangroup.com.au
	Version: 1.0
	Requires at least: 6.7
	Tested up to: 6.7
	Requires PHP: 7.4
	License: GNU General Public License v3 or later.
	License URI: https://www.gnu.org/licenses/gpl-3.0.html
	Text Domain: gorilla-ladders
	Tags: accessibility-ready, flexible-header, custom-colors, custom-menu, custom-logo, featured-images, rtl-language-support, threaded-comments, translation-ready,
*/
/**
 * Loading first in the style.scss & classic-editor.scss
 */
/**
* Document basic styling
* Inspired by Normalize.css, HTML5 Boilerplate & Bootstrap Reboot Projects under MIT License
 */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 * 3. Change from `box-sizing: content-box` so that `width` is not affected by `padding` or `border`.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

*,
*::before,
*::after {
  box-sizing: border-box; /* 3 */
}


@font-face {
  font-family: "Century Gothic";
  src: url("/assets/fonts/centurygothic.woff2") format("woff2"),
      url("/assets/fonts/centurygothic.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Century Gothic";
  src: url("/assets/fonts/centurygothic_bold.woff2") format("woff2"),
      url("/assets/fonts/centurygothic_bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

/* Sections
 */
body {
  margin: 0;
  /*font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";*/
  font-family: "Century Gothic", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #333333;
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1, h2, h3, h4, h5, h6 {
  margin-block-start: 0.5rem;
  margin-block-end: 1rem;
  font-weight: 500;
  line-height: 1.2;
  color: inherit;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-block-start: 0;
  margin-block-end: 0.9rem;
}

/* Grouping content
 */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
  white-space: pre-wrap;
}

/* Text-level semantics
 */
a:link, a:visited {
  background-color: transparent;
  color: #121212;
}
a:hover, a:active {
  color: #121212;
}
a:not([href]):not([tabindex]) {
  color: inherit;
}
a:not([href]):not([tabindex]):hover, a:not([href]):not([tabindex]):focus {
  color: inherit;
}
a:not([href]):not([tabindex]):focus {
  outline: 0;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-block-end: none; /* 1 */
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
 */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
  height: auto;
  max-width: 100%;
}

/* Interactive
 */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

figcaption {
  font-size: 16px;
  color: #333333;
  line-height: 1.4;
  font-style: italic;
  font-weight: 400;
}

/* Misc
 */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/* Print
 */
@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important; /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }
  a,
  a:visited {
    text-decoration: underline;
  }
  a[href]:after {
    content: " (" attr(href) ")";
  }
  abbr[title]:after {
    content: " (" attr(title) ")";
  }
  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }
  pre {
    white-space: pre-wrap !important;
  }
  pre,
  blockquote {
    -moz-column-break-inside: avoid;
         break-inside: avoid;
    border: 1px solid #cccccc;
  }
  thead {
    display: table-header-group;
  }
  tr,
  img {
    -moz-column-break-inside: avoid;
         break-inside: avoid;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    -moz-column-break-after: avoid;
         break-after: avoid;
  }
}
/**
 * Form styling
 */
label {
  display: inline-block;
  line-height: 1;
  vertical-align: middle;
}

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 1rem; /* 1 */
  line-height: 1.5; /* 1 */
  margin: 0; /* 2 */
}

input[type=text],
input[type=date],
input[type=email],
input[type=number],
input[type=password],
input[type=search],
input[type=tel],
input[type=url],
select,
textarea {
  width: 100%;
  border: solid 1px #666666;
  border-radius: 3px;
  padding: 0.5rem 1rem;
  transition: all 0.3s;
}
input[type=text]:focus,
input[type=date]:focus,
input[type=email]:focus,
input[type=number]:focus,
input[type=password]:focus,
input[type=search]:focus,
input[type=tel]:focus,
input[type=url]:focus,
select:focus,
textarea:focus {
  border-color: #333333;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  width: auto;
  -webkit-appearance: button;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button,
[type=submit],
[type=button] {
  display: inline-block;
  font-weight: 400;
  color: #CC3366;
  text-align: center;
  white-space: nowrap;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  background-color: transparent;
  border: 1px solid #CC3366;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border-radius: 3px;
  transition: all 0.3s;
}
button:focus:not(:focus-visible),
[type=submit]:focus:not(:focus-visible),
[type=button]:focus:not(:focus-visible) {
  outline: none;
}
button:hover, button:focus,
[type=submit]:hover,
[type=submit]:focus,
[type=button]:hover,
[type=button]:focus {
  color: #ffffff;
  background-color: #CC3366;
  text-decoration: none;
}
button:not(:disabled),
[type=submit]:not(:disabled),
[type=button]:not(:disabled) {
  cursor: pointer;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
  resize: vertical;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

select {
  display: block;
}

/**
 * Table styling
 */
table {
  background-color: transparent;
  width: 100%;
  margin-block-end: 15px;
  font-size: 14px;
  border-spacing: 0;
  border-collapse: collapse;
}
table th,
table td {
  padding: 15px;
  line-height: 1.5;
  vertical-align: top;
  border: 1px solid rgba(128, 128, 128, 0.5019607843);
}
table th {
  font-weight: bold;
}
table thead th,
table tfoot th {
  font-size: 1em;
}
table caption + thead tr:first-child th,
table caption + thead tr:first-child td,
table colgroup + thead tr:first-child th,
table colgroup + thead tr:first-child td,
table thead:first-child tr:first-child th,
table thead:first-child tr:first-child td {
  border-block-start: 1px solid rgba(128, 128, 128, 0.5019607843);
}


/* Remove table background colours */

/* table tbody > tr:nth-child(odd) > td,
table tbody > tr:nth-child(odd) > th {
  background-color: rgba(128, 128, 128, 0.0705882353);
}
table tbody tr:hover > td,
table tbody tr:hover > th {
  background-color: rgba(128, 128, 128, 0.1019607843);
}
table tbody + tbody {
  border-block-start: 2px solid rgba(128, 128, 128, 0.5019607843);
}
*/

@media (max-width: 767px) {
  table table {
    font-size: 0.8em;
  }
  table table th,
  table table td {
    padding: 7px;
    line-height: 1.3;
  }
  table table th {
    font-weight: 400;
  }
}

/**
 * List styling
 */
dl,
dt,
dd,
ol,
ul,
li {
  margin-block-start: 0;
  margin-block-end: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}



/* PRODUCT PAGE */
/****************/

/* Fix flexbox making individual containers appear horizontally */
.single-product div.product {
  display: block !important;
}

/* Upsells / related products */
.up-sells .price { display:none!important; }
.up-sells .button { display:none!important; }


/* Hide price */
p.price {
  display:none !important;
}
/* Hide quantity */
div.quantity {
  display:none !important;
}
/* Hide add to cart button */
button.single_add_to_cart_button {
  display:none !important;
}


/* Hide selected model name */
.woo-selected-variation-item-name {
  display:none !important;
}

/* Disable the clear button */
.reset_variations {
  display:none !important;
}

/* Model buttons */
.woo-variation-swatches .wvs-style-squared.variable-items-wrapper .variable-item:not(.radio-variable-item).button-variable-item {
  border-radius:8px;
  padding:8px 16px;
  border:1px solid #121212 !important;
}

.variable-items-wrapper  li.selected {
  background-color: #121212 !important;
  color: #fff !important;
}

.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item):focus, .woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item):hover {
  -webkit-box-shadow: 0 0 0 3px #000 !important;
  box-shadow: 0 0 0 3px #000 !important;
}


/* Model table */
.product-custom-table table {
  /*border: none;*/
  border-radius: 8px !important;
  background-color: #F2F2F2;
}

/*Fix config table width on ipad*/
#config-tablet .elementor-element  {
  width:100% !important;
}

/* Force first column  (model number) of product-table plugin to not wrap text  */
.product-custom-table tr td:first-child {
 white-space: nowrap;
}

/* Except on config table */
.product-custom-table .config-table tr td:first-child {
 white-space:normal !important;
}


.split-cell-table,
.split-cell-table *,
.split-cell-table tr,
.split-cell-table td,
.split-cell-table th {
  background: transparent !important;
  background-color: transparent !important;
}


.split-cell-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    padding: 0;
}

.split-cell-table tr {
    border: none;
}

.split-cell-table td {
    padding: 4px 8px;
    border: none;
    margin: 0;
    vertical-align: top;
    font-weight:normal !important;
}

.split-cell-table .split-cell-top {
    border-bottom: 1px solid #b4b4b4;
    border-top: 0;
    font-size: 14px !important;
}

.split-cell-table .split-cell-bottom {
    border-top: none;
    font-size: 14px !important;
}

/* Ensure the parent cell doesn't add extra padding */
td.split-cell {
    padding: 0 !important;
}

.split-cell-table .split-cell-top {
    font-weight: normal !important;
    background-color: none !important;
}

.split-cell-table .split-cell-bottom {
    font-weight: normal !important;
    background-color: none !important;
}


.product-custom-table th, .product-custom-table tr {
  border: 0 !important;
} 

.product-custom-table td {
  border: 1px solid #b4b4b4;
} 

.product-custom-table tr td:first-child {
  border-left: 0 !important;
  font-weight: bold;
}

.product-custom-table tr td:last-child {
  border-right: 0 !important;
}

product-custom-table tr:last-child td {
  border-bottom: 0 !important;
}

.product-custom-table thead th {  
  background-color: #6B7280;
  color: #ffffff;
  font-weight: normal !important;
}

.product-custom-table thead th:first-child {  
  border-top-left-radius: 8px !important;
}

.product-custom-table thead th:last-child {  
  border-top-right-radius: 8px !important;
}

.shop_attributes td {
  padding:16px;
  text-align: center;
  font-style: normal !important;
}

.product-custom-table tr:last-child td:first-child {  
  border-bottom-left-radius: 8px;
}

.product-custom-table tr:last-child td:last-child {  
  border-bottom-right-radius: 8px;
}

.variations_form {
  margin-bottom: 0 !important;
}

.variations {
  margin-top:30px;
}

.variations th {
  padding: 0 !important;
  /*display: none !important;*/
}

/* Hide category */
.product_meta {
  display:none !important;
}



/* Woocommerce overrides */

.woocommerce-page div.product div.summary {
  width:100% !important ;
  margin-left:20px;
}

div.product div.images, .woocommerce-page div.product div.images {
  width:100% !important ;
}

.woocommerce table.shop_attributes_new {
  border-top:0!important;
}


/*.woocommerce table.shop_attributes_new tbody tr:nth-child(2n) td.split-cell {
  background: rgba(0,0,0,.045);
}*/

.woocommerce table.shop_attributes_new tr:nth-child(2n) {
  background: rgba(0,0,0,.045);
}

/* Product title */
body.single-product .product_title.entry-title {
  font-size: 30px;
  font-weight: 700;
  line-height: 38px;
  letter-spacing: 0em;
  text-align: left;
}

/* Product description */
#product-page-description a:link, #product-page-description a:visited, #product-page-description a:hover, #product-page-description a:active {
  text-decoration:underline !important;
}

#product-page-description ul {
  margin-bottom:15px;
}


/* Add rouned corners to product images */
.woocommerce-product-gallery img, .woo-product-gallery-slider img {
  border-radius: 8px !important;
  background-color: #ffffff;
}

/* Woocommerce Breadcrumbs */
.woocommerce-breadcrumb a:last-child {
  font-weight:bold !important;
}

/* Hide category title and product count on category pages */
.woocommerce-loop-category__title {
  display: none !important;
}

/* Rounded corners on product category images */
.woocommerce ul.products li.product a img {
  border-radius: 8px;
}


/* Elementor drop-down menu fixes */
.elementor-nav-menu--dropdown li {
  padding-right: 12px !important;
}


/* Search results */
#search-results .price {
  display: none !important;
}

#search-results .product_type_variable, #search-results .add_to_cart_button {
  display: none !important;
}

/* Category sidebar */

.wc-category-description p {
  margin:0 !important;
}

#category-description {
  font-size: 20px;
  font-weight: bold;
  font-family: "Century Gothic";
  padding: 0;
  margin: 0;
}

#category-sidebar-head {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  margin: 0;
  padding: 16px;
  font-size: 16px;
  font-weight: bold;
  font-family: "Century Gothic";
  color: #fff;
  background-color: #6B7280;
}

#category-sidebar {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  margin: 0;
  padding: 16px;
  font-size: 15px;
  font-weight: bold;
  font-family: "Century Gothic";
  color: #121212;
  background-color: #fff;
}

#category-sidebar ul {
  list-style: none;
  padding:0;
}

#category-sidebar li {
  margin-bottom: 8px;
}

#category-sidebar li a:link, #category-sidebar li a:visited, #category-sidebar li a:hover, #category-sidebar li a:active  {
  color: #121212 !important;
}

.subcategory-list {
  list-style-type: none;
  padding-left: 0;
}

.subcategory-list li {
  padding-left: 25px;
  position: relative;
  margin-bottom: 10px;
}

.subcategory-list li a {
  display: block;
  padding-left: 8px;
  position: relative;
  text-decoration: none;
}

.subcategory-list li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background-image: url("https://www.gorillaladders.com.au/assets/icons/rounded.svg");
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 8px;
}

.subcategory-list li.active-category:before {
  background-image: url("https://www.gorillaladders.com.au/assets/icons/active.svg");
}

/* Hide weird additional boxes under footer after disabling Woocommerce image slider */
.pswp {
  display:none !important;
}

ul {
  margin-bottom:15px;
}


/* Brand logos */

/* Brand logos */

.brand-grid {
    display: grid;
    grid-gap: 16px;
    width: 100%;
    padding: 16px;
    justify-content: center;
}

/* Desktop layout for more icons */
@media (min-width: 768px) {
    .brand-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)) !important;
    }
}

/* Mobile layout: Fixed 2 columns */
@media (max-width: 767px) {
    .brand-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.brand-grid-item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.brand-grid-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 400px;
}

/* hover effect */
.brand-grid-item img:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Ensure images fit well in 2-column mobile layout */
@media (max-width: 767px) {
    .brand-grid-item img {
        width: 100%; /* Slightly larger on mobile to fill column */
    }
}

.brands-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
}


.brands-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
    max-width: 1000px; /* Control maximum width */
    padding: 0 20px;
}

.brand-item {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    /*width: 220px; Fixed width for each brand 
    height: 80px;*/
}

.brand-item img {
    max-width: 80%;
    max-height: 90px;
    object-fit: contain;
}

.brand-item img:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}
    
/* Responsive adjustments */
@media (max-width: 767px) {
    .brands-wrapper {
        justify-content: center;
    }

    .brand-item {
        width: 190px; /* Smaller on mobile */
        height: 70px;
    }
}

/* Fix homepage category size on mobile */
@media (max-width: 767px) {
#home-categories .woocommerce ul.products[class*="columns-"] li.product, #home-categories .woocommerce-page ul.products[class*="columns-"] li.product {
    width: 100% !important;
    margin: 0 !important;
  }
}










/* MOVE BACK TO Table plugin */
.product-custom-table {
        margin-bottom:20px;
    }
    

.product-custom-table tr td {  
        /*border-top: 1px solid #d2d2d2;
        border-left: 1px solid #d2d2d2;
        border-right: 1px solid #d2d2d2;*/
}
    .split-cell {
        padding: 0 !important;
    }
    
    .split-cell-top,
    .split-cell-bottom {
        padding: 8px;
    }
    
    .split-cell-bottom {
        border-bottom: none;
    }
    
    .split-cell .split-cell-top:not(:empty) + .split-cell-bottom:not(:empty) {
        border-top: 1px solid #b4b4b4;
    }
            
    .product-table-description {
        font-size: 15px;
        font-family: "Century Gothic";
        line-height: 1.6;
    }

    .product-table-description p {
        margin-bottom: 10px;
    }

    .product-table-description ul,
    .product-table-description ol {
        margin: 10px 0;
        padding-left: 20px;
    }

    .product-table-description li {
        margin-bottom: 5px;
    }

    .product-table-description a {
        color: #0073aa;
        text-decoration: underline;
    }

    .product-table-description strong {
        font-weight: bold;
    }

    .product-table-description em {
        font-style: italic;
    }



.acf-style-table-field {
    padding: 15px;
}

.field-label {
    margin-bottom: 10px;
}

.field-label label {
    font-weight: 600;
    font-size: 14px;
    display: block;
    margin-bottom: 5px;
}

.acf-table-root {
    border: 1px solid #ccd0d4;
    background: #fff;
}

.acf-table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #ccd0d4;
    background: #f9f9f9;
}

.acf-table-count {
    font-size: 12px;
    color: #555;
}

.acf-table-body {
    padding: 0;
    overflow-x: auto;
}

.acf-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.acf-table th, 
.acf-table td {
    border: 1px solid #ededed;
    padding: 8px;
    position: relative;
}

.acf-row-handle {
    width: 40px;
    text-align: center;
    vertical-align: middle;
    background: #f9f9f9;
    position: relative;
}

.acf-row-number {
    display: block;
    font-size: 12px;
    color: #777;
}

.acf-row-handle-actions {
    position: absolute;
    right: 5px;
    top: 5px;
    visibility: hidden;
}

.acf-table tr:hover .acf-row-handle-actions {
    visibility: visible;
}

.acf-icon.-minus {
    background: #e35055;
    color: #fff;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    line-height: 10px;
    font-size: 20px;
    text-align: center;
    cursor: pointer;
    display: inline-block;
    position:relative;
    top:9px;
    text-decoration:none;
}

.acf-icon.-minus:before {
    content: '−';
}

.acf-table-header-cell {
    background: #f9f9f9;
}

.acf-header-wrap {
    display: flex;
    align-items: center;
}

.acf-header-input,
.acf-table-cell-input {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 5px;
}

.acf-button-remove-col {
    margin-left: 5px;
    color: #a00;
    text-decoration: none;
}

.acf-button-add-row,
.acf-button-add-col {
    margin-left: 5px;
}

.product-custom-table {
    margin: 30px 0;
}

.product-custom-table table {
    width: 100%;
    border-collapse: collapse;
}

.product-custom-table th,
.product-custom-table td {
    padding: 10px;
    border-top: 1px solid #b4b4b4;
    border-left: 1px solid #b4b4b4;
    border-right: 1px solid #b4b4b4;
    border-bottom:0;
    vertical-align: middle !important;
    text-align: center;
}

.product-custom-table th {
    background: #f8f8f8;
}

.acf-table-description-field {
    margin-top: 10px;
}

.acf-table-description-field textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 3px;
}

#product_table_description {
    margin-bottom: 30px;
    height: 100px;
}

.product-table-description {
    margin-top: 15px;
    line-height: 1.5;
}

/* WordPress Editor Styles */
.acf-table-description-field .wp-editor-wrap {
    max-width: 100%;
}

.acf-table-description-field .wp-editor-container {
    background: #fff;
}

.acf-cell-wrapper {
    position: relative;
}

.acf-cell-actions {
    position: absolute;
    top: 2px;
    right: 2px;
    visibility: hidden;
}

.acf-table-cell:hover .acf-cell-actions {
    visibility: visible;
}

.acf-button-split-cell,
.acf-button-merge-cell {
    background: #0073aa;
    color: #fff !important;
    padding: 4px 6px;
    border-radius: 3px;
    text-decoration: none;
    font-size: 12px !important;
    font-weight: bold;
    margin-left: 2px;
    min-width: 20px;
    text-align: center;
    display: inline-block;
    line-height: 1;
    border: none;
    cursor: pointer;
}

.acf-button-merge-cell{
    position:relative;
    top:20px;
}

.acf-button-split-cell:hover,
.acf-button-merge-cell:hover {
    background: #005a87;
    color: #fff !important;
}

.acf-split-cell {
    display: flex;
    flex-direction: column;
}

.acf-split-input-top,
.acf-split-input-bottom {
    margin-bottom: 2px;
    /*height: 25px;*/
}

.acf-split-input-bottom {
    margin-bottom: 0;
}

.acf-table-cell[data-split="true"] {
    padding: 4px;
}



/**** START CONFIG TABLE ****/
.woocommerce_options_panel textarea {
  height:150px !important;
}
/**** END CONFIG TABLE ****/





























/* Retailer plugin - front end list */
.retailer-row {
    display: flex;
    align-items: flex-start; /* Keeps content at top of cell */
    margin-bottom:15px;
}

.retailer-img-row,
.retailer-text-row {
    display: flex;
    align-items: flex-start; /* Keeps content at top of cell */
    height: 100%; /* Ensures full height is used */
}

.retailer-text-row a:link, .retailer-text-row a:visited {
    font-size: 1em;
    color: #666;
    text-decoration: none;
}

.retailer-text-row a:hover {
    font-size: 1em;
    color: #666;
    text-decoration: underline;
}

.retailer-img {
    width:17px;
    height:17px;
    margin-right:8px;
    position: relative;
    top:3px; /* Brings icons down slightly */
}

.retailers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Always 3 columns */
    gap: 20px;
    margin-top:50px;
    /*padding: 20px;*/
}

.retailer-card {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: 0.8s;
}

.retailer-card:hover {
    background: #ffffff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    text-align: left;  
    transition: 0.3s;
}

.retailer-name {
    font-size: 1.1em !important;
    font-weight: bold !important;
    color: #333;
}


/* Retailer plugin - front end form */

.retailer-form {
    border:initial !important;
    border-radius:8px !important;
    height:52px !important;
    padding:12px !important;
    color:#9CA3AF;
    line-height: 28px;
    display:block;
    overflow: hidden;
    box-sizing: border-box;
    background-color: #ffffff !important;
    margin-bottom:15px;
}

.retailer-form:focus {
  outline: 0 !important;
}

.retailer-form-label {
    margin-bottom:5px;
    color: #6B7280 !important;
}

.retailer-btn {
    border:0 !important;
    width:100% !important;
    margin-top:15px;
    background-color: #121212 !important;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    line-height: 24px;
    color: #FCB215;
    border-radius: 8px;
    padding: 12px 24px 12px 24px;
}

.retailer-btn:hover, .retailer-btn:active  {
    background-color: #000 !important;
    color: #fff !important;
    border:0 !important;
    width:100% !important;
    margin-top:15px;
}

.search-icon {
  background: none !important;
}

.search-field {
  outline: none !important;
}



/* RESPONSIVE FIXES */
@media (max-width: 1024px) {
    .retailers-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on medium screens */
    }
}

@media (max-width: 768px) {
    .retailers-grid {
        grid-template-columns: 1fr; /* 1 column on small screens */
    }
}



/* Youtube embed */
/***** UNUSED ***
/*.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; // 16:9 aspect ratio
    overflow: hidden;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}*/



/* Slider corners */

.elementor-slides-wrapper {
  border-radius: 25px;
}



