/* Site Specific Styles 
*  Will not be overwritten in theme updates */

body, html {
  background-color: var(--rd-c-surface-base);
}
  h1, h2, h3, h4, h5, h6, .rd-heading-h1, .rd-heading-h2, .rd-heading-h3,.rd-heading-h4,.rd-heading-h5, .rd-heading-h6 {
font-weight: var(--rd-typography-weight-heading);
  }

/* Anchors in content */

/* Content links (not buttons/nav) */
:where(.entry-content) a:not(.gb-button, .button, .rd-button, [class*="btn"]) {
  color: var(--rd-c-text-link);
  text-decoration-color: currentColor;
  text-decoration-thickness: 0.08em;     /* no px; scales with font-size */
  text-underline-offset: 0.15em;          /* no px; accessible spacing */
  transition: color var(--rd-transition-default, .25s) ease-in-out,
              text-decoration-color var(--rd-transition-default, .25s) ease-in-out;
}

/* Hover/active */
:where(.entry-content) a:not(.gb-button, .button, .rd-button, [class*="btn"]):is(:hover, :active){
  color: var(--rd-c-text-link-hover);
  text-decoration-color: currentColor;
}

/* Focus ring — let your global outline tokens handle visibility; don’t remove it here */
.entry-content :where(a):not(.gb-button, .button, .rd-button, [class*="btn"]):focus-visible {
  outline: var(--rd-focus-outline-width) solid var(--rd-focus-outline-color);
  outline-offset: var(--rd-focus-outline-offset);
border-radius: var(--rd-radius-default); 
}


/* Navigation and UI */


/* Fix Hozontal scroll on mobile mega menu */
@media(max-width: 768px) {	

.menu-item-has-gb-mega-menu .gb-overlay--anchored.gb-overlay--width-full {
    width: 100% !important;
}

}

/* Woo Mini Cart, Theme Switcher, Search buttons in menu */

.wc-block-mini-cart__button svg, .wc-block-mini-cart__button, .rd-button--menu-button svg, .rd-theme-switcher { 
	transition:all 0.25s;
}
.wc-block-mini-cart__button {
	padding:4px !important;
	border-radius:999px !important;
	color:var(--rd-c-text-base) !important;
	border:1px solid var(--rd-c-text-base) !important;
}

.wc-block-mini-cart__badge {
	color:var(--rd-c-text-base);
	font-size:14px !important;
	font-family:var(--rd-ff-functional) !important;
	font-weight:normal !important;
}

.wc-block-mini-cart__button:hover {
	color:var(--rd-c-primary) !important;
	border:1px solid var(--rd-c-primary) !important;
}
.wc-block-mini-cart__button:hover svg {
	color:var(--rd-c-primary) !important;
}

.rd-theme-switcher {
  display: inline-flex;
  border: var(--rd-border-width-thin, 1px) solid var(--rd-c-text-base, var(--rd-base-500));
  border-radius: var(--rd-radius-pill);
  background-color: var(--rd-c-surface-elevated, var(--rd-base-0));
  overflow: hidden;
}

.rd-theme-toggle {
  all: unset;
  cursor: pointer;
  padding: var(--rd-padding-s);
  border-radius: var(--rd-radius-pill);
  align-items: center;
  justify-content: center;
  color: var(--rd-c-text-muted, var(--rd-base-500));
  transition: background 0.2s ease, color 0.2s ease;
}

.rd-site-header .rd-theme-switcher:hover {
  border-color:var(--rd-c-primary)
}

.rd-site-header .rd-theme-toggle {
  padding:4px;
  color:var(--rd-c-text-base);
}

.rd-site-header .rd-theme-toggle__icon  {
    width: 16px;
    height: 16px;
}

.rd-theme-switcher--2-buttons .rd-theme-toggle {
    border:2px solid var(--rd-c-surface-high);
}

.rd-theme-toggle:hover {
  color: var(--rd-c-primary, var(--rd-base-900));
}

.rd-theme-toggle:focus-visible
 {
  background: var(--rd-c-surface-low, var(--rd-base-300));
  border:2px solid var(--rd-c-text-base);
}


.rd-theme-toggle.is-active {
  background:var(--rd-c-surface-low, var(--rd-base-300));
  color: var(--rd-c-text-base, var(--rd-base-900));
}

.rd-theme-toggle__icon {
    width: 1rem;
    height: 1rem;
}



/* WooCommerce */

/* Elements */

/* [H2] Buttons, Info */

.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
    border-radius: var(--rd-radius-default, 4px) !important;
}

.woocommerce-error a, .woocommerce-info a, .woocommerce-message a, .woocommerce table.shop_table th {
    font-weight:500 !important;
 }


/* [H2] WooCommerce Layouts */

.woocommerce-page .site-main, .search-results .site-content {
    max-width:min(100%, var(--main-container-width));
    margin-inline: auto;
}


