/*----------------------------------------------------------
  0. CONFIGURATION VARIABLES
  ----------------------------------------------------------*/
:root {
    /* Brand palette */
    --cozzicotton-primary: #B89658;
    --cozzicotton-primary-hover: #947844;
    --cozzicotton-gold: #d4af37;
    --cc-pdp-cta-bg: #8b5e34;
    --cc-pdp-cta-hover: #744723;
    --cc-pdp-cta-active: #5f3717;
    --cc-pdp-cta-shadow: rgba(139, 94, 52, 0.34);
    --cc-pdp-cta-glow: rgba(212, 175, 55, 0.34);
}
/*----------------------------------------------------------
  1. TYPOGRAPHY — Product title & price use Playfair Display
  ----------------------------------------------------------*/
.product_page .product_main h1 {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0;
    margin-bottom: 6px;
}

.cc-pdp-main-column {
    padding-top: 8px;
}

[data-pdp-gallery-column],
[data-pdp-main-column] {
    transition: opacity .22s ease;
}

[data-pdp-gallery-column].is-variant-loading,
[data-pdp-main-column].is-variant-loading {
    opacity: 0.52;
    pointer-events: none;
}

.price_color {
    color: var(--cozzicotton-gold);
}

.product_page .product_main .price_color {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-weight: 700;
    line-height: 1.1;
    margin: 6px 0 8px;
}

/* Mobile (<=767px) */
@media (max-width: 767px) {
    .product_page .product_main h1 {
        font-size: 28px;
    }

    .product_page .product_main .price_color {
        font-size: 24px;
    }
}

/* Tablet & up (>=768px) */
@media (min-width: 768px) {
    .product_page .product_main h1 {
        font-size: 36px;
    }

    .product_page .product_main .price_color {
        font-size: 30px;
    }
}

/* Desktop (>=992px) */
@media (min-width: 992px) {
    .product_page .product_main h1 {
        font-size: 36px;
    }

    .product_page .product_main .price_color {
        font-size: 40px;
    }
}

.cc-availability {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 2px 0 14px;
    font-size: 13px;
    font-weight: 700;
}

.cc-availability-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #16a34a;
    box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.14);
    flex: 0 0 9px;
}

.cc-availability.is-instock {
    color: #166534;
}

.cc-availability.is-low-stock {
    color: #b45309;
}

.cc-availability.is-low-stock .cc-availability-dot {
    background: #f59e0b;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.18);
}

.cc-availability.is-oos {
    color: #b91c1c;
}

.cc-availability.is-oos .cc-availability-dot {
    background: #dc2626;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12);
}

.cc-pdp-hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 6px 0 18px;
}

.cc-pdp-hero-fact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #f8f5ee;
    border: 1px solid rgba(184, 150, 88, 0.20);
}

.cc-pdp-hero-fact dt,
.cc-pdp-hero-fact dd {
    margin: 0;
}

.cc-pdp-hero-fact dt {
    color: #6b7280;
    font-size: 12px;
    font-weight: 600;
}

.cc-pdp-hero-fact dd {
    display: inline-flex;
    align-items: center;
    color: #1f2937;
    font-size: 12px;
    font-weight: 700;
}

.cc-pdp-hero-fact--color dd {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.cc-pdp-hero-fact--color dt {
    color: #5f6b57;
}

.cc-pdp-divider {
    height: 1px;
    margin: 18px 0 22px;
    background: linear-gradient(90deg, rgba(17, 17, 17, 0.10), rgba(17, 17, 17, 0.04));
}

.cc-variant-heading-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cc-selected-size-inline {
    margin: 0;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.4;
}

.cc-selected-size-inline strong {
    color: #1f2937;
}

.cc-variant-form.is-loading .cc-variant-grid {
    opacity: 0.68;
}

@keyframes cc-pdp-cta-reminder {
    0%,
    100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 14px 28px var(--cc-pdp-cta-shadow);
    }
    10% {
        transform: translateY(-2px) scale(1.014);
        box-shadow: 0 17px 31px rgba(139, 94, 52, 0.35);
    }
    18% {
        transform: translateY(0) scale(1);
        box-shadow: 0 14px 28px var(--cc-pdp-cta-shadow);
    }
    32% {
        transform: translateY(-2px) scale(1.014);
        box-shadow: 0 17px 31px rgba(139, 94, 52, 0.35);
    }
    40% {
        transform: translateY(0) scale(1);
        box-shadow: 0 14px 28px var(--cc-pdp-cta-shadow);
    }
    54% {
        transform: translateY(-1px) scale(1.01);
        box-shadow: 0 16px 29px rgba(139, 94, 52, 0.33);
    }
    62% {
        transform: translateY(0) scale(1);
        box-shadow: 0 14px 28px var(--cc-pdp-cta-shadow);
    }
    78% {
        transform: translateY(0) scale(1.004);
        box-shadow: 0 15px 28px rgba(139, 94, 52, 0.32);
    }
}

@keyframes cc-pdp-cta-shine {
    0% {
        transform: translateX(-165%) skewX(-20deg);
        opacity: 0;
    }
    20% {
        opacity: 0.06;
    }
    48% {
        opacity: 0.14;
    }
    100% {
        transform: translateX(260%) skewX(-20deg);
        opacity: 0;
    }
}

@keyframes cc-pdp-cta-ring {
    0% {
        opacity: 0;
        transform: scale(0.98);
    }
    16% {
        opacity: 0.14;
    }
    42% {
        opacity: 0.06;
    }
    100% {
        opacity: 0;
        transform: scale(1.04);
    }
}

.cc-pdp-purchase-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 6px 0 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.product_page .product_main .cc-pdp-purchase-row .add-to-basket {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 1 1 260px;
    flex-direction: column;
    gap: 12px;
    width: auto;
    min-width: 0;
    margin-right: 0;
    margin-bottom: 0;
}

.product_page .product_main .cc-pdp-purchase-row .add-to-basket .form-group {
    margin-bottom: 0;
}

