
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');
body {
font-family: "DM Sans", sans-serif;
margin: 0;
padding: 0;
background-color: #f6f6f6;
}

/* Banner Section */
.banner {
margin: auto;
width: 90%;
display: flex;
align-items: center;
justify-content:space-around;
padding: 20px 20px;
}

.logo {
width: 150px;
}

/* Search Box */

.search-box {
position: relative;
flex-grow: 1;
margin: 0 20px;
}

.search-box input {
width: 100%;
padding: 10px 40px 10px 20px;
font-size: 16px;
border: 2px solid lightgrey;
border-radius: 5px;
transition: border-color 0.3s ease;
font-family: "DM Sans";
}

.search-box input::placeholder {
font-size: 12px;
color: #a0a0a0;
}

.search-box input:focus {
outline: none;
border-color: blue;
}

.search-box input:hover {
border-color: blue;
}

.search-icon {
position: absolute;
right: 18px;
top: 45%;
transform: translateY(-50%);
width: 12px;
height: 15px;
border: 2px solid rgb(42, 42, 255);
border-radius: 50%;
cursor: pointer;
transition: background-color 0.3s ease;
background-color: white;
}

.search-icon::before {
content: '';
position: absolute;
width: 7px;
height: 2px;
background-color: rgb(42, 42, 255);
top: 85%;
left: 82%;
transform: rotate(45deg);
transform-origin: left center;
}

/* Hover effect */
.search-icon:hover {
cursor: pointer;
}

/* Form Submission */
form {
display: flex;
flex-grow: 1;
}

.nav-links {
display: flex;
gap: 20px;
}

.nav-links a {
text-decoration: none;
color: #6a6a6a;
font-weight: 600;
font-size: 15px;
transition: color 0.5s ease;
}

.nav-links a:hover {
color: #1a1a1a;
}

/* Grey line */
.divider {
height: 2px;
background-color: rgb(222, 222, 222);
margin: 10px auto;
width: 90%;
}

.content-container {
width: 90%;
margin: auto;
}

/* Horizontal Menu */
.menu {
display: flex;
padding-bottom: 10px;
}

.right-aligned-text {
margin-left: auto;
align-self: center;
font-size: 12px;
}

.menu-item {
position: relative;
padding: 10px 20px;
text-decoration: none;
font-weight: bold;
}

.menu-item a {
color: black;
text-decoration: none;
transition: color 0.3s ease;
}

.menu-item a:hover {
color: #3f62e2;
}

/* Dropdown Menu */
.dropdown {
z-index: 10;
position: relative;
}

.dropdown-content {
display: block;
position: absolute;
top: 100%;
left: 0;
background-color: #f8f8f8;
min-width: 200px;
box-shadow: 0 8px 16px rgba(0,0,0,0.2);
z-index: 1;
border-radius: 8px;
padding: 5px 5px;
opacity: 0;
visibility: hidden;
transition: opacity 0.3s ease, visibility 0.3s ease;
}

.dropdown-content a {
color: #363636;
padding: 10px 20px;
text-decoration: none;
display: block;
border-radius: 8px;
}

.dropdown-content a:hover {
background-color: #f0f0f0;
color: #3f62e2;
}

.dropdown:hover .dropdown-content {
opacity: 1;
visibility: visible;
}

.horizontal-section {
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
margin: auto;
}

.section-item {
display: flex;
align-items: center;
padding: 10px;
}

.text-content {
font-size: 14px;
margin-left: 15px;
}

.divider-vert {
height: 50px;
width: 2px;
background-color: lightgrey;
}

.text-content h3 {
margin: 0;
}

.text-content p {
margin: 0;
margin-top: 5px;
}
/* Grid Section */
.container {
width: 100%;
margin: 20px auto;
}

.grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 20px;
margin-top: 20px;
}

