:root {
  --primary: #8b5e3c;   /* Brown CTA buttons */
  --primary-hover: #633e2b;
  --secondary: #f2f2f2; /* Light backgrounds */
  --dark: #2a1b12;
  --light: #fff;
  --accent: #d4a373;   /* For highlights */
  --font-primary: 'Arial', sans-serif;
}

/* GLOBAL */
* { box-sizing: border-box; margin:0; padding:0; }
body { font-family: var(--font-primary); background: #f6f6f6; color:#333; }
.container { max-width: 1200px; margin:auto; padding: 20px; }

a {
    transition: all 0.3s ease-in-out;
  text-decoration: none;
}

a img,
img {
  border: 0;
  vertical-align: middle;
}

ul {
  margin: 0;
  padding: 0;
}


.page_wrapper {
  font-size: 12px;
    overflow: hidden;
}

/* Header Css */
.left-col,
.right-col,
.center-col {
  float: left;
  padding: 10px;
}

div#leftpane.left-col {
  width: 270px;
  margin-top: 30px;
  padding: 0;
  background: #fff;
}
#categories .boxlinks {
    padding: 0 30px;
}

div#rightpane.right-col {
  width: 270px;
  padding: 10px;
}

div#centerpane.center-col {
  width: calc(100% - 270px);
  padding: 30px 0 0 30px;
  border-left: 1px solid #ebebeb;
  margin: 0 0 30px 0;
}