.product_page .product_main .cc-pdp-purchase-row .add-to-basket .row {
    margin-left: 0;
    margin-right: 0;
}

.product_page .product_main .cc-pdp-purchase-row .add-to-basket label {
    display: block;
    float: none;
    width: auto;
    margin: 0 0 6px;
    padding: 0;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
    text-align: left;
}

.product_page .product_main .cc-pdp-purchase-row .add-to-basket .col-sm-8 {
    float: none;
    width: 100%;
    padding: 0;
}

.product_page .product_main .cc-pdp-purchase-row .add-to-basket .form-control {
    height: 50px;
    border: 1px solid rgba(184, 150, 88, 0.30);
    border-radius: 14px;
    box-shadow: none;
}

.product_page .product_main .cc-pdp-purchase-row .add-to-basket .form-control:focus {
    border-color: var(--cozzicotton-primary);
    box-shadow: 0 0 0 4px rgba(184, 150, 88, 0.14);
}

.product_page .product_main .cc-pdp-purchase-row .add-to-basket .btn,
.product_page .product_main .cc-pdp-purchase-row .btn-wishlist,
.product_page .product_main .cc-pdp-purchase-row .btn-wishlist .btn {
    margin-bottom: 0;
}

#add_to_basket_form .btn-add-to-basket {
    position: relative;
    overflow: hidden;
    transform-origin: 50% 85%;
    min-width: 220px;
    min-height: 60px;
    padding: 16px 28px;
    border: 1px solid #7a4f26;
    border-radius: 16px;
    background: linear-gradient(135deg, #9d7243 0%, var(--cc-pdp-cta-bg) 58%, #7a5127 100%) !important;
    box-shadow: 0 14px 28px var(--cc-pdp-cta-shadow);
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-shadow: none;
    transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

#add_to_basket_form .btn-add-to-basket::before {
    content: "";
    position: absolute;
    top: -20%;
    bottom: -20%;
    left: 0;
    width: 36%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0));
    opacity: 0;
    pointer-events: none;
    transform: translateX(-165%) skewX(-20deg);
}

#add_to_basket_form .btn-add-to-basket::after {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 22px;
    border: 2px solid var(--cc-pdp-cta-glow);
    opacity: 0;
    pointer-events: none;
    transform: scale(0.94);
}

#add_to_basket_form .btn-add-to-basket.is-reminding {
    animation: cc-pdp-cta-reminder 1.28s cubic-bezier(0.22, 1, 0.36, 1);
}

#add_to_basket_form .btn-add-to-basket.is-reminding::before {
    animation: cc-pdp-cta-shine 1.28s ease;
}

#add_to_basket_form .btn-add-to-basket.is-reminding::after {
    animation: cc-pdp-cta-ring 1.28s ease-out;
}

#add_to_basket_form .btn-add-to-basket:hover,
#add_to_basket_form .btn-add-to-basket:focus {
    background: linear-gradient(135deg, #8c6233 0%, var(--cc-pdp-cta-hover) 62%, #663b18 100%) !important;
    border-color: var(--cc-pdp-cta-hover);
    box-shadow: 0 18px 34px rgba(116, 71, 35, 0.40), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
    transform: translateY(-1px);
    filter: none;
}

#add_to_basket_form .btn-add-to-basket:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(184, 150, 88, 0.20), 0 18px 34px rgba(116, 71, 35, 0.36);
}

#add_to_basket_form .btn-add-to-basket:active {
    transform: translateY(0);
    background: linear-gradient(135deg, #74431f 0%, var(--cc-pdp-cta-active) 100%) !important;
    border-color: var(--cc-pdp-cta-active);
    box-shadow: 0 12px 24px rgba(95, 55, 23, 0.32);
}

.cc-pdp-wishlist-slot {
    display: flex;
    flex: 0 1 230px;
    align-items: stretch;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.cc-pdp-wishlist-slot .btn-group.btn-wishlist,
.cc-pdp-wishlist-slot .cc-pdp-wishlist-form {
    margin: 0;
    width: 100%;
}

.cc-pdp-wishlist-slot .btn-group.btn-wishlist {
    display: block;
}

.cc-pdp-wishlist-slot .dropdown-toggle,
.cc-pdp-wishlist-slot .cc-pdp-wishlist-form .btn-wishlist,
.cc-pdp-wishlist-slot > a.cc-pdp-action-btn--secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 60px;
    padding: 16px 22px;
    border: 1px solid rgba(184, 150, 88, 0.28);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(17, 24, 39, 0.08);
    color: #243041;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, color .16s ease, background-color .16s ease;
}

.cc-pdp-wishlist-slot .dropdown-toggle::before,
.cc-pdp-wishlist-slot .cc-pdp-wishlist-form .btn-wishlist::before,
.cc-pdp-wishlist-slot > a.cc-pdp-action-btn--secondary::before {
    content: "\2661";
    margin-right: 10px;
    color: var(--cozzicotton-primary-hover);
    font-size: 18px;
    line-height: 1;
}

.cc-pdp-wishlist-slot .dropdown-toggle .caret {
    margin-left: 10px;
}

.cc-pdp-wishlist-slot .dropdown-toggle:hover,
.cc-pdp-wishlist-slot .dropdown-toggle:focus,
.cc-pdp-wishlist-slot .cc-pdp-wishlist-form .btn-wishlist:hover,
.cc-pdp-wishlist-slot .cc-pdp-wishlist-form .btn-wishlist:focus,
.cc-pdp-wishlist-slot > a.cc-pdp-action-btn--secondary:hover,
.cc-pdp-wishlist-slot > a.cc-pdp-action-btn--secondary:focus {
    border-color: rgba(184, 150, 88, 0.50);
    background: #fffdf8;
    box-shadow: 0 14px 32px rgba(17, 24, 39, 0.10);
    color: #1f2937;
    text-decoration: none;
    transform: translateY(-1px);
}

