/*
 Theme Name:   Woodmart Child
 Theme URI:    https://yourwebsite.com/
 Description:  Child theme for Woodmart
 Author:       Your Name
 Author URI:   https://yourwebsite.com/
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart-child
*/




.specs-container {
    display: flex;
    flex-wrap: wrap; /* Allow items to wrap on smaller screens */
    gap: 30px;
    margin: 0;
}

.specs-table {
    flex: 1 1 100%; /* Full width on mobile, then adjust */
}

.specs-resources {
    flex: 1 1 100%; /* Full width on mobile, then adjust */
    padding-left: 0; /* Remove left padding on mobile */
}

.specs-details {
    width: 100%;
    border-collapse: collapse;
	border: 1px solid rgb(220, 221, 222);
    font-size: 14px; /* Base font size */
}

.specs-details th, 
.specs-details td {
    padding: 10px 12px; /* Slightly smaller padding on mobile */
    text-align: left;
	font-size: 16px;
    border-bottom: 1px solid rgb(220, 221, 222);
}

.specs-details th {
    font-weight: 700;
    color: #555;
    width: 40%;
	background: #e6e7e8;
    border-bottom: 1px solid rgb(220, 221, 222);
}

.specs-details tr:hover {
    background-color: #f9f9f9;
}

.pdf-resource {
    text-align: center;
    margin-top: 20px;
    display: flex;
    flex-direction: column; /* Stack items vertically on mobile */
    align-items: center;
}

.pdf-icon {
    margin-bottom: 15px;
}
.pdf-links{
	color: #6d6e71;
}
.pdf-links a {
    text-decoration: none;
    font-weight: 500;
    margin: 0 5px;
    transition: color 0.3s;
    color: #6d6e71;
    font-size: 14px;
	margin: 0;
}
.pdf-links strong {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    color: #6d6e71;
}


/* Medium devices (tablets, 768px and up) */


/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .specs-details th, 
    .specs-details td {
        padding: 12px 15px; /* Original padding on desktop */
    }
    
    .pdf-resource {
        flex-direction: row; /* Icon and links side by side on desktop */
        text-align: left;
    }
    
    .pdf-icon {
        margin-right: 10px;
        margin-bottom: 0;
    }
    
    h2 {
        font-size: 22px;
    }
}
.single-product__overview{
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, .70);
}


/* APPLICATIONS CSS BEGI */


.applications-grid {
    display: flex;
    flex-flow: wrap;
}

.application-card {
    padding-left: 8px;
    padding-top: 8px;
    -webkit-box-flex: 0;
    flex-grow: 0;
    max-width: 50%;
    flex-basis: 50%;
}
.application-card .application-icon{
margin: 0px 16px 0px 0px;
    height: 22.5px;
    width: 18px;
}
.application-card a{
	border-bottom: 1px solid transparent;
}
.application-card > div:hover a{
	border-bottom: 1px solid rgba(255, 255, 255, .70);
}
.application-card a{
    font-size: 16px !important;
    font-weight: 600!important;
    color: rgba(255, 255, 255, .85)!important;

}
/* APPLICATIONS CSS END */

/**
 * CSS FOR COLLAPSIBLE BUTTON
 * */
.specs-table {
  position: relative;
  max-height: 393px; /* Shows 6 full rows + partial 7th row */
  overflow: hidden;
  margin-bottom: 20px;
	transition: max-height 0.5s ease;
}

.specs-details tr:nth-child(n+8) {
  display: none;
}

.specs-details tr:nth-child(7) {
  opacity: 0.6;
  position: relative;
}

.specs-details tr:nth-child(7)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
    height: 45px;
    transition: opacity 0.3s ease;
    background: linear-gradient(rgb(255 255 255 / 55%), rgb(241, 242, 242));
}
.specs-table.expanded .specs-details tr:nth-child(7)::after {
  opacity: 0;
}
.specs-details tr:nth-child(7) {
  opacity: 0.6;
  position: relative;

}
.see-more-btn {
	position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 35px;
	font-weight:400;
	font-size:14px;
    background: #0e3d73;
    color: #fff;
    border: 1px solid #ddd;
    border-radius: 35px;
    cursor: pointer;
    z-index: 10;
	width: 250px;
    text-align: center;
}
.see-more-btn:hover{
	color: #fff!important;
}
/* Expanded state */
.specs-table.expanded {
  max-height: none;
}

.specs-table.expanded .specs-details tr {
  display: table-row;
  opacity: 1;
}

.specs-table.expanded .specs-details tr::after {
  display: none;
}


/**
 * Fallback Css for color swatches
 * */
.wd-swatch {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--wd-swatch-w);
    height: var(--wd-swatch-h);
    color: var(--color-gray-900);
    vertical-align: middle;
    text-align: center;
    font-weight: 600;
    font-size: var(--wd-swatch-size);
    line-height: 1;
    cursor: pointer;
    transition: all .25s ease
}