/* HEADER */
.header { background: #fff; border-bottom: 1px solid #ddd; padding: 0 20px;}
.header-flex { display:flex; justify-content:space-between; align-items:center; padding:15px 0; }
.logo { font-weight: bold; font-size: 24px; color: var(--dark); }
.menu a { margin-left:20px; text-decoration:none; color:#333; font-weight: 600; font-size:16px; transition: 0.3s; }
.menu a:hover { color: var(--primary); }

/* HERO */
.hero {
    margin-bottom: 70px;
  background: url('cashandcarry-main-banner.jpg') center/cover no-repeat;
  color: #fff; position: relative;
  /* min-height: 600px; */
}
.hero-overlay { text-align:center; padding:50px 20px 0px;}
.hero-overlay h1 { font-size: 36px; font-weight: 700; margin-bottom:12px; text-transform: uppercase; text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);}
.hero-subtitle { font-size:20px; font-weight:600; margin-bottom:25px; text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);}
.btn-primary { background: #E8B449; background: linear-gradient(180deg, rgba(232, 180, 73, 1) 0%, rgba(236, 181, 68, 1) 100%); padding:15px 35px; display:inline-block; color:#1e150a; font-weight:700; text-decoration:none; border-radius:5px; transition:all 0.3s; font-size:18px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);}
.btn-primary:hover { background: #fff; color:#1e150a;}

/* HERO CARDS */
.hero-cards { display:grid; grid-template-columns: repeat(3,1fr); gap:20px; transform: translateY(50px); margin-bottom: 30px; }
.hero-card { color:#fff; min-height:220px; display:flex; flex-direction:column; z-index: 1;  border-radius:8px; box-shadow:0 0 20px rgba(0,0,0,0.5); transition: transform 0.3s; position: relative; border: 1px solid #ebdfd5;}
.hero-card span {
    z-index: -1;
    top: 0; left: 0; width: 100%; height: 100%; border-radius:8px;
    position: absolute;
}
.hero-card .flooring {
    background: url(cashandcarry-flooring.jpg);
    background-size:cover !important; background-position:center;
}
.hero-card .grass {
    background: url(cashandcarry-grass.jpg);
    background-size:cover !important; background-position:center;
}
.hero-card .furniture {
    background: url(cashandcarry-furniture.jpg);
    background-size:cover !important; background-position:center;
}
.hero-card:hover { transform: scale(1.05); }
.hero-card h3 { color: #362b28; font-size:28px; font-weight:700;  padding:15px 20px; background: #fef6f0; border-radius: 8px 8px 0 0; text-align: center;}
.hero-card:nth-child(2) h3 {
    color: #40562e;
}
.hero-card p {
    font-size: 18px;
    padding: 10px 20px;
    text-align: center;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    font-weight: bold;
    background: #1e150a;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(60, 83, 48, 0) 100%);
}
.btn-card {
    font-weight: 700;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    transition: 0.3s;
    font-size: 18px;
    text-align: center;
    padding: 12px 30px;
    width: 190px;
    background: #E8B449;
    background: linear-gradient(180deg, rgba(232, 180, 73, 1) 0%, rgba(236, 181, 68, 1) 100%);
    color: #1e150a;
}
.hero-card .btn-card {
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
.hero-card:nth-child(2) .btn-card {
    color: #fff;
    background: #5F7542;
    background: linear-gradient(180deg, rgba(95, 117, 66, 1) 0%, rgba(60, 83, 48, 1) 100%);
}
.btn-card:hover { color: #1e150a !important; background: #fff !important; }



.clear {
  clear: both;
}

#cols {
  background: #fff;
}
.cols ul.categories,
.cols .boxlinks {
  font-size: 1.2em;
  font-weight: normal;
  padding: 0px;
  margin: 0 0 30px 0;
  list-style: none;
}
.cols .boxlinks {
  margin-top: 15px;
}
.cols ul.categories ul {
  padding: 0px;
  margin: 0px;
  list-style: none;
}
.cols ul.categories li {
  padding: 0px;
  margin: 0px;
  display: block;
}
.cols ul.categories li a,
.cols .boxlinks a {
  text-align: left;
  background: none;
  display: block;
  border-top: 1px solid #fff;
  border-bottom: 1px dotted #d2d2d2;
  color: #333;
  text-decoration: none;
  padding: 7px 10px;
  width: 100%;
  height: auto;
  position: relative;
}
.cols ul.categories li a:hover,
.cols .boxlinks a:hover {
  background: #95c237;
  color: #fff;
  border-top: 1px solid #95c237;
  border-bottom: 1px solid #95c237;
  text-decoration: none;
}
.cols ul.categories li a:hover::after,
.cols .boxlinks a:hover::after {
  font-family: "FontAwesome";
  font-weight: 700;
  content: "\f105";
  display: block;
  font-size: 16px;
  position: absolute;
  top: 7px;
  right: 6px;
  color: #fff;
}
.cols ul.categories li:first-child,
.cols .boxlinks:first-child {
  border-top: none;
}
.cols ul.categories li:first-child:hover,
.cols .boxlinks:first-child:hover {
  border-top: none;
}
.cols .boxlinks a.sublink {
  padding: 5px 5px 5px 20px;
  color: #333;
  border: none;
  position: relative;
}
.cols a.sublink::after {
  content: "\f111";
  font-family: 'fontawesome';
  font-size: 5px;
  color: #95c237;
  position: absolute;
  left: 9px;
  top: 11px;
}
.cols a.sublink:hover {
  text-decoration: underline;
  color: #95c237;
  background: none;
  border: none;
}
.cols a.sublink:hover::after {
  content: "\f111";
  font-family: 'fontawesome';
  font-size: 5px;
  color: #95c237;
  position: absolute;
  left: 9px;
  top: 11px;
}
.cols a.thirdlvl {
  padding: 5px 5px 5px 20px;
}
.cols a.thirdlvl::after {
  content: "-";
  font-size: 15px;
  color: #333;
  position: absolute;
  left: 11px;
  top: 4px;
}
.cols a.thirdlvl:hover::after {
  content: "-";
  font-size: 15px;
  color: #333;
  position: absolute;
  left: 11px;
  top: 4px;
}
#more_items_base {
  clear: both;
}
.right-col a.nspromoitem,
.left-col a.nspromoitem {
  display: none;
  background-position: center center;
  width: auto;
  height: 200px;
  margin-bottom: 5px;
}
#description {
    margin-top: 50px;
}
.boxtitle,
#descriptiontitle {
  margin: 0 0px 1px 0px;
  padding: 12px 15px;
  background: #95c237;
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.4em;
  font-weight: 700;
  height: auto;
  border-radius: 0px 0px 0px 0px;
}
#categories .boxtitle,
#helpful_links,
.categories .boxtitle,
.categories h2.boxtitle,
.pages .boxtitle {
  background: #95c237;
  color: #fff;
}
.boxcontent,
.cols .search .searchform {
  padding: 5px;
  background: none;
  background-position: center bottom;
  color: #333;
  font-size: 1.1em;
  border-top: none;
  border-bottom: 0px solid #c6c6c6;
  border-left: 0px solid #c6c6c6;
  border-radius: 0px 0px 0px 0px;
  border-right: 0px solid #c6c6c6;
}
.boxcontent a:hover,
.cols .search .searchform a:hover {
  color: #000;
  text-decoration: none;
}
.boxcontent a {
  color: #333;
}
.boxcontent a a:hover {
  color: #000;
  text-decoration: none;
}
.boxlinks {
  border: none;
}
.boxbase {
  display: none;
}
.cols .search form input.searchbox,
.cols .search #search form input.searchbox {
  padding: 5px;
  height: 30px;
  border: 1px solid #c6c6c6;
  width: 100%;
  margin-bottom: 5px;
}
.cols .search form input.submitbox,
.cols .search #search form input.submitbox {
  background: #95c237;
  border-radius: 0px;
  border: none;
  padding: 5px;
  height: 30px;
  width: auto;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
}
.cols .search form input.submitbox:hover,
.cols .search #search form input.submitbox:hover {
  background: #95c237;
}