.cc-pdp-wishlist-slot .dropdown-toggle:focus,
.cc-pdp-wishlist-slot .cc-pdp-wishlist-form .btn-wishlist:focus,
.cc-pdp-wishlist-slot > a.cc-pdp-action-btn--secondary:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(184, 150, 88, 0.14), 0 14px 32px rgba(17, 24, 39, 0.09);
}

.cc-pdp-wishlist-slot .dropdown-menu.cc-pdp-wishlist-menu {
    left: 0;
    right: 0;
    min-width: 100%;
    padding: 10px 0;
    border: 1px solid rgba(184, 150, 88, 0.20);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(17, 24, 39, 0.12);
}

.cc-pdp-wishlist-menu > li > a {
    padding: 10px 16px;
    color: #334155;
    font-weight: 600;
    white-space: normal;
}

.cc-pdp-wishlist-menu > li > a:hover,
.cc-pdp-wishlist-menu > li > a:focus {
    background: #f8f5ee;
    color: #111827;
}

.cc-pdp-wishlist-status-list {
    display: grid;
    flex: 1 1 100%;
    gap: 10px;
}

.cc-pdp-wishlist-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(184, 150, 88, 0.18);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.88);
}

.cc-pdp-wishlist-status__copy {
    color: #475569;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
}

.cc-pdp-wishlist-status__copy::before {
    content: "\2665";
    margin-right: 8px;
    color: var(--cozzicotton-primary);
    font-size: 15px;
    line-height: 1;
}

.cc-pdp-wishlist-status__copy a {
    color: #1f2937;
    font-weight: 700;
    text-decoration: underline;
}

.cc-pdp-wishlist-remove {
    flex: 0 0 auto;
    min-width: 96px;
    padding: 10px 16px;
    border: 1px solid rgba(184, 150, 88, 0.26);
    border-radius: 999px;
    background: #fff;
    color: #6b4e1f;
    font-weight: 700;
    transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

.cc-pdp-wishlist-remove:hover,
.cc-pdp-wishlist-remove:focus {
    border-color: rgba(184, 150, 88, 0.50);
    background: #fff8ec;
    color: #4c3a19;
    text-decoration: none;
    transform: translateY(-1px);
}

.cc-pdp-wishlist-remove:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(184, 150, 88, 0.12);
}

@media (prefers-reduced-motion: reduce) {
    .product_page .product_main .cc-pdp-purchase-row .btn-add-to-basket,
    .cc-pdp-wishlist-slot .dropdown-toggle,
    .cc-pdp-wishlist-slot .cc-pdp-wishlist-form .btn-wishlist,
    .cc-pdp-wishlist-slot > a.cc-pdp-action-btn--secondary,
    .cc-pdp-wishlist-remove {
        animation: none;
        transition: none;
        transform: none;
    }
}

.cc-pdp-reassurance {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 18px;
    max-width: 680px;
    padding-top: 14px;
    border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.cc-pdp-reassurance-item {
    min-height: 100%;
    padding: 2px 18px 0 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.cc-pdp-reassurance-item--delivery {
    position: relative;
}

.cc-pdp-reassurance-item + .cc-pdp-reassurance-item {
    padding-left: 18px;
    border-left: 1px solid rgba(17, 17, 17, 0.08);
}

.cc-pdp-reassurance-item__title,
.cc-pdp-reassurance-item__meta {
    display: block;
}

.cc-pdp-reassurance-item__title {
    color: #111827;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
}

.cc-pdp-reassurance-item__meta {
    margin-top: 4px;
    color: #6b7280;
    font-size: 12px;
    line-height: 1.5;
}

.cc-pdp-reassurance-item__badge {
    display: inline-flex;
    align-items: center;
    margin: 0 0 6px;
    padding: 4px 9px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(184, 150, 88, 0.16) 0%, rgba(230, 210, 164, 0.42) 100%);
    color: #8b5e34;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.03em;
    box-shadow: inset 0 0 0 1px rgba(184, 150, 88, 0.22);
}

.cc-pdp-policy-links {
    margin: 10px 0 0;
    color: #6b7280;
    font-size: 13px;
    font-weight: 600;
}

.cc-pdp-policy-links a + span {
    margin: 0 8px;
    color: #9ca3af;
}

/*----------------------------------------------------------
  8) OUT-OF-STOCK (Notify-me) PANEL – scoped to the alert form
  ----------------------------------------------------------*/
.oos-alert-panel .oos-intro {
    margin: 10px 0 14px;
    color: #6b7280;
    max-width: 46ch;
}

/* Brand button */
.oos-alert-panel .btn-notify {
    background-color: #B89658;
    border-color: #B89658;
    color: #fff;
    font-weight: 700;
    border-radius: 999px;
    padding: 12px 22px;
    transition: background-color .2s ease, box-shadow .2s ease, transform .05s ease;
    box-shadow: 0 2px 0 rgba(0, 0, 0, .04);
}

.oos-alert-panel .btn-notify:hover {
    background-color: var(--cozzicotton-primary-hover);
    border-color: var(--cozzicotton-primary-hover);
    box-shadow: 0 6px 16px rgba(246, 162, 37, .35);
}

.oos-alert-panel .btn-notify:focus {
    background-color: var(--cozzicotton-primary-hover);
    border-color: var(--cozzicotton-primary-hover);
    outline: none;
    box-shadow: 0 0 0 3px rgba(246, 162, 37, .30);
}

.oos-alert-panel .btn-notify:active {
    transform: translateY(1px);
}

.oos-actions {
    margin-top: 14px;
}

/* Tidy the generic Oscar "form-horizontal" layout within the alert form */
#alert_form .form-group {
    margin-bottom: 12px;
}

#alert_form .control-label {
    font-weight: 600;
}

#alert_form input[type="email"],
#alert_form input[type="text"] {
    height: 48px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #dcdcdc;
    transition: border-color .2s ease, box-shadow .2s ease;
}