.product-template-default.woocommerce-page .site-main, .product-template-default.woocommerce-page .content-area {
    max-width:100%;
    padding-inline:0;
}


.left-sidebar .site.grid-container {
   padding-inline: var(--rd-spacing-content-padding);
}

.left-sidebar .site-content, .right-sidebar .site-content {
    max-width:min(100%, var(--rd-main-container-width));
    margin-inline: auto;
    row-gap: var(--rd-space-m);
    column-gap: var(--rd-space-l);
}

@media (max-width: 1200px) {

    .is-left-sidebar, .is-right-sidebar {
        width:25%;
    }

    .left-sidebar .site-content, .right-sidebar .site-content {
    row-gap: var(--rd-space-s);
    column-gap: var(--rd-space-s);
    }
}


/* [H2] Prodct page */

.woocommerce div.product div.images{
	margin-bottom:0;
}

.woocommerce #content div.product div.images, .woocommerce div.product div.images, .woocommerce-page #content div.product div.images, .woocommerce-page div.product div.images {
	flex:1 0 1px;
  -ms-flex-align: start;
}

.woocommerce #content div.product div.summary, .woocommerce div.product div.summary, .woocommerce-page #content div.product div.summary, .woocommerce-page div.product div.summary {
	flex:1 0 1px;
}

@media(max-width: 1024px) {

    .woocommerce #content div.product div.images, .woocommerce div.product div.images, .woocommerce-page #content div.product div.images, .woocommerce-page div.product div.image,   .woocommerce #content div.product div.summary, .woocommerce div.product div.summary, .woocommerce-page #content div.product div.summary, .woocommerce-page div.product div.summary {
        flex-basis:auto;
        width:100% !important;
    }
    .woocommerce #content div.product div.images, .woocommerce div.product div.images, .woocommerce-page #content div.product div.images, .woocommerce-page div.product div.images {
       margin-inline: auto;
    }

}


@media(max-width: 768px) {	
	.woocommerce div.product .product_title{
		font-size:var(--rd-fs-800);
	}
}

/* Badges */

.rd-hand-made-badge {
    max-height: 100px;
    max-width: 100px;
    float: right;
    margin-left: 10px;
    display: inline-block;
}

.woocommerce ul.products li.product.sales-flash-overlay .onsale { 
	left:50% !important;
  right:auto !important;
  transform: translateX(-50%);
	margin-top:-8px !important;
}

.onsale{
	font-weight:normal !important;
  background-color: var(--rd-c-primary) !important;
	border-radius:var(--rd-radius-default) !important;
   font-family: var(--rd-ff-functional);
   font-size:var(--rd-fs-250) !important;	
	vertical-align:middle;
    line-height: 1;
    padding:6px 10px !important;
	letter-spacing:0.06em;
}

@media(max-width: 768px) {
	.rd-hand-made-badge {
		width:90px;
	}
}

/* Texts on Product page */

.product .product_title.entry-title {
  font-size: var(--rd-fs-800);
  font-family: var(--rd-typography-family-hero) !important;
}

.woocommerce div.product p.price, .woocommerce ul.products li.product .price, .woocommerce-variation-price {
  font-weight: var(--rd-typography-weight-bold) !important;

}

.woocommerce-Price-amount, .woocommerce div.product p.price span {
   font-size: var(--rd-fs-400) !important;
    color:var(--rd-base-900);
}

/* Custom Card dynamic price */
.rd-card--product__price .woocommerce-Price-amount {
     font-size: var(--rd-fs-250) !important;
    color:var(--rd-c-text-secondary);
}


.woocommerce div.product p.price{
	margin-bottom:0.5em;
}

.woocommerce div.product p.price ins, .woocommerce div.product span.price ins {
	font-weight:var(--rd-typography-weight-bold) !important;
	font-style: normal !important;
} 


.woocommerce div.product p.stock {
  	font-family:var(--rd-ff-functional);
	text-transform:uppercase;
    margin-block: var(--rd-space-2xs) !important;
    font-size: var(--rd-fs-200);
    font-weight: var(--rd-typography-weight-bold, 500);
}


p.stock.in-stock {
	color:var(--rd-c-text-base) !important;
}

.stock.out-of-stock{
	color:var(--rd-c-text-danger) !important;
}

/* Breadcrumbs */

.rd-breadcrumbs {
  font-size:13px;
  font-weight: var(--rd-typography-weight-bold);
  color:var(--rd-c-text-secondary);
  display:flex;
}

.rd-breadcrumbs a {
  color:var(--rd-c-text-base);
  margin-right:2px;
}

.rd-breadcrumbs .current-item {
  margin-left:2px;
}

.rd-breadcrumbs span {
  flex: 0 0 auto; 
   white-space: nowrap;
}

.rd-breadcrumbs span + span a {
  margin-inline:2px;
  width:auto;
}

.rd-breadcrumbs a:hover {
  color:var(--rd-c-primary)
}

