:root{
  --dfg-red:#e10600;
  --dfg-red-dark:#b90500;
  --dfg-black:#050505;
  --dfg-panel:#0d0d0d;
  --dfg-panel-2:#111111;
  --dfg-border:#242424;
  --dfg-border-soft:#1a1a1a;
  --dfg-text:#ffffff;
  --dfg-muted:#a8a8a8;
  --dfg-radius:18px;
  --dfg-radius-sm:12px;
  --dfg-shadow:0 18px 50px rgba(0,0,0,.38);
  --dfg-shadow-hover:0 24px 70px rgba(0,0,0,.55);
  --dfg-max:1280px;
}

body, #wrapper, .page-home{
  background:var(--dfg-black);
  color:var(--dfg-text);
}

#wrapper .container,
.page-home .container,
#index .container{
  max-width:var(--dfg-max);
}

/* Shared section rhythm */
.page-home .dfg-section,
.page-home .dfg-bs-wrap,
.page-home .dfg-vf-wrapper,
.page-home .dfghb-wrap,
.page-home .homefeatured,
.page-home .featured-products,
.page-home section{
  color:var(--dfg-text);
}

/* Shared premium section titles */
.dfg-premium-title,
.dfg-bs-title,
.dfg-vf-title,
.dfghb-section-title,
.page-home .products-section-title{
  position:relative;
  display:block;
  margin:0 0 24px;
  text-align:center;
  font-size:32px;
  line-height:1.1;
  letter-spacing:2px;
  font-weight:900;
  text-transform:uppercase;
  color:var(--dfg-text);
}

.dfg-premium-title::before,
.dfg-premium-title::after,
.dfg-bs-title::before,
.dfg-bs-title::after,
.page-home .products-section-title::before,
.page-home .products-section-title::after{
  content:"";
  position:absolute;
  top:50%;
  width:33%;
  height:1px;
  background:linear-gradient(to right, transparent, rgba(255,255,255,.22));
}

.dfg-premium-title::before,
.dfg-bs-title::before,
.page-home .products-section-title::before{left:0;}
.dfg-premium-title::after,
.dfg-bs-title::after,
.page-home .products-section-title::after{
  right:0;
  background:linear-gradient(to left, transparent, rgba(255,255,255,.22));
}

/* Vehicle finder should be cleaner */
.dfg-vf-title{
  font-size:30px;
  letter-spacing:1px;
  margin-bottom:10px;
}
.dfg-vf-title::before,
.dfg-vf-title::after{display:none !important;}
.dfg-vf-subtitle,
.dfg-bs-subtitle,
.dfghb-section-subtitle,
.page-home .products-section-description{
  text-align:center;
  color:var(--dfg-muted);
  font-size:14px;
  max-width:720px;
  margin:0 auto 28px;
}