.fx-gallery {
  max-width: 720px;
  margin: auto;
  font-family: Arial, sans-serif;
}

/* Hide radios & checkboxes */
.fx-gallery input {
  display: none;
}

/* ===== MAIN IMAGE ROW ===== */
.fx-main-row {
  border: 1px solid #ebebeb;
  padding: 10px;
  background: #fff;
}

.fx-main {
  display: none;
  cursor: zoom-in;
}

.fx-main img {
  width: 100%;
  height: auto;
}

/* Show correct main image */
#fx-1:checked ~ .fx-main-row .fx-main-1,
#fx-2:checked ~ .fx-main-row .fx-main-2,
#fx-3:checked ~ .fx-main-row .fx-main-3 {
  display: block;
}

/* ===== THUMBNAILS ROW ===== */
.fx-thumbs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.fx-thumb {
  border: 1px solid #ddd;
  padding: 3px;
  cursor: pointer;
}

.fx-thumb img {
  width: 80px;
}

/* Active thumbnail */
#fx-1:checked ~ .fx-thumbs label[for="fx-1"],
#fx-2:checked ~ .fx-thumbs label[for="fx-2"],
#fx-3:checked ~ .fx-thumbs label[for="fx-3"] {
  border-color: #95c237;
}

/* ===== LIGHTBOX ===== */
.fx-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  cursor: zoom-out;
}

.fx-lightbox img {
  max-width: 90%;
  max-height: 85%;
  background: #fff;
  padding: 10px;
  border-radius: 6px;
}

#lb-1:checked ~ .fx-lightbox:nth-of-type(1),
#lb-2:checked ~ .fx-lightbox:nth-of-type(2),
#lb-3:checked ~ .fx-lightbox:nth-of-type(3) {
  display: flex;
}

.fx-lightbox span {
  position: absolute;
  bottom: 25px;
  color: #fff;
  font-size: 14px;
}


#descriptiontitle,
#more_items {
  background: #fff;
  color: #484848;
  height: auto;
  font-size: 1.4em;
  margin-bottom: 0px !important;
  border-radius: 0px 0px 0px 0px;
  margin: 10px 0px 0px 0px;
  padding: 10px 15px;
  border-bottom: 2px solid #95c237;
}