@media (max-width: 768px) {
  .rd-breadcrumbs {
  font-size:10px;
}
}

/* Product info tables */


.rd-product-info-table th {
  font-weight: var(--rd-typography-weight-bold);
  text-align: left;
}

.rd-product-info-table, .rd-product-info-table :where(tr, td, th) {
    border:0;
    line-height: 1.2em;
}

/* Table keeps semantics; rows get their own bg + radius via cells */
.rd-product-info-table {
  width: 100%;
  font-size: var(--rd-fs-300);
  border-collapse: separate; /* required for td border-radius */
  border-spacing: 0;       
  margin-bottom:var(--rd-space-xs);
}

.rd-product-info-table td {
  padding: var(--rd-padding-s);
  background-clip: padding-box; /* keep bg inside the rounded corners */
}

/* Every other row background */
.rd-product-info-table tbody tr:nth-child(odd) > td {
  background-color: var(--rd-base-100);
}

/* Round the row by rounding its edge cells */
.rd-product-info-table tbody tr:nth-child(odd) > td:first-child {
  border-top-left-radius: var(--rd-br-m);   
  border-bottom-left-radius: var(--rd-br-m);
}
.rd-product-info-table tbody tr:nth-child(odd) > td:last-child {
  border-top-right-radius: var(--rd-br-m); 
  border-bottom-right-radius: var(--rd-br-m);
}

.rd-product-info-table-row__first {
    width:35%;
    color:var(--rd-c-text-secondary);
}

.rd-product-info-table__title {
    font-weight: var(--rd-typography-weight-normal);
    margin-top:0;
    margin-bottom:var(--rd-space-2xs);

}

/* Reviews */

.woocommerce .star-rating span:before, .woocommerce p.stars:hover a::before {
    color: var(--rd-c-primary) !important;
}

.woocommerce-review-link {
	color:var(--rd-base-600) !important;
	text-decoration:none;
	font-weight: var(--rd-typography-weight-bold, 500);
}

.woocommerce-review-link:hover, .brand-link a:hover {
	color:var(--rd-c-primary) !important;
}

.woocommerce-product-details__short-description{
    margin-bottom:var(--rd-space-s);
}

.woocommerce-Reviews-title {
  font-size: var(--rd-fs-500);
}

.woocommerce-Reviews .comment-reply-title {
  font-weight: var(--rd-typography-weight-bold, 500) !important;
}

/* Variations */

.variations, .variations select{
	border-radius:var(--rd-radius-default);
	border:1px solid var(--rd-base-200) !important;
}

.variations {
	padding-left:1em;
	background:var(--rd-c-surface-lowest);
}

/* Override Woo select arrow with a dark/light mode-ready gray SVG */
.woocommerce div.product form.cart .variations select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b616e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E")
    no-repeat right var(--rd-space-s) center / 1.5em 1.5em;

  padding-inline-end: calc(1em + var(--rd-space-m));
}

.variations select{ 
	background-color:var(--rd-c-surface-base) !important;
}

.add-to-cart-panel form.cart, .woocommerce div.product.do-quantity-buttons form.cart{
    row-gap: var(--rd-space-s);
}

.woocommerce div.product form.cart .variations {
    margin-bottom:0 !important
}


.do-quantity-buttons form .quantity:not(.buttons-added):not(.hidden):after, .do-quantity-buttons form .quantity:not(.buttons-added):not(.hidden):before, .woocommerce form .quantity.buttons-added .minus, .woocommerce form .quantity.buttons-added .plus, .woocommerce form .quantity.buttons-added .qty {
    border-color:var(--rd-base-200) !important;
}

.woocommerce form .quantity.buttons-added .minus  {
    border-radius: var(--rd-radius-default) 0 0 var(--rd-radius-default) !important;
}
.woocommerce form .quantity.buttons-added .plus {
    border-radius: 0  var(--rd-radius-default) var(--rd-radius-default) 0 !important;
}

.quantity a, .quantity input {
    background: var(--rd-base-50) !important;
	font-weight:bold;
    font-family: var(--rd-ff-body);
}
.quantity a:hover{
    background: var(--rd-base-0) !important;
}


.variations .label{
	vertical-align:middle !important;
	line-height:1;
}

.woocommerce .woocommerce-product-rating {
margin-block: var(--rd-padding-m) !important;
}

.variations .label, .variations select, .variations .reset_variations, .woocommerce-review-link, 
.woocommerce div.product form.cart .variations label {
	text-align:left;
	font-size:var(--rd-fs-200) !important;
	font-family:var(--rd-ff-functional);
	text-transform:uppercase;
	text-decoration:none;
	font-style:normal !important; 
	font-weight:normal !important;
}

@media(min-width: 769px) {

	.quantity.buttons-added{
		flex:0 auto !important;
	}
	.single_add_to_cart_button{
		flex:auto !important;
	}

}

/* Remove button if variation sold out */
.woocommerce-variation-add-to-cart-disabled {
display: none !important;
}