#alert_form input[type="email"]:focus,
#alert_form input[type="text"]:focus {
    border-color: #B89658;
    box-shadow: 0 0 0 3px rgba(246, 162, 37, .15);
    outline: none;
}

#alert_form ::placeholder {
    color: #9aa3af;
}


/* Mobile (<=767px) – stack label above input and make CTA full-width */
@media (max-width: 767px) {
    .cc-pdp-main-column {
        padding-top: 24px;
        padding-bottom: 96px;
    }

    .cc-pdp-hero-facts {
        gap: 8px;
        margin-bottom: 16px;
    }

    .cc-pdp-divider {
        margin: 16px 0 18px;
    }

    .cc-pdp-purchase-row {
        align-items: stretch;
        padding: 14px;
        border-radius: 18px;
    }

    .product_page .product_main .cc-pdp-purchase-row .add-to-basket,
    .product_page .product_main .cc-pdp-purchase-row .cc-pdp-wishlist-slot {
        width: 100%;
        flex-basis: 100%;
    }

    .product_page .product_main .cc-pdp-purchase-row .btn-add-to-basket {
        width: 100%;
        min-width: 0;
        min-height: 58px;
        font-size: 16px;
    }

    .cc-pdp-wishlist-slot .btn-group.btn-wishlist,
    .cc-pdp-wishlist-slot .cc-pdp-wishlist-form,
    .cc-pdp-wishlist-slot .dropdown-menu.cc-pdp-wishlist-menu {
        width: 100%;
    }

    .cc-pdp-wishlist-status {
        flex-direction: column;
        align-items: stretch;
    }

    .cc-pdp-wishlist-remove {
        width: 100%;
    }

    .cc-pdp-reassurance {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 18px;
        padding-top: 0;
        border-top: 0;
    }

    .cc-pdp-reassurance-item {
        padding: 0 0 12px;
        border-bottom: 1px solid rgba(17, 17, 17, 0.08);
    }

    .cc-pdp-reassurance-item + .cc-pdp-reassurance-item {
        padding-left: 0;
        border-left: 0;
    }

    .cc-pdp-reassurance-item:last-child {
        padding-bottom: 0;
        border-bottom: 0;
    }

    #alert_form .control-label {
        float: none !important;
        text-align: left !important;
        width: 100% !important;
        padding-top: 0 !important;
        margin-bottom: 6px;
    }

    #alert_form .col-sm-8 {
        float: none !important;
        width: 100% !important;
    }

    .oos-alert-panel .btn-notify {
        width: 100%;
    }
}

/* Tablet & desktop (>=768px) – keep the two-column form look */
@media (min-width: 768px) {
    /* Make the INNER .row a flex line so label & input sit on one row */
    #alert_form .form-group > .row {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
    }

    /* Override Bootstrap's col width on the label */
    #alert_form .form-group > .row > label {
        float: none !important;
        width: auto !important; /* cancel .col-sm-4 33.333% width */
        margin: 0 16px 0 0; /* gap between label and input */
        padding-top: 0;
        text-align: left;
        white-space: nowrap; /* keep on one line */
        flex: 0 0 auto;
    }

    /* Let the input column expand */
    #alert_form .form-group > .row > .col-sm-8 {
        float: none !important;
        width: auto !important; /* cancel .col-sm-8 66.666% width */
        flex: 1 1 auto;
    }

    #alert_form .form-group > .row > .col-sm-8 .form-control {
        width: 100%;
    }
}

/*----------------------------------------------------------
  8. PRODUCT SHELVES — shared grid for recommended and recent
  ----------------------------------------------------------*/
.cc-product-shelf {
    margin-top: 34px;
}