/* Home blocks */
.dfghb-wrap,
.dfghomeblocks,
.dfg-home-blocks{
  margin:28px auto 54px;
}
.dfghomeblocks .dfg-block-grid,
.dfg-home-blocks .dfg-block-grid,
.dfghb-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}
.dfghomeblocks .dfg-block,
.dfg-home-blocks .dfg-block,
.dfghb-item{
  background:var(--dfg-panel);
  border:1px solid var(--dfg-border);
  border-radius:var(--dfg-radius);
  overflow:hidden;
  box-shadow:var(--dfg-shadow);
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.dfghomeblocks .dfg-block:hover,
.dfg-home-blocks .dfg-block:hover,
.dfghb-item:hover{
  transform:translateY(-4px);
  box-shadow:var(--dfg-shadow-hover);
  border-color:rgba(225,6,0,.5);
}
.dfghomeblocks .dfg-block-image,
.dfg-home-blocks .dfg-block-image,
.dfghb-media{
  aspect-ratio: 1.25/1;
  overflow:hidden;
  background:#000;
}
.dfghomeblocks .dfg-block-image img,
.dfg-home-blocks .dfg-block-image img,
.dfghb-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .45s ease;
}
.dfghomeblocks .dfg-block:hover img,
.dfg-home-blocks .dfg-block:hover img,
.dfghb-item:hover img{transform:scale(1.04);}
.dfghomeblocks .dfg-block-body,
.dfg-home-blocks .dfg-block-body,
.dfghb-body{
  background:linear-gradient(180deg,#0c0c0c,#070707);
  padding:18px 18px 16px;
}
.dfghomeblocks .dfg-block-title,
.dfg-home-blocks .dfg-block-title,
.dfghb-title{
  margin:0;
  color:var(--dfg-text);
  font-size:24px;
  font-weight:900;
  letter-spacing:1.2px;
  text-transform:uppercase;
  line-height:1.1;
}
.dfghomeblocks .dfg-block-subtitle,
.dfg-home-blocks .dfg-block-subtitle,
.dfghb-subtitle{
  margin-top:8px;
  color:var(--dfg-muted);
  font-size:13px;
}

/* Best sellers / product grid */
.dfg-bs-wrap,
.dfgbestsellersgrid,
.page-home .featured-products,
.page-home .homefeatured{
  margin:18px auto 62px;
}
.dfgbestsellersgrid .products,
.dfg-bs-grid,
.page-home .featured-products .products,
.page-home .homefeatured .products{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}
.dfgbestsellersgrid .products > article,
.dfg-bs-grid > article,
.page-home .featured-products .products > article,
.page-home .homefeatured .products > article,
.page-home .featured-products .products > .js-product,
.page-home .homefeatured .products > .js-product{
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  float:none !important;
}
.dfgbestsellersgrid .product-miniature,
.page-home .product-miniature{
  height:100%;
  background:linear-gradient(180deg,#101010,#090909);
  border:1px solid var(--dfg-border);
  border-radius:var(--dfg-radius);
  overflow:hidden;
  box-shadow:var(--dfg-shadow);
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.dfgbestsellersgrid .product-miniature:hover,
.page-home .product-miniature:hover{
  transform:translateY(-4px);
  box-shadow:var(--dfg-shadow-hover);
  border-color:rgba(225,6,0,.45);
}
.dfgbestsellersgrid .thumbnail-container,
.page-home .thumbnail-container{
  background:transparent !important;
  border:none !important;
  box-shadow:none !important;
  height:100%;
}
.dfgbestsellersgrid .product-thumbnail,
.page-home .product-thumbnail{
  display:block;
  aspect-ratio:1/1;
  overflow:hidden;
  background:#000;
}
.dfgbestsellersgrid .product-thumbnail img,
.page-home .product-thumbnail img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .45s ease;
}
.dfgbestsellersgrid .product-miniature:hover .product-thumbnail img,
.page-home .product-miniature:hover .product-thumbnail img{transform:scale(1.04);}
.dfgbestsellersgrid .product-description,
.page-home .product-description{
  padding:16px 16px 18px !important;
  text-align:left !important;
  background:transparent !important;
}
.dfgbestsellersgrid .product-title,
.page-home .product-title{
  min-height:44px;
  margin-bottom:8px;
  font-size:15px;
  line-height:1.35;
  font-weight:700;
}
.dfgbestsellersgrid .product-title a,
.page-home .product-title a{
  color:#fff !important;
}
.dfgbestsellersgrid .price,
.page-home .price{
  color:#fff !important;
  font-size:18px;
  font-weight:800;
}
.dfgbestsellersgrid .regular-price,
.page-home .regular-price{
  color:#8a8a8a !important;
}

/* Vehicle finder */
.dfg-vf-wrapper,
.dfgvehiclefinder{
  background:linear-gradient(180deg,#0d0d0d,#080808);
  border:1px solid var(--dfg-border);
  border-radius:24px;
  padding:46px 36px;
  box-shadow:var(--dfg-shadow);
  margin:10px auto 62px;
}
.dfg-vf-form,
.dfg-vf-fields{
  display:grid;
  grid-template-columns:1.2fr 1.2fr auto;
  gap:14px;
  align-items:end;
}
.dfg-vf-select,
.dfg-vf-wrapper select,
.dfg-vf-wrapper input[type="text"]{
  height:52px;
  width:100%;
  background:#111;
  border:1px solid var(--dfg-border);
  color:#fff;
  border-radius:12px;
  padding:0 14px;
  outline:none;
  box-shadow:none;
}
.dfg-vf-select:focus,
.dfg-vf-wrapper select:focus,
.dfg-vf-wrapper input[type="text"]:focus{
  border-color:rgba(225,6,0,.6);
  box-shadow:0 0 0 1px rgba(225,6,0,.25);
}
.dfg-vf-button,
.dfg-vf-wrapper .btn{
  height:52px;
  padding:0 24px;
  border:none;
  border-radius:12px;
  background:linear-gradient(180deg,var(--dfg-red),var(--dfg-red-dark));
  color:#fff;
  font-weight:800;
  letter-spacing:.5px;
  text-transform:uppercase;
  transition:transform .2s ease, box-shadow .2s ease, filter .2s ease;
  box-shadow:0 10px 24px rgba(225,6,0,.22);
}
.dfg-vf-button:hover,
.dfg-vf-wrapper .btn:hover{
  transform:translateY(-2px);
  filter:brightness(1.03);
}

/* Benefits row */
.dfg-benefits,
.dfg-benefits-row{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
  margin:24px auto 70px;
}
.dfg-benefit-card,
.dfg-benefits .item,
.dfg-benefits-row .item{
  background:linear-gradient(180deg,#0f0f0f,#090909);
  border:1px solid var(--dfg-border);
  border-radius:var(--dfg-radius);
  padding:22px 18px;
  text-align:center;
  box-shadow:var(--dfg-shadow);
}
.dfg-benefit-card svg,
.dfg-benefits .item svg,
.dfg-benefits-row .item svg{
  width:34px;
  height:34px;
  margin:0 auto 12px;
  display:block;
}
.dfg-benefit-card h3,
.dfg-benefits .item h3,
.dfg-benefits-row .item h3{
  margin:0 0 8px;
  color:#fff;
  font-size:16px;
  letter-spacing:.8px;
  text-transform:uppercase;
  font-weight:800;
}
.dfg-benefit-card p,
.dfg-benefits .item p,
.dfg-benefits-row .item p{
  margin:0;
  color:var(--dfg-muted);
  font-size:13px;
}

/* Header polish */
#header,
.header-top,
#_desktop_top_menu,
#_mobile_top_menu{
  background:#050505;
}
.header-top{
  border-bottom:1px solid #141414;
}
#header .top-menu a,
#header a,
#header .menu > li > a{
  color:#fff;
  font-weight:700;
  letter-spacing:.3px;
}
#header .top-menu a:hover,
#header a:hover,
#header .menu > li > a:hover{color:var(--dfg-red);}

/* Responsive */
@media (max-width: 1199px){
  .dfghomeblocks .dfg-block-grid,
  .dfg-home-blocks .dfg-block-grid,
  .dfghb-grid,
  .dfgbestsellersgrid .products,
  .dfg-bs-grid,
  .page-home .featured-products .products,
  .page-home .homefeatured .products,
  .dfg-benefits,
  .dfg-benefits-row{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}
@media (max-width: 991px){
  .dfg-premium-title,
  .dfg-bs-title,
  .dfg-vf-title,
  .dfghb-section-title,
  .page-home .products-section-title{font-size:28px;}
  .dfg-vf-form,
  .dfg-vf-fields{grid-template-columns:1fr 1fr;}
  .dfg-vf-button,
  .dfg-vf-wrapper .btn{grid-column:1/-1; width:100%;}
  .dfghomeblocks .dfg-block-grid,
  .dfg-home-blocks .dfg-block-grid,
  .dfghb-grid,
  .dfgbestsellersgrid .products,
  .dfg-bs-grid,
  .page-home .featured-products .products,
  .page-home .homefeatured .products,
  .dfg-benefits,
  .dfg-benefits-row{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width: 767px){
  .dfg-premium-title,
  .dfg-bs-title,
  .dfg-vf-title,
  .dfghb-section-title,
  .page-home .products-section-title{font-size:23px; letter-spacing:1px;}
  .dfg-premium-title::before,
  .dfg-premium-title::after,
  .dfg-bs-title::before,
  .dfg-bs-title::after,
  .page-home .products-section-title::before,
  .page-home .products-section-title::after{width:20%;}
  .dfghomeblocks .dfg-block-grid,
  .dfg-home-blocks .dfg-block-grid,
  .dfghb-grid,
  .dfgbestsellersgrid .products,
  .dfg-bs-grid,
  .page-home .featured-products .products,
  .page-home .homefeatured .products,
  .dfg-benefits,
  .dfg-benefits-row,
  .dfg-vf-form,
  .dfg-vf-fields{grid-template-columns:1fr;}
  .dfghomeblocks .dfg-block-title,
  .dfg-home-blocks .dfg-block-title,
  .dfghb-title{font-size:20px;}
  .dfg-vf-wrapper{padding:28px 18px; border-radius:18px;}
}
