/*
 * Westgear – egen CSS (flyttad från pluginet Simple Custom CSS and JS, post 47873 "Custom css", 2026-12-02).
 * Laddas i sidfoten (som tidigare) så att den kommer efter Woodmarts CSS-delar som laddas i <body>.
 * Enqueue: functions.php, westgear_custom_footer_css().
 */
/* Home page css */

.slider-home .elementor-button {
	width: 110px;
}


@media (max-width:768px)  {
.slider-home .elementor-button {
	width: unset;
	font-size: 12px !important;
	padding: 14px 15px !important;
	line-height: 0;
}
}

.promo-banner .wrapper-content-banner {
	padding: 10px 12px;
}

.ajax-product-tab-custom li {
	background: #F5F5F5;
	padding-left: 10px;
	padding-right: 10px;
	margin-right: 4px !important;
	border-radius: 4px;
}

.ajax-product-tab-custom li.wd-active {
	background: #222;
}


.products .product-wrapper .wd-product-cats {
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
}


.home-categories .category-image img {
	max-width: 200px;
}

@media (max-width:768px)  {
	.home-categories .category-image img {
	max-width: 100px;
}
}


.boat-brand-logo-slider .promo-banner {
	border: 1px solid #dfdfdf;
	border-radius: 6px;
}

/* product archive page */
.widget_product_categories .wd-cats-toggle:hover, .widget_product_categories .wd-cats-toggle.toggle-active {
    background-color: #222222;
    color: #fff;
}
.widget_product_categories .wd-cats-toggle {
    font-size: 10px;
	color: #000;
    background: #e5e5e5;
}


/* product page css */

.wd-sticky-btn .stock {
    display: none;
}

.wd-sticky-btn .woobt-wrap {
    display: none;
}

.cwginstock-subscribe-form .panel-primary {
    border-color: #222222;
}
.cwginstock-subscribe-form .panel-heading {
    padding: 5px 5px;
    background-color: #222 !important;
}
.cwginstock-subscribe-form h4 {
    margin-bottom: 0;
}

.cwgstock_button {
    background: #222222;
    color: #fff;
    padding: 14px 1px !important;
    font-size: 14px !important;
}

.woobt-before-text.woobt-text {
    color: #222;
    font-weight: bold;
    font-size: 20px;
}

.woobt-availability {
    display: none;
}

@media (max-width:768px)  {
.woobt-products .woobt-product {
    flex-wrap: wrap;
    justify-content: left;
}
	.woobt-products .woobt-product .woobt-quantity {
    text-align: left;
    flex: 0 0 100px;
}
	
	.woobt-title, .woobt-quantity, .woobt-price {
    flex: 1 1 100%;
}
	
	
}

.woocommerce-product-gallery__image {
	text-align: center;
}
.woocommerce-product-gallery img {
	max-height: 500px;
	width: auto;
}
/* Huvudbilden: Woodmart 8 sätter width:100% (högre specificitet), så höga bilder
   trycktes ihop av max-height ovan. object-fit behåller proportionerna. (2026-12-02) */
.woocommerce-product-gallery .wd-carousel-item img {
	max-height: 500px;
	object-fit: contain;
}
/* Miniatyrer (Woodmart 8: .wd-thumbs): hela bilden i stället för beskuren, max 130px hög,
   tunn ram och mörkare ram på vald bild. Ersätter de gamla .product-image-thumbnail-reglerna. (2026-12-02) */
.woocommerce-product-gallery .wd-thumbs .wd-carousel-item {
	text-align: center;
	border: 1px solid #80808026;
	transition: border-color .2s;
}
.woocommerce-product-gallery .wd-thumbs .wd-carousel-item.wd-thumb-active {
	border-color: #22222299;
}
.woocommerce-product-gallery .wd-thumbs .wd-carousel-item img {
	max-height: 130px;
	width: auto;
	object-fit: contain;
}

.product-quote-tab .elementor-tab-content {
	color: #464646;
	font-size: 16px;
}


.product-grid-item .product-image-link img {
	max-height: 170px;
	width: auto;
}

.product-two-grid-fix .product-grid-item .product-image-link img {
	height: 330px;
	object-fit: cover;
	max-height: unset;
	width: 100%;
}

@media (max-width:1024px)  {
.product-two-grid-fix .product-grid-item .product-image-link img {
	height: auto;
}
}

.woocommerce-cart-form__quote-item .quantity input {
	width: 50px;
}

.woocommerce-cart-form.addify-quote-form .af_quote_fields {
	width: 100%;
}
.woocommerce-cart-form.addify-quote-form .quote-fields .addify-option-field textarea {
	min-height: 100px;
}

.button.alt.addify_checkout_place_quote {
	border-radius: var(--btn-shop-brd-radius);
	color: var(--btn-shop-color);
	box-shadow: var(--btn-shop-box-shadow);
	background-color: var(--btn-shop-bgcolor);
}


/* request quote page */
.addify-quote-form button {
    color: #fff !important;
}

.addify-quote-form p small {
    display: none;
}

.addify-quote-form td.actions {
    text-align: right;
}

.addify-quote-form .product-price {
    display: none;
}

.addify-quote-form .product-subtotal {
    display: none;
}
.addify-quote-form  .cart-collaterals {
    display: none;
}

.wd-my-account-sidebar li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--request-quote {
    display: none;
}

.wd-dropdown-menu .woocommerce-MyAccount-navigation-link--request-quote {
    display: none;
}


/* Footer */
.wd-prefooter {
	padding-bottom: 0;
}


.meta-author {
	display: none !important;
}


.single-product p.stock {
    cursor: pointer;
}

.free-shipping-text-custom {
    color: #222222;
    font-size: 20px;
    margin-top: -15px;
    display: block;
    margin-bottom: 15px;
    font-style: italic;
    font-weight: bold;
    border: 2px dashed;
    padding: 2px 6px;
    width: max-content;
}

span.free-shipping-text-small {
    display: block;
    font-size: 14px;
    color: #6c6c6c;
}