/* Waitlist option */
.woocommerce_waitlist {
	background-color:var(--rd-c-primary) !important;
	color:#fff !important;
	text-transform:uppercase;
	letter-spacing:0.1em;
}

.woocommerce_waitlist:hover {
	background-color:var(--rd-c-primary-alt) !important;
}


.single_add_to_cart_button {
	font-size:var(--rd-fs-400);
	text-transform:uppercase;
	letter-spacing:0.25em;
	border-radius:var(--rd-radius-default) !important;
    background-color: var(--rd-c-accent) !important;
    color: #ffffff;
    background-color: var(--rd-c-primary) !important;
    text-transform: uppercase;
    transition: all 0.3s ease;
}
.single_add_to_cart_button:hover {
  background-color: var(--rd-c-primary-alt) !important;
}

.woocommerce div.product form.cart {
	margin-bottom:1em;
}

.product_meta{
	border:0;
	padding-top:0;
	margin-top:0;
	font-family:var(--rd-ff-functional);
}

.posted_in a{
	text-decoration:none;
}

/* RD Custom Product Lists */

.rd-price--sale {}
.rd-price {}
.rd-price__prefix {}
.rd-price--from {}
.rd-price--sale .rd-price__regular, .rd-price--sale .rd-price__regular .woocommerce-Price-amount {color:var(--rd-c-text-secondary);}




/* [H2] Mini Cart & Cart */

/* Add to cart prompt */

.add-to-cart-panel {
  background: var(--rd-c-surface-high) !important;
  color: var(--rd-c-text-base) !important;
}

.continue-shopping-link {
  text-decoration: none !important;
  color: var(--rd-c-text-link) !important;
}
/* Sidebar Mini Cart */

:where(.wp-block-woocommerce-mini-cart-contents) {
  background-color: var(--rd-c-surface-elevated) !important;
}

.wc-block-cart-item__remove-link {
  font-family: var(--rd-ff-functional) !important;
  text-transform: uppercase !important;
  color:var(--rd-c-text-danger) !important;
  text-decoration: none !important;
}

.wc-block-cart-item__remove-link:hover {
  font-family: var(--rd-ff-functional) !important;
  text-transform: uppercase !important;
  text-decoration: underline !important;
}

.wc-block-mini-cart__title, .wc-block-components-totals-item__label, .wc-block-formatted-money-amount, .wc-block-components-product-badge {
	font-weight:var(--rd-typography-weight-bold) !important;
}

.wc-block-mini-cart__title {
  font-size: var(--rd-fs-700) !important;
}

.wc-block-components-product-name {
	text-decoration:none;
	font-weight:var(--rd-typography-weight-bold);
}

.wc-block-mini-cart__footer-cart, 
.wc-block-mini-cart__footer-checkout {
	border-radius:var(--rd-radius-button);
	transition:all 0.3s ease !important;
}

.wc-block-mini-cart__footer-checkout {
	background:var(--rd-c-primary) !important;
  color: var(--rd-c-static-dark);
}

.wc-block-mini-cart__footer-checkout:hover {
	background:var(--rd-c-primary-alt) !important;
  color: var(--rd-c-static-dark);
}

.wc-block-cart-item__product .wc-block-components-product-metadata__description p {line-height:1.4em;}

.wc-block-components-product-low-stock-badge {
  background-color:var(--rd-c-warning-soft);
	border-color:var(--rd-c-warning-soft) !important;
}

.wc-block-components-sale-badge{
	background-color:var(--rd-c-accent);
  color:#fff;
	border-color:var(--rd-c-accent) !important;
}


/* Cart */

/* Vendor and variations data in Cart */

.woocommerce-cart-form__cart-item .variation, .woocommerce-cart-form__cart-item .variation dt, .woocommerce td.product-name dl.variation .wc-item-meta-label, .woocommerce td.product-name dl.variation dt, .wc-block-components-order-summary .wc-block-components-order-summary-item .wc-block-components-product-metadata  {
font-weight:var(--rd-typography-weight-normal) !important;
font-size: var(--rd-fs-200) !important;
line-height: 1.4;
font-family: var(--rd-ff-functional) !important;
color: var(--rd-c-text-secondary);
}

.woocommerce td.product-name .wc-item-meta .wc-item-meta-label, .woocommerce td.product-name .wc-item-meta dt, .woocommerce-cart-form__cart-item .product-name a {
    text-decoration: none;
    font-weight:var(--rd-typography-weight-bold);
}

.cart_totals h2, .woocommerce-checkout .content-area h2, 
.woocommerce-checkout .content-area h3 {
    font-weight:var(--rd-typography-weight-bold);
}
.woocommerce-checkout .content-area h2 {
   font-size:var(--rd-fs-700) !important;
   margin-bottom:var(--rd-padding-s);
}
/* In Checkout the first input group has different margin than the rest */
#contact-fields h2 {
   font-size:var(--rd-fs-700) !important;
   margin-bottom:var(--rd-padding-l);
}