#description {
  clear: both;
  margin-bottom: 10px;
}
#description #descriptioncontent {
  padding: 15px;
  background: none;
  border: 0px solid #c6c6c6;
  border-top: none;
  font-size: 1.3em;
  font-family: "Plus Jakarta Sans", sans-serif;
  border-radius: 0px 0px 0px 0px;
  color: #333;
}
#description #descriptioncontent ul {
  padding-left: 30px;
  margin: 12px 0px;
}
#description #descriptioncontent ul li {
  list-style: outside;
  display: list-item;
  margin: 0px;
}
#description #descriptioncontent a {
  color: #000 !important;
  text-decoration: underline;
}
#description #descriptioncontent img {
  max-width: 100% !important;
  height: auto !important;
}
#description #descriptioncontent table {
  max-width: 100% !important;
}
#description #descriptioncontent .row {
  width: 100%;
}


/* FLOORING / GRASS / FURNITURE CARD BACKGROUNDS */
.flooring { background-image: url('FLOORING.jpg'); }
.grass { background-image: url('GRASS.jpg'); }
.furniture { background-image: url('FURNITURE.jpg'); }

/* DESTINATION */
.destination { margin-top: 30px; background: var(--secondary); text-align:center; padding:20px 10px 40px 10px; }
.destination h2 { font-size:32px; font-weight:700; margin-bottom:45px; color: var(--dark); }
.dest-cards { display:grid; grid-template-columns: repeat(3,1fr); gap:25px; }
.dest-card { background:#fff; border-radius:8px; overflow:hidden; box-shadow:0 6px 16px rgba(0,0,0,0.15); transition: transform 0.3s; }
.dest-card:hover { transform: translateY(-10px); }
.dest-card img { width:100%; height:200px; object-fit:cover; }
.card-content { padding:20px; text-align:center; }
.card-content h3 { color: var(--primary); font-weight:700; font-size:20px; margin-bottom:10px; }
.card-content p { font-size:14px; margin-bottom:12px; color:#2a1b12; }
.card-content .btn-card { font-size:14px; display: inline-block;}
.card-content .btn-card:hover { background: #2a1b12 !important; color: #fff !important;}

/* WHY CHOOSE US */
.why { text-align:center; padding:0px 20px 60px 20px; }
.why h2 { font-size:32px; font-weight:700; margin-bottom:40px; }
.icon-grid { display:grid; grid-template-columns: repeat(4,1fr); gap:20px; }
.icon-grid i { font-size:36px; color:var(--primary); margin-bottom:10px; }
.icon-grid p { font-weight:600; font-size:16px; }


/* TABS */
.ebay-tabs {
  max-width: 100%;
  margin: 25px 0;
  padding: 0 10px;
}

/* Hide radios */
.ebay-tabs input {
  display: none;
}

/* Tab buttons */
.ebay-tabs label {
  display: inline-block;
  padding: 13px 22px;
  background: var(--secondary);
  border: 1px solid #e1e1e1;
  border-bottom: none;
  color: var(--dark);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ebay-tabs label:hover {
  background: #e9e9e9;
}

/* Active tab */
.ebay-tabs input:checked + label {
  background: var(--light);
  color: var(--primary);
  position: relative;
}

/* Accent underline */
.ebay-tabs input:checked + label::after {
  content: "";
  position: absolute;
  left: 15%;
  bottom: -1px;
  width: 70%;
  height: 3px;
  background: var(--accent);
}

/* Panels */
.tab-panels {
  background: var(--light);
  border: 1px solid #e1e1e1;
  padding: 22px;
}

/* Hide all panels */
.tab-panel {
  display: none;
  color: var(--dark);
  line-height: 1.6;
}

/* Show active panel */
#tab1:checked ~ .tab-panels .tab-panel:nth-child(1),
#tab2:checked ~ .tab-panels .tab-panel:nth-child(2),
#tab3:checked ~ .tab-panels .tab-panel:nth-child(3),
#tab4:checked ~ .tab-panels .tab-panel:nth-child(4) {
  display: block;
}

/* Headings */
.tab-panel h3 {
  margin-top: 0;
  color: var(--primary);
}

/* Lists */
.tab-panel ul {
  padding-left: 18px;
}

.tab-panel li {
  margin-bottom: 6px;
}


/* BEFORE & AFTER */
.before-after { background: url(transforms-bg.jpg); text-align:center; padding:30px 20px 50px 20px; }
.before-after h2 { font-size:32px; font-weight:700; margin-bottom:40px; }
.before-after span {
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    color: #fff;
    padding-top: 9px;
    font-size: 20px;
    text-align: center;
    position: absolute;
    text-transform: uppercase;
    background: rgba(102,68,39,0.5);
    text-shadow: 0 0 5px rgba(0,0,0,0.3);
}
.before-after .ba-card:nth-child(3) span,
.before-after .ba-card:last-child span {
    background: rgba(66,84,23,0.5);
}

.ba-grid { display:grid; grid-template-columns: repeat(4,1fr); gap:15px; }
.ba-card { height: 220px; background:#ccc; padding: 0; border-radius:6px; font-weight:600; position: relative;}
.ba-card img {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius:6px;
    object-fit: cover;
    position: absolute;
}
.ba-card i {
    top: 50%;
    right: -47px;
    width: 70px;
    height: 50px;
    z-index: 9;
    position: absolute;
    transform: translateY(-50%) rotate(9deg);
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
    background: url(arrow-right.png) no-repeat;
    background-size: contain;
}

/* QUOTE */
.quote { text-align:center; padding:0 20px 40px 20px; color:#fff; }
.quote h2 { margin-bottom:12px; font-size:28px; font-weight:700; }
.quote p { margin-bottom:20px; font-size:16px; font-weight:500; }

/* FOOTER */
.footer { background: url('cashandcarry-footer-bg.jpg') center/cover; color:#fff; text-align:center; padding:40px 0 20px 0; position: relative;}
.footer_border { background: url(footer-border.jpg) no-repeat; background-size: cover; width: 100%; height: 10px; position: absolute; left: 0; top: -10px; }
.footer-logos { margin-bottom:15px; background: rgba(255,255,255,0.15); border-bottom: 2px solid #a4846a;}
.footer-logos .container { display:flex; justify-content:center;}
.footer-logos img { height:80px; border-right: 1px solid; padding-right: 30px; margin-right: 30px;}
.footer-logos img:last-child { border: none;}
.footer-menu a { color:#fff; margin:0 10px; text-decoration:none; font-weight:600; font-size:14px; }
.footer-menu a:hover { text-decoration:underline; }

/* RESPONSIVE */
/* @media(max-width: 1024px){ .hero-cards, .dest-cards, .ba-grid, .icon-grid { grid-template-columns: repeat(2,1fr); } } */
@media(max-width: 800px){
    .hero-cards, .dest-cards, .ba-grid {
        grid-template-columns: 1fr;
    }
    .hero-card {
        margin-top: 30px;
    }
    .ba-card i {
        top: initial;
        right: 0;
        bottom: -60px;
        transform: translateY(-50%) rotate(105deg);
    }
    .footer-logos img {
        height: 40px;
    }
}
@media (max-width: 600px) {

    .header-flex {
        flex-direction: column;
    }
    nav.menu {
        margin: 10px 0;
    }

    div#leftpane.left-col {
        display: none;
    }
    div#centerpane.center-col {
        width: 100%;
        border: none;
        padding-left: 0;
    }

    .hero-overlay h1,
    .destination h2,
    .why h2,
    .before-after h2 {
        font-size: 24px;
    }
    .hero-subtitle {
        font-size: 18px;
    }

    .fx-thumb img {
        width: 65px;
    }
    .footer-logos .container {
        align-items: center;
        flex-direction: column;
    }
    .footer-logos img {
        height: auto;
        width: 220px;
        border-right: none;
        border-bottom: 1px solid #fff;
        padding: 0 0 20px 0;
        margin: 0 0 20px 0;
    }
    .footer-logos img:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
    }
}
@media (max-width: 480px) {

    .menu a {
        margin-left: 10px;
    }
}