.cc-shelf-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.cc-shelf-head .sub-header {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.cc-shelf-head .sub-header h2 {
    margin: 0;
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-size: 28px;
    line-height: 1.15;
    font-weight: 800;
    color: #111827;
}

.cc-shelf-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cc-shelf-controls.is-hidden {
    display: none;
}

.cc-shelf-control {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(17, 17, 17, 0.10);
    background: #fff;
    color: #111827;
    box-shadow: 0 10px 20px rgba(17, 17, 17, 0.08);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.cc-shelf-control:hover,
.cc-shelf-control:focus {
    transform: translateY(-1px);
    border-color: rgba(184, 150, 88, 0.42);
    box-shadow: 0 14px 26px rgba(17, 17, 17, 0.12);
}

.cc-shelf-control[disabled] {
    opacity: 0.42;
    cursor: default;
    box-shadow: none;
}

.cc-product-shelf--recent .cc-recent-viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 2px 2px 12px;
}

.cc-product-shelf--recent .cc-recent-viewport::-webkit-scrollbar {
    display: none;
}

.cc-product-shelf--recent .cc-recent-track {
    display: flex;
    gap: 20px;
}

.cc-product-shelf--recent .cc-recent-slide {
    flex: 0 0 calc(100% - 20px);
    scroll-snap-align: start;
}

.cc-product-shelf--recent .cc-recent-slide .cc-shelf-card {
    height: 100%;
}

.cc-shelf-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.cc-shelf-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 24px;
    border: 1px solid rgba(17, 17, 17, 0.06);
    background: linear-gradient(180deg, #fffdfa 0%, #ffffff 100%);
    box-shadow: 0 12px 26px rgba(17, 17, 17, 0.06);
    overflow: hidden;
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.cc-shelf-card:hover,
.cc-shelf-card:focus {
    transform: translateY(-4px);
    border-color: rgba(184, 150, 88, 0.30);
    box-shadow: 0 18px 34px rgba(17, 17, 17, 0.10);
}

.cc-shelf-card__media {
    position: relative;
    aspect-ratio: 4 / 5;
    background: linear-gradient(180deg, #f6f4ef 0%, #ece7dc 100%);
    overflow: hidden;
}

.cc-shelf-card__media-link,
.cc-shelf-card__title-link {
    display: block;
    color: inherit;
    text-decoration: none !important;
}

.cc-shelf-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.cc-shelf-card:hover .cc-shelf-card__media img,
.cc-shelf-card:focus .cc-shelf-card__media img {
    transform: scale(1.03);
}

.cc-shelf-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #9ca3af;
    font-size: 14px;
    font-weight: 600;
}

.cc-shelf-card__body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 16px 18px;
}

.cc-shelf-card__sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.cc-shelf-card__sizes .cc-size-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 4px 9px;
    border-radius: 999px;
    border: 1px solid rgba(17, 17, 17, 0.10);
    background: rgba(248, 245, 238, 0.9);
    color: #1f2937;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.cc-shelf-card__sizes .cc-size-pill:hover,
.cc-shelf-card__sizes .cc-size-pill:focus {
    background: rgba(184, 150, 88, 0.12);
    border-color: rgba(184, 150, 88, 0.34);
    color: #5e4513;
}

.cc-shelf-card__sizes .cc-size-pill--more {
    background: rgba(17, 17, 17, 0.05);
}

.cc-shelf-card__title {
    color: #111827;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
}

.cc-shelf-card__title-link:hover .cc-shelf-card__title,
.cc-shelf-card__title-link:focus .cc-shelf-card__title {
    color: var(--cozzicotton-primary-hover);
}

.cc-shelf-card__price,
.cc-shelf-card__status {
    display: block;
    margin-top: auto;
    padding-top: 6px;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 700;
}

.cc-shelf-card__price {
    color: var(--cozzicotton-primary-hover);
}

.cc-shelf-card__status {
    color: #6b7280;
}

@media (min-width: 768px) {
    .cc-shelf-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cc-product-shelf--recent .cc-recent-slide {
        flex-basis: calc(50% - 10px);
    }
}

@media (min-width: 1200px) {
    .cc-shelf-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .cc-product-shelf--recent .cc-recent-slide {
        flex-basis: calc(25% - 15px);
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .cc-product-shelf--recent .cc-recent-slide {
        flex-basis: calc(33.333% - 14px);
    }
}

@media (max-width: 575px) {
    .cc-shelf-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .cc-shelf-head .sub-header h2 {
        font-size: 24px;
    }

    .cc-shelf-controls {
        align-self: flex-end;
    }
}

/*----------------------------------------------------------
  10. SPECS (Primary + Secondary)  — Clean, single-column flow
  ----------------------------------------------------------*/
/* card wrapper for the primary specs block */
.specs-card {
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 12px;
}

/* panel/header polish for the collapsible secondary block */
.specs-panel .panel-heading {
  background: #fff;
  border-bottom: 1px solid #eee;
}
.specs-panel .panel-title a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
}
.specs-panel .panel-title a .chevron {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-right: 2px solid #999;
  border-bottom: 2px solid #999;
  transform: rotate(-45deg);
  margin-left: 8px;
  transition: transform .2s ease;
}
.specs-panel .panel-title a[aria-expanded="true"] .chevron {
  transform: rotate(135deg); /* points up when expanded */
}

.cc-policy-stack {
  display: grid;
  gap: 14px;
}

.cc-policy-row {
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding-bottom: 12px;
}

.cc-policy-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.cc-policy-label {
  display: block;
  margin-bottom: 4px;
  font-weight: 700;
  color: #111827;
}

.cc-policy-row p,
.cc-policy-links,
.cc-care-note {
  margin: 0;
}

.cc-policy-links {
  margin-top: 14px;
  font-weight: 600;
}

.cc-policy-links a + span {
  margin: 0 8px;
  color: #9ca3af;
}

.cc-care-list {
  margin: 0;
  padding-left: 18px;
}

.cc-care-stack {
  display: grid;
  gap: 12px;
}

.cc-care-list li + li {
  margin-top: 8px;
}

.cc-care-note {
  margin-top: 12px;
}

.cc-pdp-story {
  position: relative;
  margin: 44px 0 24px;
  padding: 34px 26px 14px;
  border: 1px solid rgba(184, 150, 88, 0.16);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(251, 247, 239, 0.92) 0%, rgba(255, 255, 255, 0.92) 62%, rgba(247, 242, 232, 0.78) 100%);
  box-shadow: 0 24px 60px rgba(17, 24, 39, 0.06);
  overflow: hidden;
}

.cc-pdp-story::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -80px;
  width: 280px;
  height: 280px;
  background:
    radial-gradient(circle, rgba(184, 150, 88, 0.20) 0%, rgba(184, 150, 88, 0.08) 34%, rgba(184, 150, 88, 0) 70%);
  z-index: 0;
  pointer-events: none;
  filter: blur(6px);
}

.cc-pdp-story::after {
  content: "";
  position: absolute;
  left: -70px;
  bottom: -110px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(139, 94, 52, 0.10) 0%, rgba(139, 94, 52, 0) 72%);
  z-index: 0;
  pointer-events: none;
}

.cc-pdp-story > * {
  position: relative;
  z-index: 1;
}

.cc-pdp-story-shell {
  position: relative;
}

.cc-pdp-story-heading {
  margin: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.cc-pdp-story-heading h2 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  margin: 0;
  font-size: 34px;
  line-height: 1.18;
  font-weight: 800;
  color: #111827;
}

.cc-pdp-story-grid {
  margin-bottom: 2px;
}

.cc-pdp-story-grid > div {
  margin-bottom: 18px;
}

.cc-pdp-panel {
  position: relative;
  height: 100%;
  margin-bottom: 0;
  padding: 22px 22px 20px;
  border-radius: 24px;
  border: 1px solid rgba(184, 150, 88, 0.14);
  background: rgba(255, 255, 255, 0.88);
  box-shadow:
    0 18px 40px rgba(17, 24, 39, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.cc-pdp-panel-head {
  margin-bottom: 16px;
}

.cc-pdp-panel--description {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 245, 238, 0.92) 100%);
}

.cc-pdp-panel--description::before,
.cc-pdp-panel--facts::before,
.cc-pdp-panel--delivery::before,
.cc-pdp-panel--care::before,
.cc-pdp-panel--secondary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  right: 22px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(184, 150, 88, 0.95), rgba(184, 150, 88, 0.20));
}