.woocommerce table.shop_table td{
  border-bottom:1px solid var(--rd-c-border) !important;
}

#add_payment_method table.cart img, .woocommerce-cart table.cart img, .woocommerce-checkout table.cart img {
  width:80px !important;
  border-radius: var(--rd-radius-button);
}

.woocommerce table.shop_table th {
  border-bottom:1px solid var(--rd-c-border) !important;
  background-color: var(--rd-c-overlay-soft) !important;
  font-family: var(--rd-ff-functional);
  font-size: var(--rd-fs-300);
}

.woocommerce table.shop_table {
  border-top:1px solid var(--rd-c-border) !important;
}

.woocommerce-cart .amount{
  font-family: var(--rd-ff-functional);
    font-size: var(--rd-fs-300) !important;
}


.woocommerce-cart .checkout-button.alt, .woocommerce-cart .site-content .button, .coupon .input-text, .actions .wp-element-button.button, .checkout_coupon .wp-element-button.button, #place_order {
	border-radius:var(--rd-radius-button);
	transition:all 0.3s ease;
}

#place_order {
	margin-bottom:6em;
}

#customer_details input, 
#customer_details textarea, .checkout_coupon input{
	border-radius:var(--rd-radius-card);
}

#customer_details label{
	font-size:0.9em;;
}

.woocommerce-shipping-fields{
	margin-top:1em;
}

.woocommerce-MyAccount-navigation-link--downloads{
	display:none;
}

.woocommerce-cart h2, 
.woocommerce-checkout h3{
	
	font-weight:var(--rd-typography-weight-bold);
	letter-spacing:-0.03em;
}

/* Checkout */




/* Hide 
Country
Product description
Step descriptions */
.wc-block-components-product-metadata__description, .wc-block-components-country-input, .wc-block-components-checkout-step__description  {
  display:none;
}

.wc-block-components-validation-error {
  color: var(--rd-c-danger) !important;
}

.wp-block-woocommerce-checkout-order-summary-block {
  background-color: var(--rd-c-surface-high);
}

.wp-block-woocommerce-checkout-order-summary-block, .wp-block-woocommerce-checkout-order-summary-block, .wc-block-components-totals-wrapper, .wp-block-woocommerce-checkout-order-summary-totals-block {
  border-color:var(--rd-c-border) !important;
}

.wc-block-components-checkout-step__description, .wc-block-components-address-form__address_2-toggle, .wc-block-components-checkbox .wc-block-components-checkbox__label, .wc-block-components-checkbox>span, .wc-block-components-validation-error, .wc-block-components-totals-footer-item-tax, .wc-block-components-product-price, .wc-block-components-order-summary-item__quantity,
.wc-block-components-shipping-rates-control__package-items  {
  font-family: var(--rd-ff-functional) !important; 
  font-size: var(--rd-fs-250) !important;
  font-weight: normal !important;
}

.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-formatted-money-amount, .wc-block-components-totals-item__label, .wc-block-components-totals-item__value, .wc-block-components-panel__button, .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title .wc-block-components-checkout-order-summary__title-text, .wc-block-components-shipping-rates-control__package-title  {
   font-family: var(--rd-ff-functional) !important; 
   font-weight: normal !important;
   font-size: var(--rd-fs-300) !important;
}

.wc-block-components-totals-footer-item-tax {
      font-weight:var(--rd-typography-weight-bold) !important;
}

.wc-block-components-form .wc-block-components-text-input input[type=email], .wc-block-components-form .wc-block-components-text-input input[type=number], .wc-block-components-form .wc-block-components-text-input input[type=password], .wc-block-components-form .wc-block-components-text-input input[type=tel], .wc-block-components-form .wc-block-components-text-input input[type=text], .wc-block-components-form .wc-block-components-text-input input[type=url], .wc-block-components-text-input input[type=email], .wc-block-components-text-input input[type=number], .wc-block-components-text-input input[type=password], .wc-block-components-text-input input[type=tel], .wc-block-components-text-input input[type=text], .wc-block-components-text-input input[type=url] {
border-color: var(--rd-c-border) !important;
}

.wc-block-components-form .wc-block-components-text-input.has-error input, .wc-block-components-form .wc-block-components-text-input.has-error input:active, .wc-block-components-form .wc-block-components-text-input.has-error input:focus, .wc-block-components-form .wc-block-components-text-input.has-error input:hover, .wc-block-components-text-input.has-error input, .wc-block-components-text-input.has-error input:active, .wc-block-components-text-input.has-error input:focus, .wc-block-components-text-input.has-error input:hover {
  border-color: var(--rd-c-danger) !important;
}

