/* ---------- Hero Section ---------- */
.dwr-hero {
    position: relative;
    min-height: 520px;
    background-image: linear-gradient(rgba(34, 39, 34, .55), rgba(34, 39, 34, .55));
    background-color: #222722;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
}

/* Wide enough to hold the four hero buttons on one row; the title keeps its
   own 700px measure below so its line break is unchanged. */
.dwr-hero__content {
    max-width: 940px;
    width: 100%;
}

.dwr-hero__icon {
    color: #adc3c7;
    margin-bottom: 18px;
    opacity: 0.9;
}

.dwr-hero__title {
    font-size: clamp(42px, 7vw, 80px);
    font-weight: 300;
    letter-spacing: 0.1em;
    color: #fff;
    font-family: "Avenir-book", Poppins, sans-serif;
    max-width: 700px;
    margin: 0 auto 36px;
    line-height: 1.05;
}

.dwr-hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}


/* ---------- Reasons ---------- */
.dwr-reasons {
    padding: 60px 32px;
    background: #f5f9fa;
    text-align: center;
    border-top: 3px solid #adc3c7;
}

@media (max-width: 600px) {
    .dwr-reasons {
        padding: 40px 20px;
    }
}

.dwr-reasons__title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #adc3c7;
    margin-bottom: 40px;
    font-family: "Avenir-book", Poppins, sans-serif;
}

.dwr-reasons__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    max-width: 960px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .dwr-reasons__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 20px;
    }
}

@media (max-width: 420px) {
    .dwr-reasons__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.dwr-reason {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dwr-reason h3 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
    color: #222722;
    font-family: "Avenir-book", Poppins, sans-serif;
}

.dwr-reason p {
    font-size: 13px;
    color: #666;
    line-height: 1.7;
    margin: 0;
    font-style: italic;
    font-family: "Avenir-book", Poppins, sans-serif;
}


/* ---------- Progress Bar ---------- */
.dwr-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 28px 20px;
    gap: 0;
    background: #fff;
}

.dwr-progress__step {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #ccc;
    background: #fff;
    font-family: "Avenir-book", Poppins, sans-serif;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.dwr-progress__step--active,
.dwr-progress__step--done {
    border-color: #adc3c7;
    background: #adc3c7;
    color: #fff;
}

.dwr-progress__line {
    flex: 1;
    height: 2px;
    background: #ccc;
    max-width: 60px;
    transition: background 0.2s;
}

.dwr-progress__line--done {
    background: #adc3c7;
}


/* ---------- Ideas & Inspiration ---------- */
.dwr-inspire-section {
    margin-bottom: 48px;
}

/* Section heading — WS style: uppercase + line extending right */
.dwr-inspire-heading-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.dwr-inspire-heading {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #222722;
    white-space: nowrap;
    margin: 0;
    font-family: "Avenir-book", Poppins, sans-serif;
}

.dwr-inspire-heading-row::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #d0d0d0;
}

.dwr-inspire-see-more {
    font-size: 12px;
    color: #222722;
    text-decoration: underline;
    white-space: nowrap;
    font-family: "Avenir-book", Poppins, sans-serif;
    transition: color 0.15s;
}

.dwr-inspire-see-more:hover {
    color: #adc3c7;
}

/* ---- Category interest carousel ---- */
.dwr-interest-carousel-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
}

.dwr-interest-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    flex: 1;
    padding: 4px 0 8px;
}

.dwr-interest-track::-webkit-scrollbar {
    display: none;
}

.dwr-interest-card {
    flex: 0 0 260px;
    scroll-snap-align: start;
    display: block;
    text-decoration: none;
    overflow: hidden;
}

.dwr-interest-card__img-wrap {
    width: 100%;
    height: 340px;
    overflow: hidden;
}

.dwr-interest-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.dwr-interest-card:hover .dwr-interest-card__img-wrap img {
    transform: scale(1.04);
}

.dwr-interest-card__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #222722;
    padding: 10px 0 4px;
    font-family: "Avenir-book", Poppins, sans-serif;
    transition: color 0.15s;
}

.dwr-interest-card:hover .dwr-interest-card__label {
    color: #adc3c7;
}

/* ---- Product carousel ---- */
.dwr-product-carousel-wrap {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 4px;
}

.dwr-product-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    flex: 1;
    padding: 4px 0 16px;
}

.dwr-product-track::-webkit-scrollbar {
    display: none;
}