.grid-item {
position: relative;
background-size: 110%;
background-position: center;
color: white;
padding: 20px;
height: 300px;
display: flex;
flex-direction: column;
justify-content: flex-end;
border-radius: 8px;
overflow: hidden;
transition: background-size 0.4s ease;
}

.grid-item::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(to right, rgba(0, 0, 0, 0.4), transparent);
z-index: 1;
}

.grid-item h2,
.grid-item p,
.grid-item button {
position: relative;
z-index: 2;
}

.grid-item:hover {
background-size: 100%; 
}

.grid-item h2 {
margin: 0;
}

.grid-item p {
margin: 5px 0;
}

.button {
display: inline-block;
background-color: #3565e1;
color: white;
padding: 15px 30px;
font-size: 14px;
font-weight: 500;
border: none;
cursor: pointer;
position: relative;
overflow: hidden;
transition: background-color 0.3s ease;
border-radius: 7px;

}

.button:hover {
background-color: #2048b6;
}

.button span {
display: inline-block;
transition: transform 0.3s ease;
}

.button:hover span {
transform: translateX(-5px);
}

.button::after {
content: '▸';
position: absolute;
font-size: 20px;
opacity: 0;
right: 30px;
top: 50%;
transform: translateY(-50%);
transition: all 0.3s ease;
}

.button:hover::after {
opacity: 1;
right: 20px;
}

.small-down-arrow {
margin-left: 5px;
margin-top: 3px;
font-size: 13px;
}

@media (max-width: 768px) {
.search-box {
    display:none;
}
.nav-links {
    display: none;
}
.right-aligned-text {
    display: none;
}
.menu {
    margin: auto;
}
.menu-item {
    position: relative;
    padding: 10px;
    text-decoration: none;
    font-weight: bold;
}
.dropdown:hover .dropdown-content {
    opacity: 0;
    visibility: hidden;
}

.dropdown:focus-within .dropdown-content {
    opacity: 1;
    visibility: visible;
}

.dropdown-toggle {
    outline: none;
}
.horizontal-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
}
.horizontal-section .divider-vert {
    display: none;
}
.horizontal-section .section-item h3 {
    text-align: center;
    font-size: 12px;
}
.horizontal-section .section-item img {
    width: 30px;
}
.horizontal-section .section-item p {
    display: none;
}
.grid {
    gap: 5px;
}
.grid-item {
    padding: 10px;
}
.container .grid .grid-item h2 {
    font-size: 18px;
}
.container .grid .grid-item p {
    font-size: 13px;
}
.content {
    text-align: center;
}
.content .gallery-container {
    padding: 2px;
    display: block;
}
.content .gallery {
    margin: auto;
width: 50%;
}
.content .main-image-container {
    height: 300px;
}
.content .thumbnails {
    gap: 5px;
}
.content .thumbnail {
    width: 80px;
}
.content .details {
    width: 50%;
    text-align: center;
    margin: auto;
}
.grading-content {
    font-size: 13px;
}
.expandable-section .expandable-content {
    padding: 0 10px;
}
.tabs .tab > label {
    display: flex;
    text-align: center;
    padding: 10px 8px;
    font-size: 10px; 
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;	
    transition: all 0.3s;
}

.expandable-section .options label::before {
    left: -10px;
}

.categories .categories_images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.categories .logos-grid {
    grid-template-columns: repeat(3, 1fr);
}

.categories .category_item-logo {
    opacity: 1;
}

.categories .category_item-logo img {
    filter: grayscale(0%);
}

.tab-content {
    font-size: 13px;
}

.werecycle .meow {
    font-size: 24px;
}

.werecycle p {
    font-size: 13px;
}