.wc-block-components-form .wc-block-components-text-input input[type=email]:focus,.wc-block-components-form .wc-block-components-text-input input[type=number]:focus,.wc-block-components-form .wc-block-components-text-input input[type=password]:focus,.wc-block-components-form .wc-block-components-text-input input[type=tel]:focus,.wc-block-components-form .wc-block-components-text-input input[type=text]:focus,.wc-block-components-form .wc-block-components-text-input input[type=url]:focus,.wc-block-components-text-input input[type=email]:focus,.wc-block-components-text-input input[type=number]:focus,.wc-block-components-text-input input[type=password]:focus,.wc-block-components-text-input input[type=tel]:focus,.wc-block-components-text-input input[type=text]:focus,.wc-block-components-text-input input[type=url]:focus {
    border-color: var(--rd-base-900) !important;
}

/* Checkout Payment Gateway and Block Cart items */

.wc-block-components-radio-control {
	background:var(--rd-c-surface-high);
}

.wc-block-components-payment-method-label {
font-weight:var(--rd-typography-weight-bold);
}

.wc-checkout-sis-methods-container .wc-checkout-sis-method-group-title {
	font-weight:var(--rd-typography-weight-bold);
	font-family:var(--rd-ff-functional);
	font-size:var(--rd-fs-250);
}

.wc-checkout-sis-methods-container .wc-checkout-sis-group-methods .wc-checkout-sis-method.selected, .wc-checkout-sis-methods-container .wc-checkout-sis-group-methods .wc-checkout-sis-method:hover {
	border-color:var(--rd-base-800) !important;
	border-width:2px;
}

.wc-checkout-sis-methods-container .wc-checkout-sis-group-methods .wc-checkout-sis-method {
	border:2px solid var(--rd-c-surface-high);
	border-radius:8px;
}

.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted, .wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted {
	box-shadow:none !important;
	border:1px solid var(--rd-c-border);
}



html.rd-theme--dark .wc-checkout-sis-methods-container .wc-checkout-sis-group-methods .wc-checkout-sis-method {
	border:4px solid var(--rd-c-surface-high);
}

html.rd-theme--dark .wc-checkout-sis-methods-container .wc-checkout-sis-group-methods .wc-checkout-sis-method.selected, html.rd-theme--dark .wc-checkout-sis-methods-container .wc-checkout-sis-group-methods .wc-checkout-sis-method:hover {
	border-color:var(--rd-c-primary) !important;
	border-width:4px;
}


/* [H2] Frontpage Product Listings */

.home .woocommerce ul.products li.product .button {display:none;}

/* [H2] Product Archives */

/* Fix too small thumbnail bug in v. 10.x */
.inside-wc-product-image {
  display:block !important;
}

.woocommerce ul.products li.product .woocommerce-LoopProduct-link h2, .woocommerce ul.products li.product .woocommerce-loop-category__title, .products .woocommerce-loop-product__title {
    font-weight:  var(--rd-typography-weight-bold);
    letter-spacing: -0.25px;
    font-size: var(--rd-fs-300);
    font-family: var(--rd-ff-body);
    line-height: 1.2em;
    padding-bottom: var(--rd-padding-xs) !important;
    margin-top:0 !important;
    padding-top:var(--rd-padding-xs) !important;

}

.woocommerce .woocommerce-ordering select  {
    border:1px solid var(--rd-c-border);
border-radius:var(--rd-radius-default);
background-color: var(--rd-c-surface-high);
}


.products .wc-product-image img {
    border-radius:var(--rd-radius-default);}

.products .add_to_cart_button, .products .button {
    padding:var(--rd-padding-s) var(--rd-padding-m) !important;
    background:transparent !important;
    border:2px solid var(--rd-c-primary) !important;
    border-radius:var(--rd-radius-default) !important;
    color:var(--rd-c-text-base) !important;
    font-family:var(--rd-ff-functional);
    font-size:var(--rd-fs-250) !important;
    text-transform:uppercase;
    line-height: 1.1em !important;
    margin-top:var(--rd-space-xs) !important;
}

.woocommerce ul.products li.product .woocommerce-LoopProduct-link>:not(:first-child) {
  margin-top:0 !important;
}

.products .add_to_cart_button:hover, .products .button:hover {
background:transparent !important;
border:2px solid var(--rd-c-primary-alt) !important;
}

.products .outofstock{
opacity:0.4;
}

.woocommerce ul.products li.product .price, .woocommerce div.product p.price, 
.woocommerce ul.products li.product .price .amount {
    font-weight: var(--rd-typography-weight-body) !important;
    font-size: var(--rd-fs-250) !important;
    color:var(--rd-c-text-secondary) !important;
}

/* [H2] Left Sidebar */


:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper){
    border:0;
    padding:0;
 }
 
/* FacetWP search */

.facetwp-facet input.facetwp-search {
  background-color: var(--rd-c-surface-high);
}

.facetwp-facet input.facetwp-search:is(:active, :focus) {
   border-color:var(--rd-c-primary);
}

/* Woo native search block */