.cc-pdp-panel--facts {
  background: linear-gradient(180deg, rgba(248, 245, 238, 0.96) 0%, rgba(255, 255, 255, 0.94) 100%);
}

.cc-pdp-panel--facts::before {
  background: linear-gradient(90deg, rgba(184, 150, 88, 0.88), rgba(230, 210, 164, 0.28));
}

.cc-pdp-panel--delivery::before,
.cc-pdp-panel--policies::before {
  background: linear-gradient(90deg, rgba(139, 94, 52, 0.90), rgba(184, 150, 88, 0.20));
}

.cc-pdp-panel--care::before {
  background: linear-gradient(90deg, rgba(184, 150, 88, 0.90), rgba(139, 94, 52, 0.22));
}

.cc-pdp-panel--secondary::before {
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.84), rgba(17, 24, 39, 0.10));
}

.cc-pdp-panel-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: #8b5e34;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cc-pdp-panel-head--story {
  max-width: 60ch;
}

.cc-pdp-panel-head h3 {
  margin: 0 0 6px;
  color: #111827;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 700;
}

.cc-pdp-panel-head p {
  margin: 0;
  color: #6b7280;
  max-width: 48ch;
  font-size: 14px;
  line-height: 1.6;
}

.cc-pdp-story-intro {
  margin-top: 12px;
}

.cc-description-card {
  position: relative;
  padding: 24px;
  border-radius: 22px;
  border: 1px solid rgba(184, 150, 88, 0.18);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.cc-description-copy {
  max-width: 66ch;
  color: #374151;
  font-size: 16px;
  line-height: 1.85;
}

.cc-description-copy > :last-child {
  margin-bottom: 0;
}

.cc-description-lead {
  margin: 0;
  color: #1f2937;
  font-size: 22px;
  line-height: 1.6;
  font-weight: 600;
}

.cc-description-points {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.cc-description-points li {
  position: relative;
  padding-left: 26px;
  color: #4b5563;
}

.cc-description-points li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #b89658 0%, #e6d2a4 100%);
  box-shadow: 0 0 0 5px rgba(184, 150, 88, 0.12);
}

.cc-description-copy--richtext p,
.cc-description-copy--richtext ul,
.cc-description-copy--richtext ol,
.cc-description-copy--richtext blockquote {
  margin-bottom: 16px;
}

.cc-description-copy--richtext ul,
.cc-description-copy--richtext ol {
  padding-left: 22px;
}

.cc-description-copy--richtext li + li {
  margin-top: 8px;
}

.cc-description-copy--richtext strong,
.cc-description-copy--richtext b {
  color: #1f2937;
}

.cc-description-copy--richtext a {
  color: #8b5e34;
  font-weight: 600;
}

.cc-description-copy--richtext a:hover,
.cc-description-copy--richtext a:focus {
  color: #744723;
}

.cc-pdp-empty {
  margin: 0;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.7;
}

.cc-pdp-facts {
  margin: 0;
}

.cc-pdp-facts-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 16px;
  padding: 14px 16px;
  border: 1px solid rgba(184, 150, 88, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
}

.cc-pdp-facts--summary {
  display: grid;
  gap: 10px;
}

.cc-pdp-facts-row dt,
.cc-pdp-facts-row dd {
  margin: 0;
}

.cc-pdp-facts-row dt {
  color: #6b7280;
  font-weight: 600;
}

.cc-pdp-facts-row dd {
  color: #111827;
  font-weight: 700;
  text-align: right;
}

.cc-pdp-facts-row--color dd {
  display: inline-flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
}

.cc-policy-row {
  padding-bottom: 14px;
}

.cc-policy-row p {
  color: #374151;
}

.cc-policy-links {
  margin-top: 16px;
  color: #4b5563;
}

.cc-policy-links a {
  color: #8b5e34;
  font-weight: 700;
}

.cc-policy-links a:hover,
.cc-policy-links a:focus {
  color: #744723;
  text-decoration: none;
}

.cc-policy-actions {
  display: grid;
  gap: 12px;
}

.cc-policy-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 18px;
  border-radius: 18px;
  border: 1px solid rgba(184, 150, 88, 0.24);
  background: linear-gradient(180deg, rgba(255, 252, 246, 0.98) 0%, rgba(246, 239, 226, 0.98) 100%);
  text-decoration: none;
  box-shadow:
    0 10px 24px rgba(17, 24, 39, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, background-color .2s ease;
}

.cc-policy-action:hover,
.cc-policy-action:focus {
  border-color: rgba(139, 94, 52, 0.40);
  box-shadow: 0 16px 36px rgba(17, 24, 39, 0.10);
  transform: translateY(-1px);
  text-decoration: none;
}

.cc-policy-action__body {
  display: block;
  min-width: 0;
  flex: 1 1 auto;
}

.cc-policy-action__eyebrow,
.cc-policy-action__title,
.cc-policy-action__meta,
.cc-policy-action__cta {
  display: block;
}

.cc-policy-action__eyebrow {
  margin-bottom: 6px;
  color: #8b5e34;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cc-policy-action__title {
  color: #1f2937;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 700;
}

.cc-policy-action__meta {
  margin-top: 6px;
  color: #6b7280;
  line-height: 1.6;
}

.cc-policy-action__cta {
  position: relative;
  flex: 0 0 auto;
  padding: 11px 42px 11px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #8b5e34 0%, #b89658 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 12px 24px rgba(139, 94, 52, 0.24);
}

.cc-policy-action__cta::after {
  content: "\2192";
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  font-size: 14px;
}

.cc-pdp-readonly-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cc-pdp-readonly-sizes--large {
  margin-bottom: 18px;
}

.cc-pdp-readonly-size {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(17,17,17,0.10);
  background: #f8f7f4;
  color: #374151;
  font-weight: 700;
  box-shadow: 0 8px 16px rgba(17,17,17,0.04);
}

.cc-pdp-readonly-size.is-active {
  background: rgba(184, 150, 88, 0.12);
  border-color: rgba(184, 150, 88, 0.75);
  color: #5e4513;
  box-shadow: 0 0 0 2px rgba(184, 150, 88, 0.14);
}

.cc-pdp-readonly-size.is-oos {
  border-style: dashed;
  background: rgba(0,0,0,0.03);
  color: rgba(17,17,17,0.46);
  box-shadow: none;
  position: relative;
  overflow: hidden;
}

.cc-pdp-readonly-size.is-oos::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -18deg,
    transparent 0,
    transparent 46%,
    rgba(0,0,0,0.18) 46%,
    rgba(0,0,0,0.18) 50%,
    transparent 50%,
    transparent 54%
  );
}