.werecycle .grid-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
}
.werecycle .grid-container .itad-grid-item {
    background-color: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.werecycle .grid-container .icon {
    font-size: 25px;
    color: rgb(0, 0, 0);
    margin-bottom: 10px;
}

.werecycle .grid-container .description {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.reviews h3 {
    text-align: center;
}

.reviews .info-description {
    font-size: 12px;
}
.ytvideo {
    display: none;
}
.nav-links{
    gap: 10px;
    font-size: 10px;
}

footer {
    padding: 0;
}
footer .container {
    max-width: 100%;
}
footer .watermark {
    margin-top: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
}
footer .watermark img {
    max-width: 60px;
}

footer nav {
    display: none;
}
}

/* Product Description */

.content {
    padding: 20px 0;
    text-align: center;
    background-color: white;
    border-radius: 10px;
}

.gallery-container {
    display: flex;
    justify-content: space-between;
    padding: 20px 30px;
}

.gallery .gallery-watermark {
    font-weight: 500;
    font-size: 12px;
    margin-top: 40px;
    color: gray;
}

.details {
    width: 50%;
}

.details h2 {
    margin-bottom: 20px;
}

.gallery {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-image-container {
    width: 100%;
    height: 500px;
    position: relative;
}

.main-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
}

.main-image img:hover {
    z-index: 9999;
    transform: scale(1.4);
    cursor: zoom-in;
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.33);
}

.main-image img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
}

input[type="radio"] {
    display: none;
}

input[type="radio"]:checked + .main-image {
    display: flex;
}

.thumbnails {
    display: flex;
    gap: 10px;
}

.thumbnail {
    width: 100px;
    background-color: #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 6px;
}

.thumbnail:hover {
    transform: scale(1.1);
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.13);
}

.thumbnail img {
    border-radius: 6px;
    max-width: 100%;
    max-height: 100%;
}

table {
    width: 100%;
}

/* Grading Section */

.expandable-section {
    border-radius: 8px;
    width: 90%;
    margin: auto;
    background-color: white;
    margin-top: 20px;
    margin-bottom: 20px;
}

.expandable-section input {
    display: none;
}

.expandable-section label {
    color: rgb(0, 0, 0);
    padding: 10px;
    display: block;
    cursor: pointer;
    user-select: none;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 22px;
    margin-left: 10px;
}

/*
.expandable-section label::after {
    content: "\f107";
    font-weight: 900;
    margin-right: 20px;
}

.expandable-section input:checked + label::after {
    content: "\f106";
}*/

.expandable-content {
    text-align: left;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    border-top: none;
    padding: 0 40px;
}

.expandable-content hr {
    opacity: 0.1;
}

.expandable-section input:checked ~ .expandable-content {
    max-height: 1900px;
}

.grading-content {
    display: none;
    margin-top: 10px;
}

#option1:checked ~ #content1 {
    display: block;
}

#option2:checked ~ #content2 {
    display: block;
}

#option3:checked ~ #content3 {
    display: block;
}

.options input[type="radio"] {
    display: none;
}

.options label {
    color: black;
    background-color: white;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    font-size: 16px;
}

.options input[type="radio"]:checked + label {
    color: #007bff;
}

.options label::before {
    content: '';
    position: absolute;
    left: -25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    transition: content 0.3s;
}

.options input[type="radio"]:checked + label::before {
    content: '▸';
}

.options .radio-buttons {
    display: flex;
    margin-bottom: 20px;
}

.options .content {
    display: none;
    margin-top: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
}

/* Tabbed Section */

.tabbed {
    overflow-x: hidden;
    padding-bottom: 16px;
    border-radius: 8px;
    width: 90%;
    margin: auto;
    margin-bottom: 20px;
    background: #fff;
}

.tabbed [type="radio"] {
    display: none;
}

.tabs {
    display: flex;
    align-items: stretch;
    list-style: none;
    padding: 0;
    margin: 5px;

}
.tab > label {
    display: block;
    padding: 12px 15px;
    font-size: 16px; 
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;	
    transition: all 0.3s;
}
.tab:hover label {
    color: #333;
}

.tab-content {
    text-align: left;
    display: none;
    background: #fff;
    padding: 20px 20px;
}