.wp-block-search__input, .facetwp-facet input.facetwp-search{
    border:1px solid var(--rd-c-border) !important;
 }
 
.wp-block-search__input {
    border-radius:var(--rd-br-s) 0 0 var(--rd-br-s) !important; 
  }
 
.wp-block-search__input:active, 
.wp-block-search__input:focus, 
 .inside-left-sidebar .wp-block-search__button:active,
 .inside-right-sidebar .wp-block-search__button:active{
 border-color:var(--rd-c-primary) !important;
 }
 
 .inside-left-sidebar .wp-block-search__button,
 .inside-right-sidebar .wp-block-search__button{
    border-radius:0 var(--rd-br-s) var(--rd-br-s) 0 !important;
    margin-left:0 !important;
    border-color:var(--rd-c-border) !important;
    border-width:1px 1px 1px 0 !important;
 }
 
 .product-search {
    text-decoration:none;
    color:var(--rd-base-600);
 }
 
 .product-search:hover{
    color:var(--rd-c-primary) !important;
 }
 
/* No search results */

.search-no-results .woocommerce-archive-wrapper {
  max-width: var(--rd-main-container-width-wide);

  margin: 0 auto;
}

.search-no-results .inside-article {
    padding-block: var(--rd-spacing-content-padding);
}

.woocommerce-no-products-found {
  display: none;
}

/* Product Category list block */

 .wc-block-product-categories-list {
    list-style-type:none;
 }
 .wc-block-product-categories-list{
    margin-left:0;
 }
 
 .wc-block-product-categories-list-item {
    line-height:1.6;
    width:100% !important;
    font-size:var(--rd-fs-300)
 }
 
 .wc-block-product-categories-list-item a:hover{
    color:var(--rd-c-primary);
 }
 
 .wc-block-product-categories-list--depth-0 .wc-block-product-categories-list-item{
    
 }
 
 .wc-block-product-categories-list--depth-1 .wc-block-product-categories-list-item, 
 .wc-block-product-categories-list--depth-1 .wc-block-product-categories-list-item{
    border-top:0;
    padding-top:0;
    margin-top:0;
 }
 
 .wc-block-product-categories-list--depth-1{
    padding-left:var(--rd-padding-m);
 }
 .wc-block-product-categories-list--depth-2{
    padding-left:var(--rd-padding-m);
 }
 
 .wc-block-product-categories-list--depth-0 a{
    text-decoration:none;
 color:var(--rd-c-text-base);
    font-weight:var(--rd-typography-weight-bold);
 
 }
 
 .wc-block-product-categories-list--depth-1 a{ 
 text-transform:none;
    font-weight:var(--rd-typography-weight-normal);
 }
 
 .wc-block-product-categories-list--depth-2 a{
    text-decoration:none;
 color:var(--rd-c-text-base);
    font-weight:var(--rd-typography-weight-normal);
 
 }

/* [H1] PLUGINS */

/* [H2] Facet WP */

  body .facetwp-flyout {
        right: 0;
        transform: translateX(100%);
      border:0 !important;
        width:100%;
      }


.facetwp-flyout-content {
          padding-inline: var(--rd-padding-m);
}

.facetwp-flyout__header {
display:flex;
flex-wrap: wrap;
flex-direction: row;
justify-content:space-between;
align-items: center;
border-bottom: 1px solid var(--rd-c-border);
}

.facetwp-flyout__footer {
  position:fixed;
  bottom:0;
	left:0;
	right:0;
  width:100%;
  background:var(--rd-c-surface-base);
	padding:var(--rd-padding-s);
  border-top: 1px solid var(--rd-c-border);
  z-index:999;
  display: flex;
  justify-content: center;
}

.rd-button--facet-wp-flyout {
margin:0 !important;
}

.facetwp-flyout__heading {
  font-size: var(--rd-fs-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0;
  padding-left: var(--rd-padding-m);
}

.facetwp-flyout-close a, .facetwp-flyout__heading{
flex-basis: 1 1 auto;
}


.facetwp-flyout-close svg {
  width: 22px;
  height: 22px;
	
}
.facetwp-flyout-close a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
	color:var(--rd-c-text-base);
}

.facetwp-flyout-close a:hover {
	color:var(--rd-c-text-muted);
}

.facetwp-flyout .facetwp-selections{
    margin-bottom:20px;
 }
 
 .facetwp-flyout .facetwp-selections li {margin-bottom:5px;}
 
 .facetwp-flyout {
        background:var(--rd-c-bg-base) !important;}
 
 .facetwp-flyout .facetwp-facet{
    margin-bottom:var(--rd-space-s);
 }
 
 .flyout-item{
    padding-bottom:0 !important;
 }
 
 .flyout-row h3 {
    font-size: var(--rd-fs-500);
font-weight:var(--rd-typography-weight-body);
    margin-bottom:var(--rd-space-xs);
 }
 

.facetwp-selections ul {
    margin-bottom:var(--rd-space-s)
}

