/* Reset & box-sizing */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Base styles */
body {
    padding-top: 60px;
    font-family: Arial, sans-serif;
    background-color: #504f4f;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: #660707;
    color: #cccbcb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    border-bottom: 2px solid #ccc;
    z-index: 1000;
}

.header-left,
.header-right {
    display: flex;
    align-items: center;
}

/* Separator */
.separator {
    width: 1px;
    height: 35px;
    background-color: #ccc;
    margin-right: 12px;
    align-self: center;
}

/* Logo */
.logo {
    height: 40px;
    width: auto;
    margin-left: -15px;
    margin-bottom: -10px;
}

/* Brand name */
.brand-name {
    margin-left: 10px;
    font-family: 'Trebuchet MS', Arial, sans-serif;
    font-size: 1.5rem;
    color: #cccbcb;
    text-decoration: none;
    white-space: nowrap;
}

.brand-name .short {
    display: none;
}

/* Social icons */
.social-link {
    display: inline-flex;
    margin-right: 8px;
}

.social-link img {
    width: 24px;
    height: 24px;
}

/* Responsive extras */
.header-address,
.map-link,
.phone-link,
.header-phone-number {
    display: none;
}

@media (min-width: 300px) {
    .phone-link {
        display: inline-flex;
        margin: 0 8px;
    }
}

@media (min-width: 320px) {
    .map-link {
        display: inline-flex;
        margin: 0 8px;
    }
}

@media (min-width: 500px) {
    .header-phone-number {
        display: inline-block;
        margin-right: 24px;
        font-size: 0.9rem;
        white-space: nowrap;
    }
}

@media (min-width: 750px) {
    .header-address {
        display: inline-block;
        margin-right: 12px;
        font-size: 0.85rem;
        white-space: nowrap;
    }
}

/* Hamburger */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 20px;
    height: 20px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
}

.bar {
    width: 100%;
    height: 2px;
    background-color: #cccbcb;
    border-radius: 2px;
}