.tab-content button:hover {
    background-color: #1e49b7;
}

.tabbed [type="radio"]:nth-of-type(1):checked ~ .tabs .tab:nth-of-type(1) label,
.tabbed [type="radio"]:nth-of-type(2):checked ~ .tabs .tab:nth-of-type(2) label,
.tabbed [type="radio"]:nth-of-type(3):checked ~ .tabs .tab:nth-of-type(3) label,
.tabbed [type="radio"]:nth-of-type(4):checked ~ .tabs .tab:nth-of-type(4) label,
.tabbed [type="radio"]:nth-of-type(5):checked ~ .tabs .tab:nth-of-type(5) label {
    color: #ffffff;
    background-color: #3565e1;
    border-radius: 8px;
}

.tabbed [type="radio"]:nth-of-type(1):checked ~ .tab-content:nth-of-type(1),
.tabbed [type="radio"]:nth-of-type(2):checked ~ .tab-content:nth-of-type(2),
.tabbed [type="radio"]:nth-of-type(3):checked ~ .tab-content:nth-of-type(3),
.tabbed [type="radio"]:nth-of-type(4):checked ~ .tab-content:nth-of-type(4),
.tabbed [type="radio"]:nth-of-type(5):checked ~ .tab-content:nth-of-type(5) {
    display: block;
}

/* Shipping Tab */

.shipping_img {
    max-width: 30%;
    display: block;
    margin: 0 auto;
    border-radius: 5%;
    transition: transform 0.2s ease-in-out;
    float: right; 
    margin-left: 20px;
}
.shipping_img:hover {
    transform: scale(1.05);
}

/* About Us Tab */

.about_us_img {
    max-width: 80%; 
    display: block;
    margin: 0 auto; 
    border-radius: 5%;
    transition: transform 0.2s ease-in-out;
}
.about_us_img:hover {
    transform: scale(1.05);
}

/* YouTube Video */

.ytvideo * { 
    box-sizing:border-box; 
} 
.ytvideo { 
    margin:.5em auto 40px auto;
    max-width:560px;
    text-align:center;
    position:relative;
    min-height:120px;
    background-color:#555; 
} 
.ytvideo p { /* Title */
    position:absolute; 
    margin: 0; color:white; 
    text-shadow: 1px 1px 8px #000000;
} 
.ytvideo .yt_hd { /* Title */
    font-size:16px; 
    width:100%; 
    height:28px; 
    text-align:left; 
    top:0; 
    left:0; 
    padding-left:10px; 
    overflow:hidden; 
    text-shadow: 1px 1px 8px #000000;
    padding-left: 20px;
    padding-top: 10px;
} 
.ytvideo::before { /* Vignette */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.6) 100%);
    pointer-events: none;
}
.ytvideo img { /* Image */
    display:block; max-width:100%; border:0; 
} 

.ytvideo a:after { 
    content:"\A0\25BA"; 
    position:absolute; 
    width:80px; 
    height:40px; 
    left:0; 
    top:0; 
    right:0; 
    bottom:0; 
    margin:auto; 
    border:0; 
    border-radius:15px; 
    color:white; 
    background:rgba(0,0,0,.6); 
    font-size:24px; 
    padding-top:11px; 
    cursor:pointer; 
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-shadow: none;
} 
.ytvideo a:hover:after { 
    background:#e1131a; 
    transform: scale(1.09);
    box-shadow: 0px 0px 5px #000000;
} 
/*
#youtube-logo {
    position: absolute;
    background-color: #ff0000;
    width: 60vmin;
    height: 36vmin;
    border-radius: 5vmin / 15vmin;
}

#youtube-logo:before {
    content: "";
    position: absolute;
    background-color: #ff0000;
    z-index: -1;
    width: 53vmin;
    height: 40.3vmin;
    border-radius: 24vmin / 3vmin;
    left: 3.5vmin;
    bottom: -2.2vmin;
}

#youtube-logo:after {
    content: "";
    position: absolute;
    border-style: solid;
    border-width: 8vmin 0 8vmin 15vmin;
    border-color: transparent transparent transparent #fff;
    left: 24.5vmin;
    bottom: 10vmin;
}
*/
@media(max-device-width:960px){ 
    .ytvideo { 
        margin-bottom:60px;
    } 
    .ytvideo .yt_inp { 
        padding:1em .2em; 
    } 
} 