.wd-swatch :is(img,picture) {
    display: block;
    max-height: 100%;
    width: inherit;
    height: inherit;
    border-radius: inherit;
    object-fit: cover
}

.wd-swatch.wd-bg .wd-swatch-text {
    display: none
}

.wd-swatch.wd-text {
    min-width: 1em;
    min-height: 1em;
    width: auto;
    height: auto
}

.wd-swatch.wd-text .wd-swatch-text {
    padding: 0 calc(var(--wd-swatch-size) / 5);
    font-size: var(--wd-swatch-text-size)
}

.wd-swatch.wd-linked {
    cursor: pointer !important
}

.wd-swatch-bg {
    display: inherit;
    align-items: inherit;
    justify-content: inherit;
    width: 100%;
    height: 100%;
    border-radius: inherit
}

:is(body:not(.global-color-scheme-light),.color-scheme-dark) .wd-swatch.wd-bg .wd-swatch-bg:is(:not([style^="background-color"]),[style*="#ffffff"],[style*="#FFFFFF"],[style*="255,255,255"]):before {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid var(--wd-swatch-brd-color);
    border-radius: inherit
}

[class*="wd-swatches"] {
    --wd-swatch-size: 25px;
    --wd-swatch-w: 1em;
    --wd-swatch-h: 1em;
    --wd-swatch-text-size: 16px;
    --wd-swatch-h-sp: 15px;
    --wd-swatch-v-sp: 10px;
    --wd-swatch-inn-sp: .001px;
    --wd-swatch-brd-color: var(--brdcolor-gray-200)
}

.wd-swatches-product {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: var(--text-align);
    vertical-align: middle;
    gap: var(--wd-swatch-v-sp) var(--wd-swatch-h-sp)
}

.wd-swatches-product+select {
    display: none
}

[class*="wd-swatches"].wd-size-xs {
    --wd-swatch-size: 20px;
    --wd-swatch-text-size: 14px
}

[class*="wd-swatches"].wd-size-m {
    --wd-swatch-size: 35px
}

[class*="wd-swatches"].wd-size-large {
    --wd-swatch-size: 45px;
    --wd-swatch-text-size: 18px
}

[class*="wd-swatches"].wd-size-xlarge {
    --wd-swatch-size: 70px;
    --wd-swatch-text-size: 24px
}

[class*="wd-swatches"].wd-size-xxl {
    --wd-swatch-size: 90px;
    --wd-swatch-text-size: 32px
}

.wd-swatches-grid {
    --wd-swatch-v-sp: 5px;
    --wd-swatch-h-sp: 8px
}

.wd-swatches-grid:is(.wd-size-xs,.wd-size-default) {
    --wd-swatch-size: 15px;
    --wd-swatch-text-size: 14px
}

.wd-swatches-grid.wd-size-m {
    --wd-swatch-size: 20px
}

.wd-swatches-grid.wd-size-large {
    --wd-swatch-size: 25px;
    --wd-swatch-text-size: 16px
}

.wd-swatches-grid:is(.wd-size-xlarge,.wd-size-xxl) {
    --wd-swatch-size: 35px;
    --wd-swatch-text-size: 18px
}

.wd-swatches-filter {
    --wd-swatch-h-sp: 10px
}

.wd-swatches-filter.wd-size-small {
    --wd-swatch-size: 15px;
    --wd-swatch-text-size: 14px
}

.wd-swatches-filter.wd-size-large {
    --wd-swatch-size: 35px
}

[class*="wd-swatches"].wd-shape-round .wd-swatch {
    border-radius: 1em
}

[class*="wd-swatches"].wd-shape-rounded .wd-swatch {
    border-radius: 5px
}
/**
 * Fallback Css end
 * */


/**
 * CSS FOR COLLAPSIBLE BUTTON END
 * */
@media (min-width: 768px) and (max-width: 1024px) {
  /* Your CSS styles go here */

}

/* Extra small devices (phones, 480px and below) */
@media (max-width: 768px) {
    .specs-details th, 
    .specs-details td {
        padding: 8px 10px;
        font-size: 13px;
    }
    
    .specs-details th {
        width: 35%; /* Slightly narrower on very small screens */
    }
    
    .pdf-links a {
        display: block; /* Stack view/download links on very small screens */
        margin: 5px 0;
    }
	.application-card{
		max-width: 100%;
		flex-basis: 100%;
	}
	.pdf-resource{
		flex-direction: row;
	}
	.pdf-icon img{
		width: 50px;
    height: 60px;
    object-fit: contain;
    margin-right: 10px;
	}
	.pdf-links .v_d{
		display: flex;
	}
}