/* Mobile menu */
.mobile-menu {
    position: fixed;
    top: 60px;
    right: 0;
    width: 120px;
    background-color: #660707;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    border: 2px solid #ccc;
    border-top: none;
    z-index: 999;
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu ul {
    list-style: none;
    padding: 10px;
}

.mobile-menu li {
    margin: 15px 0;
}

.mobile-menu a {
    font-size: 1.2rem;
    color: #cccbcb;
    text-decoration: none;
}

/* Swap full name to “DGG” */
@media (max-width: 950px) {
    .brand-name .full {
        display: none;
    }

    .brand-name .short {
        display: inline;
    }
}

/* Subheader */
.subheader {
    background-color: #504f4f;
    padding: 8px 20px;
    border-bottom: 2px solid #ccc;
}

.sub-nav {
    display: flex;
    justify-content: center;
    align-items: center;
}

.sub-nav a {
    font-size: 1em;
    color: #cccbcb;
    text-decoration: none;
    padding: 6px 12px;
    transition: color 0.2s ease, font-size 0.2s ease;
    margin: 0;
    border: none;
}

.sub-nav a:first-of-type,
.sub-nav a+a {
    margin-left: 12px;
    padding-left: 12px;
    border-left: 1px solid #ccc;
}

.sub-nav a:last-of-type {
    margin-right: 12px;
    padding-right: 12px;
    border-right: 1px solid #ccc;
}

.sub-nav a:hover {
    color: #999;
    font-size: 1.02em;
}

/* Carousel */
.image-carousel {
    position: relative;
    max-width: 800px;
    margin: 20px auto;
}

.carousel {
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 1s ease;
    will-change: transform;
}

.carousel-item {
    flex: 0 0 100%;
}

.carousel-item img {
    width: 100%;
    display: block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(61, 57, 57, 0.49);
    color: #cccbcb;
    border: none;
    padding: 8px 2px;
    font-size: 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    user-select: none;
    z-index: 10;
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

/* Product wheel (horizontal only) */
.media-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-wheel-heading {
    text-align: center;
    margin: 0px 0 -5px;
    /* space above/below */
}

.product-wheel-heading h3 {
    display: inline-block;
    /* shrink‑wrap underlining */
    position: relative;
    text-decoration: none;
    font-size: 1.25rem;
    /* tweak to taste */
    color: #cccbcb;
    /* match your theme */
    margin: 0;
    /* reset any defaults */
    padding-bottom: 12px;
}

.product-wheel-heading h3::after {
    content: "";
    position: absolute;
    left: -10px;
    /* extend 10px past the text on each side */
    right: -10px;
    bottom: 0;
    /* sit flush under the text */
    height: 2px;
    background-color: currentColor;
}

.product-wheel {
    overflow: hidden;
}

.wheel-viewport {
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.wheel-track {
    display: flex;
    flex-direction: row;
    will-change: transform;
}

.wheel-item {
    flex: 0 0 auto;
    padding: 10px;
}

.wheel-item img {
    width: 100px;
    height: 80px;
    display: block;
}

/* Container for carousel + hours */
.carousel-hours-container {
    display: flex;
    flex-direction: column;
    /* mobile: stack */
    gap: 20px;
}

/* Store‐hours box */
.store-hours {
    color: #cccbcb;
    padding: 16px;
    border: 2px solid #ccc;
    border-radius: 4px;
    background-color: #660707;
}

.store-hours h2 {
    margin-bottom: 8px;
    font-size: 1.25rem;
    white-space: nowrap;
    text-decoration: underline;
}

.store-hours ul {
    list-style: none;
}

.store-hours li {
    margin-bottom: 4px;
    font-size: 0.9rem;
}

/* By default, hide the full list and show the grouped one */
.hours-desktop {
    display: none;
}

.hours-mobile {
    display: block;
}

/* Desktop layout: hours sit to the right of carousel */
@media (min-width: 1100px) {
    .hours-mobile {
        display: none;
    }

    .hours-desktop {
        display: block;
    }

    .carousel-hours-container {
        display: grid;
        /* 1fr (gutter) | auto (carousel) | 1fr (gutter) | auto (hours) | 1fr (gutter) */
        grid-template-columns: 1fr auto 1fr auto 1fr;
        align-items: flex-start;
        /* remove any padding/gap you had before */
        padding: 0;
        gap: 0;
    }

    /* Place carousel in the 2nd column */
    .image-carousel {
        grid-column: 2;
    }

    /* Place hours in the 4th column */
    .store-hours {
        grid-column: 4;
        width: 280px;
        /* ↑ adjust this value to taste */
        text-align: center;
        margin-top: 20px;
    }
}


/* Mobile centering for store‑hours */
@media (max-width: 1099px) {
    .store-hours {
        max-width: none;
        margin: 0 20px;
        /* 20px on left & right */
        width: auto;
        /* let it size to fill remaining area */
        text-align: center;
    }
}

/* wrap hours + connect */
.aside {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* new connect‑box styling */
.connect-box {
    background: #660707;
    border: 2px solid #ccc;
    padding: 16px;
    border-radius: 4px;
    text-align: center;
    /* same as your mobile hours */
    color: #ccc;
}

.connect-box h2 {
    margin-bottom: 8px;
    text-decoration: underline;
    font-size: 1.25rem;
    color: #ccc;
}

.connect-box p {
    font-size: 0.9rem;
    line-height: 1.4;
}

.connect-box a {
    color: #ccc;
    text-decoration: underline;
    font-weight: bold;
}

.connect-box a:hover {
    text-decoration: underline;
}

/* mobile gutters (reuse your mobile hours rule) */
@media (max-width: 1099px) {
    .connect-box {
        margin: 0 20px;
        width: auto;
    }
    .store-hours,
    .connect-box,
    /* add call-us-box here: */
    .call-us-box {
      margin: 0 20px;   /* 20px gutters on left & right */
      width: auto;      /* fill the remaining space */
    }
}

/* desktop placement: aside goes into column 4 of your grid */
@media (min-width: 1100px) {
    .aside {
        grid-column: 4;
        /* sidebar column */
    }

    .store-hours {
        width: 280px;
        /* whatever you chose */
        margin-top: 20px;
        /* match carousel’s top gap */
    }

    .connect-box {
        width: 280px;
        /* keep same width as hours */
        margin-top: 0;
        /* no extra top margin below hours */
    }
}


/* Keep header address & phone looking like plain text */
.header-address,
.header-phone-number {
    color: #cccbcb;
    /* same as your existing text color */
    text-decoration: none;
    cursor: pointer;
    /* optional: still feels clickable */
}

/* Prevent any hover underline or color change */
.header-address:hover,
.header-phone-number:hover {
    color: #cccbcb;
    text-decoration: none;
}

.call-us-box {
    border: 2px solid #ccc;
    padding: 16px;
    border-radius: 4px;
    text-align: center;
    background: none;
    background-color: #660707;
  }
  .call-us-box h2 {
    margin-bottom: 8px;
    text-decoration: underline;
    font-size: 1.25rem;
    color: #cccbcb;
  }
  .call-us-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: underline;
    color: #cccbcb;
    font-size: 0.9rem;
  }
  .call-us-icon {
    width: 24px;
    height: 24px;
  }
  