.main [data-module-template="ribbon"] [data-unit-id="iphone-trade-in"] {
    background-color: #1C2739;
    text-align: center;
    color:#f0e3ca;
}

.main [data-module-template="ribbon"] [data-unit-id="iphone-trade-in"] a{

    color:#e59d56;
}

.ribbon-diwali, .theme-dark .ribbon-diwali {
    --ribbon-background-color: swatch(fill);
    position: relative;
    z-index: 1
}
.ribbon-diwali .ribbon-content-wrapper ,.theme-dark .ribbon-diwali .ribbon-content-wrapper {
    padding: 9px 0
}
.ribbon-diwali .ribbon-content,.theme-dark .ribbon-diwali .ribbon-content {
    max-width: 1440px
}
@media only screen and (max-width:1068px) {
    .ribbon-diwali .ribbon-content,.theme-dark  .ribbon-diwali .ribbon-content {
        max-width: 790px
    }
}
@media only screen and (max-width:734px) {
    .ribbon-diwali .ribbon-content,.theme-dark .ribbon-diwali .ribbon-content {
        max-width: 414px
    }
}
.ribbon-blue-to-default, .theme-dark .ribbon-blue-to-default {
    --ribbon-background-color: #1C2739;
    --ribbon-background-color-initial: #EF900D;
    --ribbon-text-color: #f0e3ca !important;
    --ribbon-text-color-initial: #1C2739;
    --ribbon-link-color: #0066cc;
    --ribbon-focus-color: rgba(0, 125, 250, 0.6);
    --ribbon-link-color-initial: white
}
.ribbon-blue-to-default .ribbon-content-wrapper, .theme-dark .ribbon-blue-to-default .ribbon-content-wrapper {
    background-color: var(--ribbon-background-color-initial);
    animation: animate-background-0071e3-f5f5f7 1s ease-in-out 1.8s forwards
}
@media(prefers-reduced-motion) {
    .ribbon-blue-to-default .ribbon-content-wrapper, .theme-dark .ribbon-blue-to-default .ribbon-content-wrapper {
        background-color: var(--ribbon-background-color);
        animation: none
    }
}
.ribbon-blue-to-default .ribbon-content,.theme-dark .ribbon-blue-to-default .ribbon-content {
    color: var(--ribbon-text-color-initial);
    animation: animate-color-white-1d1d1f 1s ease-in-out 1.8s forwards
}
@media(prefers-reduced-motion) {
    .ribbon-blue-to-default .ribbon-content,.theme-dark  .ribbon-blue-to-default .ribbon-content {
        color: var(--ribbon-text-color);
        animation: none
    }
}
.ribbon-blue-to-default .ribbon-link:focus, .theme-dark .ribbon-blue-to-default .ribbon-link:focus {
    outline-color: var(--ribbon-focus-color)
}
.ribbon-blue-to-default .ribbon-link,.theme-dark .ribbon-blue-to-default .ribbon-link {
    color: var(--ribbon-link-color-initial);
    animation: animate-color-white-0066cc 1s ease-in-out 1.8s forwards
}
@media(prefers-reduced-motion) {
    .ribbon-blue-to-default .ribbon-link, .theme-dark .ribbon-blue-to-default .ribbon-link {
        color: var(--ribbon-link-color);
        animation: none
    }
}
@keyframes animate-color-white-0066cc {
    0% {
        color: var(--ribbon-link-color-initial)
    }
    to {
        color: var(--ribbon-link-color)
    }
}