/* Card */
.dwr-product-card {
    flex: 0 0 220px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    background: #fff;
    transition: box-shadow 0.28s ease, transform 0.28s ease;
    cursor: default;
}

.dwr-product-card:hover {
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.11);
    transform: translateY(-2px);
}

/* Image area */
.dwr-product-card__img-wrap {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: #f7f7f7;
    flex-shrink: 0;
}

.dwr-product-card__img-wrap>a {
    display: block;
    width: 100%;
    height: 100%;
}

.dwr-product-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
    will-change: transform;
}

.dwr-product-card:hover .dwr-product-card__img-wrap img {
    transform: scale(1.06);
}

/* Badge — top-left */
.dwr-product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    background: #222722;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 9px;
    font-family: "Avenir-book", Poppins, sans-serif;
    pointer-events: none;
    line-height: 1.4;
}

/* Overlay — slides up from the bottom edge of the image */
.dwr-product-card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 11px 12px;
    /* start hidden below the image (clipped by overflow:hidden on parent) */
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        opacity 0.28s ease;
    pointer-events: none;
}

.dwr-product-card:hover .dwr-product-card__overlay {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* "Add To Registry" button — override every WooCommerce/theme style */
.dwr-product-card__add-btn,
.dwr-product-card__add-btn:link,
.dwr-product-card__add-btn:visited {
    appearance: none !important;
    -webkit-appearance: none !important;
    display: inline-block !important;
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 0 !important;
    margin: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    font-family: "Avenir-book", Poppins, sans-serif !important;
    letter-spacing: 0.09em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    color: #222722 !important;
    line-height: 1 !important;
    cursor: pointer !important;
    transition: color 0.18s ease !important;
    vertical-align: middle !important;
}

.dwr-product-card__add-btn:hover,
.dwr-product-card__add-btn:focus {
    color: #adc3c7 !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
    outline: none !important;
}

.dwr-product-card__add-btn.dwr-in-registry,
.dwr-product-card__add-btn[disabled] {
    color: #adc3c7 !important;
    cursor: default !important;
}

/* Card text body */
.dwr-product-card__body {
    padding: 12px 4px 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.dwr-product-card__name {
    display: block;
    font-size: 13px;
    font-weight: 400;
    color: #222722;
    text-decoration: none;
    font-family: "Avenir-book", Poppins, sans-serif;
    line-height: 1.4;
    transition: color 0.15s;
}

.dwr-product-card__name:hover {
    color: #adc3c7;
    text-decoration: none;
}

.dwr-product-card__price {
    font-size: 13px;
    color: #555;
    font-family: "Avenir-book", Poppins, sans-serif;
    margin: 0;
}

.dwr-product-card__price ins {
    color: #bb251a;
    text-decoration: none;
}

/* ---- Carousel prev/next buttons ---- */
.dwr-carousel-btn {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #ccc;
    background: #fff;
    color: #333;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
    padding: 0;
    margin-top: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.dwr-carousel-btn:hover {
    background: #222722;
    border-color: #222722;
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.dwr-carousel-btn:active {
    transform: scale(0.94);
}

/* ---- Quick Start CTA ---- */
.dwr-quick-start {
    text-align: center;
    padding: 44px 20px;
    background: #f5f9fa;
    border-top: 1px solid #e0e0e0;
    margin-top: 12px;
}

.dwr-quick-start h3 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: #222722;
    font-family: "Avenir-book", Poppins, sans-serif;
}

.dwr-quick-start p {
    color: #666;
    font-size: 14px;
    font-style: italic;
    margin-bottom: 22px;
    font-family: "Avenir-book", Poppins, sans-serif;
}

/* ---- Mobile ---- */
@media (max-width: 768px) {
    .dwr-product-card {
        flex: 0 0 180px;
    }

    .dwr-product-card__img-wrap {
        height: 190px;
    }

    /* On touch — keep overlay always peeking (10px visible at bottom) */
    .dwr-product-card__overlay {
        transform: translateY(calc(100% - 10px));
        opacity: 1;
    }

    .dwr-product-card:hover .dwr-product-card__overlay {
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .dwr-interest-card {
        flex: 0 0 200px;
    }

    .dwr-interest-card__img-wrap {
        height: 260px;
    }

    .dwr-product-card {
        flex: 0 0 150px;
    }

    .dwr-product-card__img-wrap {
        height: 160px;
    }
}