.cc-size-guide-trigger--panel {
  margin-top: 4px;
}

.cc-pdp-panel--secondary dl {
  margin: 0;
}

.cc-pdp-panel--secondary dl.dl-horizontal dt {
  float: left;
  clear: left;
  width: 170px;
  color: #6b7280;
  font-weight: 600;
  line-height: 1.5;
}

.cc-pdp-panel--secondary dl.dl-horizontal dd {
  margin-left: 190px;
  margin-bottom: 10px;
  line-height: 1.5;
  color: #111827;
}

.cc-pdp-panel--secondary .spec-tag {
  background: #f8f7f4;
  border-color: rgba(184, 150, 88, 0.22);
  color: #5e4513;
}

/* lightweight tags for styles in secondary */
.spec-tag {
  display: inline-block;
  padding: 2px 8px;
  margin: 0 6px 6px 0;
  border: 1px solid #ddd;
  border-radius: 12px;
  font-size: 11px;
  line-height: 18px;
  background: #f8f9fa;
  color: #495057;
}

/* containers */
.specs-primary dl,
#product-more-details dl { margin-top: 8px; margin-bottom: 0; }

/* labels */
.specs-primary dl.dl-horizontal dt,
#product-more-details dl.dl-horizontal dt {
    float: left;          /* Bootstrap 3 model */
    clear: left;          /* start each row cleanly */
    width: 180px;         /* label column width */
    color: #7a7f86;
    font-weight: 600;
    line-height: 1.5;
    text-transform: none;
    letter-spacing: .2px;
}
/* add a small dot to color chips; can be extended with mappings */
.color-chip[data-color]::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
  border: 1px solid rgba(0,0,0,.15);
  background: var(--cc-color-chip-dot, #e0e0e0);
  vertical-align: -1px;
}

/* values */
.specs-primary dl.dl-horizontal dd,
#product-more-details dl.dl-horizontal dd {
    margin-left: 200px;   /* label width + 20px gutter */
    line-height: 1.5;
    overflow: hidden;     /* avoid float collision on wraps */
}

/* clear floats around the blocks */
.specs-primary::after { content: ""; display: table; clear: both; }
#product-more-details { clear: both; margin-top: 10px; }
#product-more-details .panel-heading { padding: 8px 12px; }
#product-more-details .panel-title a { display: block; text-decoration: none; }

/* badges */
.specs-primary .label {
    display: inline-block;
    padding: 3px 6px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 10px;
}
.specs-primary .label-success {
    background-color: var(--cozzicotton-primary);
    border-color: var(--cozzicotton-primary);
    color: #fff;
}
.specs-primary .label-default {
    background-color: #e9ecef;
    color: #495057;
    border: 1px solid #d9dee3;
}