.ribbon, .theme-dark .ribbon {
    overflow: hidden;
    --ribbon-background-color: #1C2739;
    --ribbon-text-color: #f0e3ca;
    --ribbon-link-color: #e59d56;
    --ribbon-focus-color: rgba(0, 125, 250, 0.6);
}
.ribbon-content-wrapper, .theme-dark .ribbon-content-wrapper {
    text-align: center;
}
.ribbon-content,.theme-dark .ribbon-content {
    margin-left: auto;
    margin-right: auto;
    width: 980px;
}
@media only screen and (min-width: 1441px) {
    .ribbon-content, .theme-dark .ribbon-content {
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }
}
@media only screen and (max-width: 1068px) {
    .ribbon-content, .theme-dark .ribbon-content {
        margin-left: auto;
        margin-right: auto;
        width: 692px;
    }
}
@media only screen and (max-width: 734px) {
    .ribbon-content,.theme-dark .ribbon-content {
        margin-left: auto;
        margin-right: auto;
        width: 87.5%;
    }
}
.ribbon-link,.theme-dark .ribbon-link {
    white-space: nowrap;
}
.ribbon-link:focus, .theme-dark .ribbon-link:focus {
    text-decoration: underline;
}
.ribbon .ribbon-content-wrapper,.theme-dark .ribbon .ribbon-content-wrapper {
    padding-top: 10px;
    padding-bottom: 10px;
}
.ribbon .ribbon-content,.theme-dark .ribbon .ribbon-content  {
    font-size: 14px;
    line-height: 1.4285914286;
    font-weight: 400;
    letter-spacing: -0.016em;
    font-family: SF Pro Text, SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif;
}
.ribbon .ribbon-content-wrapper, .theme-dark .ribbon .ribbon-content-wrapper {
    background-color: var(--ribbon-background-color);
}
.ribbon .ribbon-content, .theme-dark .ribbon .ribbon-content {
    color: var(--ribbon-text-color);
}
.ribbon .ribbon-link:focus,.theme-dark  .ribbon .ribbon-link:focus {
    outline-color: var(--ribbon-focus-color);
}
.ribbon .ribbon-link, .theme-dark .ribbon .ribbon-link  {
    color: var(--ribbon-link-color);
}
.ribbon-blue-to-default, .theme-dark .ribbon-blue-to-default  {
    --ribbon-background-color: #1C2739;
    --ribbon-background-color-initial: #EF900D;
    --ribbon-text-color: #f0e3ca;
    --ribbon-text-color-initial: #1C2739;
    --ribbon-link-color: #e59d56;
    --ribbon-focus-color: rgba(0, 125, 250, 0.6);
    --ribbon-link-color-initial:#1C2739
}
.ribbon-blue-to-default .ribbon-content-wrapper,.theme-dark .ribbon-blue-to-default .ribbon-content-wrapper {
    background-color: var(--ribbon-background-color-initial);
    animation: animate-background-0071e3-f5f5f7 1s ease-in-out 1.8s forwards;
}
@media (prefers-reduced-motion) {
    .ribbon-blue-to-default .ribbon-content-wrapper, .theme-dark  .ribbon-blue-to-default .ribbon-content-wrapper {
        background-color: var(--ribbon-background-color);
        animation: none;
    }
}
.ribbon-blue-to-default .ribbon-content, .theme-dark .ribbon-blue-to-default .ribbon-content {
    color: var(--ribbon-text-color-initial);
    animation: animate-color-white-1d1d1f 1s ease-in-out 1.8s forwards;
}
@media (prefers-reduced-motion) {
    .ribbon-blue-to-default .ribbon-content, .theme-dark .ribbon-blue-to-default .ribbon-content {
        color: var(--ribbon-text-color);
        animation: none;
    }
}
.ribbon-blue-to-default .ribbon-link:focus, .theme-dark .ribbon-blue-to-default .ribbon-link:focus {
    outline-color: var(--ribbon-focus-color);
}
.ribbon-blue-to-default .ribbon-link,.theme-dark .ribbon-blue-to-default .ribbon-link {
    color: var(--ribbon-link-color-initial);
    animation: animate-color-white-0066cc 1s ease-in-out 1.8s forwards;
}
@media (prefers-reduced-motion) {
    .ribbon-blue-to-default .ribbon-link, .theme-dark .ribbon-blue-to-default .ribbon-link  {
        color: var(--ribbon-link-color);
        animation: none;
    }
}
.ribbon-drop-wrapper, .theme-dark .ribbon-drop-wrapper {
    animation: ribbon-drop 0.8s ease-in-out forwards;
}
@media (prefers-reduced-motion) {
    .ribbon-drop-wrapper,  .theme-dark .ribbon-drop-wrapper {
        animation: none;
    }
}
.typography-caption, .theme-dark .typography-caption {
    font-size: 14px;
    line-height: 1.3333733333;
    font-weight: 400;
    letter-spacing: -0.01em;
    font-family: SF Pro Text, SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif;
}
html.js :focus {
    outline-width: 4px;
    outline-color: rgba(0, 125, 250, 0.6);
}
.ribbon-diwali, .theme-dark .ribbon-diwali {
   
    position: relative;
    z-index: 1;
}
.ribbon-diwali .ribbon-content-wrapper,.theme-dark  .ribbon-diwali .ribbon-content-wrapper  {
    padding: 13px 0;
}
.ribbon-diwali .ribbon-content,.theme-dark .ribbon-diwali .ribbon-content {
    max-width: 1440px;
}
@media only screen and (max-width: 1068px) {
    .ribbon-diwali .ribbon-content, .theme-dark.ribbon-diwali .ribbon-content {
        max-width: 790px;
    }
}
@media only screen and (max-width: 734px) {
    .ribbon-diwali .ribbon-content, .theme-dark .ribbon-diwali .ribbon-content  {
        max-width: 414px;
    }
}
/*! CSS Used keyframes */
@keyframes animate-background-0071e3-f5f5f7 {
    0% {
        background-color: var(--ribbon-background-color-initial);
    }
    100% {
        background-color: var(--ribbon-background-color);
    }
}
@keyframes animate-background-0071e3-f5f5f7 {
    0% {
        background-color: var(--ribbon-background-color-initial);
    }
    to {
        background-color: var(--ribbon-background-color);
    }
}
@keyframes animate-color-white-1d1d1f {
    0% {
        color: var(--ribbon-text-color-initial);
    }
    to {
        color: var(--ribbon-text-color);
    }
}
@keyframes animate-color-white-0066cc {
    0% {
        color: var(--ribbon-link-color-initial);
    }
    to {
        color: var(--ribbon-link-color);
    }
}
@keyframes ribbon-drop {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(0);
    }
}
@keyframes ribbon-drop {
    0% {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

@media only screen and (max-width: 734px){
.ribbon-copy,.theme-dark .ribbon-copy {
    max-width: 340px;
}}
 
.diwali-ribbon{
    background-color:#fbfbfd;
}
.main .macbook-air-m1-diwali-ribbon-bg, .main .macbook-pro-13-diwali-ribbon-bg{
    background-color: #000;
}

.main .mac-studio-diwali-ribbon{
    position: relative;
    top: 53px;
    z-index: 99;
}

.footnote {
    color: inherit;
}
.macbook-pro-14-and-16-diwali-ribbon-bg{
    margin-top:110px
}