.facetwp-facet {
  font-size:var(--rd-fs-250)
}

 .facetwp-type-sort select, .facetwp-dropdown, .facetwp-search {
        border-radius:var(--rd-radius-s);
  font-size:var(--rd-fs-250)
 }
 
 .facetwp-selections ul {
    margin:0;
 }
 
 .facetwp-selections li {
    font-family: var(--rd-ff-functional);
    border:1px solid var(--rd-c-border);
    background:var(--rd-c-surface-high);
    vertical-align:middle;
    padding:var(--rd-padding-s) var(--rd-padding-m);
    margin-right:var(--rd-padding-s);
    border-radius:var(--rd-radius-pill);
    font-size: var(--rd-fs-250);
 }


 @media ( max-width:768px ) {
  .facetwp-selections li {
    margin-top:var(--rd-padding-s);
  }
  .facetwp-selections li:first-of-type {
    margin-top:var(--rd-padding-m);
  }
 }

 .facetwp-selections .facetwp-selection-value {
      background-image: url(/wp-content/themes/robodog_gp/site-specific/images/icon-close.png) !important; 
 }
 
html.rd-theme--dark .facetwp-selections .facetwp-selection-value {
      background-image: url(/wp-content/themes/robodog_gp/site-specific/images/icon-close-dark.png) !important;
 }
 

 .facetwp-selections .facetwp-selection-value {
    background-position: right top !important;
 }

 .facetwp-selections li .facetwp-selection-value:hover{
   color:var(--rd-c-text-muted);
 }
 
 .inside-left-sidebar .facetwp-facet,  .inside-right-sidebar .facetwp-facet{
    margin-bottom:0;
 }
 
 .inside-left-sidebar .facetwp-dropdown,  .inside-right-sidebar .facetwp-dropdown {
    width:100%;
 }
 
 .facetwp-slider-reset{
    background:var(--rd-c-surface-high)  !important;
    box-shadow:none !important;
    border: 1px solid var(--rd-c-border) !important;
    color:var(--rd-c-text-base) !important;
    padding:var(--rd-padding-xs) var(--rd-padding-s) !important;
     font-family: var(--rd-ff-functional);
    font-size: var(--rd-fs-250);
    margin-top:var(--rd-padding-s);
    font-weight:var(--rd-typography-weight-bold);
    border-radius: var(--rd-radius-pill) !important;
 }
 
 
 .facetwp-slider-reset:hover{
    background:var(--rd-c-surface-low)  !important; 
 }
 
 .facetwp-facet input.facetwp-search, .facetwp-facet input.facetwp-location{
    min-width:50px !important;
    max-width:100% !important;
 }
 
 .facetwp-input-wrap {
  width: 100%;
 }
 .facetwp-facet input.facetwp-search {
  width: 100%;
    border-radius:var(--rd-radius-default);
    margin-bottom:0;
 }





/* Theme predefined site-specific styles - remove or tweak if needed */

/* Slide underline link width and color */

a.rd-slide-ul, .rd-slide-ul a {
    color: var(--rd-c-text-link);
}

a.rd-slide-ul:hover, .rd-slide-ul a:hover {
    color: var(--rd-c-text-link-hover);
}

a.rd-slide-ul:before, .rd-slide-ul a:before {
    height: 2px !important;
    bottom: -2px !important;
    background: var(--rd-c-text-link);
    left: 0;
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

/* Layout styles */




/* Search page */

.wp-block-query-title {
    font-size:var(--rd-fs-600);
    color:var(--rd-c-primary);
    margin-bottom:var(--rd-space-m);
}

::selection {
    color:#fff;
    background:var(--rd-c-primary-alt);
}

/* Simple Animate up, down, left, right */

@media (prefers-reduced-motion: no-preference) {
  /* Default (no JS): visible, no animation */
  .rd-animate {
    opacity: 1;
    transform: none;
  }

  /* JS present: start hidden */
  .rd-js .rd-animate {
    opacity: 0;
  }

  /* JS present and ready: transitions apply */
  .rd-js.rd-reveal-ready .rd-animate {
    transition: opacity 1s ease, transform 0.6s ease;
    will-change: opacity, transform;
  }

  /* DIRECTION MODIFIERS */
  .rd-js .rd-animate--down    { transform: translateY(var(--rd-motion-translate-negative, -5rem)); }
  .rd-js .rd-animate--up      { transform: translateY(var(--rd-motion-translate-positive, 5rem)); }
  .rd-js .rd-animate--left    { transform: translateX(var(--rd-motion-translate-negative, -5rem)); }
  .rd-js .rd-animate--right   { transform: translateX(var(--rd-motion-translate-positive, 5rem)); }

  /* Visible state */
  .rd-js.rd-reveal-ready .rd-animate.rd-is-visible {
    opacity: 1;
    transform: translate(0, 0);
  }

  /* Editor preview: disable animation */
  .editor-styles-wrapper .rd-animate {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