/* dominant color chips (text version for now) */
.color-chip {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    margin: 0 6px 6px 0;
    border: 1px solid var(--cc-color-chip-border, #ddd);
    border-radius: 12px;
    font-size: 11px;
    line-height: 18px;
    background: var(--cc-color-chip-bg, #f8f9fa);
    color: var(--cc-color-chip-text, #374151);
}

.color-chip {
    --cc-color-chip-bg: #f8f9fa;
    --cc-color-chip-border: #ddd;
    --cc-color-chip-text: #374151;
    --cc-color-chip-dot: #e0e0e0;
}

.color-chip--fact {
    margin: 0;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
}

.color-chip--hero {
    margin: 0;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
}

.color-chip[data-color="black"] {
    --cc-color-chip-bg: #111827;
    --cc-color-chip-border: #111827;
    --cc-color-chip-text: #fff;
    --cc-color-chip-dot: #111827;
}

.color-chip[data-color="white"],
.color-chip[data-color="off white"],
.color-chip[data-color="off-white"],
.color-chip[data-color="ivory"] {
    --cc-color-chip-bg: #fffdf7;
    --cc-color-chip-border: #d6d3d1;
    --cc-color-chip-text: #374151;
    --cc-color-chip-dot: #f4efe4;
}

.color-chip[data-color="brown"] {
    --cc-color-chip-bg: #f1e3d3;
    --cc-color-chip-border: #c49a6c;
    --cc-color-chip-text: #6b3f18;
    --cc-color-chip-dot: #8b4513;
}

.color-chip[data-color="blue"],
.color-chip[data-color="navy"],
.color-chip[data-color="baby blue"] {
    --cc-color-chip-bg: #e0efff;
    --cc-color-chip-border: #8db4ea;
    --cc-color-chip-text: #1d4f91;
    --cc-color-chip-dot: #1E90FF;
}

.color-chip[data-color="red"],
.color-chip[data-color="maroon"] {
    --cc-color-chip-bg: #fde6e4;
    --cc-color-chip-border: #e7a19c;
    --cc-color-chip-text: #9b2f2a;
    --cc-color-chip-dot: #D9534F;
}

.color-chip[data-color="green"],
.color-chip[data-color="mint"],
.color-chip[data-color="mint green"],
.color-chip[data-color="olive"] {
    --cc-color-chip-bg: #e7f5e8;
    --cc-color-chip-border: #9fd3a7;
    --cc-color-chip-text: #216739;
    --cc-color-chip-dot: #5CB85C;
}

.color-chip[data-color="yellow"],
.color-chip[data-color="mustard"] {
    --cc-color-chip-bg: #fff4cc;
    --cc-color-chip-border: #ebd16d;
    --cc-color-chip-text: #8c6a00;
    --cc-color-chip-dot: #F0AD4E;
}

.color-chip[data-color="orange"],
.color-chip[data-color="peach"],
.color-chip[data-color="beige"],
.color-chip[data-color="cream"] {
    --cc-color-chip-bg: #f7ead7;
    --cc-color-chip-border: #dbb98a;
    --cc-color-chip-text: #8b5e34;
    --cc-color-chip-dot: #B89658;
}

.color-chip[data-color="purple"],
.color-chip[data-color="lilac"] {
    --cc-color-chip-bg: #efe6ff;
    --cc-color-chip-border: #c6afe9;
    --cc-color-chip-text: #5b3c9d;
    --cc-color-chip-dot: #6f42c1;
}

.color-chip[data-color="pink"],
.color-chip[data-color="fuchsia"] {
    --cc-color-chip-bg: #ffe5ef;
    --cc-color-chip-border: #e7a7c1;
    --cc-color-chip-text: #9f3f67;
    --cc-color-chip-dot: #d96c9b;
}

.color-chip[data-color="grey"],
.color-chip[data-color="gray"] {
    --cc-color-chip-bg: #eef1f4;
    --cc-color-chip-border: #b9c0c8;
    --cc-color-chip-text: #4b5563;
    --cc-color-chip-dot: #6c757d;
}

/* responsive collapse: let dl-horizontal stack nicely on phones */
@media (max-width: 767px) {
    .cc-pdp-story {
        margin-top: 32px;
        padding: 24px 16px 8px;
        border-radius: 24px;
    }

    .cc-pdp-story::before {
        width: 210px;
        height: 210px;
        top: -60px;
        right: -90px;
    }

    .cc-pdp-story-heading h2 {
        font-size: 26px;
    }

    .cc-pdp-panel {
        padding: 20px 18px 18px;
        border-radius: 20px;
    }

    .cc-pdp-panel--description::before,
    .cc-pdp-panel--facts::before,
    .cc-pdp-panel--delivery::before,
    .cc-pdp-panel--policies::before,
    .cc-pdp-panel--care::before,
    .cc-pdp-panel--secondary::before {
        left: 18px;
        right: 18px;
    }

    .cc-description-card {
        padding: 18px;
        border-radius: 18px;
    }

    .cc-description-lead {
        font-size: 18px;
    }

    .cc-pdp-facts-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .cc-pdp-facts-row dd {
        text-align: left;
    }

    .cc-policy-action {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .cc-policy-action__cta {
        align-self: flex-start;
    }

    .cc-pdp-panel--secondary dl.dl-horizontal dt,
    .cc-pdp-panel--secondary dl.dl-horizontal dd {
        float: none;
        width: auto;
        margin-left: 0;
    }

    .specs-primary dl.dl-horizontal dt,
    #product-more-details dl.dl-horizontal dt {
        float: none;
        width: auto;
        text-align: left;
    }
    .specs-primary dl.dl-horizontal dd,
    #product-more-details dl.dl-horizontal dd {
        margin-left: 0;
    }
}

/*----------------------------------------------------------
  11. ARTIST BYLINE — under product title (optional avatar)
  ----------------------------------------------------------*/
.product-byline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0 10px; /* tight, so price stays dominant */
}

.product-byline .byline-avatar {
  display: inline-block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 28px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.06) inset;
}
.product-byline .byline-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-byline .byline-text {
  line-height: 1.2;
  display: flex;
  flex-direction: column;
}

.product-byline .byline-name {
  font-size: 13px;
  color: #6c757d;            /* muted */
  text-decoration: none;
}
.product-byline .byline-name:hover,
.product-byline .byline-name:focus {
  text-decoration: underline;
  color: #4a4d4e;            /* your grey */
}

.product-byline .byline-profile {
  font-size: 11px;
  color: #8a8f94;            /* lighter muted */
  text-decoration: none;
  margin-top: 2px;
}
.product-byline .byline-profile:hover,
.product-byline .byline-profile:focus {
  text-decoration: underline;
  color: #4a4d4e;
}

/* If there’s no avatar, keep spacing tidy */
.product-byline:not(:has(.byline-avatar)) {
  gap: 6px;
}

/* Slightly increase breathing room between title → byline → price */
.product_page .product_main h1 + .product-byline {
  margin-top: 6px;  /* top of byline */
  margin-bottom: 8px;
}

/* Mobile: keep it compact */
@media (max-width: 767px) {
  .product-byline { gap: 8px; }
  .product-byline .byline-name { font-size: 12px; }
  .product-byline .byline-profile { font-size: 10px; }
}
/* --- Artist byline: final polish (spacing, a11y, mobile one-line) --- */

/* Slightly more breathing room below the byline so price doesn’t crowd it */
.product_page .product_main h1 + .product-byline {
  margin-bottom: 10px; /* was 8px in our base rules */
}

/* Make link states obvious (keyboard + hover) */
.product-byline a:focus-visible {
  outline: 2px solid var(--cozzicotton-primary, #B89658);
  outline-offset: 2px;
  border-radius: 4px;
}
.product-byline a:hover {
  text-decoration: underline;
}

/* Mobile: keep the byline on one line and protect layout */
@media (max-width: 480px) {
  .product-byline {
    white-space: nowrap;
    overflow: hidden;
  }
  .product-byline .byline-text {
    display: block;
    overflow: hidden;           /* so ellipsis works on the name */
  }
  .product-byline .byline-name {
    display: block;
    text-overflow: ellipsis;    /* truncate long artist names */
    overflow: hidden;
    max-width: 100%;
  }
  /* If you’re showing a secondary link, hide it on very small screens */
  .product-byline .byline-profile {
    display: none;
  }
}