/* Categories */

.categories {
    margin-top: 60px;
    margin: auto;
    width: 90%;
    text-align: center; 
    padding: 20px -10px; 
    margin-bottom: 20px;
}

.categories h2 {
    margin-bottom: -15px;
}

.categories_images {
    display: flex; 
    justify-content: center; 
    gap: 5%; 
}

.category_item {
    text-align: center;
}

.category_item-logo {
    transition: opacity 0.3s;
    opacity: 0.5;
}

.category_item-logo:hover {
    opacity: 1;
}

.category_item p {
    margin-top: 15px;
    font-weight: 700;
    font-size: 16px;
}

.categories_images img {
    max-width: 100%;
    height: auto; 
    width: 250px; 
    height: 140px; 
    object-fit: cover;
    transition: transform 0.2s ease-in-out; 
    border-radius: 8px;
}

.categories_images img:hover {
    transform: scale(1.05);
}

.category_item-logo img {
    max-width: 80%;
    height: auto;
    display: block;
    margin: auto;
    filter: grayscale(100%);
}

.category_item-logo:hover img {
    filter: grayscale(0%);
}

/* We Recycle */

.werecycle {
    width: 70%;
    margin: auto;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
    padding: 20px 20px;
    background-color: white;
    border-radius: 8px;
}

.werecycle h1 {
    font-size: 40px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.itad-grid-item {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.itad-grid-item:hover {
    cursor: pointer;
    transform: scale(1.05);
}

.icon {
    font-size: 50px;
    color: rgb(0, 0, 0);
    margin-bottom: 10px;
}

.description {
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.greentext {
    color: rgb(23, 200, 23);
}

/* Reviews */

.reviews {
    margin: auto;
    width: 90%;
}

.reviews h3 {
    margin-top: 20px;
}

.info-sections {
    text-align: left;
    display: flex;
    justify-content: center;
    margin: 10px 0;
    background-color: white;
    border-radius: 8px;
    padding: 10px 10px;
}

.info-section {
    margin-top: 10px;
    display: flex;
    align-items: flex-start;
    width: 30%;
    padding: 10px;
}

.info-icon {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -21px;
}

.info-content {
    display: flex;
    flex-direction: column;
}

.info-title {
    margin-bottom: 5px;
}

.info-description {
    font-size: 14px;
    color: #666;
}
.circle-plus {
    width: 20px;
    height: 20px;
    background-color: #37a347;
    border-radius: 50%;
    position: relative;
    margin-top: 15px;
}
.circle-plus::before,
.circle-plus::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: white;
}

.circle-plus::before {
    width: 60%;
    height: 2px;
    margin-left: -30%;
    margin-top: -1px;
}

.circle-plus::after {
    width: 2px;
    height: 60%;
    margin-left: -1px;
    margin-top: -30%;
}

.view-all_button {
    text-align: right;
}

/* Footer */

footer {
    background-color: #252525;
    color: #fff;
    text-align: center;
    padding: 40px 0;
    width: 100%;
    bottom: 0;
    height: 120px;
    margin-top: 30px;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 80%;
}

footer img {
    width: 100px;
}

footer p {
    font-size: 10px;
    margin: 0;
}

footer nav {
    font-size: 13px;
}

footer nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 10px;
    font-weight: 600;
}

footer nav a:hover{
    text-decoration: underline;
}

.watermark {
    margin-top: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.watermark img {
    max-width: 60px;
    
}